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

UnrealShare.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
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
//=============================================================================
// TSmoke.
//=============================================================================
class TSmoke extends 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;

simulated function PostBeginPlay()
{
    Super.PostBeginPlay();

    if (PuffNum==1) PlayAnim( 'Puff1', 0.2 );
    else if (PuffNum==2) PlayAnim( 'Puff2', 0.2 );  
}

simulated function AnimEnd()
{
    Destroy();
}

defaultproperties
{
     RemoteRole=ROLE_SimulatedProxy
     DrawType=DT_Mesh
     bUnlit=True
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: za 22-4-2006 12:48:02.000 - Creation time: za 22-4-2006 12:49:39.500 - Created with UnCodeX