Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

UnrealShare.ParticleBurst


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
//=============================================================================
// ParticleBurst.
//=============================================================================
class ParticleBurst expands Effects;

#exec MESH IMPORT MESH=PartBurst ANIVFILE=MODELS\pexpl_a.3D DATAFILE=MODELS\pexpl_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=PartBurst X=0 Y=0 Z=0 YAW=-64 
#exec MESH SEQUENCE MESH=PartBurst SEQ=All       STARTFRAME=0   NUMFRAMES=2
#exec MESH SEQUENCE MESH=PartBurst SEQ=Explo     STARTFRAME=0   NUMFRAMES=2
#exec MESHMAP SCALE MESHMAP=PartBurst X=0.15 Y=0.15 Z=0.3
#exec TEXTURE IMPORT NAME=T_PBurst FILE=MODELS\rflare.pcx GROUP=Effects
#exec MESHMAP SETTEXTURE MESHMAP=PartBurst NUM=1  TEXTURE=T_PBurst


auto state Explode
{
    simulated function Tick( float DeltaTime )
    {
        ScaleGlow = (Lifespan/Default.Lifespan);    
    }

    simulated function BeginState()
    {
        PlayAnim('Explo',0.05);
    }
    
    simulated function AnimEnd()
    {
        Destroy();
    }       
}

defaultproperties
{
     Physics=PHYS_Rotating
     LifeSpan=0.600000
     DrawType=DT_Mesh
     Style=STY_Translucent
     Texture=Texture'UnrealShare.Effects.T_PBurst'
     Mesh=Mesh'UnrealShare.PartBurst'
     DrawScale=0.700000
     bParticles=True
     bFixedRotationDir=True
     RotationRate=(Pitch=100,Yaw=100,Roll=-200)
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Sun 21/2/2010 23:48:40.000 - Creation time: Sun 21/2/2010 23:49:52.897 - Created with UnCodeX