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

UnrealShare.SpikeExplosion


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

#exec MESH IMPORT MESH=SpikeExp ANIVFILE=MODELS\exp1_a.3D DATAFILE=MODELS\Exp1_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=SpikeExp X=0 Y=0 Z=-260 YAW=-64 
#exec MESH SEQUENCE MESH=SpikeExp SEQ=All       STARTFRAME=0   NUMFRAMES=7
#exec MESH SEQUENCE MESH=SpikeExp SEQ=Explo     STARTFRAME=0   NUMFRAMES=7
#exec MESHMAP SCALE MESHMAP=SpikeExp X=0.03 Y=0.03 Z=0.06
#exec OBJ LOAD FILE=Textures\fireeffect15.utx PACKAGE=UnrealShare.Effect15
#exec MESHMAP SETTEXTURE MESHMAP=SpikeExp NUM=1 TEXTURE=UnrealShare.Effect15.FireEffect15


auto state Exploding
{
    function Tick( float DeltaTime )
    {
        LightBrightness = Max( LightBrightness - 250*DeltaTime, 0 );
    }
Begin:
    PlayAnim  ( 'Explo', 0.9 );
    PlaySound (EffectSound1);
    MakeNoise ( 1.0 );
    FinishAnim();
    Destroy   ();

}

defaultproperties
{
     DrawType=DT_Mesh
     Mesh=Mesh'UnrealShare.SpikeExp'
     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.739 - Created with UnCodeX