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

32 lines
702 B
Lua

AddCSLuaFile()
SWEP.PrintName = "Ancient Nightmare"
SWEP.Base = "weapon_zs_zombie"
SWEP.MeleeDamage = 55
SWEP.SlowDownScale = 1
function SWEP:Reload()
self:SecondaryAttack()
end
function SWEP:PlayAlertSound()
self:GetOwner():EmitSound("npc/barnacle/barnacle_tongue_pull"..math.random(3)..".wav")
end
SWEP.PlayIdleSound = SWEP.PlayAlertSound
function SWEP:PlayAttackSound()
self:EmitSound("npc/barnacle/barnacle_bark"..math.random(2)..".wav", 75, 85)
end
if not CLIENT then return end
function SWEP:ViewModelDrawn()
render.ModelMaterialOverride(0)
end
local matSheet = Material("Models/Charple/Charple1_sheet")
function SWEP:PreDrawViewModel(vm)
render.ModelMaterialOverride(matSheet)
end