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
//=============================================================================
// SpikeExplosion.
//=============================================================================
class SpikeExplosion extends 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=LodMesh'UnrealShare.SpikeExp'
     bUnlit=True
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: za 22-4-2006 13:00:12.000 - Creation time: za 22-4-2006 13:01:33.984 - Created with UnCodeX