tfc/decls/def/weapons/knife.def

50 lines
950 B
Modula-2
Raw Permalink Normal View History

entityDef tf_weapon_knife
{
"editor_color" ".3 .3 1"
"editor_mins" "-16 -16 -16"
"editor_maxs" "16 16 16"
"editor_usage" "Knife"
"editor_rotatable" "1"
"spawnclass" "HLWeapon"
"model" "models/p_knife.mdl"
"model_view" "models/v_tfc_knife.mdl"
"snd_acquire" "weapon.pickup"
"snd_respawn" "item.respawn"
// weapon specific
"def_melee" "damage_tfKnife"
"melee_distance" "32"
"inv_name" "Knife"
"ammoType" ""
"ammoRequired" "0"
"clipSize" "0"
"silent_fire" "1"
"meleeRateMiss" "0.35"
"meleeRateHit" "0.35"
"act_idle" "0,1"
"act_draw" "4"
"act_holster" "5"
"act_fireFailed" "2"
"act_fire" "3"
// HLWeapon specific
"hudSlot" "0"
"hudSlotPos" "0"
"weight" "0"
"crosshair" "none"
"ammoIcon" "none"
}
}
entityDef damage_tfKnife
{
"damage" "skill:plr_knife"
"gib" "1"
"snd_hit" "Weapon_Knife.HitWorld"
"snd_hitFlesh" "Weapon_Knife.HitFlesh"
"snd_miss" "Weapon_Knife.Miss"
}