[9718] | 1 | <!--Spacefight--> |
---|
| 2 | |
---|
| 3 | <!-- |
---|
| 4 | To Do: |
---|
[9806] | 5 | - Different Colors of the light! |
---|
| 6 | - visibility of light only for a little time |
---|
| 7 | - If possible, do the spion with DistanceTriggerBeacon |
---|
[9718] | 8 | --> |
---|
| 9 | <LevelInfo |
---|
| 10 | name = "Spacefight" |
---|
| 11 | description = "Level with the big Spacefight" |
---|
[9726] | 12 | tags = "mission" |
---|
[9718] | 13 | screenshot = "emptylevel.png" |
---|
| 14 | /> |
---|
| 15 | |
---|
| 16 | <?lua |
---|
| 17 | include("stats.oxo") |
---|
| 18 | include("HUDTemplates3.oxo") |
---|
| 19 | include("templates/lodInformation.oxt") |
---|
| 20 | ?> |
---|
| 21 | |
---|
| 22 | <?lua |
---|
| 23 | include("templates/spaceshipAssff2.oxt") |
---|
| 24 | include("templates/spaceshipPirate.oxt") |
---|
| 25 | include("templates/spaceshipEscort.oxt") |
---|
| 26 | include("templates/spaceshipSwallow.oxt") |
---|
[9750] | 27 | include("templates/pickupRepresentationTemplates.oxt") |
---|
[9767] | 28 | include("templates/spaceshipCollateralDamage.oxt") |
---|
[9750] | 29 | ?> |
---|
| 30 | <?lua |
---|
[9718] | 31 | dofile("includes/CuboidSpaceStation.lua") |
---|
| 32 | ?> |
---|
| 33 | |
---|
| 34 | <Level |
---|
| 35 | gametype = "Mission" |
---|
| 36 | > |
---|
| 37 | <templates> |
---|
| 38 | <Template link=lodtemplate_default /> |
---|
| 39 | </templates> |
---|
| 40 | |
---|
| 41 | <?lua include("includes/notifications.oxi") ?> |
---|
| 42 | |
---|
[9746] | 43 | |
---|
[9718] | 44 | <NotificationQueueCEGUI |
---|
| 45 | name="narrative" |
---|
| 46 | targets="simpleNotification" |
---|
| 47 | size=3 |
---|
[9806] | 48 | displayTime=5.0 |
---|
[9718] | 49 | position="0.2, 0, 0.1, 0" |
---|
| 50 | fontSize="23" |
---|
| 51 | fontColor="0.3, 1, 0.2, 0.8" |
---|
| 52 | alignment="HorzCentred" |
---|
| 53 | displaySize="0.6, 0, 0, 0" |
---|
| 54 | /> |
---|
| 55 | |
---|
[9726] | 56 | <Scene |
---|
[9718] | 57 | ambientlight = "0.8, 0.8, 0.8" |
---|
| 58 | skybox = "Orxonox/Starbox" |
---|
| 59 | > |
---|
[9746] | 60 | <?lua include("includes/pickups.oxi") ?> |
---|
| 61 | |
---|
[9718] | 62 | <Script code="showGUI NotificationLayer false true" needsGraphics="true" /> |
---|
| 63 | |
---|
[9778] | 64 | <!-- SPAWNTRIGGER --> |
---|
[9718] | 65 | |
---|
[9778] | 66 | <!-- Spawntrigger --> |
---|
[9809] | 67 | <!-- <SpawnPoint team=0 position="0, 0, 0" lookat="100,0,0" spawnclass=SpaceShip pawndesign=spaceshipswallow > <!-- pawndesign=spaceshipcollateraldamage -- |
---|
| 68 | <events> |
---|
| 69 | <activity> |
---|
| 70 | <EventListener event="flying12" /> |
---|
| 71 | </activity> |
---|
| 72 | </events> |
---|
[9806] | 73 | </SpawnPoint> |
---|
[9718] | 74 | |
---|
[9809] | 75 | <EventTrigger name="flying12" invert="true" > |
---|
| 76 | <events> |
---|
| 77 | <trigger> |
---|
| 78 | <EventListener event="flying1" /> |
---|
| 79 | </trigger> |
---|
| 80 | </events> |
---|
| 81 | </EventTrigger> |
---|
| 82 | --> |
---|
[9806] | 83 | |
---|
[9809] | 84 | <SpawnPoint team=0 position="13500, 2500, 11000" lookat="18000,5000,21000" spawnclass=SpaceShip pawndesign=spaceshipswallow delay=0.1><!-- pawndesign=spaceshipcollateraldamage -- |
---|
| 85 | <events> |
---|
| 86 | <activity> |
---|
| 87 | <EventListener event="flying1" /> |
---|
| 88 | </activity> |
---|
| 89 | </events> --> |
---|
[9806] | 90 | </SpawnPoint> |
---|
| 91 | |
---|
[9809] | 92 | <!-- ZUM TESTEN --> |
---|
| 93 | <DistanceTrigger name=spawntrigger2 position="13500, 2500, 11000" target="SpaceShip" distance=10 stayActive="true" delay=0 /> |
---|
| 94 | <DistanceTrigger name="flying1" position="13500, 2500, 11000" target="SpaceShip" distance=10 stayActive="true" delay=0 /> |
---|
| 95 | |
---|
[9806] | 96 | <!-- Distance-Spawn-Trigger --> |
---|
[9791] | 97 | <DistanceTrigger name=spawntrigger2 position="0, 0, 0" target="SpaceShip" distance=10 stayActive="true" delay=0 /> |
---|
[9778] | 98 | |
---|
[9767] | 99 | <!-- Drone pickup --> |
---|
| 100 | <PickupSpawner pickup=dronepickup position="9750, -5350, 5650" triggerDistance="20" respawnTime="30" maxSpawnedItems="2" /> |
---|
[9746] | 101 | |
---|
[9718] | 102 | <!-- QUEST DESCRIPTION--> |
---|
| 103 | <LocalQuest id="spacefight.guard1"> |
---|
| 104 | <QuestDescription |
---|
[9735] | 105 | title="Eliminate the first guard!" |
---|
| 106 | description="You've reached the enemys Station and they haven't seen you yet. |
---|
| 107 | |
---|
| 108 | Ahead you see the first little patrol. |
---|
| 109 | There are two little battleships and also two unarmed ships. |
---|
| 110 | The unarmed could not attack you. So first destroy the battleships!" |
---|
[9718] | 111 | failMessage="You've lost all your ships!" |
---|
| 112 | completeMessage="Well done!" /> |
---|
| 113 | <complete-effects> |
---|
[9806] | 114 | <AddQuest questId="spacefight.guard2" /> |
---|
[9718] | 115 | </complete-effects> |
---|
| 116 | </LocalQuest> |
---|
| 117 | |
---|
| 118 | <LocalQuest id="spacefight.upgrade1"> |
---|
| 119 | <QuestDescription |
---|
[9758] | 120 | title="Prepare for the fight (optional)" |
---|
[9718] | 121 | description="Your friends has an arsenal left behind near by your position. |
---|
[9758] | 122 | perhaps you find something useful there... |
---|
| 123 | Hint: look for a big asteroid." |
---|
[9735] | 124 | failMessage="You've lost all your ships!" |
---|
[9767] | 125 | completeMessage="Your ship is prepared best for the second and last guard on the way to the mainship. |
---|
| 126 | Now attack the second guard!" /> |
---|
[9718] | 127 | </LocalQuest> |
---|
| 128 | |
---|
| 129 | <LocalQuest id="spacefight.guard2"> |
---|
| 130 | <QuestDescription |
---|
[9735] | 131 | title="The second guard!" |
---|
[9806] | 132 | description="There is also a second guard. The blinking light shows you the direction. |
---|
| 133 | Destroy also this guard!" |
---|
[9718] | 134 | failMessage="You've lost all your ships!" |
---|
| 135 | completeMessage="" /> |
---|
| 136 | </LocalQuest> |
---|
| 137 | |
---|
| 138 | <LocalQuest id="spacefight.escape"> |
---|
| 139 | <QuestDescription |
---|
[9735] | 140 | title="Catch the messenger!" |
---|
| 141 | description="A messenger is on the way to warn the troups of the mainship. |
---|
| 142 | Destroy him before he is near by the mainship. |
---|
| 143 | Else the fight against the enemys troups will be much more difficult." |
---|
| 144 | failMessage="The messenger has reached the mainship. |
---|
| 145 | Prepare to fight against a strong enmey!" |
---|
| 146 | completeMessage="Well done! Now the element of surprise will be ours!" /> |
---|
[9718] | 147 | </LocalQuest> |
---|
| 148 | |
---|
[9778] | 149 | <!-- 2 different possibilitys --> |
---|
| 150 | <!-- Spion is destroyed --> |
---|
| 151 | <LocalQuest id="spacefight.mainfight(min)" > |
---|
[9726] | 152 | <QuestDescription |
---|
[9778] | 153 | title="The big fight!" |
---|
| 154 | description="Now the time is come! |
---|
| 155 | You've done all you can to prepare you for this spacebattle. |
---|
| 156 | Let us see, if it was enough. |
---|
| 157 | |
---|
| 158 | ATTACK!!!" |
---|
[9735] | 159 | failMessage="You've lost all your ships!" |
---|
[9778] | 160 | completeMessage="YEEEHAAA! |
---|
| 161 | You managed it! For that you will get the golden medal of the united space armies." /> |
---|
[9785] | 162 | <complete-effects> |
---|
| 163 | <AddQuest questId="spacefight.rescue" /> |
---|
| 164 | <!-- |
---|
| 165 | <BlinkingBillboard position="-12100, -22000, 25000" color="1.0,1.0,1.0" frequency=0.6 amplitude=2 material="Examples/Flare" visibility="true" /> |
---|
| 166 | --> |
---|
| 167 | </complete-effects> |
---|
[9735] | 168 | </LocalQuest> |
---|
| 169 | |
---|
[9778] | 170 | <!-- Spion isn't destroyed --> |
---|
| 171 | <LocalQuest id="spacefight.mainfight(max)" > |
---|
[9735] | 172 | <QuestDescription |
---|
| 173 | title="The big fight!" |
---|
| 174 | description="Now the time is come! |
---|
| 175 | You've done all you can to prepare you for this spacebattle. |
---|
[9778] | 176 | Unfortunately the spion has alert the mainship. So the soldiers will also be prepared for you. |
---|
| 177 | But you can manage it. |
---|
| 178 | Good luck!" |
---|
[9735] | 179 | failMessage="You've lost all your ships!" |
---|
| 180 | completeMessage="YEEEHAAA! |
---|
| 181 | You managed it! For that you will get the golden medal of the united space armies." /> |
---|
[9785] | 182 | <complete-effects> |
---|
| 183 | <AddQuest questId="spacefight.rescue" /> |
---|
| 184 | <!-- |
---|
| 185 | <BlinkingBillboard position="-12100, -22000, 25000" color="1.0,1.0,1.0" frequency=0.6 amplitude=2 material="Examples/Flare" visibility="true" /> |
---|
| 186 | --> |
---|
| 187 | </complete-effects> |
---|
[9735] | 188 | </LocalQuest> |
---|
[9778] | 189 | <!-- --> |
---|
[9735] | 190 | |
---|
[9741] | 191 | <LocalQuest id="spacefight.rescue" > |
---|
[9735] | 192 | <QuestDescription |
---|
[9741] | 193 | title="Rescue and place the bomb" |
---|
[9785] | 194 | description="Now you have to free the commander and place a bomb in the pirates' mainship." |
---|
[9741] | 195 | failMessage="You've lost all your ships!" |
---|
[9726] | 196 | completeMessage="" /> |
---|
[9785] | 197 | <complete-effects> |
---|
| 198 | <AddQuest questId="spacefight.moveAway" /> |
---|
| 199 | </complete-effects> |
---|
[9726] | 200 | </LocalQuest> |
---|
[9718] | 201 | |
---|
[9741] | 202 | <LocalQuest id="spacefight.moveAway" > |
---|
[9735] | 203 | <QuestDescription |
---|
[9741] | 204 | title="Get away!" |
---|
| 205 | description="Get away of the mainship before the bomb detonates." |
---|
| 206 | failMessage="You've lost all your ships!" |
---|
| 207 | completeMessage="Done!" /> |
---|
[9735] | 208 | </LocalQuest> |
---|
| 209 | |
---|
[9785] | 210 | <!-- GRAND EXPLOSION IF POSSIBLE --> |
---|
| 211 | <!-- Next Part --> |
---|
| 212 | |
---|
[9718] | 213 | |
---|
| 214 | <!-- ---------------------------------------------------------------------- --> |
---|
[9735] | 215 | |
---|
[9741] | 216 | <!-- QuestEffectBeacon's --> |
---|
[9757] | 217 | <!-- START --> |
---|
[9718] | 218 | <QuestEffectBeacon times=0> |
---|
| 219 | <effects> |
---|
[9791] | 220 | <AddQuest questId="spacefight.guard1" /> |
---|
[9718] | 221 | </effects> |
---|
| 222 | <events> |
---|
[9735] | 223 | <execute> |
---|
| 224 | <EventListener event=spawntrigger2 /> |
---|
| 225 | </execute> |
---|
[9718] | 226 | </events> |
---|
| 227 | </QuestEffectBeacon> |
---|
| 228 | |
---|
[9757] | 229 | <QuestEffectBeacon times=0> |
---|
[9727] | 230 | <events> |
---|
| 231 | <execute> |
---|
| 232 | <EventListener event="flying1" /> |
---|
[9738] | 233 | </execute> |
---|
| 234 | </events> |
---|
[9757] | 235 | <effects> |
---|
| 236 | <CompleteQuest questId="spacefight.guard1" /> |
---|
| 237 | </effects> |
---|
[9738] | 238 | </QuestEffectBeacon> |
---|
[9758] | 239 | |
---|
[9806] | 240 | <SimpleNotification message="The blinking light shows you the way!" broadcast="true"> |
---|
| 241 | <events> |
---|
| 242 | <trigger> |
---|
| 243 | <EventListener event="flying1" /> |
---|
| 244 | </trigger> |
---|
| 245 | </events> |
---|
| 246 | </SimpleNotification> |
---|
[9788] | 247 | |
---|
[9806] | 248 | |
---|
| 249 | <BlinkingBillboard position="13500, 2500, 10500" color="1.0, 1.0, 0.05" frequency=0.6 amplitude=10 material="Examples/Flare" > |
---|
[9778] | 250 | <events> |
---|
| 251 | <visibility> |
---|
| 252 | <EventTrigger> |
---|
[9806] | 253 | <EventTrigger invert=true> |
---|
| 254 | <events> |
---|
| 255 | <trigger> |
---|
| 256 | <EventListener event="flying2" /> |
---|
| 257 | </trigger> |
---|
| 258 | </events> |
---|
| 259 | </EventTrigger> |
---|
[9778] | 260 | <events> |
---|
| 261 | <trigger> |
---|
[9791] | 262 | <EventListener event="flying1" /> |
---|
[9778] | 263 | </trigger> |
---|
| 264 | </events> |
---|
| 265 | </EventTrigger> |
---|
| 266 | </visibility> |
---|
| 267 | </events> |
---|
| 268 | </BlinkingBillboard> |
---|
| 269 | |
---|
[9758] | 270 | <!-- Drone (optional) --> |
---|
| 271 | <QuestEffectBeacon times=0> |
---|
| 272 | <effects> |
---|
[9791] | 273 | <AddQuest questId="spacefight.upgrade1" /> |
---|
| 274 | </effects> |
---|
| 275 | <events> |
---|
| 276 | <execute> |
---|
| 277 | <EventListener event="droneTrigger" /> |
---|
| 278 | </execute> |
---|
| 279 | </events> |
---|
| 280 | </QuestEffectBeacon> |
---|
| 281 | |
---|
| 282 | <QuestEffectBeacon times=0> |
---|
| 283 | <effects> |
---|
[9758] | 284 | <CompleteQuest questId="spacefight.upgrade1" /> |
---|
| 285 | </effects> |
---|
| 286 | <events> |
---|
| 287 | <execute> |
---|
| 288 | <EventListener event="drone" /> |
---|
| 289 | </execute> |
---|
| 290 | </events> |
---|
| 291 | </QuestEffectBeacon> |
---|
[9757] | 292 | |
---|
[9758] | 293 | <!-- Guard 2 --> |
---|
[9757] | 294 | <QuestEffectBeacon times=0> |
---|
| 295 | <effects> |
---|
[9806] | 296 | <CompleteQuest questId="spacefight.guard2" /> |
---|
[9778] | 297 | </effects> |
---|
| 298 | <events> |
---|
| 299 | <execute> |
---|
[9809] | 300 | <EventListener event="flying22" /> |
---|
[9757] | 301 | </execute> |
---|
| 302 | </events> |
---|
| 303 | </QuestEffectBeacon> |
---|
[9809] | 304 | <!-- |
---|
[9806] | 305 | <SimpleNotification message="Well done! Catch the spion!" broadcast="true"> |
---|
[9757] | 306 | <events> |
---|
[9806] | 307 | <trigger> |
---|
| 308 | <EventListener event="flying2" /> |
---|
| 309 | </trigger> |
---|
[9757] | 310 | </events> |
---|
[9806] | 311 | </SimpleNotification> |
---|
[9809] | 312 | --> |
---|
[9788] | 313 | <!-- ESCAPE --> |
---|
[9778] | 314 | <SimpleNotification message="A spion is startet to the mainship!" broadcast="true"> |
---|
| 315 | <events> |
---|
| 316 | <trigger> |
---|
| 317 | <EventListener event="guard2trigger1" /> |
---|
| 318 | </trigger> |
---|
| 319 | </events> |
---|
| 320 | </SimpleNotification> |
---|
[9757] | 321 | |
---|
[9778] | 322 | <QuestEffectBeacon times=0> |
---|
| 323 | <effects> |
---|
| 324 | <AddQuest questId="spacefight.escape" /> |
---|
| 325 | </effects> |
---|
| 326 | <events> |
---|
| 327 | <execute> |
---|
[9809] | 328 | <EventListener event="escape10" /> |
---|
[9778] | 329 | </execute> |
---|
| 330 | </events> |
---|
| 331 | </QuestEffectBeacon> |
---|
[9809] | 332 | |
---|
| 333 | <BlinkingBillboard position="13500, 2500, 10500" color="1.0, 1.0, 0.05" frequency=0.6 amplitude=10 material="Examples/Flare" > |
---|
| 334 | <events> |
---|
| 335 | <visibility> |
---|
| 336 | <EventTrigger> |
---|
| 337 | <EventTrigger invert=true> |
---|
| 338 | <events> |
---|
| 339 | <trigger> |
---|
| 340 | <EventListener event="flying2" /> |
---|
| 341 | </trigger> |
---|
| 342 | </events> |
---|
| 343 | </EventTrigger> |
---|
| 344 | <events> |
---|
| 345 | <trigger> |
---|
| 346 | <EventListener event="flying1" /> |
---|
| 347 | </trigger> |
---|
| 348 | </events> |
---|
| 349 | </EventTrigger> |
---|
| 350 | </visibility> |
---|
| 351 | </events> |
---|
| 352 | </BlinkingBillboard> |
---|
[9788] | 353 | |
---|
| 354 | <!-- ESCAPE ENDING --> |
---|
| 355 | <!-- Spion escaped --> |
---|
[9778] | 356 | <QuestEffectBeacon times=0> |
---|
| 357 | <effects> |
---|
| 358 | <CompleteQuest questId="spacefight.escape" /> |
---|
[9788] | 359 | <AddQuest questId="spacefight.mainfight(max)" /> |
---|
[9778] | 360 | </effects> |
---|
| 361 | <events> |
---|
| 362 | <execute> |
---|
[9788] | 363 | <EventListener event="spionTrigger" /> |
---|
[9778] | 364 | </execute> |
---|
| 365 | </events> |
---|
| 366 | </QuestEffectBeacon> |
---|
| 367 | |
---|
[9809] | 368 | <!-- TEST --> |
---|
| 369 | <QuestEffectBeacon> |
---|
| 370 | <effects> |
---|
| 371 | <AddQuest questId="spacefight.escape" /> |
---|
| 372 | </effects> |
---|
| 373 | <events> |
---|
| 374 | <execute> |
---|
| 375 | <EventListener event=spawntrigger2 /> |
---|
| 376 | </execute> |
---|
| 377 | </events> |
---|
| 378 | </QuestEffectBeacon> |
---|
| 379 | |
---|
[9788] | 380 | <!-- Spion destroyed --> |
---|
[9778] | 381 | <QuestEffectBeacon> |
---|
| 382 | <effects> |
---|
| 383 | <CompleteQuest questId="spacefight.escape" /> |
---|
| 384 | <AddQuest questId="spacefight.mainfight(min)" /> |
---|
| 385 | </effects> |
---|
| 386 | <events> |
---|
| 387 | <execute> |
---|
[9809] | 388 | <EventListener event="spion5" /> |
---|
[9778] | 389 | </execute> |
---|
| 390 | </events> |
---|
| 391 | </QuestEffectBeacon> |
---|
| 392 | |
---|
[9785] | 393 | <!-- LAST FIGHT --> |
---|
| 394 | <!-- Spion destroyed --> |
---|
| 395 | <QuestEffectBeacon> |
---|
| 396 | <effects> |
---|
| 397 | <CompleteQuest questId="spacefight.mainfight(min)" /> |
---|
| 398 | </effects> |
---|
| 399 | <events> |
---|
| 400 | <execute> |
---|
| 401 | <EventListener event="guard3trigger4" /> |
---|
| 402 | </execute> |
---|
| 403 | </events> |
---|
| 404 | </QuestEffectBeacon> |
---|
| 405 | |
---|
| 406 | <!-- Spion escaped --> |
---|
| 407 | <QuestEffectBeacon> |
---|
| 408 | <effects> |
---|
| 409 | <CompleteQuest questId="spacefight.mainfight(max)" /> |
---|
| 410 | </effects> |
---|
| 411 | <events> |
---|
| 412 | <execute> |
---|
| 413 | <EventListener event="guard3trigger6" /> |
---|
| 414 | </execute> |
---|
| 415 | </events> |
---|
| 416 | </QuestEffectBeacon> |
---|
| 417 | |
---|
| 418 | <!-- COMMANDER RESCUE --> |
---|
| 419 | <QuestEffectBeacon> |
---|
| 420 | <effects> |
---|
| 421 | <CompleteQuest questId="spacefight.rescue" /> |
---|
| 422 | </effects> |
---|
| 423 | <events> |
---|
| 424 | <execute> |
---|
| 425 | <EventListener event="dock" /> |
---|
| 426 | </execute> |
---|
| 427 | </events> |
---|
| 428 | </QuestEffectBeacon> |
---|
| 429 | |
---|
| 430 | <!-- FLY AWAY --> |
---|
| 431 | <QuestEffectBeacon> |
---|
| 432 | <effects> |
---|
| 433 | <CompleteQuest questId="spacefight.moveAway" /> |
---|
| 434 | </effects> |
---|
| 435 | <events> |
---|
| 436 | <execute> |
---|
| 437 | <EventListener event="" /> |
---|
| 438 | </execute> |
---|
| 439 | </events> |
---|
| 440 | </QuestEffectBeacon> |
---|
| 441 | |
---|
[9726] | 442 | <!-- ---------------------------------------------------------------------- --> |
---|
[9791] | 443 | <!-- Helper-Trigger for first guard --> |
---|
[9806] | 444 | <DistanceTrigger name="flying1" position="9000, 0, 0" target="SpaceShip" distance=10000 stayActive="true" delay=0.1 > |
---|
[9791] | 445 | <EventTrigger> |
---|
| 446 | <events> |
---|
| 447 | <trigger> |
---|
| 448 | <EventListener event="guard1trigger4" /> |
---|
| 449 | </trigger> |
---|
| 450 | </events> |
---|
| 451 | </EventTrigger> |
---|
| 452 | </DistanceTrigger> |
---|
[9718] | 453 | |
---|
[9791] | 454 | <!-- Trigger to activate the upgrade1-Quest --> |
---|
[9809] | 455 | <DistanceTrigger name="droneTrigger" position="13500, 2500, 10500" target="SpaceShip" distance=2000 stayActive="true" delay=0.1 /> |
---|
[9806] | 456 | <SimpleNotification message="Search the drone!?" broadcast="true"> |
---|
[9767] | 457 | <events> |
---|
| 458 | <trigger> |
---|
[9791] | 459 | <EventListener event="droneTrigger" /> |
---|
[9767] | 460 | </trigger> |
---|
| 461 | </events> |
---|
[9806] | 462 | </SimpleNotification> |
---|
| 463 | |
---|
| 464 | <!-- Helper-Trigger for the drone(s) --> |
---|
[9809] | 465 | <DistanceTrigger name="drone1" position="9750, -5350, 5650" target="SpaceShip" distance=20 stayActive="true" delay=0.1 /> |
---|
[9806] | 466 | <SimpleNotification message="Now your are prepared best!" broadcast="true"> |
---|
| 467 | <events> |
---|
| 468 | <trigger> |
---|
| 469 | <EventListener event="drone1" /> |
---|
| 470 | </trigger> |
---|
| 471 | </events> |
---|
[9767] | 472 | </SimpleNotification> |
---|
[9791] | 473 | |
---|
| 474 | <!-- Helper-Trigger for second guard --> |
---|
[9809] | 475 | <DistanceTrigger name="flying22" position="18000, 5000, 21000" target="SpaceShip" distance=10000 stayActive="true" delay=0.1> |
---|
[9791] | 476 | <EventTrigger> |
---|
| 477 | <events> |
---|
| 478 | <trigger> |
---|
[9809] | 479 | <EventListener event="flying2" /> |
---|
[9791] | 480 | </trigger> |
---|
| 481 | </events> |
---|
| 482 | </EventTrigger> |
---|
| 483 | </DistanceTrigger> |
---|
[9809] | 484 | |
---|
| 485 | <SimpleNotification message="flying2.2" broadcast="true"> |
---|
| 486 | <events> |
---|
| 487 | <trigger> |
---|
| 488 | <EventListener event="flying22" /> |
---|
| 489 | </trigger> |
---|
| 490 | </events> |
---|
| 491 | </SimpleNotification> |
---|
| 492 | |
---|
| 493 | <DistanceTrigger name="flying2" position="18000, 5000, 21000" target="SpaceShip" distance=10000 stayActive="true" delay=0.1 > |
---|
[9806] | 494 | <EventTrigger> |
---|
| 495 | <events> |
---|
| 496 | <trigger> |
---|
[9809] | 497 | <EventListener event="guard2trigger4" /> |
---|
[9806] | 498 | </trigger> |
---|
| 499 | </events> |
---|
| 500 | </EventTrigger> |
---|
| 501 | </DistanceTrigger> |
---|
[9791] | 502 | |
---|
[9809] | 503 | <SimpleNotification message="flying2" broadcast="true"> |
---|
| 504 | <events> |
---|
| 505 | <trigger> |
---|
| 506 | <EventListener event="flying2" /> |
---|
| 507 | </trigger> |
---|
| 508 | </events> |
---|
| 509 | </SimpleNotification> |
---|
| 510 | |
---|
| 511 | <!-- Helper-Trigger for the Escape-Quest --> |
---|
| 512 | <DistanceTrigger name="escape10" position="18000,5000,21000" target="SpaceShip" distance=10000 stayActive="true" delay=0.1 > |
---|
| 513 | <EventTrigger> |
---|
| 514 | <events> |
---|
| 515 | <trigger> |
---|
| 516 | <EventListener event="guard2trigger1" /> |
---|
| 517 | </trigger> |
---|
| 518 | </events> |
---|
| 519 | </EventTrigger> |
---|
| 520 | </DistanceTrigger> |
---|
[9791] | 521 | |
---|
| 522 | <!-- Helper-Trigger for mainship --> |
---|
[9809] | 523 | <DistanceTrigger name="flying3" position="11000, 3000, 21000" target="SpaceShip" distance=1000 stayActive="true" delay=0.1 /> |
---|
[9806] | 524 | <SimpleNotification message="Mainship sighted!" broadcast="true"> |
---|
[9767] | 525 | <events> |
---|
| 526 | <trigger> |
---|
[9791] | 527 | <EventListener event="flying3" /> |
---|
[9767] | 528 | </trigger> |
---|
| 529 | </events> |
---|
| 530 | </SimpleNotification> |
---|
[9757] | 531 | |
---|
[9809] | 532 | <!-- <DistanceTrigger name="drone2" position="9750, -5350, 5650" target="SpaceShip" distance=20 stay Active="true" delay=0.1 /> --> |
---|
[9767] | 533 | <SimpleNotification message="Now your are prepared best!" broadcast="true"> |
---|
| 534 | <events> |
---|
| 535 | <trigger> |
---|
| 536 | <EventListener event="drone2" /> |
---|
| 537 | </trigger> |
---|
| 538 | </events> |
---|
[9785] | 539 | </SimpleNotification> |
---|
[9757] | 540 | |
---|
[9788] | 541 | <!-- DistanceTrigger for spion --> |
---|
[9822] | 542 | <DistanceTrigger name="spionTrigger" position="15000,4000,19000" target="SpaceShip" distance=50 stayActive="true" delay=0.1 /> |
---|
[9788] | 543 | <SimpleNotification message="spion is arrived!" broadcast="true"> |
---|
| 544 | <events> |
---|
| 545 | <trigger> |
---|
| 546 | <EventListener event="spionTrigger" /> |
---|
| 547 | </trigger> |
---|
| 548 | </events> |
---|
| 549 | </SimpleNotification> |
---|
| 550 | |
---|
[9809] | 551 | <!-- If spion destroyed --> |
---|
| 552 | <DistanceTrigger name="destroyed" position="8500,-3000,32000" target="SpaceShip" distance=100000 stayActive="true" delay=0.1 > |
---|
[9806] | 553 | <EventTrigger> |
---|
| 554 | <events> |
---|
| 555 | <trigger> |
---|
| 556 | <EventListener event="spion" /> |
---|
| 557 | </trigger> |
---|
| 558 | </events> |
---|
| 559 | </EventTrigger> |
---|
| 560 | </DistanceTrigger> |
---|
| 561 | <SimpleNotification message="Spion destroyed!" broadcast="true"> |
---|
[9788] | 562 | <events> |
---|
| 563 | <trigger> |
---|
| 564 | <EventListener event="destroyed" /> |
---|
| 565 | </trigger> |
---|
| 566 | </events> |
---|
| 567 | </SimpleNotification> |
---|
| 568 | |
---|
| 569 | <BlinkingBillboard position="0,-10000,42000" frequency=0.5 color="1.0,1.0,1.0" amplitude=10 material="Examples/Flare" /> |
---|
| 570 | |
---|
| 571 | |
---|
[9786] | 572 | <!-- Rescue the commander --> |
---|
[9785] | 573 | <DistanceTrigger name="dock" position="-12100, -22000, 25000" target="SpaceShip" distance=100 stayActive="true" delay=0 /> |
---|
| 574 | |
---|
[9718] | 575 | <!-- ----------------------------------------------------- --> |
---|
| 576 | |
---|
[9726] | 577 | <!-- EVENTTRIGGER --> |
---|
[9757] | 578 | |
---|
[9791] | 579 | <!-- For Guard 1 --> |
---|
[9757] | 580 | <!-- @Triggers: attacktriggerX <-> X enemies destroyed , X is an element of [1,4] --> |
---|
| 581 | <EventTrigger name="guard1trigger4" activations="1" stayactive="true" delay=0.1> |
---|
[9718] | 582 | <events> |
---|
| 583 | <trigger> |
---|
| 584 | <EventListener event="firstPatrol" /> |
---|
| 585 | </trigger> |
---|
| 586 | </events> |
---|
| 587 | <EventTrigger name="guard1trigger3" activations="1" stayactive="true" delay=0.1> |
---|
| 588 | <events> |
---|
| 589 | <trigger> |
---|
| 590 | <EventListener event="firstPatrol" /> |
---|
| 591 | </trigger> |
---|
| 592 | </events> |
---|
| 593 | <EventTrigger name="guard1trigger2" activations="1" stayactive="true" delay=0.1> |
---|
| 594 | <events> |
---|
| 595 | <trigger> |
---|
| 596 | <EventListener event="firstPatrol" /> |
---|
| 597 | </trigger> |
---|
| 598 | </events> |
---|
| 599 | <EventTrigger name="guard1trigger1" activations="1" stayactive="true" delay=0.1> |
---|
| 600 | <events> |
---|
| 601 | <trigger> |
---|
| 602 | <EventListener event="firstPatrol" /> |
---|
| 603 | </trigger> |
---|
| 604 | </events> |
---|
| 605 | </EventTrigger> |
---|
| 606 | </EventTrigger> |
---|
| 607 | </EventTrigger> |
---|
[9726] | 608 | </EventTrigger> |
---|
[9718] | 609 | |
---|
[9791] | 610 | <!-- For Guard 2 --> |
---|
[9757] | 611 | <!-- @Triggers: attacktriggerX <-> X enemies destroyed , X is an element of [1,4] --> |
---|
| 612 | <EventTrigger name="guard2trigger4" activations="1" stayactive="true" delay=0.1> |
---|
[9743] | 613 | <events> |
---|
| 614 | <trigger> |
---|
[9757] | 615 | <EventListener event="secondPatrol" /> |
---|
[9743] | 616 | </trigger> |
---|
| 617 | </events> |
---|
[9757] | 618 | <EventTrigger name="guard2trigger3" activations="1" stayactive="true" delay=0.1> |
---|
[9738] | 619 | <events> |
---|
[9743] | 620 | <trigger> |
---|
[9757] | 621 | <EventListener event="secondPatrol" /> |
---|
[9743] | 622 | </trigger> |
---|
| 623 | </events> |
---|
[9757] | 624 | <EventTrigger name="guard2trigger2" activations="1" stayactive="true" delay=0.1> |
---|
[9743] | 625 | <events> |
---|
[9738] | 626 | <trigger> |
---|
[9757] | 627 | <EventListener event="secondPatrol" /> |
---|
[9743] | 628 | </trigger> |
---|
| 629 | </events> |
---|
[9757] | 630 | <EventTrigger name="guard2trigger1" activations="1" stayactive="true" delay=0.1> |
---|
[9743] | 631 | <events> |
---|
| 632 | <trigger> |
---|
[9757] | 633 | <EventListener event="secondPatrol" /> |
---|
[9743] | 634 | </trigger> |
---|
| 635 | </events> |
---|
| 636 | </EventTrigger> |
---|
| 637 | </EventTrigger> |
---|
| 638 | </EventTrigger> |
---|
| 639 | </EventTrigger> |
---|
[9738] | 640 | |
---|
[9778] | 641 | |
---|
[9809] | 642 | |
---|
[9778] | 643 | <!-- For Escape --> |
---|
[9806] | 644 | <EventTrigger name="spion5" activations="1" stayactive="true" delay=0.1 > |
---|
| 645 | <events> |
---|
| 646 | <trigger> |
---|
| 647 | <EventListener event="spion" /> |
---|
| 648 | </trigger> |
---|
| 649 | </events> |
---|
[9809] | 650 | </EventTrigger> |
---|
[9785] | 651 | |
---|
[9809] | 652 | <SimpleNotification message="spion5" broadcast="true"> |
---|
| 653 | <events> |
---|
| 654 | <trigger> |
---|
| 655 | <EventListener event="spion5" /> |
---|
| 656 | </trigger> |
---|
| 657 | </events> |
---|
| 658 | </SimpleNotification> |
---|
| 659 | |
---|
[9785] | 660 | <!-- For last fight --> |
---|
[9791] | 661 | <EventTrigger name="guard3trigger6" activations="1" stayactive="true" delay=0.1 > |
---|
[9785] | 662 | <events> |
---|
| 663 | <trigger> |
---|
| 664 | <EventListener event="lastGuard" /> |
---|
| 665 | </trigger> |
---|
| 666 | </events> |
---|
| 667 | <EventTrigger name="guard3trigger5" activations="1" stayactive="true" delay=0.1 > |
---|
| 668 | <events> |
---|
| 669 | <trigger> |
---|
| 670 | <EventListener event="lastGuard" /> |
---|
| 671 | </trigger> |
---|
| 672 | </events> |
---|
| 673 | <EventTrigger name="guard3trigger4" activations="1" stayactive="true" delay=0.1 > |
---|
| 674 | <events> |
---|
| 675 | <trigger> |
---|
| 676 | <EventListener event="lastGuard" /> |
---|
| 677 | </trigger> |
---|
| 678 | </events> |
---|
| 679 | <EventTrigger name="guard3trigger3" activations="1" stayactive="true" delay=0.1 > |
---|
| 680 | <events> |
---|
| 681 | <trigger> |
---|
| 682 | <EventListener event="lastGuard" /> |
---|
| 683 | </trigger> |
---|
| 684 | </events> |
---|
| 685 | <EventTrigger name="guard3trigger2" activations="1" stayactive="true" delay=0.1 > |
---|
| 686 | <events> |
---|
| 687 | <trigger> |
---|
| 688 | <EventListener event="lastGuard" /> |
---|
| 689 | </trigger> |
---|
| 690 | </events> |
---|
| 691 | <EventTrigger name="guard3trigger1" activations="1" stayactive="true" delay=0.1 > |
---|
| 692 | <events> |
---|
| 693 | <trigger> |
---|
| 694 | <EventListener event="lastGuard" /> |
---|
| 695 | </trigger> |
---|
| 696 | </events> |
---|
| 697 | </EventTrigger> |
---|
| 698 | </EventTrigger> |
---|
| 699 | </EventTrigger> |
---|
| 700 | </EventTrigger> |
---|
| 701 | </EventTrigger> |
---|
| 702 | </EventTrigger> |
---|
[9778] | 703 | |
---|
[9718] | 704 | <!-- ----------------------------------------------------- --> |
---|
| 705 | |
---|
[9735] | 706 | <!-- Passive Piraten: Guard 1 --> |
---|
[9757] | 707 | |
---|
| 708 | <SpaceShip position="8000,1000,0" lookat="-1,0,0" name="firstPatrol" radarname="Patrol"> |
---|
[9718] | 709 | <events> |
---|
| 710 | <visibility> |
---|
[9727] | 711 | <EventListener event=spawntrigger2 /> |
---|
[9718] | 712 | </visibility> |
---|
| 713 | </events> |
---|
| 714 | <templates> |
---|
| 715 | <Template link=spaceshippirate /> |
---|
| 716 | </templates> |
---|
| 717 | <controller> |
---|
| 718 | <WaypointController team=1> |
---|
| 719 | <waypoints> |
---|
[9738] | 720 | <Model mesh="cube.mesh" scale=0 position="8000,-1000,0" /> |
---|
| 721 | <Model mesh="cube.mesh" scale=0 position="8000,1000,0" /> |
---|
[9718] | 722 | </waypoints> |
---|
| 723 | </WaypointController> |
---|
| 724 | </controller> |
---|
| 725 | </SpaceShip> |
---|
| 726 | |
---|
[9757] | 727 | <SpaceShip position="8000,0,0" lookat="-1,0,0" name="firstPatrol" radarname="Patrol"> |
---|
[9718] | 728 | <events> |
---|
| 729 | <visibility> |
---|
[9727] | 730 | <EventListener event=spawntrigger2 /> |
---|
[9718] | 731 | </visibility> |
---|
| 732 | </events> |
---|
| 733 | <templates> |
---|
| 734 | <Template link=spaceshippirate /> |
---|
| 735 | </templates> |
---|
| 736 | <controller> |
---|
| 737 | <WaypointController team=1> |
---|
| 738 | <waypoints> |
---|
[9738] | 739 | <Model mesh="cube.mesh" scale=0 position="8000,0,-1000" /> |
---|
| 740 | <Model mesh="cube.mesh" scale=0 position="8000,0,1000" /> |
---|
[9718] | 741 | </waypoints> |
---|
| 742 | </WaypointController> |
---|
| 743 | </controller> |
---|
| 744 | </SpaceShip> |
---|
| 745 | |
---|
[9757] | 746 | |
---|
[9735] | 747 | <!-- Angreiffende Piraten: Guard 1 --> |
---|
[9757] | 748 | |
---|
| 749 | <SpaceShip position="8000,-1000,1000" lookat="8000,1000,-1000" name="firstPatrol" visible="true" radarname="Patrol" > |
---|
[9718] | 750 | <events> |
---|
| 751 | <visibility> |
---|
[9727] | 752 | <EventListener event=spawntrigger2 /> |
---|
[9718] | 753 | </visibility> |
---|
| 754 | </events> |
---|
| 755 | <templates> |
---|
| 756 | <Template link=spaceshippirate /> |
---|
| 757 | </templates> |
---|
| 758 | <controller> |
---|
| 759 | <WaypointPatrolController alertnessradius=2000 team=1 active=false> |
---|
| 760 | <waypoints> |
---|
[9738] | 761 | <Model mesh="cube.mesh" scale=0 position="8000,1000,-1000" /> |
---|
| 762 | <Model mesh="cube.mesh" scale=0 position="8000,-1000,1000" /> |
---|
[9718] | 763 | </waypoints> |
---|
| 764 | <events> |
---|
| 765 | <activity> |
---|
[9727] | 766 | <EventListener event=spawntrigger2 /> |
---|
[9718] | 767 | </activity> |
---|
| 768 | </events> |
---|
| 769 | </WaypointPatrolController> |
---|
| 770 | </controller> |
---|
| 771 | </SpaceShip> |
---|
| 772 | |
---|
[9757] | 773 | <SpaceShip position="8000,-500,-500" lookat="8000,1000,1000" name="firstPatrol" visible="true" radarname="Patrol"> |
---|
[9718] | 774 | <events> |
---|
| 775 | <visibility> |
---|
[9727] | 776 | <EventListener event=spawntrigger2 /> |
---|
[9718] | 777 | </visibility> |
---|
| 778 | </events> |
---|
| 779 | <templates> |
---|
| 780 | <Template link=spaceshippirate /> |
---|
| 781 | </templates> |
---|
| 782 | <controller> |
---|
| 783 | <WaypointPatrolController alertnessradius=2000 team=1 active=false> |
---|
| 784 | <waypoints> |
---|
[9738] | 785 | <Model mesh="cube.mesh" scale=0 position="8000,1000,1000" /> |
---|
| 786 | <Model mesh="cube.mesh" scale=0 position="8000,-1000,-1000" /> |
---|
[9718] | 787 | </waypoints> |
---|
| 788 | <events> |
---|
| 789 | <activity> |
---|
[9727] | 790 | <EventListener event=spawntrigger2 /> |
---|
[9718] | 791 | </activity> |
---|
| 792 | </events> |
---|
| 793 | </WaypointPatrolController> |
---|
| 794 | </controller> |
---|
| 795 | </SpaceShip> |
---|
[9757] | 796 | |
---|
[9735] | 797 | <!-- Angreiffende Piraten: Guard 2 --> |
---|
[9822] | 798 | <SpaceShip position="19000,5000,18000" lookat="19000,4900,21000" name="secondPatrol" visible="true" radarname="Patrol"> |
---|
[9738] | 799 | <events> |
---|
| 800 | <visibility> |
---|
[9809] | 801 | <EventListener event=spawntrigger2 /> <!-- guard1trigger4 --> |
---|
[9738] | 802 | </visibility> |
---|
| 803 | </events> |
---|
| 804 | <templates> |
---|
| 805 | <Template link=spaceshippirate /> |
---|
| 806 | </templates> |
---|
| 807 | <controller> |
---|
| 808 | <WaypointPatrolController alertnessradius=2000 team=1 active=false> |
---|
| 809 | <waypoints> |
---|
[9822] | 810 | <Model mesh="cube.mesh" scale=0 position="18700,4300,18000" /> |
---|
| 811 | <Model mesh="cube.mesh" scale=0 position="18000,4000,18000" /> |
---|
| 812 | <Model mesh="cube.mesh" scale=0 position="17300,4300,18000" /> |
---|
| 813 | <Model mesh="cube.mesh" scale=0 position="17000,5000,18000" /> |
---|
| 814 | <Model mesh="cube.mesh" scale=0 position="17300,5700,18000" /> |
---|
| 815 | <Model mesh="cube.mesh" scale=0 position="18000,6000,18000" /> |
---|
| 816 | <Model mesh="cube.mesh" scale=0 position="18700,5700,18000" /> |
---|
| 817 | <Model mesh="cube.mesh" scale=0 position="19000,5000,18000" /> |
---|
[9738] | 818 | </waypoints> |
---|
| 819 | <events> |
---|
| 820 | <activity> |
---|
[9806] | 821 | <EventListener event="guard1trigger4" /> |
---|
[9738] | 822 | </activity> |
---|
| 823 | </events> |
---|
| 824 | </WaypointPatrolController> |
---|
| 825 | </controller> |
---|
| 826 | </SpaceShip> |
---|
[9735] | 827 | |
---|
[9822] | 828 | <SpaceShip position="17000,5000,18000" lookat="17000,5100,21000" name="secondPatrol" visible="true" radarname="Patrol"> |
---|
[9738] | 829 | <events> |
---|
| 830 | <visibility> |
---|
[9809] | 831 | <EventListener event=spawntrigger2 /> <!-- guard1trigger4 --> |
---|
[9738] | 832 | </visibility> |
---|
| 833 | </events> |
---|
| 834 | <templates> |
---|
| 835 | <Template link=spaceshippirate /> |
---|
| 836 | </templates> |
---|
| 837 | <controller> |
---|
| 838 | <WaypointPatrolController alertnessradius=2000 team=1 active=false> |
---|
| 839 | <waypoints> |
---|
[9822] | 840 | <Model mesh="cube.mesh" scale=0 position="17300,5700,18000" /> |
---|
| 841 | <Model mesh="cube.mesh" scale=0 position="18000,6000,18000" /> |
---|
| 842 | <Model mesh="cube.mesh" scale=0 position="18700,5700,18000" /> |
---|
| 843 | <Model mesh="cube.mesh" scale=0 position="19000,5000,18000" /> |
---|
| 844 | <Model mesh="cube.mesh" scale=0 position="18700,4300,18000" /> |
---|
| 845 | <Model mesh="cube.mesh" scale=0 position="18000,4000,18000" /> |
---|
| 846 | <Model mesh="cube.mesh" scale=0 position="17300,4300,18000" /> |
---|
| 847 | <Model mesh="cube.mesh" scale=0 position="17000,5000,18000" /> |
---|
[9738] | 848 | </waypoints> |
---|
| 849 | <events> |
---|
| 850 | <activity> |
---|
[9806] | 851 | <EventListener event="guard1trigger4" /> |
---|
[9738] | 852 | </activity> |
---|
| 853 | </events> |
---|
| 854 | </WaypointPatrolController> |
---|
| 855 | </controller> |
---|
| 856 | </SpaceShip> |
---|
| 857 | |
---|
[9822] | 858 | <SpaceShip position="18000,4000,18000" lookat="17000,4000,21000" name="secondPatrol" visible="true" radarname="Patrol"> |
---|
[9738] | 859 | <events> |
---|
| 860 | <visibility> |
---|
[9809] | 861 | <EventListener event=spawntrigger2 /> <!-- guard1trigger4 --> |
---|
[9738] | 862 | </visibility> |
---|
| 863 | </events> |
---|
| 864 | <templates> |
---|
| 865 | <Template link=spaceshippirate /> |
---|
| 866 | </templates> |
---|
| 867 | <controller> |
---|
| 868 | <WaypointPatrolController alertnessradius=2000 team=1 active=false> |
---|
| 869 | <waypoints> |
---|
[9822] | 870 | <Model mesh="cube.mesh" scale=0 position="17300,4300,18000" /> |
---|
| 871 | <Model mesh="cube.mesh" scale=0 position="17000,5000,18000" /> |
---|
| 872 | <Model mesh="cube.mesh" scale=0 position="17300,5700,18000" /> |
---|
| 873 | <Model mesh="cube.mesh" scale=0 position="18000,6000,18000" /> |
---|
| 874 | <Model mesh="cube.mesh" scale=0 position="18700,5700,18000" /> |
---|
| 875 | <Model mesh="cube.mesh" scale=0 position="19000,5000,18000" /> |
---|
| 876 | <Model mesh="cube.mesh" scale=0 position="18700,4300,18000" /> |
---|
| 877 | <Model mesh="cube.mesh" scale=0 position="18000,4000,18000" /> |
---|
[9738] | 878 | </waypoints> |
---|
| 879 | <events> |
---|
| 880 | <activity> |
---|
[9806] | 881 | <EventListener event="guard1trigger4" /> |
---|
[9738] | 882 | </activity> |
---|
| 883 | </events> |
---|
| 884 | </WaypointPatrolController> |
---|
| 885 | </controller> |
---|
| 886 | </SpaceShip> |
---|
| 887 | |
---|
[9822] | 888 | <SpaceShip position="18000,6000,18000" lookat="19000,6000,21000" name="secondPatrol" visible="true" radarname="Patrol"> |
---|
[9738] | 889 | <events> |
---|
| 890 | <visibility> |
---|
[9809] | 891 | <EventListener event=spawntrigger2 /> <!-- guard1trigger4 --> |
---|
[9738] | 892 | </visibility> |
---|
| 893 | </events> |
---|
| 894 | <templates> |
---|
| 895 | <Template link=spaceshippirate /> |
---|
| 896 | </templates> |
---|
| 897 | <controller> |
---|
| 898 | <WaypointPatrolController alertnessradius=2000 team=1 active=false> |
---|
| 899 | <waypoints> |
---|
[9822] | 900 | <Model mesh="cube.mesh" scale=0 position="18700,5700,18000" /> |
---|
| 901 | <Model mesh="cube.mesh" scale=0 position="19000,5000,18000" /> |
---|
| 902 | <Model mesh="cube.mesh" scale=0 position="18700,4300,18000" /> |
---|
| 903 | <Model mesh="cube.mesh" scale=0 position="18000,4000,18000" /> |
---|
| 904 | <Model mesh="cube.mesh" scale=0 position="17300,4300,18000" /> |
---|
| 905 | <Model mesh="cube.mesh" scale=0 position="17000,5000,18000" /> |
---|
| 906 | <Model mesh="cube.mesh" scale=0 position="17300,5700,18000" /> |
---|
| 907 | <Model mesh="cube.mesh" scale=0 position="18000,6000,18000" /> |
---|
[9738] | 908 | </waypoints> |
---|
| 909 | <events> |
---|
| 910 | <activity> |
---|
[9806] | 911 | <EventListener event="guard1trigger4" /> |
---|
[9738] | 912 | </activity> |
---|
| 913 | </events> |
---|
| 914 | </WaypointPatrolController> |
---|
| 915 | </controller> |
---|
| 916 | </SpaceShip> |
---|
| 917 | |
---|
[9788] | 918 | <!-- Escape-Ship (Spion) --> |
---|
[9822] | 919 | <SpaceShip position="17000,4000,19000" lookat="-12000, -22000, 25000" name="spion" visible="true" radarname="Spion" > |
---|
[9778] | 920 | <events> |
---|
| 921 | <visibility> |
---|
[9788] | 922 | <EventListener event="guard2trigger1" /> |
---|
[9778] | 923 | </visibility> |
---|
| 924 | </events> |
---|
| 925 | <templates> |
---|
| 926 | <Template link=spaceshippirate /> |
---|
| 927 | </templates> |
---|
| 928 | <controller> |
---|
| 929 | <WaypointController team=1> |
---|
| 930 | <waypoints> |
---|
[9822] | 931 | <Model mesh="cube.mesh" scale=0 position="15000,4000,19000" /> <!-- "-7000,-10000,42000" --> |
---|
[9806] | 932 | <Model mesh="cube.mesh" scale=0 position="-12000, -22000, 25000" /> |
---|
[9778] | 933 | </waypoints> |
---|
| 934 | <events> |
---|
| 935 | <activity> |
---|
| 936 | <EventListener event="guard2trigger1" /> |
---|
| 937 | </activity> |
---|
| 938 | </events> |
---|
| 939 | </WaypointController> |
---|
| 940 | </controller> |
---|
[9806] | 941 | <!-- |
---|
[9788] | 942 | <attached> |
---|
| 943 | <DistanceTriggerBeacon name="spionBeacon" /> |
---|
| 944 | </attached> |
---|
[9806] | 945 | --> |
---|
[9778] | 946 | </SpaceShip> |
---|
[9738] | 947 | |
---|
[9784] | 948 | <!-- Mainship - Pirates --> |
---|
[9778] | 949 | |
---|
[9786] | 950 | <SpaceShip position="-12000, -22000, 26000" lookat="-12000, -21300, 25700" name="lastGuard" visible="true" radarname="Pirate" > |
---|
[9784] | 951 | <events> |
---|
| 952 | <visibility> |
---|
[9806] | 953 | <EventListener event="guard2trigger4" /> |
---|
[9784] | 954 | </visibility> |
---|
| 955 | </events> |
---|
| 956 | <templates> |
---|
| 957 | <Template link=spaceshippirate /> |
---|
| 958 | </templates> |
---|
| 959 | <controller> |
---|
| 960 | <WaypointController team=1> |
---|
| 961 | <waypoints> |
---|
[9786] | 962 | <Model mesh="cube.mesh" scale=0 position="-12000, -21300, 25700" /> |
---|
| 963 | <Model mesh="cube.mesh" scale=0 position="-12000, -21000, 25000" /> |
---|
| 964 | <Model mesh="cube.mesh" scale=0 position="-12000, -21300, 24300" /> |
---|
| 965 | <Model mesh="cube.mesh" scale=0 position="-12000, -22000, 24000" /> |
---|
| 966 | <Model mesh="cube.mesh" scale=0 position="-12000, -22700, 24300" /> |
---|
| 967 | <Model mesh="cube.mesh" scale=0 position="-12000, -23000, 25000" /> |
---|
| 968 | <Model mesh="cube.mesh" scale=0 position="-12000, -22700, 25700" /> |
---|
| 969 | <Model mesh="cube.mesh" scale=0 position="-12000, -22000, 25000" /> |
---|
[9784] | 970 | </waypoints> |
---|
| 971 | <events> |
---|
| 972 | <activity> |
---|
[9806] | 973 | <EventListener event="guard2trigger4" /> |
---|
[9784] | 974 | </activity> |
---|
| 975 | </events> |
---|
| 976 | </WaypointController> |
---|
| 977 | </controller> |
---|
| 978 | </SpaceShip> |
---|
| 979 | |
---|
[9786] | 980 | <SpaceShip position="-12000, -21000, 25000" lookat="-12000, -21300, 24300" name="lastGuard" visible="true" radarname="Pirate" > |
---|
[9784] | 981 | <events> |
---|
| 982 | <visibility> |
---|
[9806] | 983 | <EventListener event="guard2trigger4" /> |
---|
[9784] | 984 | </visibility> |
---|
| 985 | </events> |
---|
| 986 | <templates> |
---|
| 987 | <Template link=spaceshippirate /> |
---|
| 988 | </templates> |
---|
| 989 | <controller> |
---|
| 990 | <WaypointController team=1> |
---|
| 991 | <waypoints> |
---|
[9786] | 992 | <Model mesh="cube.mesh" scale=0 position="-12000, -21300, 24300" /> |
---|
| 993 | <Model mesh="cube.mesh" scale=0 position="-12000, -22000, 24000" /> |
---|
| 994 | <Model mesh="cube.mesh" scale=0 position="-12000, -22700, 24300" /> |
---|
| 995 | <Model mesh="cube.mesh" scale=0 position="-12000, -23000, 25000" /> |
---|
| 996 | <Model mesh="cube.mesh" scale=0 position="-12000, -22700, 25700" /> |
---|
| 997 | <Model mesh="cube.mesh" scale=0 position="-12000, -22000, 25000" /> |
---|
| 998 | <Model mesh="cube.mesh" scale=0 position="-12000, -21300, 25700" /> |
---|
| 999 | <Model mesh="cube.mesh" scale=0 position="-12000, -21000, 25000" /> |
---|
[9784] | 1000 | </waypoints> |
---|
| 1001 | <events> |
---|
| 1002 | <activity> |
---|
[9806] | 1003 | <EventListener event="guard2trigger4" /> |
---|
[9784] | 1004 | </activity> |
---|
| 1005 | </events> |
---|
| 1006 | </WaypointController> |
---|
| 1007 | </controller> |
---|
| 1008 | </SpaceShip> |
---|
| 1009 | |
---|
[9786] | 1010 | <SpaceShip position="-12000, -22000, 24000" lookat="-12000, -22700, 24300" name="lastGuard" visible="true" radarname="Pirate" > |
---|
[9784] | 1011 | <events> |
---|
| 1012 | <visibility> |
---|
[9806] | 1013 | <EventListener event="guard2trigger4" /> |
---|
[9784] | 1014 | </visibility> |
---|
| 1015 | </events> |
---|
| 1016 | <templates> |
---|
| 1017 | <Template link=spaceshippirate /> |
---|
| 1018 | </templates> |
---|
| 1019 | <controller> |
---|
| 1020 | <WaypointController team=1> |
---|
| 1021 | <waypoints> |
---|
[9786] | 1022 | <Model mesh="cube.mesh" scale=0 position="-12000, -22700, 24300" /> |
---|
| 1023 | <Model mesh="cube.mesh" scale=0 position="-12000, -23000, 25000" /> |
---|
| 1024 | <Model mesh="cube.mesh" scale=0 position="-12000, -22700, 25700" /> |
---|
| 1025 | <Model mesh="cube.mesh" scale=0 position="-12000, -22000, 25000" /> |
---|
| 1026 | <Model mesh="cube.mesh" scale=0 position="-12000, -21300, 25700" /> |
---|
| 1027 | <Model mesh="cube.mesh" scale=0 position="-12000, -21000, 25000" /> |
---|
| 1028 | <Model mesh="cube.mesh" scale=0 position="-12000, -21300, 24300" /> |
---|
| 1029 | <Model mesh="cube.mesh" scale=0 position="-12000, -22000, 24000" /> |
---|
[9784] | 1030 | </waypoints> |
---|
| 1031 | <events> |
---|
| 1032 | <activity> |
---|
[9806] | 1033 | <EventListener event="guard2trigger4" /> |
---|
[9784] | 1034 | </activity> |
---|
| 1035 | </events> |
---|
| 1036 | </WaypointController> |
---|
| 1037 | </controller> |
---|
| 1038 | </SpaceShip> |
---|
| 1039 | |
---|
[9786] | 1040 | <SpaceShip position="-12000, -23000, 25000" lookat="-12000, -22700, 25700" name="lastGuard" visible="true" radarname="Pirate" > |
---|
[9784] | 1041 | <events> |
---|
| 1042 | <visibility> |
---|
[9806] | 1043 | <EventListener event="guard2trigger4" /> |
---|
[9784] | 1044 | </visibility> |
---|
| 1045 | </events> |
---|
| 1046 | <templates> |
---|
| 1047 | <Template link=spaceshippirate /> |
---|
| 1048 | </templates> |
---|
| 1049 | <controller> |
---|
| 1050 | <WaypointController team=1> |
---|
| 1051 | <waypoints> |
---|
[9786] | 1052 | <Model mesh="cube.mesh" scale=0 position="-12000, -22700, 25700" /> |
---|
| 1053 | <Model mesh="cube.mesh" scale=0 position="-12000, -22000, 25000" /> |
---|
| 1054 | <Model mesh="cube.mesh" scale=0 position="-12000, -21300, 25700" /> |
---|
| 1055 | <Model mesh="cube.mesh" scale=0 position="-12000, -21000, 25000" /> |
---|
| 1056 | <Model mesh="cube.mesh" scale=0 position="-12000, -21300, 24300" /> |
---|
| 1057 | <Model mesh="cube.mesh" scale=0 position="-12000, -22000, 24000" /> |
---|
| 1058 | <Model mesh="cube.mesh" scale=0 position="-12000, -22700, 24300" /> |
---|
| 1059 | <Model mesh="cube.mesh" scale=0 position="-12000, -23000, 25000" /> |
---|
[9784] | 1060 | </waypoints> |
---|
| 1061 | <events> |
---|
| 1062 | <activity> |
---|
[9806] | 1063 | <EventListener event="guard2trigger4" /> |
---|
[9784] | 1064 | </activity> |
---|
| 1065 | </events> |
---|
| 1066 | </WaypointController> |
---|
| 1067 | </controller> |
---|
| 1068 | </SpaceShip> |
---|
| 1069 | |
---|
| 1070 | <!-- Additional pirates if the spion has warned the mainship --> |
---|
[9786] | 1071 | <SpaceShip position="-11700, -21700, 25000" lookat="-11000, -22000, 25000" name="lastGuard" visible="true" radarname="Pirate" > |
---|
[9784] | 1072 | <events> |
---|
| 1073 | <visibility> |
---|
[9806] | 1074 | <EventListener event="escaped" /> |
---|
[9784] | 1075 | </visibility> |
---|
| 1076 | </events> |
---|
| 1077 | <templates> |
---|
| 1078 | <Template link=spaceshippirate /> |
---|
| 1079 | </templates> |
---|
| 1080 | <controller> |
---|
| 1081 | <WaypointController team=1> |
---|
| 1082 | <waypoints> |
---|
[9786] | 1083 | <Model mesh="cube.mesh" scale=0 position="-11000, -22000, 25000" /> |
---|
| 1084 | <Model mesh="cube.mesh" scale=0 position="-11300, -22700, 25000" /> |
---|
| 1085 | <Model mesh="cube.mesh" scale=0 position="-12000, -23000, 25000" /> |
---|
| 1086 | <Model mesh="cube.mesh" scale=0 position="-12700, -22700, 25000" /> |
---|
| 1087 | <Model mesh="cube.mesh" scale=0 position="-13000, -22000, 25000" /> |
---|
| 1088 | <Model mesh="cube.mesh" scale=0 position="-12700, -21300, 25000" /> |
---|
| 1089 | <Model mesh="cube.mesh" scale=0 position="-12000, -21000, 25000" /> |
---|
| 1090 | <Model mesh="cube.mesh" scale=0 position="-11300, -21300, 25000" /> |
---|
[9784] | 1091 | </waypoints> |
---|
| 1092 | <events> |
---|
| 1093 | <activity> |
---|
[9806] | 1094 | <EventListener event="escaped" /> |
---|
[9784] | 1095 | </activity> |
---|
| 1096 | </events> |
---|
| 1097 | </WaypointController> |
---|
| 1098 | </controller> |
---|
| 1099 | </SpaceShip> |
---|
| 1100 | |
---|
[9786] | 1101 | <SpaceShip position="-12700, -22700, 25000" lookat="-13000, -22000, 25000" name="lastGuard" visible="true" radarname="Pirate" > |
---|
[9784] | 1102 | <events> |
---|
| 1103 | <visibility> |
---|
[9806] | 1104 | <EventListener event="escaped" /> |
---|
[9784] | 1105 | </visibility> |
---|
| 1106 | </events> |
---|
| 1107 | <templates> |
---|
| 1108 | <Template link=spaceshippirate /> |
---|
| 1109 | </templates> |
---|
| 1110 | <controller> |
---|
| 1111 | <WaypointController team=1> |
---|
| 1112 | <waypoints> |
---|
[9786] | 1113 | <Model mesh="cube.mesh" scale=0 position="-13000, -22000, 25000" /> |
---|
| 1114 | <Model mesh="cube.mesh" scale=0 position="-12700, -21300, 25000" /> |
---|
| 1115 | <Model mesh="cube.mesh" scale=0 position="-12000, -21000, 25000" /> |
---|
| 1116 | <Model mesh="cube.mesh" scale=0 position="-11300, -21300, 25000" /> |
---|
| 1117 | <Model mesh="cube.mesh" scale=0 position="-11000, -22000, 25000" /> |
---|
| 1118 | <Model mesh="cube.mesh" scale=0 position="-11300, -22700, 25000" /> |
---|
| 1119 | <Model mesh="cube.mesh" scale=0 position="-12000, -23000, 25000" /> |
---|
| 1120 | <Model mesh="cube.mesh" scale=0 position="-12700, -22700, 25000" /> |
---|
[9784] | 1121 | </waypoints> |
---|
| 1122 | <events> |
---|
| 1123 | <activity> |
---|
[9806] | 1124 | <EventListener event="escaped" /> |
---|
[9784] | 1125 | </activity> |
---|
| 1126 | </events> |
---|
| 1127 | </WaypointController> |
---|
| 1128 | </controller> |
---|
| 1129 | </SpaceShip> |
---|
| 1130 | |
---|
| 1131 | |
---|
[9718] | 1132 | <!-- ----------------------------------------------------- --> |
---|
| 1133 | |
---|
| 1134 | <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"/> |
---|
| 1135 | |
---|
[9778] | 1136 | |
---|
[9758] | 1137 | <!-- ASTEROIDS & ASTEROID-FIELDS --> |
---|
[9718] | 1138 | |
---|
[9778] | 1139 | <!-- Asteroids --> |
---|
[9758] | 1140 | |
---|
[9822] | 1141 | <Model position="9800, -5000, 5700" |
---|
| 1142 | yaw="90" |
---|
| 1143 | pitch="-90" |
---|
| 1144 | roll="0" |
---|
| 1145 | scale="300" |
---|
| 1146 | mesh="asteroid_ice.mesh" /> |
---|
[9758] | 1147 | |
---|
[9778] | 1148 | <!-- triple large belt around the planet --> |
---|
[9758] | 1149 | <?lua |
---|
| 1150 | dofile("includes/asteroidField.lua") |
---|
| 1151 | asteroidBelt(2000, -250, 9000, 30, 0, 30, 30, 50, 7190, 7800, 250, 1) |
---|
| 1152 | ?> |
---|
| 1153 | |
---|
| 1154 | <?lua |
---|
| 1155 | dofile("includes/asteroidField.lua") |
---|
| 1156 | asteroidBelt(2000, -250, 9000, 30, 0, 30, 30, 50, 10000, 11000, 300, 1) |
---|
| 1157 | ?> |
---|
| 1158 | |
---|
| 1159 | <?lua |
---|
| 1160 | dofile("includes/asteroidField.lua") |
---|
| 1161 | asteroidBelt(2000, -250, 9000, 30, 0, 30, 30, 50, 14000, 15000, 350, 1) |
---|
| 1162 | ?> |
---|
| 1163 | |
---|
[9778] | 1164 | <!-- other asteroid fileds --> |
---|
[9718] | 1165 | |
---|
[9778] | 1166 | <!-- left before guard 1 --> |
---|
| 1167 | <?lua |
---|
| 1168 | dofile("includes/asteroidField.lua") |
---|
| 1169 | asteroidField(-5000, -5000, -20000, 20, 50, 10000, 200, 0) |
---|
| 1170 | ?> |
---|
[9735] | 1171 | |
---|
[9778] | 1172 | <!-- left behind guard 1 --> |
---|
| 1173 | <?lua |
---|
| 1174 | dofile("includes/asteroidField.lua") |
---|
| 1175 | asteroidField(20000, -10000, -12000, 30, 100, 10000, 200, 0) |
---|
| 1176 | ?> |
---|
[9735] | 1177 | |
---|
[9778] | 1178 | <!-- between guard 2 & mainship --> |
---|
| 1179 | <!-- Core --> |
---|
| 1180 | <?lua |
---|
| 1181 | dofile("includes/asteroidField.lua") |
---|
| 1182 | asteroidField(-5000, -10000, 30000, 10, 700, 8000, 80, 0) |
---|
| 1183 | ?> |
---|
[9741] | 1184 | |
---|
[9778] | 1185 | <!-- Peripherie --> |
---|
| 1186 | <?lua |
---|
| 1187 | dofile("includes/asteroidField.lua") |
---|
| 1188 | asteroidField(-5000, -10000, 30000, 10, 50, 10000, 100, 0) |
---|
| 1189 | ?> |
---|
[9735] | 1190 | |
---|
[9778] | 1191 | <?lua |
---|
| 1192 | dofile("includes/asteroidField.lua") |
---|
| 1193 | asteroidBelt(-10000, -12500, 0, 0, 0, 30, 30, 500, 0, 7850, 150, 0) |
---|
| 1194 | ?> |
---|
[9741] | 1195 | |
---|
[9758] | 1196 | <!-- PLANETS --> |
---|
[9741] | 1197 | |
---|
[9778] | 1198 | <Planet position="2000,-250,9000" |
---|
| 1199 | scale=5000 |
---|
| 1200 | pitch=1 |
---|
| 1201 | mesh="iceplanet.mesh" |
---|
| 1202 | atmosphere="atmosphere1" |
---|
| 1203 | rotationaxis="1,1,0" |
---|
| 1204 | rotationrate="0.5" |
---|
| 1205 | atmospheresize=224.0f |
---|
[9822] | 1206 | imagesize=1024.0f |
---|
| 1207 | mass="10000000" |
---|
| 1208 | angularDamping=0 |
---|
| 1209 | collisiondamage=2 |
---|
| 1210 | enablecollisiondamage=true |
---|
| 1211 | collisionType="dynamic" /> |
---|
[9718] | 1212 | |
---|
[9822] | 1213 | |
---|
[9778] | 1214 | <BlinkingBillboard position="-7000,-10000,42000" color="1,1,1" frequency=0.6 amplitude=100 material="Examples/Flare" > |
---|
| 1215 | <events> |
---|
| 1216 | <visibility> |
---|
| 1217 | <EventTrigger> |
---|
| 1218 | <events> |
---|
| 1219 | <trigger> |
---|
| 1220 | <EventListener event="spion" /> |
---|
| 1221 | </trigger> |
---|
| 1222 | </events> |
---|
| 1223 | </EventTrigger> |
---|
| 1224 | </visibility> |
---|
| 1225 | </events> |
---|
| 1226 | </BlinkingBillboard> |
---|
[9743] | 1227 | |
---|
[9778] | 1228 | |
---|
[9718] | 1229 | <!-- ----------------Rotating SpaceStation--------------- --> |
---|
| 1230 | |
---|
[9778] | 1231 | <!-- first guard --> |
---|
[9822] | 1232 | <Pawn team=1 health=50000 position="9000,0,0" direction="0,-1,0" yaw=112 pitch=67 collisionType=dynamic mass=100000 name=station1 radarname="Guard 1" > |
---|
| 1233 | <events> |
---|
| 1234 | <visibility> |
---|
| 1235 | <EventListener event=spawntrigger2 /> |
---|
| 1236 | </visibility> |
---|
| 1237 | </events> |
---|
| 1238 | <attached> |
---|
| 1239 | <?lua |
---|
| 1240 | createSpaceStationPar(0,2,1,2,1,4,1,50) |
---|
| 1241 | ?> |
---|
| 1242 | </attached> |
---|
| 1243 | <collisionShapes> |
---|
| 1244 | <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" /> |
---|
| 1245 | </collisionShapes> |
---|
| 1246 | </Pawn> |
---|
[9718] | 1247 | |
---|
[9778] | 1248 | <!-- second guard --> |
---|
[9822] | 1249 | <StaticEntity position="18000,5000,18000" yaw=12 pitch=75> |
---|
[9778] | 1250 | <attached> |
---|
| 1251 | <?lua |
---|
| 1252 | createSpaceStationPar(0,2,1,2,1,4,1,50) |
---|
| 1253 | ?> |
---|
| 1254 | </attached> |
---|
| 1255 | </StaticEntity> |
---|
[9718] | 1256 | |
---|
[9741] | 1257 | <!-- ------------------------- Mainship ------------------ --> |
---|
[9822] | 1258 | <Pawn team=1 health=50000 position="13500, 2500, 13000" direction="0,-1,0" collisionType=dynamic mass=100000 name=box radarname = "Mainship" yaw=112 pitch=67> |
---|
| 1259 | <events> |
---|
| 1260 | <visibility> |
---|
| 1261 | <EventListener event=spawntrigger2 /> |
---|
| 1262 | </visibility> |
---|
| 1263 | </events> |
---|
| 1264 | <attached> |
---|
| 1265 | <?lua |
---|
| 1266 | createSpaceStationPar(0,2,1,2,1,4,1,50) |
---|
| 1267 | ?> |
---|
| 1268 | </attached> |
---|
| 1269 | <collisionShapes> |
---|
| 1270 | <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" /> |
---|
| 1271 | </collisionShapes> |
---|
| 1272 | </Pawn> |
---|
[9758] | 1273 | |
---|
[9735] | 1274 | |
---|
[9822] | 1275 | <!-- "-12000, -22000, 25000" --> |
---|
[9741] | 1276 | |
---|
[9822] | 1277 | |
---|
[9718] | 1278 | </Scene> |
---|
| 1279 | </Level> |
---|
| 1280 | |
---|