50 lines
1 KiB
Modula-2
50 lines
1 KiB
Modula-2
entityDef weapon_stunstick
|
|
{
|
|
"editor_color" ".3 .3 1"
|
|
"editor_mins" "-16 -16 -16"
|
|
"editor_maxs" "16 16 16"
|
|
"editor_usage" "#HL2_StunBaton"
|
|
"editor_rotatable" "1"
|
|
|
|
"spawnclass" "HLWeapon"
|
|
"model" "models/weapons/w_stunbaton.mdl"
|
|
"model_view" "models/weapons/v_stunbaton.mdl"
|
|
"snd_acquire" "HL2Player.PickupWeapon"
|
|
"snd_respawn" "Item.Materialize"
|
|
|
|
// weapon specific
|
|
"def_melee" "damage_stunstick"
|
|
"melee_distance" "32"
|
|
"inv_name" "#HL2_StunBaton"
|
|
"clipSize" "6"
|
|
"ammoType" ""
|
|
"ammoRequired" "0"
|
|
"clipSize" "0"
|
|
"silent_fire" "1"
|
|
|
|
"meleeRateMiss" "0.5"
|
|
"meleeRateHit" "0.45"
|
|
|
|
"actIdle" "0"
|
|
"actDraw" "1"
|
|
"actMeleeMiss" "3"
|
|
"actMeleeHit" "2"
|
|
|
|
// HLWeapon specific
|
|
"hudSlot" "0"
|
|
"hudSlotPos" "3"
|
|
"weight" "0"
|
|
"crosshair" "none"
|
|
"ammoIcon" "none"
|
|
}
|
|
|
|
entityDef damage_stunstick
|
|
{
|
|
"damage" "skill:plr_stunstick"
|
|
"gib" "1"
|
|
|
|
"snd_hit" "Weapon_StunStick.Melee_HitWorld"
|
|
"snd_hitFlesh" "Weapon_StunStick.Melee_Hit"
|
|
"snd_miss" "Weapon_StunStick.Melee_Missg"
|
|
// "snd_miss" "Weapon_StunStick.Swing"
|
|
}
|