2024-08-14 19:37:28 +00:00
|
|
|
entityDef tf_weapon_tranq
|
|
|
|
{
|
|
|
|
"editor_color" ".3 .3 1"
|
|
|
|
"editor_mins" "-16 -16 -16"
|
|
|
|
"editor_maxs" "16 16 16"
|
|
|
|
"editor_usage" "Tranquilizer Gun"
|
|
|
|
"editor_rotatable" "1"
|
|
|
|
|
|
|
|
"spawnclass" "HLWeapon"
|
|
|
|
"model" "models/w_9mmhandgun.mdl"
|
|
|
|
"model_view" "models/v_tfc_pistol.mdl"
|
|
|
|
"snd_acquire" "weapon.pickup"
|
|
|
|
"snd_respawn" "item.respawn"
|
|
|
|
|
|
|
|
// weapon specific
|
|
|
|
"def_fireInfo" "fireInfo_tfTranq"
|
|
|
|
"inv_name" "Tranquilizer Gun"
|
|
|
|
"ammoType" "ammo_shells"
|
|
|
|
"ammoRequired" "1"
|
|
|
|
"ammoPerShot" "1"
|
|
|
|
"punchAngle" "-2 0 0"
|
|
|
|
|
2024-10-17 06:25:55 +00:00
|
|
|
"act_fire" "3"
|
2024-08-14 19:37:28 +00:00
|
|
|
"actAltFire" "3"
|
2024-10-17 06:25:55 +00:00
|
|
|
"act_fireLast" "4"
|
2024-08-14 19:37:28 +00:00
|
|
|
"actAltFireLast" "4"
|
2024-10-17 06:25:55 +00:00
|
|
|
"act_holster" "8"
|
|
|
|
"act_reload" "6"
|
|
|
|
"act_reloadEmpty" "5"
|
|
|
|
"act_draw" "7"
|
|
|
|
"act_idle" "0,1,2"
|
2024-08-14 19:37:28 +00:00
|
|
|
"view_geomset" "geomset 2 2\n"
|
|
|
|
|
|
|
|
"snd_fire" "Weapon_Tranq.Single"
|
|
|
|
"snd_empty" "Weapon_Tranq.ClipEmpty"
|
|
|
|
|
|
|
|
// HLWeapon specific
|
|
|
|
"hudSlot" "1"
|
|
|
|
"hudSlotPos" "0"
|
|
|
|
"weight" "10"
|
|
|
|
}
|
|
|
|
|
|
|
|
entityDef fireInfo_tfTranq
|
|
|
|
{
|
|
|
|
"def_onFire" "projectile_tfTranq"
|
|
|
|
"fireRate" "2.0"
|
|
|
|
"punchAngle" "-4 0 0"
|
|
|
|
}
|
|
|
|
|
|
|
|
entityDef projectile_tfTranq
|
|
|
|
{
|
2025-01-31 22:34:49 +00:00
|
|
|
"spawnclass" "ncProjectile"
|
2024-08-14 19:37:28 +00:00
|
|
|
"model" "models/nail.mdl"
|
|
|
|
"velocity" "1000 0 0"
|
|
|
|
"angular_velocity" "0 0 20"
|
|
|
|
"mins" "0 0 0"
|
|
|
|
"maxs" "0 0 0"
|
|
|
|
"damage" "skill:plr_tranq"
|
|
|
|
"snd_explode" "impact.tfNail"
|
|
|
|
"snd_hit" "impact.tfNailHitFlesh"
|
|
|
|
"detonate_on_fuse" "0"
|
|
|
|
"detonate_on_death" "1"
|
|
|
|
"detonate_on_world" "1"
|
|
|
|
"detonate_on_actor" "1"
|
|
|
|
"projectile_debris" "debris_tfNail"
|
2024-08-14 21:10:58 +00:00
|
|
|
"model_detonate" "impact_default.main"
|
2024-08-14 19:37:28 +00:00
|
|
|
"decal_detonate" "ExplosionScorch"
|
|
|
|
"debris_count" "1"
|
|
|
|
"debris_stick" "1"
|
|
|
|
"debris_offset" "-2 0 0"
|
|
|
|
}
|