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

UnrealI.IntroShip


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
//=============================================================================
// IntroShip.
//=============================================================================
class IntroShip expands Decoration;

#exec MESH IMPORT MESH=IntroShipM ANIVFILE=MODELS\ship_a.3D DATAFILE=MODELS\ship_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=IntroShipM X=0 Y=100 Z=-120 YAW=64
#exec MESH SEQUENCE MESH=IntroShipM SEQ=All    STARTFRAME=0   NUMFRAMES=1
#exec MESH SEQUENCE MESH=IntroShipM SEQ=Still  STARTFRAME=0   NUMFRAMES=1
#exec TEXTURE IMPORT NAME=JIntroShip1 FILE=MODELS\Ship.PCX GROUP=Skins 
#exec MESHMAP SCALE MESHMAP=IntroShipM X=0.1 Y=0.1 Z=0.2
#exec MESHMAP SETTEXTURE MESHMAP=IntroShipM NUM=1 TEXTURE=JIntroShip1

var() float Speed;

function Trigger( actor Other, pawn EventInstigator )
{
    SetPHysics(PHYS_Projectile);
    Velocity = Vector(Rotation) * Speed;
}

defaultproperties
{
     speed=100.000000
     bStatic=False
     DrawType=DT_Mesh
     Mesh=Mesh'UnrealI.IntroShipM'
     bMeshCurvy=False
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Sun 21/2/2010 23:48:42.000 - Creation time: Sun 21/2/2010 23:49:52.117 - Created with UnCodeX