Botpack
Class ShockExplo

source: e:\games\UnrealTournament\Botpack\Classes\ShockExplo.uc
Core.Object
   |
   +--Engine.Actor
      |
      +--Engine.Effects
         |
         +--UnrealShare.AnimSpriteEffect
            |
            +--Botpack.ShockExplo
Direct Known Subclasses:None

class ShockExplo
extends UnrealShare.AnimSpriteEffect



Function Summary
 void MakeSound()
 
simulated
PostBeginPlay()
 
simulated
Timer()



Source Code


00001	class ShockExplo extends AnimSpriteEffect;
00002	
00003	
00004	#exec TEXTURE IMPORT NAME=ExplosionBluePal FILE=textures\expblue.pcx GROUP=Effects
00005	#exec OBJ LOAD FILE=textures\ShockExplo.utx PACKAGE=Botpack.ShockExplo
00006	
00007	function MakeSound()
00008	{
00009		PlaySound(EffectSound1,,12.0,,2000);
00010	}
00011	
00012	simulated function PostBeginPlay()
00013	{
00014		if ( Level.NetMode != NM_Client )
00015			MakeSound();
00016		Super.PostBeginPlay();		
00017	}
00018	
00019	simulated function Timer()
00020	{
00021	}
00022	
00023	defaultproperties
00024	{
00025	     NumFrames=15
00026	     Pause=0.050000
00027	     EffectSound1=Sound'UnrealShare.General.Expl03'
00028	     RemoteRole=ROLE_SimulatedProxy
00029	     LifeSpan=0.700000
00030	     DrawType=DT_SpriteAnimOnce
00031	     Style=STY_Translucent
00032	     Texture=Texture'Botpack.ShockExplo.asmdex_a00'
00033	     Skin=Texture'Botpack.Effects.ExplosionBluePal'
00034	     DrawScale=1.000000
00035	     LightType=LT_TexturePaletteOnce
00036	     LightEffect=LE_NonIncidence
00037	     LightBrightness=255
00038	     LightHue=27
00039	     LightSaturation=71
00040	     LightRadius=6
00041	     bCorona=False
00042	}

End Source Code