e9da54c2f9
Too many changes to list.
26 lines
724 B
Lua
26 lines
724 B
Lua
SWEP.Base = "weapon_zs_zombietorso"
|
|
|
|
SWEP.PrintName = "Shadow Lurker"
|
|
|
|
SWEP.MeleeDelay = 0.25
|
|
SWEP.MeleeDamage = 20
|
|
|
|
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/zombie_poison/pz_warn"..math.random(2)..".wav", 70, math.random(200, 210), nil, CHAN_AUTO)
|
|
end
|
|
|
|
function SWEP:PlayIdleSound()
|
|
self:GetOwner():EmitSound("npc/antlion/idle"..math.random(5)..".wav", 70, math.random(60, 66))
|
|
end
|
|
|
|
function SWEP:PlayAlertSound()
|
|
self:GetOwner():EmitSound("npc/stalker/breathing3.wav", 70, math.random(80, 90))
|
|
end
|