[9718] | 1 | <!--Spacefight--> |
---|
| 2 | |
---|
| 3 | <!-- |
---|
| 4 | To Do: |
---|
| 5 | Naechster Quest bei Erreichen des roten Lichtes... |
---|
| 6 | --> |
---|
| 7 | <LevelInfo |
---|
| 8 | name = "Spacefight" |
---|
| 9 | description = "Level with the big Spacefight" |
---|
[9726] | 10 | tags = "mission" |
---|
[9718] | 11 | screenshot = "emptylevel.png" |
---|
| 12 | /> |
---|
| 13 | |
---|
| 14 | <?lua |
---|
| 15 | include("stats.oxo") |
---|
| 16 | include("HUDTemplates3.oxo") |
---|
| 17 | include("templates/lodInformation.oxt") |
---|
| 18 | ?> |
---|
| 19 | |
---|
| 20 | <?lua |
---|
| 21 | include("templates/spaceshipAssff2.oxt") |
---|
| 22 | include("templates/spaceshipPirate.oxt") |
---|
| 23 | include("templates/spaceshipEscort.oxt") |
---|
| 24 | include("templates/spaceshipSwallow.oxt") |
---|
[9750] | 25 | include("templates/pickupRepresentationTemplates.oxt") |
---|
[9767] | 26 | include("templates/spaceshipCollateralDamage.oxt") |
---|
[9750] | 27 | ?> |
---|
| 28 | <?lua |
---|
[9718] | 29 | dofile("includes/CuboidSpaceStation.lua") |
---|
| 30 | ?> |
---|
| 31 | |
---|
| 32 | <Level |
---|
| 33 | gametype = "Mission" |
---|
| 34 | > |
---|
| 35 | <templates> |
---|
| 36 | <Template link=lodtemplate_default /> |
---|
| 37 | </templates> |
---|
| 38 | |
---|
| 39 | <?lua include("includes/notifications.oxi") ?> |
---|
| 40 | |
---|
[9746] | 41 | |
---|
[9718] | 42 | <NotificationQueueCEGUI |
---|
| 43 | name="narrative" |
---|
| 44 | targets="simpleNotification" |
---|
| 45 | size=3 |
---|
| 46 | displayTime=3.9 |
---|
| 47 | position="0.2, 0, 0.1, 0" |
---|
| 48 | fontSize="23" |
---|
| 49 | fontColor="0.3, 1, 0.2, 0.8" |
---|
| 50 | alignment="HorzCentred" |
---|
| 51 | displaySize="0.6, 0, 0, 0" |
---|
| 52 | /> |
---|
| 53 | |
---|
[9726] | 54 | <Scene |
---|
[9718] | 55 | ambientlight = "0.8, 0.8, 0.8" |
---|
| 56 | skybox = "Orxonox/Starbox" |
---|
| 57 | > |
---|
[9746] | 58 | <?lua include("includes/pickups.oxi") ?> |
---|
| 59 | |
---|
[9718] | 60 | <Script code="showGUI NotificationLayer false true" needsGraphics="true" /> |
---|
| 61 | |
---|
| 62 | <!-- QUESTS & SPAWNTRIGGER --> |
---|
| 63 | |
---|
| 64 | <!-- Spawntrigger --> |
---|
| 65 | <EventMultiTrigger name=spawntrigger> |
---|
| 66 | <events> |
---|
| 67 | <trigger> |
---|
[9769] | 68 | <SpawnPoint team=0 position="0,0,0" lookat="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipcollateralDamage > |
---|
[9718] | 69 | <EventTrigger invert=true> |
---|
| 70 | <events> |
---|
| 71 | <trigger> |
---|
| 72 | <EventListener event="spacefight.flying2" /> |
---|
| 73 | </trigger> |
---|
| 74 | </events> |
---|
| 75 | </EventTrigger> |
---|
| 76 | </SpawnPoint> |
---|
| 77 | </trigger> |
---|
| 78 | </events> |
---|
| 79 | </EventMultiTrigger> |
---|
| 80 | |
---|
[9767] | 81 | <!-- Drone pickup --> |
---|
| 82 | <PickupSpawner pickup=dronepickup position="9750, -5350, 5650" triggerDistance="20" respawnTime="30" maxSpawnedItems="2" /> |
---|
[9746] | 83 | |
---|
[9718] | 84 | <!-- QUEST DESCRIPTION--> |
---|
| 85 | <LocalQuest id="spacefight.flying1"> |
---|
| 86 | <QuestDescription |
---|
[9735] | 87 | title="To the first guard!" |
---|
| 88 | description="Reach the station ahead." |
---|
[9727] | 89 | completeMessage="Well done!" /> |
---|
[9718] | 90 | <complete-effects> |
---|
| 91 | <AddQuest questId="spacefight.guard1" /> |
---|
| 92 | </complete-effects> |
---|
| 93 | </LocalQuest> |
---|
| 94 | |
---|
| 95 | <LocalQuest id="spacefight.guard1"> |
---|
| 96 | <QuestDescription |
---|
[9735] | 97 | title="Eliminate the first guard!" |
---|
| 98 | description="You've reached the enemys Station and they haven't seen you yet. |
---|
| 99 | |
---|
| 100 | Ahead you see the first little patrol. |
---|
| 101 | There are two little battleships and also two unarmed ships. |
---|
| 102 | The unarmed could not attack you. So first destroy the battleships!" |
---|
[9718] | 103 | failMessage="You've lost all your ships!" |
---|
| 104 | completeMessage="Well done!" /> |
---|
| 105 | <complete-effects> |
---|
| 106 | <AddQuest questId="spacefight.upgrade1" /> |
---|
[9727] | 107 | <AddQuest questId="spacefight.flying2" /> |
---|
[9718] | 108 | </complete-effects> |
---|
| 109 | </LocalQuest> |
---|
| 110 | |
---|
| 111 | <LocalQuest id="spacefight.upgrade1"> |
---|
| 112 | <QuestDescription |
---|
[9758] | 113 | title="Prepare for the fight (optional)" |
---|
[9718] | 114 | description="Your friends has an arsenal left behind near by your position. |
---|
[9758] | 115 | perhaps you find something useful there... |
---|
| 116 | Hint: look for a big asteroid." |
---|
[9735] | 117 | failMessage="You've lost all your ships!" |
---|
[9767] | 118 | completeMessage="Your ship is prepared best for the second and last guard on the way to the mainship. |
---|
| 119 | Now attack the second guard!" /> |
---|
[9718] | 120 | </LocalQuest> |
---|
| 121 | |
---|
| 122 | <LocalQuest id="spacefight.flying2"> |
---|
| 123 | <QuestDescription |
---|
[9735] | 124 | title="To the second guard!" |
---|
| 125 | description="There is another sentry on the way to the big mainship. |
---|
| 126 | unfortunately, we also have to destroy this one." |
---|
[9718] | 127 | failMessage="You've lost all your ships!" |
---|
| 128 | completeMessage="" /> |
---|
| 129 | <complete-effects> |
---|
| 130 | <AddQuest questId="spacefight.guard2" /> |
---|
| 131 | </complete-effects> |
---|
| 132 | </LocalQuest> |
---|
| 133 | |
---|
| 134 | <LocalQuest id="spacefight.guard2"> |
---|
| 135 | <QuestDescription |
---|
[9735] | 136 | title="The second guard!" |
---|
| 137 | description="Destroy also this guard!" |
---|
[9718] | 138 | failMessage="You've lost all your ships!" |
---|
| 139 | completeMessage="" /> |
---|
| 140 | <complete-effects> |
---|
| 141 | <AddQuest questId="spacefight.escape" /> |
---|
| 142 | </complete-effects> |
---|
| 143 | </LocalQuest> |
---|
| 144 | |
---|
| 145 | <LocalQuest id="spacefight.escape"> |
---|
| 146 | <QuestDescription |
---|
[9735] | 147 | title="Catch the messenger!" |
---|
| 148 | description="A messenger is on the way to warn the troups of the mainship. |
---|
| 149 | Destroy him before he is near by the mainship. |
---|
| 150 | Else the fight against the enemys troups will be much more difficult." |
---|
| 151 | failMessage="The messenger has reached the mainship. |
---|
| 152 | Prepare to fight against a strong enmey!" |
---|
| 153 | completeMessage="Well done! Now the element of surprise will be ours!" /> |
---|
[9726] | 154 | <complete-effects> |
---|
| 155 | <AddQuest questId="spacefight.flying3" /> |
---|
| 156 | </complete-effects> |
---|
[9718] | 157 | </LocalQuest> |
---|
| 158 | |
---|
[9726] | 159 | <LocalQuest id="spacefight.flying3" > |
---|
| 160 | <QuestDescription |
---|
[9735] | 161 | title="Prepared for the big fight?" |
---|
| 162 | description="" |
---|
| 163 | failMessage="You've lost all your ships!" |
---|
| 164 | completeMessage="" /> |
---|
| 165 | </LocalQuest> |
---|
| 166 | |
---|
| 167 | <LocalQuest id="spacefight.mainfight" > |
---|
| 168 | <QuestDescription |
---|
| 169 | title="The big fight!" |
---|
| 170 | description="Now the time is come! |
---|
| 171 | You've done all you can to prepare you for this spacebattle. |
---|
| 172 | Let us see, if it was enough. |
---|
| 173 | |
---|
| 174 | ATTACK!!!" |
---|
| 175 | failMessage="You've lost all your ships!" |
---|
| 176 | completeMessage="YEEEHAAA! |
---|
| 177 | You managed it! For that you will get the golden medal of the united space armies." /> |
---|
| 178 | </LocalQuest> |
---|
| 179 | |
---|
[9741] | 180 | <LocalQuest id="spacefight.rescue" > |
---|
[9735] | 181 | <QuestDescription |
---|
[9741] | 182 | title="Rescue and place the bomb" |
---|
| 183 | description="Now you have to free the commander and place the bomb." |
---|
| 184 | failMessage="You've lost all your ships!" |
---|
[9726] | 185 | completeMessage="" /> |
---|
| 186 | </LocalQuest> |
---|
[9718] | 187 | |
---|
[9741] | 188 | <LocalQuest id="spacefight.moveAway" > |
---|
[9735] | 189 | <QuestDescription |
---|
[9741] | 190 | title="Get away!" |
---|
| 191 | description="Get away of the mainship before the bomb detonates." |
---|
| 192 | failMessage="You've lost all your ships!" |
---|
| 193 | completeMessage="Done!" /> |
---|
[9735] | 194 | </LocalQuest> |
---|
| 195 | |
---|
[9718] | 196 | |
---|
| 197 | <!-- ---------------------------------------------------------------------- --> |
---|
[9735] | 198 | |
---|
[9741] | 199 | <!-- QuestEffectBeacon's --> |
---|
| 200 | |
---|
[9757] | 201 | <!-- START --> |
---|
[9718] | 202 | <QuestEffectBeacon times=0> |
---|
| 203 | <effects> |
---|
| 204 | <AddQuest questId="spacefight.flying1" /> |
---|
| 205 | </effects> |
---|
| 206 | <events> |
---|
[9735] | 207 | <execute> |
---|
| 208 | <EventListener event=spawntrigger2 /> |
---|
| 209 | </execute> |
---|
[9718] | 210 | </events> |
---|
| 211 | </QuestEffectBeacon> |
---|
| 212 | |
---|
[9758] | 213 | <!-- Guard 1 --> |
---|
[9757] | 214 | <QuestEffectBeacon times=0> |
---|
[9727] | 215 | <effects> |
---|
| 216 | <CompleteQuest questId="spacefight.flying1" /> |
---|
| 217 | </effects> |
---|
| 218 | <events> |
---|
| 219 | <execute> |
---|
| 220 | <EventListener event="flying1" /> |
---|
| 221 | </execute> |
---|
| 222 | </events> |
---|
| 223 | </QuestEffectBeacon> |
---|
| 224 | |
---|
[9738] | 225 | <QuestEffectBeacon times=0> |
---|
| 226 | <events> |
---|
| 227 | <execute> |
---|
[9757] | 228 | <EventListener event="flying2" /> <!-- eigentlich "guard1trigger4", aber funkt. nicht! --> |
---|
[9738] | 229 | </execute> |
---|
| 230 | </events> |
---|
[9757] | 231 | <effects> |
---|
| 232 | <CompleteQuest questId="spacefight.guard1" /> |
---|
| 233 | </effects> |
---|
| 234 | <attached> |
---|
| 235 | <BlinkingBillboard position="13500, 2500, 10500" color="1,1,0" frequency=0.6 amplitude=10 material="Examples/Flare" /> |
---|
| 236 | </attached> |
---|
[9738] | 237 | </QuestEffectBeacon> |
---|
[9758] | 238 | |
---|
| 239 | <!-- Drone (optional) --> |
---|
| 240 | <QuestEffectBeacon times=0> |
---|
| 241 | <effects> |
---|
| 242 | <CompleteQuest questId="spacefight.upgrade1" /> |
---|
| 243 | </effects> |
---|
| 244 | <events> |
---|
| 245 | <execute> |
---|
| 246 | <EventListener event="drone" /> |
---|
| 247 | </execute> |
---|
| 248 | </events> |
---|
| 249 | </QuestEffectBeacon> |
---|
[9757] | 250 | |
---|
[9758] | 251 | <!-- Guard 2 --> |
---|
[9757] | 252 | <QuestEffectBeacon times=0> |
---|
| 253 | <effects> |
---|
| 254 | <CompleteQuest questId="spacefight.flying2" /> |
---|
| 255 | </effects> |
---|
| 256 | <events> |
---|
| 257 | <execute> |
---|
| 258 | <EventListener event="flying2" /> |
---|
| 259 | </execute> |
---|
| 260 | </events> |
---|
| 261 | </QuestEffectBeacon> |
---|
[9738] | 262 | |
---|
[9757] | 263 | <QuestEffectBeacon times=0> |
---|
| 264 | <effects> |
---|
| 265 | <CompleteQuest questId="spacefight.guard2" /> |
---|
[9758] | 266 | <CompleteQuest questId="spacefight.upgrade1" /> |
---|
[9757] | 267 | </effects> |
---|
| 268 | <events> |
---|
| 269 | <execute> |
---|
| 270 | <EventListener event="flying3" /> <!-- eigentlich "guard2trigger4", aber funkt. nicht! --> |
---|
| 271 | </execute> |
---|
| 272 | </events> |
---|
| 273 | </QuestEffectBeacon> |
---|
| 274 | |
---|
| 275 | <!-- Escape --> |
---|
| 276 | |
---|
[9726] | 277 | <!-- ---------------------------------------------------------------------- --> |
---|
[9767] | 278 | <!-- Second Spawntrigger --> |
---|
| 279 | <DistanceTrigger name=spawntrigger2 position="0,0,0" target="SpaceShip" distance=10 stayActive="true" delay=0 /> |
---|
[9718] | 280 | |
---|
[9767] | 281 | <!--Helper-Trigger for first guard --> |
---|
| 282 | <DistanceTrigger name="flying1" position="4000,0,0" target="SpaceShip" distance=2000 stayActive="true" delay=0 /> |
---|
[9718] | 283 | |
---|
[9767] | 284 | <!-- Helper-Trigger for second guard --> |
---|
| 285 | <DistanceTrigger name="flying2" position="13500, 2500, 10500" target="SpaceShip" distance=7000 stayActive="true" delay=0 /> |
---|
| 286 | <SimpleNotification message="search the drone!?" broadcast="true"> |
---|
| 287 | <events> |
---|
| 288 | <trigger> |
---|
| 289 | <EventListener event="flying2" /> |
---|
| 290 | </trigger> |
---|
| 291 | </events> |
---|
| 292 | </SimpleNotification> |
---|
| 293 | |
---|
| 294 | <!-- Helper-Trigger for mainship --> |
---|
| 295 | <DistanceTrigger name="flying3" position="11000, 3000, 21000" target="SpaceShip" distance=1000 stayActive="true" delay=0 /> |
---|
| 296 | <SimpleNotification message="Hauptschiff in Sicht!" broadcast="true"> |
---|
| 297 | <events> |
---|
| 298 | <trigger> |
---|
| 299 | <EventListener event="flying3" /> |
---|
| 300 | </trigger> |
---|
| 301 | </events> |
---|
| 302 | </SimpleNotification> |
---|
[9718] | 303 | |
---|
[9767] | 304 | <!-- Helper-Trigger for the drone(s) --> |
---|
| 305 | <DistanceTrigger name="drone1" position="9750, -5350, 5650" target="SpaceShip" distance=20 stayActive="true" delay=0 /> |
---|
| 306 | <SimpleNotification message="Now your are prepared best!" broadcast="true"> |
---|
| 307 | <events> |
---|
| 308 | <trigger> |
---|
| 309 | <EventListener event="drone1" /> |
---|
| 310 | </trigger> |
---|
| 311 | </events> |
---|
| 312 | </SimpleNotification> |
---|
[9757] | 313 | |
---|
[9767] | 314 | <!-- <DistanceTrigger name="drone2" position="9750, -5350, 5650" target="SpaceShip" distance=20 stay Active="true" delay=0 /> --> |
---|
| 315 | <SimpleNotification message="Now your are prepared best!" broadcast="true"> |
---|
| 316 | <events> |
---|
| 317 | <trigger> |
---|
| 318 | <EventListener event="drone2" /> |
---|
| 319 | </trigger> |
---|
| 320 | </events> |
---|
| 321 | </SimpleNotification> |
---|
[9757] | 322 | |
---|
[9718] | 323 | <!-- ----------------------------------------------------- --> |
---|
| 324 | |
---|
[9726] | 325 | <!-- EVENTTRIGGER --> |
---|
[9757] | 326 | |
---|
| 327 | <!-- for guard 1 --> |
---|
| 328 | <SimpleNotification message="first" broadcast="true"> |
---|
| 329 | <events> |
---|
| 330 | <trigger> |
---|
| 331 | <EventListener event="guard1trigger1" /> |
---|
| 332 | </trigger> |
---|
| 333 | </events> |
---|
| 334 | </SimpleNotification> |
---|
[9718] | 335 | |
---|
[9757] | 336 | <SimpleNotification message="second" broadcast="true"> |
---|
| 337 | <events> |
---|
| 338 | <trigger> |
---|
| 339 | <EventListener event="guard1trigger2" /> |
---|
| 340 | </trigger> |
---|
| 341 | </events> |
---|
| 342 | </SimpleNotification> |
---|
| 343 | |
---|
| 344 | <SimpleNotification message="thirth" broadcast="true"> |
---|
| 345 | <events> |
---|
| 346 | <trigger> |
---|
| 347 | <EventListener event="guard1trigger3" /> |
---|
| 348 | </trigger> |
---|
| 349 | </events> |
---|
| 350 | </SimpleNotification> |
---|
| 351 | |
---|
| 352 | <SimpleNotification message="all shot! Fly to the blinking light" broadcast="true"> |
---|
| 353 | <events> |
---|
| 354 | <trigger> |
---|
| 355 | <EventListener event="guard1trigger4" /> |
---|
| 356 | </trigger> |
---|
| 357 | </events> |
---|
| 358 | </SimpleNotification> |
---|
| 359 | |
---|
| 360 | <!-- @Triggers: attacktriggerX <-> X enemies destroyed , X is an element of [1,4] --> |
---|
| 361 | <EventTrigger name="guard1trigger4" activations="1" stayactive="true" delay=0.1> |
---|
[9718] | 362 | <events> |
---|
| 363 | <trigger> |
---|
| 364 | <EventListener event="firstPatrol" /> |
---|
| 365 | </trigger> |
---|
| 366 | </events> |
---|
| 367 | <EventTrigger name="guard1trigger3" activations="1" stayactive="true" delay=0.1> |
---|
| 368 | <events> |
---|
| 369 | <trigger> |
---|
| 370 | <EventListener event="firstPatrol" /> |
---|
| 371 | </trigger> |
---|
| 372 | </events> |
---|
| 373 | <EventTrigger name="guard1trigger2" activations="1" stayactive="true" delay=0.1> |
---|
| 374 | <events> |
---|
| 375 | <trigger> |
---|
| 376 | <EventListener event="firstPatrol" /> |
---|
| 377 | </trigger> |
---|
| 378 | </events> |
---|
| 379 | <EventTrigger name="guard1trigger1" activations="1" stayactive="true" delay=0.1> |
---|
| 380 | <events> |
---|
| 381 | <trigger> |
---|
| 382 | <EventListener event="firstPatrol" /> |
---|
| 383 | </trigger> |
---|
| 384 | </events> |
---|
| 385 | </EventTrigger> |
---|
| 386 | </EventTrigger> |
---|
| 387 | </EventTrigger> |
---|
[9726] | 388 | </EventTrigger> |
---|
[9718] | 389 | |
---|
[9757] | 390 | <!-- for guard 2 --> |
---|
[9743] | 391 | |
---|
[9751] | 392 | <SimpleNotification message="first" broadcast="true"> |
---|
[9738] | 393 | <events> |
---|
| 394 | <trigger> |
---|
[9757] | 395 | <EventListener event="guard2trigger1" /> |
---|
[9738] | 396 | </trigger> |
---|
| 397 | </events> |
---|
| 398 | </SimpleNotification> |
---|
| 399 | |
---|
[9757] | 400 | <SimpleNotification message="second" broadcast="true"> |
---|
[9738] | 401 | <events> |
---|
| 402 | <trigger> |
---|
[9757] | 403 | <EventListener event="guard2trigger2" /> |
---|
[9738] | 404 | </trigger> |
---|
| 405 | </events> |
---|
| 406 | </SimpleNotification> |
---|
| 407 | |
---|
[9757] | 408 | <SimpleNotification message="thirth" broadcast="true"> |
---|
[9738] | 409 | <events> |
---|
| 410 | <trigger> |
---|
[9757] | 411 | <EventListener event="guard2trigger3" /> |
---|
[9738] | 412 | </trigger> |
---|
| 413 | </events> |
---|
| 414 | </SimpleNotification> |
---|
| 415 | |
---|
[9757] | 416 | <SimpleNotification message="all shot! Fly to the blinking light" broadcast="true"> |
---|
[9738] | 417 | <events> |
---|
[9757] | 418 | <trigger> |
---|
| 419 | <EventListener event="guard2trigger4" /> |
---|
| 420 | </trigger> |
---|
[9738] | 421 | </events> |
---|
[9757] | 422 | </SimpleNotification> |
---|
[9738] | 423 | |
---|
[9757] | 424 | <!-- @Triggers: attacktriggerX <-> X enemies destroyed , X is an element of [1,4] --> |
---|
| 425 | <EventTrigger name="guard2trigger4" activations="1" stayactive="true" delay=0.1> |
---|
[9743] | 426 | <events> |
---|
| 427 | <trigger> |
---|
[9757] | 428 | <EventListener event="secondPatrol" /> |
---|
[9743] | 429 | </trigger> |
---|
| 430 | </events> |
---|
[9757] | 431 | <EventTrigger name="guard2trigger3" activations="1" stayactive="true" delay=0.1> |
---|
[9738] | 432 | <events> |
---|
[9743] | 433 | <trigger> |
---|
[9757] | 434 | <EventListener event="secondPatrol" /> |
---|
[9743] | 435 | </trigger> |
---|
| 436 | </events> |
---|
[9757] | 437 | <EventTrigger name="guard2trigger2" activations="1" stayactive="true" delay=0.1> |
---|
[9743] | 438 | <events> |
---|
[9738] | 439 | <trigger> |
---|
[9757] | 440 | <EventListener event="secondPatrol" /> |
---|
[9743] | 441 | </trigger> |
---|
| 442 | </events> |
---|
[9757] | 443 | <EventTrigger name="guard2trigger1" activations="1" stayactive="true" delay=0.1> |
---|
[9743] | 444 | <events> |
---|
| 445 | <trigger> |
---|
[9757] | 446 | <EventListener event="secondPatrol" /> |
---|
[9743] | 447 | </trigger> |
---|
| 448 | </events> |
---|
| 449 | </EventTrigger> |
---|
| 450 | </EventTrigger> |
---|
| 451 | </EventTrigger> |
---|
| 452 | </EventTrigger> |
---|
[9738] | 453 | |
---|
[9718] | 454 | <!-- ----------------------------------------------------- --> |
---|
| 455 | |
---|
[9735] | 456 | <!-- Passive Piraten: Guard 1 --> |
---|
[9757] | 457 | |
---|
| 458 | <SpaceShip position="8000,1000,0" lookat="-1,0,0" name="firstPatrol" radarname="Patrol"> |
---|
[9718] | 459 | <events> |
---|
| 460 | <visibility> |
---|
[9727] | 461 | <EventListener event=spawntrigger2 /> |
---|
[9718] | 462 | </visibility> |
---|
| 463 | </events> |
---|
| 464 | <templates> |
---|
| 465 | <Template link=spaceshippirate /> |
---|
| 466 | </templates> |
---|
| 467 | <controller> |
---|
| 468 | <WaypointController team=1> |
---|
| 469 | <waypoints> |
---|
[9738] | 470 | <Model mesh="cube.mesh" scale=0 position="8000,-1000,0" /> |
---|
| 471 | <Model mesh="cube.mesh" scale=0 position="8000,1000,0" /> |
---|
[9718] | 472 | </waypoints> |
---|
| 473 | </WaypointController> |
---|
| 474 | </controller> |
---|
| 475 | </SpaceShip> |
---|
| 476 | |
---|
[9757] | 477 | <SpaceShip position="8000,0,0" lookat="-1,0,0" name="firstPatrol" radarname="Patrol"> |
---|
[9718] | 478 | <events> |
---|
| 479 | <visibility> |
---|
[9727] | 480 | <EventListener event=spawntrigger2 /> |
---|
[9718] | 481 | </visibility> |
---|
| 482 | </events> |
---|
| 483 | <templates> |
---|
| 484 | <Template link=spaceshippirate /> |
---|
| 485 | </templates> |
---|
| 486 | <controller> |
---|
| 487 | <WaypointController team=1> |
---|
| 488 | <waypoints> |
---|
[9738] | 489 | <Model mesh="cube.mesh" scale=0 position="8000,0,-1000" /> |
---|
| 490 | <Model mesh="cube.mesh" scale=0 position="8000,0,1000" /> |
---|
[9718] | 491 | </waypoints> |
---|
| 492 | </WaypointController> |
---|
| 493 | </controller> |
---|
| 494 | </SpaceShip> |
---|
| 495 | |
---|
[9757] | 496 | |
---|
[9735] | 497 | <!-- Angreiffende Piraten: Guard 1 --> |
---|
[9757] | 498 | |
---|
| 499 | <SpaceShip position="8000,-1000,1000" lookat="8000,1000,-1000" name="firstPatrol" visible="true" radarname="Patrol" > |
---|
[9718] | 500 | <events> |
---|
| 501 | <visibility> |
---|
[9727] | 502 | <EventListener event=spawntrigger2 /> |
---|
[9718] | 503 | </visibility> |
---|
| 504 | </events> |
---|
| 505 | <templates> |
---|
| 506 | <Template link=spaceshippirate /> |
---|
| 507 | </templates> |
---|
| 508 | <controller> |
---|
| 509 | <WaypointPatrolController alertnessradius=2000 team=1 active=false> |
---|
| 510 | <waypoints> |
---|
[9738] | 511 | <Model mesh="cube.mesh" scale=0 position="8000,1000,-1000" /> |
---|
| 512 | <Model mesh="cube.mesh" scale=0 position="8000,-1000,1000" /> |
---|
[9718] | 513 | </waypoints> |
---|
| 514 | <events> |
---|
| 515 | <activity> |
---|
[9727] | 516 | <EventListener event=spawntrigger2 /> |
---|
[9718] | 517 | </activity> |
---|
| 518 | </events> |
---|
| 519 | </WaypointPatrolController> |
---|
| 520 | </controller> |
---|
| 521 | </SpaceShip> |
---|
| 522 | |
---|
[9757] | 523 | <SpaceShip position="8000,-500,-500" lookat="8000,1000,1000" name="firstPatrol" visible="true" radarname="Patrol"> |
---|
[9718] | 524 | <events> |
---|
| 525 | <visibility> |
---|
[9727] | 526 | <EventListener event=spawntrigger2 /> |
---|
[9718] | 527 | </visibility> |
---|
| 528 | </events> |
---|
| 529 | <templates> |
---|
| 530 | <Template link=spaceshippirate /> |
---|
| 531 | </templates> |
---|
| 532 | <controller> |
---|
| 533 | <WaypointPatrolController alertnessradius=2000 team=1 active=false> |
---|
| 534 | <waypoints> |
---|
[9738] | 535 | <Model mesh="cube.mesh" scale=0 position="8000,1000,1000" /> |
---|
| 536 | <Model mesh="cube.mesh" scale=0 position="8000,-1000,-1000" /> |
---|
[9718] | 537 | </waypoints> |
---|
| 538 | <events> |
---|
| 539 | <activity> |
---|
[9727] | 540 | <EventListener event=spawntrigger2 /> |
---|
[9718] | 541 | </activity> |
---|
| 542 | </events> |
---|
| 543 | </WaypointPatrolController> |
---|
| 544 | </controller> |
---|
| 545 | </SpaceShip> |
---|
[9757] | 546 | |
---|
[9735] | 547 | <!-- Angreiffende Piraten: Guard 2 --> |
---|
[9757] | 548 | <SpaceShip position="19000,5000,21000" lookat="19000,4900,21000" name="secondPatrol" visible="true" radarname="Patrol"> |
---|
[9738] | 549 | <events> |
---|
| 550 | <visibility> |
---|
[9757] | 551 | <EventListener event="guard1trigger4" /> |
---|
[9738] | 552 | </visibility> |
---|
| 553 | </events> |
---|
| 554 | <templates> |
---|
| 555 | <Template link=spaceshippirate /> |
---|
| 556 | </templates> |
---|
| 557 | <controller> |
---|
| 558 | <WaypointPatrolController alertnessradius=2000 team=1 active=false> |
---|
| 559 | <waypoints> |
---|
| 560 | <Model mesh="cube.mesh" scale=0 position="18700,4300,21000" /> |
---|
| 561 | <Model mesh="cube.mesh" scale=0 position="18000,4000,21000" /> |
---|
| 562 | <Model mesh="cube.mesh" scale=0 position="17300,4300,21000" /> |
---|
| 563 | <Model mesh="cube.mesh" scale=0 position="17000,5000,21000" /> |
---|
| 564 | <Model mesh="cube.mesh" scale=0 position="17300,5700,21000" /> |
---|
| 565 | <Model mesh="cube.mesh" scale=0 position="18000,6000,21000" /> |
---|
| 566 | <Model mesh="cube.mesh" scale=0 position="18700,5700,21000" /> |
---|
| 567 | <Model mesh="cube.mesh" scale=0 position="19000,5000,21000" /> |
---|
| 568 | </waypoints> |
---|
| 569 | <events> |
---|
| 570 | <activity> |
---|
[9757] | 571 | <EventListener event="guard1trigger4" /> |
---|
[9738] | 572 | </activity> |
---|
| 573 | </events> |
---|
| 574 | </WaypointPatrolController> |
---|
| 575 | </controller> |
---|
| 576 | </SpaceShip> |
---|
[9735] | 577 | |
---|
[9757] | 578 | <SpaceShip position="17000,5000,21000" lookat="17000,5100,21000" name="secondPatrol" visible="true" radarname="Patrol"> |
---|
[9738] | 579 | <events> |
---|
| 580 | <visibility> |
---|
[9757] | 581 | <EventListener event="guard1trigger4" /> |
---|
[9738] | 582 | </visibility> |
---|
| 583 | </events> |
---|
| 584 | <templates> |
---|
| 585 | <Template link=spaceshippirate /> |
---|
| 586 | </templates> |
---|
| 587 | <controller> |
---|
| 588 | <WaypointPatrolController alertnessradius=2000 team=1 active=false> |
---|
| 589 | <waypoints> |
---|
| 590 | <Model mesh="cube.mesh" scale=0 position="17300,5700,21000" /> |
---|
| 591 | <Model mesh="cube.mesh" scale=0 position="18000,6000,21000" /> |
---|
| 592 | <Model mesh="cube.mesh" scale=0 position="18700,5700,21000" /> |
---|
| 593 | <Model mesh="cube.mesh" scale=0 position="19000,5000,21000" /> |
---|
| 594 | <Model mesh="cube.mesh" scale=0 position="18700,4300,21000" /> |
---|
| 595 | <Model mesh="cube.mesh" scale=0 position="18000,4000,21000" /> |
---|
| 596 | <Model mesh="cube.mesh" scale=0 position="17300,4300,21000" /> |
---|
| 597 | <Model mesh="cube.mesh" scale=0 position="17000,5000,21000" /> |
---|
| 598 | </waypoints> |
---|
| 599 | <events> |
---|
| 600 | <activity> |
---|
[9757] | 601 | <EventListener event="guard1trigger4" /> |
---|
[9738] | 602 | </activity> |
---|
| 603 | </events> |
---|
| 604 | </WaypointPatrolController> |
---|
| 605 | </controller> |
---|
| 606 | </SpaceShip> |
---|
| 607 | |
---|
[9757] | 608 | <SpaceShip position="18000,4000,21000" lookat="17000,4000,21000" name="secondPatrol" visible="true" radarname="Patrol"> |
---|
[9738] | 609 | <events> |
---|
| 610 | <visibility> |
---|
[9757] | 611 | <EventListener event="guard1trigger4" /> |
---|
[9738] | 612 | </visibility> |
---|
| 613 | </events> |
---|
| 614 | <templates> |
---|
| 615 | <Template link=spaceshippirate /> |
---|
| 616 | </templates> |
---|
| 617 | <controller> |
---|
| 618 | <WaypointPatrolController alertnessradius=2000 team=1 active=false> |
---|
| 619 | <waypoints> |
---|
| 620 | <Model mesh="cube.mesh" scale=0 position="17300,4300,21000" /> |
---|
| 621 | <Model mesh="cube.mesh" scale=0 position="17000,5000,21000" /> |
---|
| 622 | <Model mesh="cube.mesh" scale=0 position="17300,5700,21000" /> |
---|
| 623 | <Model mesh="cube.mesh" scale=0 position="18000,6000,21000" /> |
---|
| 624 | <Model mesh="cube.mesh" scale=0 position="18700,5700,21000" /> |
---|
| 625 | <Model mesh="cube.mesh" scale=0 position="19000,5000,21000" /> |
---|
| 626 | <Model mesh="cube.mesh" scale=0 position="18700,4300,21000" /> |
---|
| 627 | <Model mesh="cube.mesh" scale=0 position="18000,4000,21000" /> |
---|
| 628 | </waypoints> |
---|
| 629 | <events> |
---|
| 630 | <activity> |
---|
[9757] | 631 | <EventListener event="guard1trigger4" /> |
---|
[9738] | 632 | </activity> |
---|
| 633 | </events> |
---|
| 634 | </WaypointPatrolController> |
---|
| 635 | </controller> |
---|
| 636 | </SpaceShip> |
---|
| 637 | |
---|
[9757] | 638 | <SpaceShip position="18000,6000,21000" lookat="19000,6000,21000" name="secondPatrol" visible="true" radarname="Patrol"> |
---|
[9738] | 639 | <events> |
---|
| 640 | <visibility> |
---|
[9757] | 641 | <EventListener event="guard1trigger4" /> |
---|
[9738] | 642 | </visibility> |
---|
| 643 | </events> |
---|
| 644 | <templates> |
---|
| 645 | <Template link=spaceshippirate /> |
---|
| 646 | </templates> |
---|
| 647 | <controller> |
---|
| 648 | <WaypointPatrolController alertnessradius=2000 team=1 active=false> |
---|
| 649 | <waypoints> |
---|
| 650 | <Model mesh="cube.mesh" scale=0 position="18700,5700,21000" /> |
---|
| 651 | <Model mesh="cube.mesh" scale=0 position="19000,5000,21000" /> |
---|
| 652 | <Model mesh="cube.mesh" scale=0 position="18700,4300,21000" /> |
---|
| 653 | <Model mesh="cube.mesh" scale=0 position="18000,4000,21000" /> |
---|
| 654 | <Model mesh="cube.mesh" scale=0 position="17300,4300,21000" /> |
---|
| 655 | <Model mesh="cube.mesh" scale=0 position="17000,5000,21000" /> |
---|
| 656 | <Model mesh="cube.mesh" scale=0 position="17300,5700,21000" /> |
---|
| 657 | <Model mesh="cube.mesh" scale=0 position="18000,6000,21000" /> |
---|
| 658 | </waypoints> |
---|
| 659 | <events> |
---|
| 660 | <activity> |
---|
[9757] | 661 | <EventListener event="guard1trigger4" /> |
---|
[9738] | 662 | </activity> |
---|
| 663 | </events> |
---|
| 664 | </WaypointPatrolController> |
---|
| 665 | </controller> |
---|
| 666 | </SpaceShip> |
---|
| 667 | |
---|
| 668 | |
---|
[9718] | 669 | <!-- ----------------------------------------------------- --> |
---|
| 670 | |
---|
| 671 | <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"/> |
---|
| 672 | |
---|
| 673 | <SpawnPoint team=0 position="0,0,0" lookat="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipswallow /> |
---|
| 674 | |
---|
[9758] | 675 | <!-- ASTEROIDS & ASTEROID-FIELDS --> |
---|
[9718] | 676 | |
---|
[9758] | 677 | <!-- Asteroids --> |
---|
| 678 | |
---|
| 679 | <Model position="9800, -5000, 5700" yaw="90" pitch="-90" roll="0" scale="300" mesh="asteroid_ice.mesh" /> |
---|
| 680 | |
---|
| 681 | <!-- triple large belt around the planet --> |
---|
| 682 | <?lua |
---|
| 683 | dofile("includes/asteroidField.lua") |
---|
| 684 | asteroidBelt(2000, -250, 9000, 30, 0, 30, 30, 50, 7190, 7800, 250, 1) |
---|
| 685 | ?> |
---|
| 686 | |
---|
| 687 | <?lua |
---|
| 688 | dofile("includes/asteroidField.lua") |
---|
| 689 | asteroidBelt(2000, -250, 9000, 30, 0, 30, 30, 50, 10000, 11000, 300, 1) |
---|
| 690 | ?> |
---|
| 691 | |
---|
| 692 | <?lua |
---|
| 693 | dofile("includes/asteroidField.lua") |
---|
| 694 | asteroidBelt(2000, -250, 9000, 30, 0, 30, 30, 50, 14000, 15000, 350, 1) |
---|
| 695 | ?> |
---|
| 696 | |
---|
[9735] | 697 | <!-- other asteroid fileds --> |
---|
[9718] | 698 | |
---|
[9758] | 699 | <!-- left before guard 1 --> |
---|
[9735] | 700 | <?lua |
---|
| 701 | dofile("includes/asteroidField.lua") |
---|
[9746] | 702 | asteroidField(-5000, -5000, -20000, 20, 50, 10000, 200, 0) |
---|
[9735] | 703 | ?> |
---|
| 704 | |
---|
[9758] | 705 | <!-- left behind guard 1 --> |
---|
[9735] | 706 | <?lua |
---|
| 707 | dofile("includes/asteroidField.lua") |
---|
[9746] | 708 | asteroidField(20000, -10000, -12000, 30, 100, 10000, 200, 0) |
---|
[9735] | 709 | ?> |
---|
| 710 | |
---|
[9758] | 711 | <!-- between guard 2 & mainship --> |
---|
| 712 | <!-- Core --> |
---|
[9741] | 713 | <?lua |
---|
| 714 | dofile("includes/asteroidField.lua") |
---|
| 715 | asteroidField(-5000, -10000, 30000, 10, 700, 8000, 80, 0) |
---|
| 716 | ?> |
---|
| 717 | |
---|
| 718 | <!-- Peripherie --> |
---|
| 719 | <?lua |
---|
| 720 | dofile("includes/asteroidField.lua") |
---|
[9746] | 721 | asteroidField(-5000, -10000, 30000, 10, 50, 10000, 100, 0) |
---|
[9741] | 722 | ?> |
---|
[9735] | 723 | |
---|
[9741] | 724 | <?lua |
---|
| 725 | dofile("includes/asteroidField.lua") |
---|
[9746] | 726 | asteroidBelt(-10000, -12500, 0, 0, 0, 30, 30, 500, 0, 7850, 150, 0) |
---|
[9741] | 727 | ?> |
---|
| 728 | |
---|
[9758] | 729 | <!-- PLANETS --> |
---|
[9741] | 730 | |
---|
[9758] | 731 | <Planet position="2000,-250,9000" |
---|
| 732 | scale=5000 |
---|
| 733 | pitch=1 |
---|
| 734 | mesh="iceplanet.mesh" |
---|
| 735 | atmosphere="atmosphere1" |
---|
| 736 | rotationaxis="1,1,0" |
---|
| 737 | rotationrate="0.5" |
---|
| 738 | atmospheresize=224.0f |
---|
| 739 | imagesize=1024.0f /> |
---|
[9718] | 740 | |
---|
[9743] | 741 | |
---|
[9718] | 742 | <!-- ----------------Rotating SpaceStation--------------- --> |
---|
| 743 | |
---|
[9735] | 744 | <StaticEntity position="9000,0,0" yaw=112 pitch=67> |
---|
[9718] | 745 | <attached> |
---|
| 746 | <?lua |
---|
| 747 | createSpaceStationPar(0,2,1,2,1,4,1,50) |
---|
| 748 | ?> |
---|
| 749 | </attached> |
---|
| 750 | </StaticEntity> |
---|
| 751 | |
---|
[9741] | 752 | <StaticEntity position="18000,5000,21000" yaw=12 pitch=75> |
---|
[9735] | 753 | <attached> |
---|
| 754 | <?lua |
---|
| 755 | createSpaceStationPar(0,2,1,2,1,4,1,50) |
---|
| 756 | ?> |
---|
| 757 | </attached> |
---|
| 758 | </StaticEntity> |
---|
[9718] | 759 | |
---|
[9741] | 760 | <!-- ------------------------- Mainship ------------------ --> |
---|
[9758] | 761 | |
---|
[9741] | 762 | <StaticEntity position="-12000, -22000, 25000" yaw=112 pitch=67> |
---|
| 763 | <attached> |
---|
| 764 | <?lua |
---|
| 765 | createSpaceStationPar(0,2,1,2,1,4,1,50) |
---|
| 766 | ?> |
---|
| 767 | </attached> |
---|
| 768 | </StaticEntity> |
---|
[9735] | 769 | |
---|
[9741] | 770 | |
---|
[9718] | 771 | </Scene> |
---|
| 772 | </Level> |
---|
| 773 | |
---|