[9928] | 1 | <!-- --> |
---|
| 2 | |
---|
| 3 | <LevelInfo |
---|
| 4 | name = "(i) John Vane - Trip to Area 51" |
---|
| 5 | description = "John Vane's first mission to rescue the Commander" |
---|
| 6 | tags = "mission" |
---|
| 7 | screenshot = "JohnVane.png" |
---|
| 8 | /> |
---|
| 9 | |
---|
| 10 | <?lua |
---|
| 11 | include("stats.oxo") |
---|
| 12 | include("HUDTemplates3.oxo") |
---|
| 13 | include("templates/lodInformation.oxt") |
---|
| 14 | ?> |
---|
| 15 | |
---|
| 16 | <?lua |
---|
| 17 | include("templates/spaceshipAssff.oxt") |
---|
| 18 | include("templates/spaceshipAssff2.oxt") |
---|
| 19 | include("templates/spaceshipPirate.oxt") |
---|
| 20 | include("templates/spaceshipEscort.oxt") |
---|
| 21 | include("templates/spaceshipCollateralDamage.oxt") |
---|
| 22 | ?> |
---|
| 23 | |
---|
| 24 | <Level gametype="Mission"> |
---|
| 25 | |
---|
| 26 | <templates> |
---|
| 27 | <Template link=lodtemplate_default /> |
---|
| 28 | </templates> |
---|
| 29 | <?lua include("includes/notifications.oxi") ?> |
---|
| 30 | |
---|
| 31 | <NotificationQueueCEGUI |
---|
| 32 | name="narrative" |
---|
| 33 | targets="simpleNotification" |
---|
| 34 | size=3 |
---|
| 35 | displayTime=3.9 |
---|
| 36 | position="0.2, 0, 0.1, 0" |
---|
| 37 | fontSize="23" |
---|
| 38 | fontColor="0.3, 1, 0.2, 0.8" |
---|
| 39 | alignment="HorzCentred" |
---|
| 40 | displaySize="0.6, 0, 0, 0" |
---|
| 41 | /> |
---|
| 42 | |
---|
| 43 | <Scene |
---|
| 44 | ambientlight = "0.5, 0.5, 0.5" |
---|
| 45 | skybox = "Orxonox/Starbox" |
---|
| 46 | hasPhysics = true |
---|
| 47 | |
---|
| 48 | > |
---|
| 49 | |
---|
| 50 | <?lua |
---|
| 51 | include("includes/pickups.oxi") |
---|
| 52 | ?> |
---|
| 53 | |
---|
| 54 | <?lua |
---|
| 55 | dofile("includes/CuboidSpaceStation.lua") |
---|
| 56 | ?> |
---|
| 57 | |
---|
| 58 | |
---|
| 59 | <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/> |
---|
| 60 | |
---|
| 61 | <TeamSpawnPoint team=0 position="0,0,0" direction="1,1,1" spawnclass=SpaceShip pawndesign=spaceshipescort> <!--spaceshipescort--> |
---|
| 62 | <events> |
---|
| 63 | <activity> |
---|
| 64 | <EventListener event="start" /> |
---|
| 65 | </activity> |
---|
| 66 | </events> |
---|
| 67 | </TeamSpawnPoint> |
---|
| 68 | |
---|
| 69 | <DistanceTrigger name="spawntrigger" position="0,0,0" distance=10 target="SpaceShip" stayActive="true" delay=0.1/> |
---|
| 70 | |
---|
| 71 | <!-----------------------------------------------------------------------------------------------------> |
---|
| 72 | <!-------------------------------------- PART ZERO: Docking on ---------------------------------------> |
---|
| 73 | <!-----------------------------------------------------------------------------------------------------> |
---|
| 74 | |
---|
| 75 | <!-- OBJECTS IN THIS PART --> |
---|
| 76 | |
---|
| 77 | <!-- @Objects: HYDROGEN FARMER & DOCKING --> |
---|
| 78 | |
---|
| 79 | <!-- @Objects: HYDROGEN FARMER & DOCKING --> |
---|
| 80 | <SpaceShip |
---|
| 81 | team = 0 |
---|
| 82 | position = "5000,5100,5000" |
---|
| 83 | roll = 90 yaw=0 pitch=20 |
---|
| 84 | mass = 10000 |
---|
| 85 | health = 100000 initialhealth=100000 maxhealth="100000" |
---|
| 86 | name = "HydroFarmer" |
---|
| 87 | radarname = "Main station" > |
---|
| 88 | <attached> |
---|
| 89 | <!-- Docking --> |
---|
| 90 | <DistanceTriggerBeacon name="bcnDestroyer" /> |
---|
| 91 | <DockingTarget name="destroyer" /> |
---|
| 92 | |
---|
| 93 | <Model mesh="HydroHarvester.mesh" mass=10 position="0,0,0" scale=50 /> |
---|
| 94 | <!-- <Model mesh="cube.mesh" mass=10 position="-560,0,0" scale3D="115,100,245" /> |
---|
| 95 | <Model mesh="cube.mesh" mass=10 position="290,0,-480" scale3D="115,100,245" yaw=-120 /> |
---|
| 96 | <Model mesh="cube.mesh" mass=10 position="290,0,480" scale3D="115,100,245" yaw=-240 /> |
---|
| 97 | <Model mesh="cube.mesh" mass=10 position="-280,0,0" scale3D="163,50,50" /> |
---|
| 98 | <Model mesh="cube.mesh" mass=10 position="140,0,-240" scale3D="163,50,50" yaw=-120/> |
---|
| 99 | <Model mesh="cube.mesh" mass=10 position="140,0,240" scale3D="163,50,50" yaw=-240/> |
---|
| 100 | <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" /> |
---|
| 101 | <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" yaw=-120/> |
---|
| 102 | <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" yaw=-240/> |
---|
| 103 | <Model mesh="cube.mesh" mass=10 position="0,400,0" scale3D="43,110,26" yaw=-30 /> |
---|
| 104 | <Model mesh="cube.mesh" mass=10 position="-200,100,0" scale3D="26,50,43" /> |
---|
| 105 | <Model mesh="cube.mesh" mass=10 position="100,100,-173" scale3D="43,50,26" yaw=-30/> |
---|
| 106 | <Model mesh="cube.mesh" mass=10 position="100,100,173" scale3D="43,50,26" yaw=30/> |
---|
| 107 | <Model mesh="cube.mesh" mass=10 position="-100,264,0" scale3D="26,105,43" roll=-49/> |
---|
| 108 | <Model mesh="cube.mesh" mass=10 position="50,264,-87" scale3D="26,105,43" roll=-49 yaw=-120/> |
---|
| 109 | <Model mesh="cube.mesh" mass=10 position="50,264,87" scale3D="26,105,43" roll=-49 yaw=-240/> --> |
---|
| 110 | </attached> |
---|
| 111 | <collisionShapes> |
---|
| 112 | <BoxCollisionShape position="-560,0,0" halfExtents="115,100,245" /><!-- Three lower boxes --> |
---|
| 113 | <BoxCollisionShape position="290,0,-480" halfExtents="115,100,245" yaw=-120 /> |
---|
| 114 | <BoxCollisionShape position="290,0,480" halfExtents="115,100,245" yaw=-240 /> |
---|
| 115 | <BoxCollisionShape position="-280,0,0" halfExtents="163,50,50" /><!-- Three lower connections --> |
---|
| 116 | <BoxCollisionShape position="140,0,-240" halfExtents="163,50,50" yaw=-120 /> |
---|
| 117 | <BoxCollisionShape position="140,0,240" halfExtents="163,50,50" yaw=-240 /> |
---|
| 118 | <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" /><!-- Upper Tower --> |
---|
| 119 | <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" yaw=-120 /> |
---|
| 120 | <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" yaw=-240 /> |
---|
| 121 | <BoxCollisionShape position="0,400,0" halfExtents="43,110,26" yaw=-30 /><!-- Middle one--> |
---|
| 122 | <BoxCollisionShape position="-200,100,0" halfExtents="26,50,43" /><!--Three lower legs --> |
---|
| 123 | <BoxCollisionShape position="100,100,-173" halfExtents="43,50,26" yaw=-30 /> |
---|
| 124 | <BoxCollisionShape position="100,100,-173" halfExtents="43,50,26" yaw=30 /> |
---|
| 125 | <BoxCollisionShape position="-100,264,0" halfExtents="26,105,43" roll=-49 /><!--Three upper legs --> |
---|
| 126 | <BoxCollisionShape position="50,264,-87" halfExtents="26,105,43" roll=-49 yaw=-120 /> |
---|
| 127 | <BoxCollisionShape position="50,264,87" halfExtents="26,105,43" roll=-49 yaw=-240 /> |
---|
| 128 | </collisionShapes> |
---|
| 129 | </SpaceShip> |
---|
| 130 | |
---|
| 131 | <Dock position="5000,5000,5000" roll=90 yaw=180 > |
---|
| 132 | <animations> |
---|
| 133 | <MoveToDockingTarget target="destroyer" /> |
---|
| 134 | </animations> |
---|
| 135 | <effects> |
---|
| 136 | <DockToShip target="spaceShip" /> |
---|
| 137 | </effects> |
---|
| 138 | <events> |
---|
| 139 | <execute> |
---|
| 140 | <EventListener event="dockMe" /> |
---|
| 141 | </execute> |
---|
| 142 | <activity> |
---|
| 143 | <EventListener event=notGameEnd /> |
---|
| 144 | </activity> |
---|
| 145 | </events> |
---|
| 146 | <attached> |
---|
| 147 | <DistanceTrigger position="10,-202, -42" distance="800" target="Pawn" |
---|
| 148 | beaconMode="exclude" targetname="bcnDestroyer" name="dockMe"/> |
---|
| 149 | <Billboard position="10,-202,-42" material="Flares/ringflare" colour="0.7,0.4,0.1" scale=1/> |
---|
| 150 | </attached> |
---|
| 151 | |
---|
| 152 | </Dock> |
---|
| 153 | |
---|
| 154 | <!--@Objects: SpaceCruiser as docking target --> |
---|
| 155 | <SpaceShip |
---|
| 156 | template = "spaceshipcollateraldamage" |
---|
| 157 | team = "0" |
---|
| 158 | position = "5000,5800,5000" |
---|
| 159 | orientation = "-0.14, 0.68, 0.68, 0.223" |
---|
| 160 | health = "400" |
---|
| 161 | initialhealth = "400" |
---|
| 162 | maxhealth = "500" |
---|
| 163 | shieldhealth = "80" |
---|
| 164 | initialshieldhealth = "80" |
---|
| 165 | maxshieldhealth = "120" |
---|
| 166 | shieldabsorption = "0.8" |
---|
| 167 | reloadrate = "1" |
---|
| 168 | reloadwaittime = "1" |
---|
| 169 | name = "cruiser" |
---|
| 170 | radarname = "Spacecruiser" > |
---|
| 171 | <attached> |
---|
| 172 | <DockingTarget name="spaceShip" /> |
---|
| 173 | </attached> |
---|
| 174 | </SpaceShip> |
---|
| 175 | |
---|
| 176 | |
---|
| 177 | <BlinkingBillboard position="1500,1500,1500" frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,1,0.05"> |
---|
| 178 | <events> |
---|
| 179 | <visibility> |
---|
| 180 | <EventTrigger invert=true> |
---|
| 181 | <events> |
---|
| 182 | <trigger> |
---|
| 183 | <EventListener event=flying3 /> |
---|
| 184 | </trigger> |
---|
| 185 | </events> |
---|
| 186 | </EventTrigger> |
---|
| 187 | </visibility> |
---|
| 188 | </events> |
---|
| 189 | </BlinkingBillboard> |
---|
| 190 | <Billboard position="1500,1500,1500" amplitude=1 material="Flares/lensflare" colour="0,0.8,0.1"> |
---|
| 191 | <events> |
---|
| 192 | <visibility> |
---|
| 193 | <EventTrigger> |
---|
| 194 | <events> |
---|
| 195 | <trigger> |
---|
| 196 | <EventListener event=flying4 /> |
---|
| 197 | </trigger> |
---|
| 198 | </events> |
---|
| 199 | </EventTrigger> |
---|
| 200 | </visibility> |
---|
| 201 | </events> |
---|
| 202 | </Billboard> |
---|
| 203 | |
---|
| 204 | <DistanceTrigger name="flying1" position="0,0,0" target="Pawn" distance=100 stayActive="true" delay=1/> |
---|
| 205 | <SimpleNotification message="Housten: John Vane do you hear us?"> |
---|
| 206 | <events> |
---|
| 207 | <trigger> |
---|
| 208 | <EventListener event="flying1" /> |
---|
| 209 | </trigger> |
---|
| 210 | </events> |
---|
| 211 | </SimpleNotification> |
---|
| 212 | |
---|
| 213 | <DistanceTrigger name="flying2" position="0,0,0" target="Pawn" distance=100 stayActive="true" delay=5/> |
---|
| 214 | <SimpleNotification message="Housten: We got a new mission for you"> |
---|
| 215 | <events> |
---|
| 216 | <trigger> |
---|
| 217 | <EventListener event="flying2" /> |
---|
| 218 | </trigger> |
---|
| 219 | </events> |
---|
| 220 | </SimpleNotification> |
---|
| 221 | |
---|
| 222 | |
---|
| 223 | <DistanceTrigger name="flying3" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=9/> |
---|
| 224 | <SimpleNotification message="John: I hear you. What is it about?"> |
---|
| 225 | <events> |
---|
| 226 | <trigger> |
---|
| 227 | <EventListener event="flying3" /> |
---|
| 228 | </trigger> |
---|
| 229 | </events> |
---|
| 230 | </SimpleNotification> |
---|
| 231 | |
---|
| 232 | <DistanceTrigger name="flying4" position="0,0,0" target="Pawn" distance=100 stayActive="true" delay=13/> |
---|
| 233 | <SimpleNotification message="Housten: Our Commander got kidnapped"> |
---|
| 234 | <events> |
---|
| 235 | <trigger> |
---|
| 236 | <EventListener event="flying4" /> |
---|
| 237 | </trigger> |
---|
| 238 | </events> |
---|
| 239 | </SimpleNotification> |
---|
| 240 | |
---|
| 241 | <DistanceTrigger name="flying5" position="0,0, 0" target="Pawn" distance=100 stayActive="true" delay=17/> |
---|
| 242 | <SimpleNotification message="Housten: We need you to rescue him."> |
---|
| 243 | <events> |
---|
| 244 | <trigger> |
---|
| 245 | <EventListener event="flying5" /> |
---|
| 246 | </trigger> |
---|
| 247 | </events> |
---|
| 248 | </SimpleNotification> |
---|
| 249 | |
---|
| 250 | <DistanceTrigger name="flying6" position="0,0, 0" target="Pawn" distance=100 stayActive="true" delay=21/> |
---|
| 251 | <SimpleNotification message="John: I'm right on the way."> |
---|
| 252 | <events> |
---|
| 253 | <trigger> |
---|
| 254 | <EventListener event="flying6" /> |
---|
| 255 | </trigger> |
---|
| 256 | </events> |
---|
| 257 | </SimpleNotification> |
---|
| 258 | |
---|
| 259 | <DistanceTrigger name="flying7" position="0,0,0" target="Pawn" distance=100 stayActive="true" delay=25/> |
---|
| 260 | <SimpleNotification message="Houston: First dock on the station"> |
---|
| 261 | <events> |
---|
| 262 | <trigger> |
---|
| 263 | <EventListener event="flying7" /> |
---|
| 264 | </trigger> |
---|
| 265 | </events> |
---|
| 266 | </SimpleNotification> |
---|
| 267 | |
---|
| 268 | <QuestEffectBeacon times=1> |
---|
| 269 | <effects> |
---|
| 270 | <AddQuest questId="Level_Kaan.docking" /> |
---|
| 271 | </effects> |
---|
| 272 | <events> |
---|
| 273 | <execute> |
---|
| 274 | <EventListener event=spawntrigger /> |
---|
| 275 | </execute> |
---|
| 276 | </events> |
---|
| 277 | </QuestEffectBeacon> |
---|
| 278 | |
---|
| 279 | <QuestEffectBeacon times=1> |
---|
| 280 | <effects> |
---|
| 281 | <CompleteQuest questId="Level_Kaan.docking" /> |
---|
| 282 | </effects> |
---|
| 283 | <events> |
---|
| 284 | <execute> |
---|
| 285 | <EventListener event="dockMe" /> |
---|
| 286 | </execute> |
---|
| 287 | </events> |
---|
| 288 | </QuestEffectBeacon> |
---|
| 289 | |
---|
| 290 | <LocalQuest id="Level_Kaan.docking"> |
---|
| 291 | <QuestDescription title="Docking" description="Our Commander got kidnapped in Area 51. Fly to the Main Station and get a better Spaceship to rescue him. |
---|
| 292 | |
---|
| 293 | Flying moves: |
---|
| 294 | break (S) |
---|
| 295 | roll (Q) and (E) |
---|
| 296 | boost (Space) |
---|
| 297 | |
---|
| 298 | Whenever a new quest is added you can view it by pressing (F3). Quit this menu via (Esc)." failmessage="" completeMessage="" /> |
---|
| 299 | <complete-effects> |
---|
| 300 | <AddQuest questId="Level_Kaan.portals" /> |
---|
| 301 | </complete-effects> |
---|
| 302 | </LocalQuest> |
---|
| 303 | |
---|
| 304 | <LocalQuest id="Level_Kaan.portals"> |
---|
| 305 | <QuestDescription title="Portals" description="Now you've got a Spaceship with more health and weapons. Your next goal is to pass through the portal and find there the wormhole to Area 51" failmessage="" completeMessage="" /> |
---|
| 306 | <complete-effects> |
---|
| 307 | <AddQuest questId="Level_Kaan.asteroids" /> |
---|
| 308 | </complete-effects> |
---|
| 309 | </LocalQuest> |
---|
| 310 | |
---|
| 311 | |
---|
| 312 | <QuestEffectBeacon times=1> |
---|
| 313 | <effects> |
---|
| 314 | <CompleteQuest questId="Level_Kaan.portals" /> |
---|
| 315 | </effects> |
---|
| 316 | <events> |
---|
| 317 | <execute> |
---|
| 318 | <EventListener event=start /> |
---|
| 319 | </execute> |
---|
| 320 | </events> |
---|
| 321 | </QuestEffectBeacon> |
---|
| 322 | |
---|
| 323 | <LocalQuest id="Level_Kaan.asteroids"> |
---|
| 324 | <QuestDescription title="Asteroids" description="The wormhole is at the end of the asteroid shower. Find your way through the asteroids without hitting the rocks and reach Area 51. " failmessage="" completeMessage="" /> |
---|
| 325 | </LocalQuest> |
---|
| 326 | |
---|
| 327 | <QuestEffectBeacon times=1> |
---|
| 328 | <effects> |
---|
| 329 | <CompleteQuest questId="Level_Kaan.asteroids" /> |
---|
| 330 | </effects> |
---|
| 331 | <events> |
---|
| 332 | <execute> |
---|
| 333 | <EventListener event=endOfLevel /> |
---|
| 334 | </execute> |
---|
| 335 | </events> |
---|
| 336 | </QuestEffectBeacon> |
---|
| 337 | |
---|
| 338 | <!-----------------------------------------------------------------------------------------------------> |
---|
| 339 | <!-------------------------------- PART ONE: Passing throug wormhole ---------------------------------> |
---|
| 340 | <!-----------------------------------------------------------------------------------------------------> |
---|
| 341 | |
---|
| 342 | |
---|
| 343 | <!------------------------------------- OBJECTS IN THIS PART ------------------------------------------> |
---|
| 344 | |
---|
| 345 | <Template name=PortalDefault> |
---|
| 346 | <PortalEndPoint> |
---|
| 347 | <attached> |
---|
| 348 | <Model mesh="Spacegate.mesh" /> |
---|
| 349 | </attached> |
---|
| 350 | </PortalEndPoint> |
---|
| 351 | </Template> |
---|
| 352 | |
---|
| 353 | <PortalEndPoint position="4000,2500,4000" id="1" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0"/> |
---|
| 354 | <PortalEndPoint position="0,94000,0" id="2" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0"/> |
---|
| 355 | <PortalLink fromID="1" toID="2" /> |
---|
| 356 | <!--<PortalLink fromID="2" toID="1" />--> |
---|
| 357 | |
---|
| 358 | <!-- Meteoriten, die sich bewegen --> |
---|
| 359 | <?lua |
---|
| 360 | for i = 1, 600, 1 |
---|
| 361 | do |
---|
| 362 | j = math.random() |
---|
| 363 | x = math.random() |
---|
| 364 | y = math.random() |
---|
| 365 | z = math.random() |
---|
| 366 | ?> |
---|
| 367 | |
---|
| 368 | <MovableEntity |
---|
| 369 | position = "<?lua print(math.random()* 1000-500) ?>,<?lua print(math.random() * 10000 + 110000) ?>,<?lua print(math.random() * 1000-500) ?>" |
---|
| 370 | scale = "<?lua print(j * 40)?>" |
---|
| 371 | velocity = "<?lua print(x*60-30)?>, <?lua print(y*60-160)?>, <?lua print(z*60-30)?>" |
---|
| 372 | collisionType = dynamic |
---|
| 373 | collisiondamage = 0.05 |
---|
| 374 | enablecollisiondamage = true |
---|
| 375 | active = true |
---|
| 376 | > |
---|
| 377 | <events> |
---|
| 378 | <activity> |
---|
| 379 | <EventListener event="start" /> |
---|
| 380 | </activity> |
---|
| 381 | </events> |
---|
| 382 | <attached> |
---|
| 383 | <Model mass="<?lua print(j * 1000) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> |
---|
| 384 | </attached> |
---|
| 385 | <collisionShapes> |
---|
| 386 | <SphereCollisionShape radius="<?lua print(j * 50) ?>" /> |
---|
| 387 | </collisionShapes> |
---|
| 388 | </MovableEntity> |
---|
| 389 | |
---|
| 390 | <?lua |
---|
| 391 | end |
---|
| 392 | ?> |
---|
| 393 | |
---|
| 394 | <BlinkingBillboard position="5000,5700,5000" frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,1,0.05"> |
---|
| 395 | <events> |
---|
| 396 | <visibility> |
---|
| 397 | <EventTrigger invert=true> |
---|
| 398 | <events> |
---|
| 399 | <trigger> |
---|
| 400 | <EventListener event=portal2 /> |
---|
| 401 | </trigger> |
---|
| 402 | </events> |
---|
| 403 | </EventTrigger> |
---|
| 404 | </visibility> |
---|
| 405 | </events> |
---|
| 406 | </BlinkingBillboard> |
---|
| 407 | |
---|
| 408 | <Billboard position="5000,5700,5000" amplitude=1 material="Flares/lensflare" colour="0,0.8,0.1"> |
---|
| 409 | <events> |
---|
| 410 | <visibility> |
---|
| 411 | <EventTrigger> |
---|
| 412 | <events> |
---|
| 413 | <trigger> |
---|
| 414 | <EventListener event=portal2 /> |
---|
| 415 | </trigger> |
---|
| 416 | </events> |
---|
| 417 | </EventTrigger> |
---|
| 418 | </visibility> |
---|
| 419 | </events> |
---|
| 420 | </Billboard> |
---|
| 421 | |
---|
| 422 | <DistanceTrigger name="start" position="0,94000,0" target="SpaceShip" beaconMode="exclude" targetname="bcnDestroyer" distance=20 stayActive="true" delay=0 /> |
---|
| 423 | |
---|
| 424 | <DistanceTrigger name="portal2" position="5000,5700,5000" target="Pawn" distance=20 stayActive="true" delay=3/> |
---|
| 425 | <SimpleNotification message="Housten: Now go through the portal!"> |
---|
| 426 | <events> |
---|
| 427 | <trigger> |
---|
| 428 | <EventListener event="portal2" /> |
---|
| 429 | </trigger> |
---|
| 430 | </events> |
---|
| 431 | </SimpleNotification> |
---|
| 432 | |
---|
| 433 | |
---|
| 434 | |
---|
| 435 | <!-----------------------------------------------------------------------------------------------------> |
---|
| 436 | <!--------------------------- PART TWO: Passing throug area with meteorits ----------------------------> |
---|
| 437 | <!-----------------------------------------------------------------------------------------------------> |
---|
| 438 | |
---|
| 439 | <SpaceShip |
---|
| 440 | team = 0 |
---|
| 441 | position = "0,118000,0" |
---|
| 442 | roll = 0 yaw=90 pitch=0 |
---|
| 443 | mass = 10000 |
---|
| 444 | health = 100000 initialhealth=100000 maxhealth="100000" |
---|
| 445 | name = "wormhole" |
---|
| 446 | radarname = "Wormhole to Area 51" > |
---|
| 447 | <attached> |
---|
| 448 | <DistanceTriggerBeacon name="bcnDestroyer" /> |
---|
| 449 | <Billboard position="0,0,0" material="Portals/Default" /> |
---|
| 450 | <DistanceTrigger name="endOfLevel" position="0,0,0" target="SpaceShip" beaconMode="exclude" targetname="bcnDestroyer" distance=50 stayActive="true" delay=0/> |
---|
| 451 | |
---|
| 452 | <Model mesh="HydroHarvester.mesh" mass=10 position="0,0,0" scale=50 /> |
---|
| 453 | <!-- <Model mesh="cube.mesh" mass=10 position="-560,0,0" scale3D="115,100,245" /> |
---|
| 454 | <Model mesh="cube.mesh" mass=10 position="290,0,-480" scale3D="115,100,245" yaw=-120 /> |
---|
| 455 | <Model mesh="cube.mesh" mass=10 position="290,0,480" scale3D="115,100,245" yaw=-240 /> |
---|
| 456 | <Model mesh="cube.mesh" mass=10 position="-280,0,0" scale3D="163,50,50" /> |
---|
| 457 | <Model mesh="cube.mesh" mass=10 position="140,0,-240" scale3D="163,50,50" yaw=-120/> |
---|
| 458 | <Model mesh="cube.mesh" mass=10 position="140,0,240" scale3D="163,50,50" yaw=-240/> |
---|
| 459 | <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" /> |
---|
| 460 | <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" yaw=-120/> |
---|
| 461 | <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" yaw=-240/> |
---|
| 462 | <Model mesh="cube.mesh" mass=10 position="0,400,0" scale3D="43,110,26" yaw=-30 /> |
---|
| 463 | <Model mesh="cube.mesh" mass=10 position="-200,100,0" scale3D="26,50,43" /> |
---|
| 464 | <Model mesh="cube.mesh" mass=10 position="100,100,-173" scale3D="43,50,26" yaw=-30/> |
---|
| 465 | <Model mesh="cube.mesh" mass=10 position="100,100,173" scale3D="43,50,26" yaw=30/> |
---|
| 466 | <Model mesh="cube.mesh" mass=10 position="-100,264,0" scale3D="26,105,43" roll=-49/> |
---|
| 467 | <Model mesh="cube.mesh" mass=10 position="50,264,-87" scale3D="26,105,43" roll=-49 yaw=-120/> |
---|
| 468 | <Model mesh="cube.mesh" mass=10 position="50,264,87" scale3D="26,105,43" roll=-49 yaw=-240/> --> |
---|
| 469 | </attached> |
---|
| 470 | <collisionShapes> |
---|
| 471 | <BoxCollisionShape position="-560,0,0" halfExtents="115,100,245" /><!-- Three lower boxes --> |
---|
| 472 | <BoxCollisionShape position="290,0,-480" halfExtents="115,100,245" yaw=-120 /> |
---|
| 473 | <BoxCollisionShape position="290,0,480" halfExtents="115,100,245" yaw=-240 /> |
---|
| 474 | <BoxCollisionShape position="-280,0,0" halfExtents="163,50,50" /><!-- Three lower connections --> |
---|
| 475 | <BoxCollisionShape position="140,0,-240" halfExtents="163,50,50" yaw=-120 /> |
---|
| 476 | <BoxCollisionShape position="140,0,240" halfExtents="163,50,50" yaw=-240 /> |
---|
| 477 | <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" /><!-- Upper Tower --> |
---|
| 478 | <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" yaw=-120 /> |
---|
| 479 | <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" yaw=-240 /> |
---|
| 480 | <BoxCollisionShape position="0,400,0" halfExtents="43,110,26" yaw=-30 /><!-- Middle one--> |
---|
| 481 | <BoxCollisionShape position="-200,100,0" halfExtents="26,50,43" /><!--Three lower legs --> |
---|
| 482 | <BoxCollisionShape position="100,100,-173" halfExtents="43,50,26" yaw=-30 /> |
---|
| 483 | <BoxCollisionShape position="100,100,-173" halfExtents="43,50,26" yaw=30 /> |
---|
| 484 | <BoxCollisionShape position="-100,264,0" halfExtents="26,105,43" roll=-49 /><!--Three upper legs --> |
---|
| 485 | <BoxCollisionShape position="50,264,-87" halfExtents="26,105,43" roll=-49 yaw=-120 /> |
---|
| 486 | <BoxCollisionShape position="50,264,87" halfExtents="26,105,43" roll=-49 yaw=-240 /> |
---|
| 487 | </collisionShapes> |
---|
| 488 | </SpaceShip> |
---|
| 489 | |
---|
| 490 | <DistanceTrigger name="portal3" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=1/> |
---|
| 491 | <SimpleNotification message="Housten: Reach the wormhole to Area 51"> |
---|
| 492 | <events> |
---|
| 493 | <trigger> |
---|
| 494 | <EventListener event="portal3" /> |
---|
| 495 | </trigger> |
---|
| 496 | </events> |
---|
| 497 | </SimpleNotification> |
---|
| 498 | |
---|
| 499 | <DistanceTrigger name="portal4" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=5/> |
---|
| 500 | <SimpleNotification message="Housten: Hurry up John"> |
---|
| 501 | <events> |
---|
| 502 | <trigger> |
---|
| 503 | <EventListener event="portal4" /> |
---|
| 504 | </trigger> |
---|
| 505 | </events> |
---|
| 506 | </SimpleNotification> |
---|
| 507 | |
---|
| 508 | <DistanceTrigger name="portal5" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=9/> |
---|
| 509 | <SimpleNotification message="Houston: Pay attention to the asteroids!"> |
---|
| 510 | <events> |
---|
| 511 | <trigger> |
---|
| 512 | <EventListener event="portal5" /> |
---|
| 513 | </trigger> |
---|
| 514 | </events> |
---|
| 515 | </SimpleNotification> |
---|
| 516 | |
---|
| 517 | <DistanceTrigger name="portal6" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=13/> |
---|
| 518 | <SimpleNotification message="John: I see the wormhole station on the radar"> |
---|
| 519 | <events> |
---|
| 520 | <trigger> |
---|
| 521 | <EventListener event="portal6" /> |
---|
| 522 | </trigger> |
---|
| 523 | </events> |
---|
| 524 | </SimpleNotification> |
---|
| 525 | |
---|
| 526 | |
---|
| 527 | <DistanceTrigger name="portal7" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=17/> |
---|
| 528 | <SimpleNotification message="Houston: Is it black?"> |
---|
| 529 | <events> |
---|
| 530 | <trigger> |
---|
| 531 | <EventListener event="portal7" /> |
---|
| 532 | </trigger> |
---|
| 533 | </events> |
---|
| 534 | </SimpleNotification> |
---|
| 535 | |
---|
| 536 | <DistanceTrigger name="portal8" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=21/> |
---|
| 537 | <SimpleNotification message="John: Yes"> |
---|
| 538 | <events> |
---|
| 539 | <trigger> |
---|
| 540 | <EventListener event="portal8" /> |
---|
| 541 | </trigger> |
---|
| 542 | </events> |
---|
| 543 | </SimpleNotification> |
---|
| 544 | |
---|
| 545 | |
---|
| 546 | <DistanceTrigger name="portal9" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=25/> |
---|
| 547 | <SimpleNotification message="Houston: It should really look like a black hole."> |
---|
| 548 | <events> |
---|
| 549 | <trigger> |
---|
| 550 | <EventListener event="portal9" /> |
---|
| 551 | </trigger> |
---|
| 552 | </events> |
---|
| 553 | </SimpleNotification> |
---|
| 554 | |
---|
| 555 | <DistanceTrigger name="portal10" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=29/> |
---|
| 556 | <SimpleNotification message="John: It does... "> |
---|
| 557 | <events> |
---|
| 558 | <trigger> |
---|
| 559 | <EventListener event="portal10" /> |
---|
| 560 | </trigger> |
---|
| 561 | </events> |
---|
| 562 | </SimpleNotification> |
---|
| 563 | |
---|
| 564 | <DistanceTrigger name="portal11" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=33/> |
---|
| 565 | <SimpleNotification message="Houston: Hahaha "> |
---|
| 566 | <events> |
---|
| 567 | <trigger> |
---|
| 568 | <EventListener event="portal11" /> |
---|
| 569 | </trigger> |
---|
| 570 | </events> |
---|
| 571 | </SimpleNotification> |
---|
| 572 | |
---|
| 573 | |
---|
| 574 | <SimpleNotification message="End of game"> |
---|
| 575 | <events> |
---|
| 576 | <trigger> |
---|
| 577 | <EventListener event="endOfLevel" /> |
---|
| 578 | </trigger> |
---|
| 579 | </events> |
---|
| 580 | </SimpleNotification> |
---|
| 581 | |
---|
| 582 | <Script code="Mission endMission true" onLoad="false"> |
---|
| 583 | <events> |
---|
| 584 | <trigger> |
---|
| 585 | <EventListener event=endOfLevel /> |
---|
| 586 | </trigger> |
---|
| 587 | </events> |
---|
| 588 | </Script> |
---|
| 589 | |
---|
| 590 | </Scene> |
---|
| 591 | </Level> |
---|
| 592 | |
---|