Core.Object | +--Engine.Actor | +--Engine.Effects | +--UnrealShare.AnimSpriteEffect | +--Botpack.UT_FlameExplosion
void
MakeSound()
simulated
PostBeginPlay()
00001 //============================================================================= 00002 // UT_FlameExplosion. 00003 //============================================================================= 00004 class UT_FlameExplosion expands AnimSpriteEffect; 00005 00006 #exec OBJ LOAD FILE=textures\UT_Explosion.utx PACKAGE=Botpack.UT_Explosions 00007 #exec TEXTURE IMPORT NAME=ExplosionPal2 FILE=..\UnrealShare\textures\exppal.pcx GROUP=Effects 00008 #exec AUDIO IMPORT FILE="..\UnrealShare\sounds\general\expl04.wav" NAME="Expl04" GROUP="General" 00009 00010 function MakeSound() 00011 { 00012 PlaySound (EffectSound1,,3.0); 00013 } 00014 00015 simulated function PostBeginPlay() 00016 { 00017 local actor a; 00018 00019 Super.PostBeginPlay(); 00020 if ( Level.NetMode != NM_DedicatedServer ) 00021 { 00022 if (!Level.bHighDetailMode) 00023 Drawscale = 1.4; 00024 else 00025 Spawn(class'UT_ShortSmokeGen'); 00026 } 00027 MakeSound(); 00028 } 00029 00030 defaultproperties 00031 { 00032 NumFrames=8 00033 Pause=0.050000 00034 EffectSound1=Sound'UnrealShare.General.Expl04' 00035 RemoteRole=ROLE_SimulatedProxy 00036 LifeSpan=0.500000 00037 DrawType=DT_SpriteAnimOnce 00038 Style=STY_Translucent 00039 Texture=Texture'Botpack.UT_Explosions.Exp2_a00' 00040 Skin=Texture'UnrealShare.Effects.ExplosionPal2' 00041 DrawScale=2.000000 00042 LightType=LT_TexturePaletteOnce 00043 LightEffect=LE_NonIncidence 00044 LightBrightness=159 00045 LightHue=32 00046 LightSaturation=79 00047 LightRadius=8 00048 bCorona=False 00049 }