zombiesurvival-evolved/gamemodes/zombiesurvival/entities/weapons/weapon_zs_shadowwalker/shared.lua
William Moodhe e9da54c2f9 ZS updates for 2014-2018
Too many changes to list.
2018-05-01 18:32:59 -04:00

39 lines
860 B
Lua

SWEP.Base = "weapon_zs_zombie"
SWEP.PrintName = "Shadow Walker"
SWEP.MeleeDamage = 30
function SWEP:Reload()
self:SecondaryAttack()
end
function SWEP:StartMoaning()
end
function SWEP:StopMoaning()
end
function SWEP:IsMoaning()
return false
end
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(180, 190), 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