e9da54c2f9
Too many changes to list.
31 lines
No EOL
708 B
Lua
31 lines
No EOL
708 B
Lua
AddCSLuaFile()
|
|
|
|
SWEP.Base = "weapon_zs_zombietorso"
|
|
|
|
SWEP.PrintName = "Fast Zombie Torso"
|
|
|
|
SWEP.ViewModel = Model("models/weapons/v_fza.mdl")
|
|
|
|
SWEP.MeleeDelay = 0.25
|
|
SWEP.MeleeDamage = 18
|
|
SWEP.SwingAnimSpeed = 2.4
|
|
|
|
function SWEP:PlayHitSound()
|
|
self:EmitSound("NPC_FastZombie.AttackHit", nil, nil, nil, CHAN_AUTO)
|
|
end
|
|
|
|
function SWEP:PlayMissSound()
|
|
self:EmitSound("NPC_FastZombie.AttackMiss", nil, nil, nil, CHAN_AUTO)
|
|
end
|
|
|
|
function SWEP:PlayAttackSound()
|
|
self:EmitSound("npc/fast_zombie/leap1.wav", nil, nil, nil, CHAN_AUTO)
|
|
end
|
|
|
|
function SWEP:PlayIdleSound()
|
|
self:GetOwner():EmitSound("NPC_FastZombie.AlertFar")
|
|
end
|
|
|
|
function SWEP:PlayAlertSound()
|
|
self:GetOwner():EmitSound("NPC_FastZombie.Frenzy")
|
|
end |