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

UnrealI.TSmoke


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

/* 
FIXME JAMES REMOVE?

#exec MESH IMPORT MESH=TSmoke ANIVFILE=MODELS\Smoke2_a.3D DATAFILE=MODELS\Smoke2_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=TSmoke X=0 Y=0 Z=0 YAW=0 PITCH=0 ROLL=0
#exec MESH SEQUENCE MESH=TSmoke SEQ=All   STARTFRAME=0   NUMFRAMES=12
#exec MESH SEQUENCE MESH=TSmoke SEQ=Puff1 STARTFRAME=0   NUMFRAMES=6
#exec MESH SEQUENCE MESH=TSmoke SEQ=Puff2 STARTFRAME=0  NUMFRAMES=6
#exec MESHMAP SCALE MESHMAP=TSmoke X=0.08 Y=0.08 Z=0.16 
#exec TEXTURE IMPORT NAME=TSmk1 FILE=MODELS\tsmk.PCX  GROUP=Skins
#exec MESHMAP SETTEXTURE MESHMAP=TSmoke NUM=1 TEXTURE=TSmk1
 */

var int PuffNum;

auto state Puff
{
Begin:
    if (PuffNum==1) PlayAnim( 'Puff1', 0.2 );
    else if (PuffNum==2) PlayAnim( 'Puff2', 0.2 );  
    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.531 - Created with UnCodeX