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

UnrealShare.SmallSpark


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

#exec MESH IMPORT MESH=SmallSparkM ANIVFILE=MODELS\Spark_a.3D DATAFILE=MODELS\Spark_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=SmallSparkM X=0 Y=0 Z=0 PITCH=-64
#exec MESH SEQUENCE MESH=SmallSparkM SEQ=All       STARTFRAME=0   NUMFRAMES=2
#exec MESH SEQUENCE MESH=SmallSparkM SEQ=Explosion STARTFRAME=0   NUMFRAMES=2
#exec TEXTURE IMPORT NAME=JSmlSpark1 FILE=MODELS\Spark.PCX GROUP=Skins
#exec MESHMAP SCALE MESHMAP=SmallSparkM X=0.06 Y=0.06 Z=0.12
#exec MESHMAP SETTEXTURE MESHMAP=SmallSparkM NUM=1 TEXTURE=JSmlSpark1


simulated function PostBeginPlay()
{
    Super.PostBeginPlay();

    if ( Level.NetMode != NM_DedicatedServer )
    {
        PlayAnim  ( 'Explosion', 0.2 );
        PlaySound (EffectSound1);
    }
}

simulated function AnimEnd()
{   
    Destroy();
}

defaultproperties
{
     RemoteRole=ROLE_SimulatedProxy
     LifeSpan=4.000000
     DrawType=DT_Mesh
     Mesh=Mesh'UnrealShare.SmallSparkM'
     AmbientGlow=223
     bUnlit=True
     bMeshCurvy=False
}

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:53.661 - Created with UnCodeX