tfc/decls/def/weapons/tranq.def

71 lines
1.5 KiB
Modula-2
Raw Permalink Normal View History

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"
"act_fire" "3"
"actAltFire" "3"
"act_fireLast" "4"
"actAltFireLast" "4"
"act_holster" "8"
"act_reload" "6"
"act_reloadEmpty" "5"
"act_draw" "7"
"act_idle" "0,1,2"
"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"
"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"
"decal_detonate" "ExplosionScorch"
"debris_count" "1"
"debris_stick" "1"
"debris_offset" "-2 0 0"
}