Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 00048 00049 00050 00051 00052 00053 00054 00055 00056 00057 00058 00059 00060 |
//============================================================================= // RingExplosion. //============================================================================= class RingExplosion extends Effects; #exec MESH IMPORT MESH=Ringex ANIVFILE=MODELS\Ringex_a.3D DATAFILE=MODELS\Ringex_d.3D ZEROTEX=1 LODSTYLE=8 #exec MESH ORIGIN MESH=Ringex X=0 Y=0 Z=0 YAW=0 PITCH=64 #exec MESH SEQUENCE MESH=Ringex SEQ=All STARTFRAME=0 NUMFRAMES=6 #exec MESH SEQUENCE MESH=Ringex SEQ=Explosion STARTFRAME=0 NUMFRAMES=6 #exec OBJ LOAD FILE=Textures\fireeffect50.utx PACKAGE=UnrealShare.Effect50 #exec MESHMAP SCALE MESHMAP=Ringex X=0.4 Y=0.4 Z=0.8 YAW=128 #exec MESHMAP SETTEXTURE MESHMAP=Ringex NUM=0 TEXTURE=UnrealShare.Effect50.FireEffect50 #exec AUDIO IMPORT FILE="Sounds\General\Expl03.wav" NAME="Expl03" GROUP="General" var() Sound ExploSound; simulated function Tick( float DeltaTime ) { if ( Level.NetMode != NM_DedicatedServer ) { ScaleGlow = (Lifespan/Default.Lifespan); AmbientGlow = ScaleGlow * 255; } } simulated function PostBeginPlay() { if ( Level.NetMode != NM_DedicatedServer ) { PlayAnim( 'Explosion', 0.25 ); SpawnEffects(); } if ( Instigator != None ) MakeNoise(0.5); } simulated function SpawnEffects() { local actor a; a = Spawn(class'EffectLight'); a.RemoteRole = ROLE_None; a = Spawn(class'ParticleBurst2'); a.RemoteRole = ROLE_None; } defaultproperties { ExploSound=Sound'UnrealShare.General.Expl03' RemoteRole=ROLE_SimulatedProxy LifeSpan=0.800000 DrawType=DT_Mesh Style=STY_None Mesh=LodMesh'UnrealShare.Ringex' DrawScale=0.700000 ScaleGlow=1.100000 bUnlit=True } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |