diff --git a/sources/Zeds/Nice/NiceZombieSiren.uc b/sources/Zeds/Nice/NiceZombieSiren.uc index f361024..8d5f6ae 100644 --- a/sources/Zeds/Nice/NiceZombieSiren.uc +++ b/sources/Zeds/Nice/NiceZombieSiren.uc @@ -445,6 +445,32 @@ static simulated function PreCacheMaterials(LevelInfo myLevel) myLevel.AddPrecacheMaterial(Texture'KF_Specimens_Trip_T.siren_hair'); myLevel.AddPrecacheMaterial(Material'KF_Specimens_Trip_T.siren_hair_fb'); } + + +// DEAD sirens can NOT spawn scream emitter +simulated function PlayDying(class DamageType, vector HitLoc) +{ + super.PlayDying(DamageType, HitLoc); + + // yea, stop all animations on dead zed + StopAnimating(); +} + + +state ZombieDying +{ +ignores AnimEnd, Trigger, Bump, HitWall, HeadVolumeChange, PhysicsVolumeChange, Falling, BreathTimer, Died, RangedAttack; + + simulated function BeginState() + { + // yea, stop all animations on dead zed + StopAnimating(); + + super.BeginState(); + } +} + + defaultproperties { screamTimings(0)=0.420000