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

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