mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 13:53:45 +03:00
Upload
This commit is contained in:
33
lua/entities/npc_fastzombie_slump_b/shared.lua
Normal file
33
lua/entities/npc_fastzombie_slump_b/shared.lua
Normal file
@@ -0,0 +1,33 @@
|
||||
--[[
|
||||
| This file was obtained through the combined efforts
|
||||
| of Madbluntz & Plymouth Antiquarian Society.
|
||||
|
|
||||
| Credits: lifestorm, Gregory Wayne Rossel JR.,
|
||||
| Maloy, DrPepper10 @ RIP, Atle!
|
||||
|
|
||||
| Visit for more: https://plymouth.thetwilightzone.ru/
|
||||
--]]
|
||||
|
||||
AddCSLuaFile()
|
||||
|
||||
ENT.Base = "npc_fastzombie_slump_a"
|
||||
ENT.Type = "anim"
|
||||
|
||||
ENT.PrintName = "Sleeping Fastzombie B"
|
||||
|
||||
ENT.DebugModel = "models/balloons/balloon_dog.mdl"
|
||||
ENT.DebugColor = Color( 150,0,0 )
|
||||
ENT.AmbushDist = 256
|
||||
ENT.MyClass = "npc_fastzombie_slump_b"
|
||||
ENT.AmbusherClass = "npc_fastzombie"
|
||||
|
||||
ENT.Slump = "slump_b"
|
||||
ENT.RiseStyle = "slumprise_b"
|
||||
|
||||
function ENT:Ambush()
|
||||
if not IsValid( self.waking_sequence ) then return end
|
||||
self.waking_sequence:Fire( "BeginSequence", "", 0 )
|
||||
if self:GetIsSilent() then return end
|
||||
self.ambusher:EmitSound( "npc/fast_zombie/wake1.wav", 75, 100 )
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user