Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
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 |
//============================================================================= // IntroShip. //============================================================================= class IntroShip extends 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 ) { if (bStatic || bDeleteme) return; SetPHysics(PHYS_Projectile); Velocity = Vector(Rotation) * Speed; } defaultproperties { speed=100.000000 bStatic=False DrawType=DT_Mesh Mesh=LodMesh'UnrealI.IntroShipM' } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |