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

34 lines
738 B
Lua

AddCSLuaFile()
SWEP.PrintName = "Eradicator"
SWEP.Base = "weapon_zs_zombie"
SWEP.MeleeDamage = 36
SWEP.SlowDownScale = 0
SWEP.AlertDelay = 3.5
function SWEP:Reload()
self:SecondaryAttack()
end
function SWEP:PlayAlertSound()
self:GetOwner():EmitSound("npc/combine_gunship/gunship_moan.wav", 75, math.random(70,75))
end
SWEP.PlayIdleSound = SWEP.PlayAlertSound
function SWEP:PlayAttackSound()
self:EmitSound("npc/antlion_guard/angry"..math.random(3)..".wav", 75, math.random(75,80))
end
if not CLIENT then return end
function SWEP:ViewModelDrawn()
render.ModelMaterialOverride(0)
end
local matSheet = Material("Models/charple/charple4_sheet.vtf")
function SWEP:PreDrawViewModel(vm)
render.ModelMaterialOverride(matSheet)
end