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

UnrealI.Splash


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


#exec MESH IMPORT MESH=WaterImpactM ANIVFILE=MODELS\splash_a.3D DATAFILE=MODELS\splash_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=WaterImpactM X=0 Y=0 Z=0 YAW=0 PITCH=0 ROLL=0
#exec MESH SEQUENCE MESH=WaterImpactM SEQ=All  STARTFRAME=0   NUMFRAMES=26
#exec MESH SEQUENCE MESH=WaterImpactM SEQ=Still STARTFRAME=0   NUMFRAMES=1
#exec MESH SEQUENCE MESH=WaterImpactM SEQ=Burst STARTFRAME=1   NUMFRAMES=25
#exec TEXTURE IMPORT NAME=Asplash1 FILE=MODELS\splash.PCX GROUP="Skins" FLAGS=2
#exec MESHMAP SCALE MESHMAP=WaterImpactM X=0.08 Y=0.08 Z=0.16 
#exec MESHMAP SETTEXTURE MESHMAP=WaterImpactM NUM=1 TEXTURE=Asplash1

function PostBeginPlay()
{
    local rotator NewRot;

    PlayAnim  ( 'Burst', 2.0 );
    NewRot.Yaw = FRand()*65536;
    NewRot.Pitch = 0;
    NewRot.Roll = 0;
    SetRotation(NewRot);
    Super.PostBeginPlay();
} 
 
function AnimEnd()
{
    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.125 - Created with UnCodeX