Core.Object | +--Engine.Actor | +--Engine.Effects | +--UnrealShare.RingExplosion | +--UnrealShare.RingExplosion2
simulated
PostBeginPlay()
SpawnEffects()
00001 //============================================================================= 00002 // RingExplosion2. 00003 //============================================================================= 00004 class RingExplosion2 extends RingExplosion; 00005 00006 #exec OBJ LOAD FILE=Textures\fireeffect51.utx PACKAGE=UnrealShare.Effect51 00007 #exec AUDIO IMPORT FILE="Sounds\Tazer\ASMDEx3.wav" NAME="SpecialExpl" GROUP="General" 00008 00009 simulated function PostBeginPlay() 00010 { 00011 if ( Level.NetMode != NM_DedicatedServer ) 00012 { 00013 PlayAnim( 'Explosion', 0.2 ); 00014 if (level.bHighDetailMode) SpawnEffects(); 00015 PlaySound(ExploSound,,20.0,,1000,0.6); 00016 } 00017 } 00018 00019 simulated function SpawnEffects() 00020 { 00021 local Actor a; 00022 00023 a = Spawn(class'PurpleLight'); 00024 a.RemoteRole = ROLE_None; 00025 a = Spawn(class'EnergyBurst'); 00026 a.DrawScale = 3.5; 00027 a.RemoteRole = ROLE_None; 00028 a = Spawn(class'ParticleBurst'); 00029 a.RemoteRole = ROLE_None; 00030 } 00031 00032 defaultproperties 00033 { 00034 ExploSound=Sound'UnrealShare.General.SpecialExpl' 00035 Skin=FireTexture'UnrealShare.Effect51.MyTex3' 00036 DrawScale=1.000000 00037 LightRadius=8 00038 }