zedtest3 #3
@ -445,6 +445,32 @@ static simulated function PreCacheMaterials(LevelInfo myLevel)
 | 
				
			|||||||
    myLevel.AddPrecacheMaterial(Texture'KF_Specimens_Trip_T.siren_hair');
 | 
					    myLevel.AddPrecacheMaterial(Texture'KF_Specimens_Trip_T.siren_hair');
 | 
				
			||||||
    myLevel.AddPrecacheMaterial(Material'KF_Specimens_Trip_T.siren_hair_fb');
 | 
					    myLevel.AddPrecacheMaterial(Material'KF_Specimens_Trip_T.siren_hair_fb');
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// DEAD sirens can NOT spawn scream emitter 
 | 
				
			||||||
 | 
					simulated function PlayDying(class<DamageType> 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
 | 
					defaultproperties
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    screamTimings(0)=0.420000
 | 
					    screamTimings(0)=0.420000
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user