zombiesurvival-evolved/gamemodes/zombiesurvival/entities/weapons/weapon_zs_shadowlurker/shared.lua

27 lines
724 B
Lua
Raw Normal View History

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