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

UnrealI.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
//=============================================================================
// 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=UNREALI.Effect15
#exec MESHMAP SETTEXTURE MESHMAP=SpikeExp NUM=1 TEXTURE=Unreali.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   ();

}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: za 22-4-2006 12:52:32.000 - Creation time: za 22-4-2006 12:53:47.109 - Created with UnCodeX