Core.Object | +--Engine.Actor | +--Engine.Decoration | +--UnrealI.IntroShip
float
Speed
void
Trigger(Actor Other, Pawn EventInstigator)
00001 //============================================================================= 00002 // IntroShip. 00003 //============================================================================= 00004 class IntroShip extends Decoration; 00005 00006 #exec MESH IMPORT MESH=IntroShipM ANIVFILE=MODELS\ship_a.3D DATAFILE=MODELS\ship_d.3D X=0 Y=0 Z=0 00007 #exec MESH ORIGIN MESH=IntroShipM X=0 Y=100 Z=-120 YAW=64 00008 #exec MESH SEQUENCE MESH=IntroShipM SEQ=All STARTFRAME=0 NUMFRAMES=1 00009 #exec MESH SEQUENCE MESH=IntroShipM SEQ=Still STARTFRAME=0 NUMFRAMES=1 00010 #exec TEXTURE IMPORT NAME=JIntroShip1 FILE=MODELS\Ship.PCX GROUP=Skins 00011 #exec MESHMAP SCALE MESHMAP=IntroShipM X=0.1 Y=0.1 Z=0.2 00012 #exec MESHMAP SETTEXTURE MESHMAP=IntroShipM NUM=1 TEXTURE=JIntroShip1 00013 00014 var() float Speed; 00015 00016 function Trigger( actor Other, pawn EventInstigator ) 00017 { 00018 SetPHysics(PHYS_Projectile); 00019 Velocity = Vector(Rotation) * Speed; 00020 } 00021 00022 defaultproperties 00023 { 00024 speed=100.000000 00025 bStatic=False 00026 DrawType=DT_Mesh 00027 Mesh=LodMesh'UnrealI.IntroShipM' 00028 }