Core.Object | +--Engine.Actor | +--Engine.Effects | +--Botpack.UT_RingExplosion | +--Botpack.UT_ComboRing
simulated
PostBeginPlay()
SpawnEffects()
00001 //============================================================================= 00002 // RingExplosion4. 00003 //============================================================================= 00004 class UT_ComboRing extends UT_RingExplosion; 00005 00006 #exec TEXTURE IMPORT NAME=pBlueRing FILE=MODELS\ring2.pcx GROUP=Effects 00007 #exec TEXTURE IMPORT NAME=pPurpleRing FILE=MODELS\pPurpleRing.pcx GROUP=Effects 00008 00009 simulated function PostBeginPlay() 00010 { 00011 if ( Level.NetMode != NM_DedicatedServer ) 00012 { 00013 PlayAnim( 'Explo', 0.1, 0.0 ); 00014 SpawnEffects(); 00015 } 00016 if ( Instigator != None ) 00017 MakeNoise(0.5); 00018 } 00019 00020 simulated function SpawnEffects() 00021 { 00022 local actor a; 00023 00024 if ( Level.bHighDetailMode && !Level.bDropDetail ) 00025 { 00026 a = Spawn(class'ut_RingExplosion4',self); 00027 a.RemoteRole = ROLE_None; 00028 } 00029 00030 Spawn(class'BigEnergyImpact',,,,rot(16384,0,0)); 00031 00032 a = Spawn(class'shockexplo'); 00033 a.RemoteRole = ROLE_None; 00034 00035 a = Spawn(class'shockrifleWave'); 00036 a.RemoteRole = ROLE_None; 00037 } 00038 00039 00040 defaultproperties 00041 { 00042 LifeSpan=0.900000 00043 Skin=Texture'Botpack.Effects.pPurpleRing' 00044 DrawScale=4.000000 00045 }