Core.Object | +--Engine.Actor | +--Engine.Effects | +--UnrealShare.ParticleBurst
00001 //============================================================================= 00002 // ParticleBurst. 00003 //============================================================================= 00004 class ParticleBurst extends Effects; 00005 00006 #exec MESH IMPORT MESH=PartBurst ANIVFILE=MODELS\pexpl_a.3D DATAFILE=MODELS\pexpl_d.3D X=0 Y=0 Z=0 00007 #exec MESH ORIGIN MESH=PartBurst X=0 Y=0 Z=0 YAW=-64 00008 #exec MESH SEQUENCE MESH=PartBurst SEQ=All STARTFRAME=0 NUMFRAMES=2 00009 #exec MESH SEQUENCE MESH=PartBurst SEQ=Explo STARTFRAME=0 NUMFRAMES=2 00010 #exec MESHMAP SCALE MESHMAP=PartBurst X=0.15 Y=0.15 Z=0.3 00011 #exec TEXTURE IMPORT NAME=T_PBurst FILE=MODELS\rflare.pcx GROUP=Effects 00012 00013 00014 auto state Explode 00015 { 00016 simulated function Tick( float DeltaTime ) 00017 { 00018 ScaleGlow = (Lifespan/Default.Lifespan); 00019 } 00020 00021 simulated function BeginState() 00022 { 00023 PlayAnim('Explo',0.05); 00024 } 00025 00026 simulated function AnimEnd() 00027 { 00028 Destroy(); 00029 } 00030 } 00031 00032 defaultproperties 00033 { 00034 Physics=PHYS_Rotating 00035 LifeSpan=0.600000 00036 DrawType=DT_Mesh 00037 Style=STY_Translucent 00038 Texture=Texture'UnrealShare.Effects.T_PBurst' 00039 Mesh=LodMesh'UnrealShare.PartBurst' 00040 DrawScale=0.700000 00041 bUnlit=True 00042 bParticles=True 00043 bFixedRotationDir=True 00044 RotationRate=(Pitch=100,Yaw=100,Roll=-200) 00045 }