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

Botpack.ArenaCam


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
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
//=============================================================================
// ArenaCam.
//=============================================================================
class ArenaCam expands Decoration;

#exec MESH IMPORT MESH=ArenaCam ANIVFILE=MODELS\ArenaCam_a.3d DATAFILE=MODELS\ArenaCam_d.3d X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=ArenaCam X=0 Y=0 Z=0

#exec MESH SEQUENCE MESH=ArenaCam SEQ=All   STARTFRAME=0 NUMFRAMES=300
#exec MESH SEQUENCE MESH=ArenaCam SEQ=down  STARTFRAME=0 NUMFRAMES=99
#exec MESH SEQUENCE MESH=ArenaCam SEQ=loop  STARTFRAME=100 NUMFRAMES=200
#exec MESH SEQUENCE MESH=ArenaCam SEQ=sit   STARTFRAME=0 NUMFRAMES=1
#exec MESH SEQUENCE MESH=ArenaCam SEQ=Close STARTFRAME=0 NUMFRAMES=300

#exec MESHMAP NEW   MESHMAP=ArenaCam MESH=ArenaCam
#exec MESHMAP SCALE MESHMAP=ArenaCam X=0.1 Y=0.1 Z=0.2

#exec TEXTURE IMPORT NAME=JArenaCam_01 FILE=Textures\Arenacam.PCX GROUP=Skins FLAGS=2	//Material #2

#exec MESHMAP SETTEXTURE MESHMAP=ArenaCam NUM=1 TEXTURE=JArenaCam_01


var() Sound ArmDown;
var() Sound ArmLoop;

Auto State Camarm
{
    function Trigger( actor Other, pawn EventInstigator )
    {
        if (AnimSequence=='sit')
            GotoState( 'Camarm','down');
        else
            GotoState( 'Camarm','sit');
    }

Down: 
    Disable('Trigger');
    PlayAnim('down',1.2);
    PlaySound(ArmDown,SLOT_Misc,1.0);
    FinishAnim();
    LoopAnim('loop',1.2);
    PlaySound(ArmLoop,SLOT_Misc,1.0);

//	Enable('Trigger');
    Stop;   
    

Loop:
    Disable('Trigger');
    LoopAnim('loop',1.2);
    PlaySound(ArmLoop,SLOT_Misc,1.0);
    
Begin:
    PlayAnim('sit',1.2);
}

defaultproperties
{
     bStatic=False
     DrawType=DT_Mesh
     Mesh=LodMesh'Botpack.ArenaCam'
     DrawScale=9.500000
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Do 19.5.2005 19:42:14.000 - Creation time: Fr 7.6.2013 13:15:31.045 - Created with UnCodeX