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

UnrealI.FatRing


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

#exec MESH IMPORT MESH=FatRingM ANIVFILE=MODELS\Ring_a.3D DATAFILE=MODELS\Ring_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=FatRingM X=0 Y=0 Z=0 PITCH=64
#exec MESH SEQUENCE MESH=FatRingM SEQ=All      STARTFRAME=0   NUMFRAMES=16
#exec MESH SEQUENCE MESH=FatRingM SEQ=Explosion STARTFRAME=0   NUMFRAMES=11
#exec MESH SEQUENCE MESH=FatRingM SEQ=SmallExp  STARTFRAME=11  NUMFRAMES=5
#exec OBJ LOAD FILE=Textures\fireeffect5.utx PACKAGE=UNREALI.Effect5
#exec MESHMAP SCALE MESHMAP=FatRingM X=0.5 Y=0.5 Z=1.0 
#exec MESHMAP SETTEXTURE MESHMAP=FatRingM NUM=1 TEXTURE=Unreali.Effect5.FireEffect5

#exec AUDIO IMPORT FILE="Sounds\general\Explo4a.WAV" NAME="FatRingSound" GROUP="General"

function Timer()
{
    if (LightBrightness>60) LightBrightness-=60;
}


auto state Explode
{
Begin:
    SetTimer(0.1,True);
    PlayAnim  ( 'Explosion', 1 );
    PlaySound (EffectSound1,,3.0);  
    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:45.203 - Created with UnCodeX