Changeset 9990 for code/trunk
- Timestamp:
- Jan 27, 2014, 7:54:29 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/data/levels/iiJohnVane_Area51UnderFire.oxw
r9943 r9990 1 <!-- (ii) John Vane : Trip to Area 51 -->1 <!-- (ii) John Vane : Trip to Area 51 --> 2 2 3 3 <!-- … … 57 57 /> 58 58 59 <Scene59 <Scene 60 60 ambientlight = "0.8, 0.8, 0.8" 61 61 skybox = "Orxonox/Starbox" … … 63 63 <?lua include("includes/pickups.oxi") ?> 64 64 65 <Script code="showGUI NotificationLayer false true" needsGraphics="true" />66 <OverlayGroup name="spacefightHUD" scale = "1, 1">67 <CountDown68 position = "0.51, 0.05"69 pickpoint = "0.0, 0.0"70 font = "ShareTechMono"71 textsize = 0.172 colour = "1.0, 1.0, 1.0, 1.0"73 align = "center"74 counter = "10.0"75 speedfactor = "1.0"76 active = "false"77 >78 <events>79 <activity>80 <EventListener event="timer1" />81 </activity>82 </events>83 </CountDown>84 </OverlayGroup>65 <Script code="showGUI NotificationLayer false true" needsGraphics="true" /> 66 <OverlayGroup name="spacefightHUD" scale = "1, 1"> 67 <CountDown 68 position = "0.51, 0.05" 69 pickpoint = "0.0, 0.0" 70 font = "ShareTechMono" 71 textsize = 0.1 72 colour = "1.0, 1.0, 1.0, 1.0" 73 align = "center" 74 counter = "10.0" 75 speedfactor = "1.0" 76 active = "false" 77 > 78 <events> 79 <activity> 80 <EventListener event="timer1" /> 81 </activity> 82 </events> 83 </CountDown> 84 </OverlayGroup> 85 85 86 86 <!-- SPAWNTRIGGER --> 87 88 87 <!-- StartPoint --> 88 <SpawnPoint team=0 position="0, 0, 0" lookat="100, 0, 0" spawnclass=SpaceShip pawndesign=spaceshipcollateraldamage > 89 89 <events> 90 90 <activity> … … 92 92 </activity> 93 93 </events> 94 </SpawnPoint> 95 96 <EventTrigger name="flying12" invert="true" > 97 <events> 98 <trigger> 99 <EventListener event="flying1" /> 100 </trigger> 94 </SpawnPoint> 95 <Billboard position="-10,0,0" material="Portals/Default" /> 96 97 <EventTrigger name="flying12" invert="true" > 98 <events> 99 <trigger> 100 <EventListener event="flying1" /> 101 </trigger> 101 102 </events> 102 103 104 105 106 103 </EventTrigger> 104 105 <!-- Second Spawnpoint (after first guard) --> 106 <SpawnPoint team=0 position="13500, 2500, 10500" lookat="18000,5000,18000" spawnclass=SpaceShip pawndesign=spaceshipcollateraldamage > 107 <events> 107 108 <activity> 108 109 110 111 112 113 114 115 116 117 109 <EventTrigger> 110 <EventTrigger invert=true > 111 <events> 112 <trigger> 113 <EventListener event="reached" /> 114 </trigger> 115 </events> 116 </EventTrigger> 117 <events> 118 <trigger> 118 119 <EventListener event="flying1" /> 119 120 121 120 </trigger> 121 </events> 122 </EventTrigger> 122 123 </activity> 123 124 </events> 124 125 </SpawnPoint> 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 perhaps you find something useful there...172 173 174 completeMessage="Your ship is prepared bestfor the second and last guard on the way to the mainship.175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 126 127 <!-- Thirth Spawnpoint (when reached Captain Hood) --> 128 <SpawnPoint team=0 position="-4000, -18000, 19000" lookat="-12000, -22000, 25000" spawnclass=SpaceShip pawndesign=spaceshipcollateraldamage > 129 <events> 130 <activity> 131 <EventTrigger> 132 <EventTrigger invert=true > 133 <events> 134 <trigger> 135 <EventListener event="timerEnd" /> 136 </trigger> 137 </events> 138 </EventTrigger> 139 <events> 140 <trigger> 141 <EventListener event="reached" /> 142 </trigger> 143 </events> 144 </EventTrigger> 145 </activity> 146 </events> 147 </SpawnPoint> 148 149 <!-- Distance-Spawn-Trigger --> 150 <DistanceTrigger name=spawntrigger2 position="0, 0, 0" target="SpaceShip" distance=10 stayActive="true" delay=0 /> 151 152 <!-- Drone pickup --> 153 <PickupSpawner pickup=dronepickup position="9750, -5350, 5650" triggerDistance="100" respawnTime="30" maxSpawnedItems="2" /> 154 155 <!-- QUEST DESCRIPTION --> 156 <LocalQuest id="spacefight.guard1"> 157 <QuestDescription 158 title="The first guard!" 159 description="You've reached the enemys Station and they haven't seen you yet. 160 161 Ahead you see the first little patrol. 162 There are two little battleships and also two unarmed ships. 163 The unarmed could not attack you. So first destroy the battleships!" 164 failMessage="You've lost all your ships!" 165 completeMessage="Well done!" /> 166 </LocalQuest> 167 168 <LocalQuest id="spacefight.upgrade1"> 169 <QuestDescription 170 title="Prepare for the fight (optional)" 171 description="Your friends has an arsenal left behind near by your position. 172 Perhaps you find something useful there... 173 Hint: look for a big asteroid." 174 failMessage="You've lost all your ships!" 175 completeMessage="Your ship is well prepared for the second and last guard on the way to the mainship. 176 Now attack the second guard!" /> 177 </LocalQuest> 178 179 <!-- Quest-Problem: Quests couldn't be started and completed -- 180 <LocalQuest id="spacefight.guard2"> 181 <QuestDescription 182 title="The second guard!" 183 description="There is also a second guard. The blinking light shows you the direction. 184 Destroy also this guard!" 185 failMessage="You've lost all your ships!" 186 completeMessage="" /> 187 </LocalQuest> 188 189 <LocalQuest id="spacefight.escape"> 190 <QuestDescription 191 title="Catch the messenger!" 192 description="A messenger is on the way to warn the troups of the mainship. 193 Destroy him before he is near by the mainship. 194 Else the fight against the enemys troups will be much more difficult." 195 failMessage="The messenger has reached the mainship. 196 Prepare to fight against a strong enmey!" 197 completeMessage="Well done! Now the element of surprise will be ours!" /> 198 </LocalQuest> 199 200 <!-- 2 different possibilitys -- 201 <!-- Spion is destroyed -- 202 <LocalQuest id="spacefight.mainfight(min)" > 203 <QuestDescription 204 title="The big fight!" 205 description="Now the time is come! 206 You've done all you can to prepare you for this spacebattle. 207 Let us see, if it was enough. 208 209 ATTACK!!!" 210 failMessage="You've lost all your ships!" 211 completeMessage="YEEEHAAA! 212 You managed it! For that you will get the golden medal of the united space armies." /> 213 <complete-effects> 214 <AddQuest questId="spacefight.rescue" /> 215 </complete-effects> 216 </LocalQuest> 217 218 <!-- Spion isn't destroyed -- 219 <LocalQuest id="spacefight.mainfight(max)" > 220 <QuestDescription 221 title="The big fight!" 222 description="Now the time is come! 223 You've done all you can to prepare you for this spacebattle. 224 Unfortunately the spion has alert the mainship. So the soldiers will also be prepared for you. 225 But you can manage it. 226 Good luck!" 227 failMessage="You've lost all your ships!" 228 completeMessage="YEEEHAAA! 229 You managed it! For that you will get the golden medal of the united space armies." /> 230 <complete-effects> 231 <AddQuest questId="spacefight.rescue" /> 232 </complete-effects> 233 </LocalQuest> 234 235 <LocalQuest id="spacefight.rescue" > 236 <QuestDescription 237 title="Rescue and place the bomb" 238 description="Now you have to free the commander and place a bomb in the pirates' mainship." 239 failMessage="You've lost all your ships!" 240 completeMessage="" /> 241 <complete-effects> 242 <AddQuest questId="spacefight.moveAway" /> 243 </complete-effects> 244 </LocalQuest> 245 246 <LocalQuest id="spacefight.moveAway" > 247 <QuestDescription 248 title="Get away!" 249 description="Get away of the mainship before the bomb detonates." 250 failMessage="You've lost all your ships!" 251 completeMessage="Done!" /> 252 </LocalQuest> 253 254 <!-- End of Mission --> 255 255 256 <!-- ---------------------------------------------------------------------- --> 256 257 <!-- QuestEffectBeacon's (not all necessary, because not all Quests work --> 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 258 <!-- START --> 259 <QuestEffectBeacon times=0> 260 <effects> 261 <AddQuest questId="spacefight.guard1" /> 262 </effects> 263 <events> 264 <execute> 265 <EventListener event=spawntrigger2 /> 266 </execute> 267 </events> 268 </QuestEffectBeacon> 269 270 <QuestEffectBeacon times=0> 271 <events> 272 <execute> 273 <EventListener event="flying1" /> 274 </execute> 275 </events> 276 <effects> 277 <CompleteQuest questId="spacefight.guard1" /> 278 </effects> 279 </QuestEffectBeacon> 280 281 <SimpleNotification message="Houston: Well done!" broadcast="true"> 282 <events> 283 <trigger> 284 <EventListener event="flying1" /> 285 </trigger> 286 </events> 287 </SimpleNotification> 288 289 <EventTrigger name="flying1delay" activations="1" stayactive="true" delay=5.1 > 290 <events> 291 <trigger> 292 <EventListener event="flying1" /> 293 </trigger> 294 </events> 295 </EventTrigger> 296 297 <SimpleNotification message="Houston: The green light shows you the way!" broadcast="true" > 298 <events> 299 <trigger> 300 <EventListener event="flying1delay" /> 301 </trigger> 302 </events> 303 </SimpleNotification> 304 305 <!-- Is activ at flying 1 and again inactive when flying2--> 306 <BlinkingBillboard position="11000, 1000, 7000" colour="0.0, 1.0, 0.0" frequency=0.5 amplitude=10 material="Examples/Flare" > 307 <events> 308 <visibility> 309 <EventTrigger> 310 <EventTrigger invert=true> 311 <events> 312 <trigger> 313 <EventListener event="flying2" /> 314 </trigger> 315 </events> 316 </EventTrigger> 316 317 <events> 317 318 <trigger> … … 319 320 </trigger> 320 321 </events> 321 322 </EventTrigger> 322 323 </visibility> 323 324 </events> 324 325 326 327 328 329 330 331 332 333 334 335 336 </QuestEffectBeacon> 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 </execute> 369 370 371 372 373 374 375 376 377 378 379 </execute> 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 325 </BlinkingBillboard> 326 327 <!-- Drone (optional quest) --> 328 <QuestEffectBeacon times=0> 329 <effects> 330 <AddQuest questId="spacefight.upgrade1" /> 331 </effects> 332 <events> 333 <execute> 334 <EventListener event="droneTrigger" /> 335 </execute> 336 </events> 337 </QuestEffectBeacon> 338 339 <QuestEffectBeacon times=0> 340 <effects> 341 <CompleteQuest questId="spacefight.upgrade1" /> 342 </effects> 343 <events> 344 <execute> 345 <EventListener event="drone1" /> 346 </execute> 347 </events> 348 </QuestEffectBeacon> 349 350 <QuestEffectBeacon times=0> 351 <effects> 352 <CompleteQuest questId="spacefight.upgrade1" /> 353 </effects> 354 <events> 355 <execute> 356 <EventListener event="victory" /> 357 </execute> 358 </events> 359 </QuestEffectBeacon> 360 361 <!-- Guard 2 --> 362 <QuestEffectBeacon times=0> 363 <effects> 364 <AddQuest questId="spacefight.guard2" /> 365 </effects> 366 <events> 367 <execute> 368 <EventListener event="droneTrigger" /> 369 </execute> 370 </events> 371 </QuestEffectBeacon> 372 373 <QuestEffectBeacon times=0> 374 <effects> 375 <CompleteQuest questId="spacefight.guard2" /> 376 </effects> 377 <events> 378 <execute> 379 <EventListener event="flying2" /> 380 </execute> 381 </events> 382 </QuestEffectBeacon> 383 384 <!-- ESCAPE --> 385 <SimpleNotification message="Houston: A scout is startet to the mainship!" broadcast="true"> 386 <events> 387 <trigger> 388 <EventListener event="guard2trigger1" /> 389 </trigger> 390 </events> 391 </SimpleNotification> 392 393 <QuestEffectBeacon times=0> 394 <effects> 395 <AddQuest questId="spacefight.escape" /> 396 </effects> 397 <events> 398 <execute> 399 <EventListener event="escape10" /> 400 </execute> 401 </events> 402 </QuestEffectBeacon> 403 404 <!-- ESCAPE ENDING --> 405 <!-- Spion escaped --> 406 <QuestEffectBeacon times=0> 407 <effects> 408 <CompleteQuest questId="spacefight.escape" /> 409 <AddQuest questId="spacefight.mainfight(max)" /> 410 </effects> 411 <events> 412 <execute> 413 <EventListener event="spionTrigger" /> 414 </execute> 415 </events> 416 </QuestEffectBeacon> 417 418 <!-- Spion destroyed --> 419 <QuestEffectBeacon> 420 <effects> 421 <CompleteQuest questId="spacefight.escape" /> 422 <AddQuest questId="spacefight.mainfight(min)" /> 423 </effects> 424 <events> 425 <execute> 426 <EventListener event="spion5" /> 427 </execute> 428 </events> 429 </QuestEffectBeacon> 430 431 <!-- LAST FIGHT --> 432 <!-- Spion destroyed --> 433 <QuestEffectBeacon> 434 <effects> 435 <CompleteQuest questId="spacefight.mainfight(min)" /> 436 </effects> 437 <events> 438 <execute> 439 <EventListener event="guard3trigger4" /> 440 </execute> 441 </events> 442 </QuestEffectBeacon> 443 444 <!-- Spion escaped --> 445 <QuestEffectBeacon> 446 <effects> 447 <CompleteQuest questId="spacefight.mainfight(max)" /> 448 </effects> 449 <events> 450 <execute> 451 <EventListener event="guard3trigger6" /> 452 </execute> 453 </events> 454 </QuestEffectBeacon> 455 456 <!-- COMMANDER RESCUE --> 457 <QuestEffectBeacon> 458 <effects> 459 <CompleteQuest questId="spacefight.rescue" /> 460 </effects> 461 <events> 462 <execute> 463 <EventListener event="dock" /> 464 </execute> 465 </events> 466 </QuestEffectBeacon> 467 468 <!-- FLY AWAY --> 469 <QuestEffectBeacon> 470 <effects> 471 <CompleteQuest questId="spacefight.moveAway" /> 472 </effects> 473 <events> 474 <execute> 475 <EventListener event="" /> 476 </execute> 477 </events> 478 </QuestEffectBeacon> 479 480 <!-- End with explosion --> 480 481 481 482 <!-- ---------------------------------------------------------------------- --> 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 483 <!-- Helper-Trigger for first guard --> 484 <EventTrigger name="spawntrigger2Delay" stayactive="true" delay=2 > 485 <events> 486 <trigger> 487 <EventListener event=spawntrigger2 /> 488 </trigger> 489 </events> 490 </EventTrigger> 491 492 <SimpleNotification message="Houston: Attack the first guard!" broadcast="true"> 493 <events> 494 <trigger> 495 <EventListener event="spawntrigger2Delay" /> 496 </trigger> 497 </events> 498 </SimpleNotification> 499 500 <DistanceTrigger name="flying1" position="9000, 0, 0" target="SpaceShip" distance=10000 stayActive="true" delay=0.1 > 501 <EventTrigger> 502 <events> 503 <trigger> 504 <EventListener event="guard1trigger4" /> 505 </trigger> 506 </events> 507 </EventTrigger> 508 </DistanceTrigger> 509 510 <!-- Trigger to activate the upgrade1-Quest --> 511 <DistanceTrigger name="droneTrigger" position="11000, 1000, 7000" target="SpaceShip" distance=2000 stayActive="true" delay=0.1 /> 512 <SimpleNotification message="Houston: Need an Upgrade?" broadcast="true"> 513 <events> 514 <trigger> 515 <EventListener event="droneTrigger" /> 516 </trigger> 517 </events> 518 </SimpleNotification> 519 520 <EventTrigger name="droneTriggerDelay" stayactive="true" delay=5 > 521 <events> 522 <trigger> 523 <EventListener event="droneTrigger" /> 524 </trigger> 525 </events> 526 </EventTrigger> 527 528 <SimpleNotification message="Houston: Search the drone!" broadcast="true" > 529 <events> 530 <trigger> 531 <EventListener event="droneTriggerDelay" /> 532 </trigger> 533 </events> 534 </SimpleNotification> 535 536 <EventTrigger name="droneTriggerDelay2" stayactive="true" delay=5 > 537 <events> 538 <trigger> 539 <EventListener event="droneTriggerDelay" /> 540 </trigger> 541 </events> 542 </EventTrigger> 543 544 <SimpleNotification message="Houston: Else you see the second guard ahead..." broadcast="true" > 545 <events> 546 <trigger> 547 <EventListener event="droneTriggerDelay2" /> 548 </trigger> 549 </events> 550 </SimpleNotification> 551 552 553 <!-- Helper-Trigger for the drone --> 554 <DistanceTrigger name="drone1" position="9750, -5350, 5650" target="SpaceShip" distance=100 stayActive="true" delay=0.1 /> 555 <SimpleNotification message="Houston: Now your are prepared best!" broadcast="true"> 556 <events> 557 <trigger> 558 <EventListener event="drone1" /> 559 </trigger> 560 </events> 561 </SimpleNotification> 562 563 <EventTrigger name="drone1Delay" stayactive="true" delay=5.1 > 564 <events> 565 <trigger> 566 <EventListener event="drone1" /> 567 </trigger> 568 </events> 569 </EventTrigger> 570 571 <SimpleNotification message="Houston: Fly back to the green light." broadcast="true"> 572 <events> 573 <trigger> 574 <EventListener event="drone1Delay" /> 575 </trigger> 576 </events> 577 </SimpleNotification> 578 579 <Trigger name="secondDroneTrigger" mode="and" stayActive="true"> 580 <DistanceTrigger name="droneTrigger" position="11000, 1000, 7000" target="SpaceShip" distance=1000 stayActive="true" delay=0.1 /> 580 581 <EventTrigger> 581 582 <events> … … 587 588 </Trigger> 588 589 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 </DistanceTrigger> 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 590 <SimpleNotification message="Houston: The red light shows you the direction." broadcast="true"> 591 <events> 592 <trigger> 593 <EventListener event="secondDroneTrigger" /> 594 </trigger> 595 </events> 596 </SimpleNotification> 597 598 <BlinkingBillboard position="12000, 1500, 10000" colour="1.0, 0.0, 0.0" frequency=0.5 amplitude=5 material="Examples/Flare" > 599 <events> 600 <visibility> 601 <EventTrigger> 602 <EventTrigger invert=true> 603 <events> 604 <trigger> 605 <EventListener event="guard2trigger1" /> 606 </trigger> 607 </events> 608 </EventTrigger> 609 <events> 610 <trigger> 611 <EventListener event="secondDroneTrigger" /> 612 </trigger> 613 </events> 614 </EventTrigger> 615 </visibility> 616 </events> 617 </BlinkingBillboard> 618 619 <!-- Helper-Trigger for second guard --> 620 <DistanceTrigger name="flying2" position="17000,5000,15000" target="SpaceShip" distance=20000 stayActive="true" delay=0 > 621 <EventTrigger> 622 <events> 623 <trigger> 624 <EventListener event="guard2trigger4" /> 625 </trigger> 626 </events> 627 </EventTrigger> 628 </DistanceTrigger> 629 630 <SimpleNotification message="Houston: Well done!" broadcast="true"> 631 <events> 632 <trigger> 633 <EventListener event="flying2" /> 634 </trigger> 635 </events> 636 </SimpleNotification> 637 638 <Trigger name="guard2withoutScout" mode="and" stayActive="true" delay=0 > 639 <EventTrigger activations="1" > 640 <events> 641 <trigger> 642 <EventListener event="flying2" /> 643 </trigger> 644 </events> 645 </EventTrigger> 646 <EventTrigger activations="1" invert="true" > 647 <events> 648 <trigger> 649 <EventListener event="spionEnd" /> 650 </trigger> 651 </events> 652 </EventTrigger> 653 </Trigger> 654 655 <EventTrigger name="flying2delay1" activations="1" stayactive="true" delay=5 > 656 <events> 657 <trigger> 658 <EventListener event="guard2withoutScout" /> 659 </trigger> 660 </events> 661 </EventTrigger> 662 663 <SimpleNotification message="Houston: Catch the scout!" broadcast="true" > 664 <events> 665 <trigger> 666 <EventListener event="flying2delay1" /> 667 </trigger> 668 </events> 669 </SimpleNotification> 670 671 <EventTrigger name="flying2delay2" activations="1" stayactive="true" delay=5 > 672 <events> 673 <trigger> 674 <EventListener event="flying2delay1" /> 675 </trigger> 676 </events> 677 </EventTrigger> 678 679 <SimpleNotification message="Houston: Before he reachs the red light..." broadcast="true" > 680 <events> 681 <trigger> 682 <EventListener event="flying2delay2" /> 683 </trigger> 684 </events> 685 </SimpleNotification> 686 687 <!-- DistanceTrigger for scout --> 688 <Trigger name="spionTrigger" mode="and" stayActive="true"> 689 <DistanceTrigger position="14000, 1000, 22000" target="SpaceShip" distance=50 stayActive="true" delay=0.1 /> 689 690 <EventTrigger activations="1" invert="true"> 690 691 <events> … … 696 697 </Trigger> 697 698 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 </EventTrigger> 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 </EventTrigger> 860 861 862 863 864 865 866 867 </SimpleNotification> 868 869 870 871 872 873 874 875 </EventTrigger> 876 877 878 879 880 881 882 883 </SimpleNotification> 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 699 <SimpleNotification message="Houston: Scout is arrived!" broadcast="true"> 700 <events> 701 <trigger> 702 <EventListener event="spionTrigger" /> 703 </trigger> 704 </events> 705 </SimpleNotification> 706 707 <EventTrigger name="spionTriggerDelay" stayactive="true" delay=5 > 708 <events> 709 <trigger> 710 <EventListener event="spionTrigger" /> 711 </trigger> 712 </events> 713 </EventTrigger> 714 715 <SimpleNotification message="Houston: Now the mainship is alarmed..." broadcast="true"> 716 <events> 717 <trigger> 718 <EventListener event="spionTriggerDelay" /> 719 </trigger> 720 </events> 721 </SimpleNotification> 722 723 <BlinkingBillboard position="14000, 1000, 22000" colour="1.0, 0.0, 0.0" frequency=0.3 amplitude=7 material="Examples/Flare" > 724 <events> 725 <visibility> 726 <EventTrigger> 727 <EventTrigger invert=true> 728 <events> 729 <trigger> 730 <EventListener event="spionEnd" /> 731 </trigger> 732 </events> 733 </EventTrigger> 734 <events> 735 <trigger> 736 <EventListener event="guard2trigger1" /> 737 </trigger> 738 </events> 739 </EventTrigger> 740 </visibility> 741 </events> 742 </BlinkingBillboard> 743 744 <!-- If scout destroyed --> 745 <SimpleNotification message="Houston: Scout destroyed!" broadcast="true"> 746 <events> 747 <trigger> 748 <EventListener event="spion5" /> 749 </trigger> 750 </events> 751 </SimpleNotification> 752 753 <Trigger name="scoutDestroydAddon" mode="and" stayActive="true" delay=5 > 754 <EventTrigger activations="1" > 755 <events> 756 <trigger> 757 <EventListener event="spion5" /> 758 </trigger> 759 </events> 760 </EventTrigger> 761 <EventTrigger activations="1" > 762 <events> 763 <trigger> 764 <EventListener event="spionTrigger" /> 765 </trigger> 766 </events> 767 </EventTrigger> 768 </Trigger> 769 770 <SimpleNotification message="Houston: But the mainship is already warned." broadcast="true"> 771 <events> 772 <trigger> 773 <EventListener event="scoutDestroydAddon" /> 774 </trigger> 775 </events> 776 </SimpleNotification> 777 778 <!-- Scout end --> 779 <Trigger name="spionEnd" mode="or" stayActive="true" delay=0 > 780 <EventTrigger> 781 <events> 782 <trigger> 783 <EventListener event="spion5" /> 784 </trigger> 785 </events> 786 </EventTrigger> 787 <EventTrigger> 788 <events> 789 <trigger> 790 <EventListener event="spionTrigger" /> 791 </trigger> 792 </events> 793 </EventTrigger> 794 </Trigger> 795 796 <EventTrigger name="spionEndDelay" activations="1" delay=5> 797 <events> 798 <trigger> 799 <EventListener event="spionEnd" /> 800 </trigger> 801 </events> 802 </EventTrigger> 803 804 <!-- Intro to Captain Hood --> 805 <Trigger name="introHood" mode="and" stayActive="true"> 806 <EventTrigger activations="1" > 807 <events> 808 <trigger> 809 <EventListener event="spionEndDelay" /> 810 </trigger> 811 </events> 812 </EventTrigger> 813 <EventTrigger activations="1" > 814 <events> 815 <trigger> 816 <EventListener event="guard2trigger4" /> 817 </trigger> 818 </events> 819 </EventTrigger> 820 </Trigger> 821 822 <EventTrigger name="introHoodDelay1" activations="1" stayactive="true" delay=5 > 823 <events> 824 <trigger> 825 <EventListener event="introHood" /> 826 </trigger> 827 </events> 828 </EventTrigger> 829 830 <SimpleNotification message="Houston: Your friend, Captain Hood, is" broadcast="true"> 831 <events> 832 <trigger> 833 <EventListener event="introHoodDelay1.2" /> 834 </trigger> 835 </events> 836 </SimpleNotification> 837 838 <EventTrigger name="introHoodDelay1.2" activations="1" stayactive="true" delay=0.1 > 839 <events> 840 <trigger> 841 <EventListener event="introHoodDelay1" /> 842 </trigger> 843 </events> 844 </EventTrigger> 845 846 <SimpleNotification message="near by you!" broadcast="true"> 847 <events> 848 <trigger> 849 <EventListener event="introHoodDelay1" /> 850 </trigger> 851 </events> 852 </SimpleNotification> 853 854 <EventTrigger name="introHoodDelay2" activations="1" stayactive="true" delay=5.1 > 855 <events> 856 <trigger> 857 <EventListener event="introHoodDelay1" /> 858 </trigger> 859 </events> 860 </EventTrigger> 861 862 <SimpleNotification message="Houston: He'll show you the way" broadcast="true"> 863 <events> 864 <trigger> 865 <EventListener event="introHoodDelay2.2" /> 866 </trigger> 867 </events> 868 </SimpleNotification> 869 870 <EventTrigger name="introHoodDelay2.2" activations="1" stayactive="true" delay=0.1 > 871 <events> 872 <trigger> 873 <EventListener event="introHoodDelay2" /> 874 </trigger> 875 </events> 876 </EventTrigger> 877 878 <SimpleNotification message="to the mainship!" broadcast="true"> 879 <events> 880 <trigger> 881 <EventListener event="introHoodDelay2" /> 882 </trigger> 883 </events> 884 </SimpleNotification> 885 886 <!-- Helper-Trigger for Captain Hood --> 887 <DistanceTrigger name="reached" position="10000, 2000, 17000" target="SpaceShip" distance=1000 stayActive="true" delay=0.1 > 888 <EventTrigger> 889 <events> 890 <trigger> 891 <EventListener event="guard2trigger4" /> 892 </trigger> 893 </events> 894 </EventTrigger> 895 </DistanceTrigger> 896 897 <SimpleNotification message="Houston: Follow Captain Hood!" broadcast="true"> 898 <events> 899 <trigger> 900 <EventListener event="reached" /> 901 </trigger> 902 </events> 903 </SimpleNotification> 904 905 <EventTrigger name="reachedDelay1" activations="1" stayactive="true" delay=5 > 906 <events> 907 <trigger> 908 <EventListener event="reached" /> 909 </trigger> 910 </events> 911 </EventTrigger> 912 913 <SimpleNotification message="Hood: Hello my friend!" broadcast="true"> 914 <events> 915 <trigger> 916 <EventListener event="reachedDelay1" /> 917 </trigger> 918 </events> 919 </SimpleNotification> 920 921 <EventTrigger name="reachedDelay2" activations="1" stayactive="true" delay=7 > 922 <events> 923 <trigger> 924 <EventListener event="reachedDelay1" /> 925 </trigger> 926 </events> 927 </EventTrigger> 928 929 <SimpleNotification message="Hood: Good work at the first two guards..." broadcast="true"> 930 <events> 931 <trigger> 932 <EventListener event="reachedDelay2" /> 933 </trigger> 934 </events> 935 </SimpleNotification> 936 937 <EventTrigger name="reachedDelay3" activations="1" stayactive="true" delay=7 > 938 <events> 939 <trigger> 940 <EventListener event="reachedDelay2" /> 941 </trigger> 942 </events> 943 </EventTrigger> 944 945 <SimpleNotification message="Hood: But the heaviest part is waiting" broadcast="true"> 946 <events> 947 <trigger> 948 <EventListener event="reachedDelay4" /> 949 </trigger> 950 </events> 951 </SimpleNotification> 952 953 <EventTrigger name="reachedDelay4" activations="1" stayactive="true" delay=0.1 > 954 <events> 955 <trigger> 956 <EventListener event="reachedDelay3" /> 957 </trigger> 958 </events> 959 </EventTrigger> 960 961 <SimpleNotification message="for us..." broadcast="true"> 962 <events> 963 <trigger> 964 <EventListener event="reachedDelay3" /> 965 </trigger> 966 </events> 967 </SimpleNotification> 968 969 <EventTrigger name="reachedDelay5" activations="1" stayactive="true" delay=7 > 970 <events> 971 <trigger> 972 <EventListener event="reachedDelay4" /> 973 </trigger> 974 </events> 975 </EventTrigger> 976 977 <Trigger name="reachedDelay6.destroyed" mode="and" stayActive="true"> 978 <EventTrigger> 979 <events> 980 <trigger> 981 <EventListener event="reachedDelay5" /> 982 </trigger> 983 </events> 984 </EventTrigger> 984 985 <EventTrigger invert=true > 985 986 <events> … … 991 992 </Trigger> 992 993 993 <SimpleNotification message="Hood: Good that you've destroyed the scout!" broadcast="true"> 994 <events> 995 <trigger> 996 <EventListener event="reachedDelay6.destroyed" /> 997 </trigger> 998 </events> 999 </SimpleNotification> 1000 1001 <Trigger name="reachedDelay6.arrived" mode="and" stayActive="true"> 1002 <EventTrigger> 1003 <events> 1004 <trigger> 1005 <EventListener event="reachedDelay5" /> 1006 </trigger> 1007 </events> 1008 </EventTrigger> 994 <SimpleNotification message="Hood: Good that you've destroyed the scout!" broadcast="true"> 995 <events> 996 <trigger> 997 <EventListener event="reachedDelay6.destroyed" /> 998 </trigger> 999 </events> 1000 </SimpleNotification> 1001 1002 <Trigger name="reachedDelay6.arrived" mode="and" stayActive="true"> 1003 <EventTrigger> 1004 <events> 1005 <trigger> 1006 <EventListener event="reachedDelay5" /> 1007 </trigger> 1008 </events> 1009 </EventTrigger> 1010 <EventTrigger> 1011 <events> 1012 <trigger> 1013 <EventListener event="spionTrigger" /> 1014 </trigger> 1015 </events> 1016 </EventTrigger> 1017 </Trigger> 1018 1019 <SimpleNotification message="Hood: What a pity that you couldn't" broadcast="true"> 1020 <events> 1021 <trigger> 1022 <EventListener event="reachedDelay6.arrived2" /> 1023 </trigger> 1024 </events> 1025 </SimpleNotification> 1026 1027 <EventTrigger name="reachedDelay6.arrived2" activations="1" stayactive="true" delay=0.1 > 1028 <events> 1029 <trigger> 1030 <EventListener event="reachedDelay6.arrived" /> 1031 </trigger> 1032 </events> 1033 </EventTrigger> 1034 1035 <SimpleNotification message="destroy the scout..." broadcast="true"> 1036 <events> 1037 <trigger> 1038 <EventListener event="reachedDelay6.arrived" /> 1039 </trigger> 1040 </events> 1041 </SimpleNotification> 1042 1043 <DistanceTrigger name="discuss" position="-4000, -9000, 18000" target="SpaceShip" distance=50 stayActive="true" delay=0.1 /> 1044 <SimpleNotification message="Hood: Look, there is the mainship!" broadcast="true"> 1045 <events> 1046 <trigger> 1047 <EventListener event="discuss" /> 1048 </trigger> 1049 </events> 1050 </SimpleNotification> 1051 1052 <!-- End of Mainfight --> 1053 <Trigger name="victory1" mode="and" stayActive="true"> 1054 <EventTrigger> 1055 <events> 1056 <trigger> 1057 <EventListener event="guard3trigger4" /> 1058 </trigger> 1059 </events> 1060 </EventTrigger> 1061 <EventTrigger activations="1" > 1062 <events> 1063 <trigger> 1064 <EventListener event="spion5" /> 1065 </trigger> 1066 </events> 1067 </EventTrigger> 1068 </Trigger> 1069 1070 <Trigger name="victory2" mode="and" stayActive="true"> 1071 <EventTrigger activations="1" > 1072 <events> 1073 <trigger> 1074 <EventListener event="guard3trigger6" /> 1075 </trigger> 1076 </events> 1077 </EventTrigger> 1078 <EventTrigger activations="1" > 1079 <events> 1080 <trigger> 1081 <EventListener event="spionTrigger" /> 1082 </trigger> 1083 </events> 1084 </EventTrigger> 1085 </Trigger> 1086 1087 <Trigger name="victory" mode="or" stayActive="true"> 1088 <EventTrigger activations="1" > 1089 <events> 1090 <trigger> 1091 <EventListener event="victory1" /> 1092 </trigger> 1093 </events> 1094 </EventTrigger> 1095 <EventTrigger activations="1" > 1096 <events> 1097 <trigger> 1098 <EventListener event="victory2" /> 1099 </trigger> 1100 </events> 1101 </EventTrigger> 1102 </Trigger> 1103 1104 <SimpleNotification message="Houston: YEEEHAAA! You managed it!" broadcast="true"> 1105 <events> 1106 <trigger> 1107 <EventListener event="victory" /> 1108 </trigger> 1109 </events> 1110 </SimpleNotification> 1111 1112 <EventTrigger name="victoryDelay1" delay=5 > 1113 <events> 1114 <trigger> 1115 <EventListener event="victory" /> 1116 </trigger> 1117 </events> 1118 </EventTrigger> 1119 1120 <EventTrigger name="victoryDelay1.1" delay=5.1 > 1121 <events> 1122 <trigger> 1123 <EventListener event="victory" /> 1124 </trigger> 1125 </events> 1126 </EventTrigger> 1127 1128 <SimpleNotification message="Houston: For that you will get the golden medal" broadcast="true"> 1129 <events> 1130 <trigger> 1131 <EventListener event="victoryDelay1.1" /> 1132 </trigger> 1133 </events> 1134 </SimpleNotification> 1135 1136 <SimpleNotification message="of the united space armies." broadcast="true"> 1137 <events> 1138 <trigger> 1139 <EventListener event="victoryDelay1" /> 1140 </trigger> 1141 </events> 1142 </SimpleNotification> 1143 1144 <EventTrigger name="victoryDelay2" delay=5 > 1145 <events> 1146 <trigger> 1147 <EventListener event="victoryDelay1.1" /> 1148 </trigger> 1149 </events> 1150 </EventTrigger> 1151 1152 <EventTrigger name="victoryDelay2.1" delay=5.1 > 1153 <events> 1154 <trigger> 1155 <EventListener event="victoryDelay1.1" /> 1156 </trigger> 1157 </events> 1158 </EventTrigger> 1159 1160 <SimpleNotification message="Houston: Now dock at the mainship and" broadcast="true"> 1161 <events> 1162 <trigger> 1163 <EventListener event="victoryDelay2.1" /> 1164 </trigger> 1165 </events> 1166 </SimpleNotification> 1167 1168 <SimpleNotification message="free the Commander!" broadcast="true"> 1169 <events> 1170 <trigger> 1171 <EventListener event="victoryDelay2" /> 1172 </trigger> 1173 </events> 1174 </SimpleNotification> 1175 1176 <EventTrigger name="victoryDelay3" delay=5 > 1177 <events> 1178 <trigger> 1179 <EventListener event="victoryDelay2" /> 1180 </trigger> 1181 </events> 1182 </EventTrigger> 1183 1184 <SimpleNotification message="Houston: The light shows you the hatch" broadcast="true"> 1185 <events> 1186 <trigger> 1187 <EventListener event="victoryDelay3" /> 1188 </trigger> 1189 </events> 1190 </SimpleNotification> 1191 1192 <!-- Rescue the commander --> 1193 <BlinkingBillboard position="-12470, -21870, 25200" colour="0.0, 0.0, 1.0" frequency=0.5 amplitude=5 material="Examples/Flare" > 1194 <events> 1195 <visibility> 1009 1196 <EventTrigger> 1197 <EventTrigger invert=true> 1198 <events> 1199 <trigger> 1200 <EventListener event="dock" /> 1201 </trigger> 1202 </events> 1203 </EventTrigger> 1010 1204 <events> 1011 1205 <trigger> 1012 <EventListener event=" spionTrigger" />1206 <EventListener event="victory" /> 1013 1207 </trigger> 1014 1208 </events> 1015 1209 </EventTrigger> 1016 </Trigger> 1017 1018 <SimpleNotification message="Hood: What a pity that you couldn't" broadcast="true"> 1019 <events> 1020 <trigger> 1021 <EventListener event="reachedDelay6.arrived2" /> 1022 </trigger> 1023 </events> 1024 </SimpleNotification> 1025 1026 <EventTrigger name="reachedDelay6.arrived2" activations="1" stayactive="true" delay=0.1 > 1027 <events> 1028 <trigger> 1029 <EventListener event="reachedDelay6.arrived" /> 1030 </trigger> 1031 </events> 1032 </EventTrigger> 1033 1034 <SimpleNotification message="destroy the scout..." broadcast="true"> 1035 <events> 1036 <trigger> 1037 <EventListener event="reachedDelay6.arrived" /> 1038 </trigger> 1039 </events> 1040 </SimpleNotification> 1041 1042 <DistanceTrigger name="discuss" position="-4000, -9000, 18000" target="SpaceShip" distance=50 stayActive="true" delay=0.1 /> 1043 <SimpleNotification message="Hood: Look, there is the mainship!" broadcast="true"> 1044 <events> 1045 <trigger> 1046 <EventListener event="discuss" /> 1047 </trigger> 1048 </events> 1049 </SimpleNotification> 1050 1051 <!-- End of Mainfight --> 1052 <Trigger name="victory1" mode="and" stayActive="true"> 1053 <EventTrigger> 1054 <events> 1055 <trigger> 1056 <EventListener event="guard3trigger4" /> 1057 </trigger> 1058 </events> 1059 </EventTrigger> 1060 <EventTrigger activations="1" > 1061 <events> 1062 <trigger> 1063 <EventListener event="spion5" /> 1064 </trigger> 1065 </events> 1066 </EventTrigger> 1067 </Trigger> 1068 1069 <Trigger name="victory2" mode="and" stayActive="true"> 1070 <EventTrigger activations="1" > 1071 <events> 1072 <trigger> 1073 <EventListener event="guard3trigger6" /> 1074 </trigger> 1075 </events> 1076 </EventTrigger> 1077 <EventTrigger activations="1" > 1078 <events> 1079 <trigger> 1080 <EventListener event="spionTrigger" /> 1081 </trigger> 1082 </events> 1083 </EventTrigger> 1084 </Trigger> 1085 1086 <Trigger name="victory" mode="or" stayActive="true"> 1087 <EventTrigger activations="1" > 1088 <events> 1089 <trigger> 1090 <EventListener event="victory1" /> 1091 </trigger> 1092 </events> 1093 </EventTrigger> 1094 <EventTrigger activations="1" > 1095 <events> 1096 <trigger> 1097 <EventListener event="victory2" /> 1098 </trigger> 1099 </events> 1100 </EventTrigger> 1101 </Trigger> 1102 1103 <SimpleNotification message="Houston: YEEEHAAA! You managed it!" broadcast="true"> 1104 <events> 1105 <trigger> 1106 <EventListener event="victory" /> 1107 </trigger> 1108 </events> 1109 </SimpleNotification> 1110 1111 <EventTrigger name="victoryDelay1" delay=5 > 1112 <events> 1113 <trigger> 1114 <EventListener event="victory" /> 1115 </trigger> 1116 </events> 1117 </EventTrigger> 1118 1119 <EventTrigger name="victoryDelay1.1" delay=5.1 > 1120 <events> 1121 <trigger> 1122 <EventListener event="victory" /> 1123 </trigger> 1124 </events> 1125 </EventTrigger> 1126 1127 <SimpleNotification message="Houston: For that you will get the golden medal" broadcast="true"> 1128 <events> 1129 <trigger> 1130 <EventListener event="victoryDelay1.1" /> 1131 </trigger> 1132 </events> 1133 </SimpleNotification> 1134 1135 <SimpleNotification message="of the united space armies." broadcast="true"> 1136 <events> 1137 <trigger> 1138 <EventListener event="victoryDelay1" /> 1139 </trigger> 1140 </events> 1141 </SimpleNotification> 1142 1143 <EventTrigger name="victoryDelay2" delay=5 > 1144 <events> 1145 <trigger> 1146 <EventListener event="victoryDelay1.1" /> 1147 </trigger> 1148 </events> 1149 </EventTrigger> 1150 1151 <EventTrigger name="victoryDelay2.1" delay=5.1 > 1152 <events> 1153 <trigger> 1154 <EventListener event="victoryDelay1.1" /> 1155 </trigger> 1156 </events> 1157 </EventTrigger> 1158 1159 <SimpleNotification message="Houston: Now dock at the mainship and" broadcast="true"> 1160 <events> 1161 <trigger> 1162 <EventListener event="victoryDelay2.1" /> 1163 </trigger> 1164 </events> 1165 </SimpleNotification> 1166 1167 <SimpleNotification message="free the Commander!" broadcast="true"> 1168 <events> 1169 <trigger> 1170 <EventListener event="victoryDelay2" /> 1171 </trigger> 1172 </events> 1173 </SimpleNotification> 1174 1175 <EventTrigger name="victoryDelay3" delay=5 > 1176 <events> 1177 <trigger> 1178 <EventListener event="victoryDelay2" /> 1179 </trigger> 1180 </events> 1181 </EventTrigger> 1182 1183 <SimpleNotification message="Houston: The light shows you the hatch" broadcast="true"> 1184 <events> 1185 <trigger> 1186 <EventListener event="victoryDelay3" /> 1187 </trigger> 1188 </events> 1189 </SimpleNotification> 1190 1191 <!-- Rescue the commander --> 1192 <BlinkingBillboard position="-12470, -21870, 25200" colour="0.0, 0.0, 1.0" frequency=0.5 amplitude=5 material="Examples/Flare" > 1193 <events> 1194 <visibility> 1195 <EventTrigger> 1196 <EventTrigger invert=true> 1197 <events> 1198 <trigger> 1199 <EventListener event="dock" /> 1200 </trigger> 1201 </events> 1202 </EventTrigger> 1203 <events> 1204 <trigger> 1205 <EventListener event="victory" /> 1206 </trigger> 1207 </events> 1208 </EventTrigger> 1209 </visibility> 1210 </events> 1211 </BlinkingBillboard> 1212 1213 <DistanceTrigger name="dock" position="-12470, -21870, 25200" target="SpaceShip" distance=50 stayActive="true" delay=0 /> 1214 <SimpleNotification message="Houston: The Commander is on board!" broadcast="true"> 1215 <events> 1216 <trigger> 1217 <EventListener event="dock" /> 1218 </trigger> 1219 </events> 1220 </SimpleNotification> 1221 1222 <!-- TIMER-EVENTS --> 1223 <EventTrigger name="dockDelay1" stayactive="true" delay=5 > 1224 <events> 1225 <trigger> 1226 <EventListener event="dock" /> 1227 </trigger> 1228 </events> 1229 </EventTrigger> 1230 1231 <SimpleNotification message="Houston: A bomb is placed in the mainship..." broadcast="true"> 1232 <events> 1233 <trigger> 1234 <EventListener event="dockDelay1" /> 1235 </trigger> 1236 </events> 1237 </SimpleNotification> 1238 1239 <EventTrigger name="dockDelay2" activations="1" stayactive="true" delay=5.0 > 1240 <events> 1241 <trigger> 1242 <EventListener event="dockDelay1" /> 1243 </trigger> 1244 </events> 1245 </EventTrigger> 1246 1247 <SimpleNotification message="Houston: You have 10 seconds to move away..." broadcast="true"> 1248 <events> 1249 <trigger> 1250 <EventListener event="dockDelay2" /> 1251 </trigger> 1252 </events> 1253 </SimpleNotification> 1210 </visibility> 1211 </events> 1212 </BlinkingBillboard> 1213 1214 <DistanceTrigger name="dock" position="-12470, -21870, 25200" target="SpaceShip" distance=50 stayActive="true" delay=0 /> 1215 <SimpleNotification message="Houston: The Commander is on board!" broadcast="true"> 1216 <events> 1217 <trigger> 1218 <EventListener event="dock" /> 1219 </trigger> 1220 </events> 1221 </SimpleNotification> 1222 1223 <!-- TIMER-EVENTS --> 1224 <EventTrigger name="dockDelay1" stayactive="true" delay=5 > 1225 <events> 1226 <trigger> 1227 <EventListener event="dock" /> 1228 </trigger> 1229 </events> 1230 </EventTrigger> 1231 1232 <SimpleNotification message="Houston: A bomb is placed in the mainship..." broadcast="true"> 1233 <events> 1234 <trigger> 1235 <EventListener event="dockDelay1" /> 1236 </trigger> 1237 </events> 1238 </SimpleNotification> 1239 1240 <EventTrigger name="dockDelay2" activations="1" stayactive="true" delay=5.0 > 1241 <events> 1242 <trigger> 1243 <EventListener event="dockDelay1" /> 1244 </trigger> 1245 </events> 1246 </EventTrigger> 1247 1248 <SimpleNotification message="Houston: You have 10 seconds to move away..." broadcast="true"> 1249 <events> 1250 <trigger> 1251 <EventListener event="dockDelay2" /> 1252 </trigger> 1253 </events> 1254 </SimpleNotification> 1254 1255 1255 1256 … … 1342 1343 1343 1344 <!-- For Escape --> 1344 1345 1346 1347 1348 1349 1350 1345 <EventTrigger name="spion5" stayactive="true" > 1346 <events> 1347 <trigger> 1348 <EventListener event="spion" /> 1349 </trigger> 1350 </events> 1351 </EventTrigger> 1351 1352 1352 1353 <!-- For last fight --> … … 1375 1376 </trigger> 1376 1377 </events> 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1378 <EventTrigger name="guard3trigger2" activations="1" stayactive="true" delay=0.1 > 1379 <events> 1380 <trigger> 1381 <EventListener event="lastGuard" /> 1382 </trigger> 1383 </events> 1384 <EventTrigger name="guard3trigger1" activations="1" stayactive="true" delay=0.1 > 1385 <events> 1386 <trigger> 1387 <EventListener event="lastGuard" /> 1388 </trigger> 1389 </events> 1390 </EventTrigger> 1391 </EventTrigger> 1391 1392 </EventTrigger> 1392 1393 </EventTrigger> 1393 1394 </EventTrigger> 1394 1395 </EventTrigger> 1395 1396 1396 1397 <!-- ----------------------------------------------------- --> 1397 1398 <!-- Passive Pirates: Guard 1 --> … … 1427 1428 <WaypointController team=1> 1428 1429 <waypoints> 1429 <Model mesh="cube.mesh" scale=0 position="8000, 0,-1000" />1430 <Model mesh="cube.mesh" scale=0 position="8000,0, 1000" />1430 <Model mesh="cube.mesh" scale=0 position="8000,400,2000" /> 1431 <Model mesh="cube.mesh" scale=0 position="8000,0,0" /> 1431 1432 </waypoints> 1432 1433 </WaypointController> … … 1497 1498 <WaypointPatrolController alertnessradius=5000 team=1 active=false> 1498 1499 <waypoints> 1499 1500 <Model mesh="cube.mesh" scale=0 position="17700,4300,15000" /> 1500 1501 <Model mesh="cube.mesh" scale=0 position="17000,4000,15000" /> 1501 1502 1503 1504 1505 1502 <Model mesh="cube.mesh" scale=0 position="16300,4300,15000" /> 1503 <Model mesh="cube.mesh" scale=0 position="16000,5000,15000" /> 1504 <Model mesh="cube.mesh" scale=0 position="16300,5700,15000" /> 1505 <Model mesh="cube.mesh" scale=0 position="17000,6000,15000" /> 1506 <Model mesh="cube.mesh" scale=0 position="17700,5700,15000" /> 1506 1507 <Model mesh="cube.mesh" scale=0 position="18000,5000,15000" /> 1507 1508 </waypoints> … … 1527 1528 <WaypointPatrolController alertnessradius=5000 team=1 active=false> 1528 1529 <waypoints> 1529 1530 1531 1530 <Model mesh="cube.mesh" scale=0 position="16300,5700,15000" /> 1531 <Model mesh="cube.mesh" scale=0 position="17000,6000,15000" /> 1532 <Model mesh="cube.mesh" scale=0 position="17700,5700,15000" /> 1532 1533 <Model mesh="cube.mesh" scale=0 position="18000,5000,15000" /> 1533 1534 <Model mesh="cube.mesh" scale=0 position="17700,4300,15000" /> 1534 1535 <Model mesh="cube.mesh" scale=0 position="17000,4000,15000" /> 1535 1536 1536 <Model mesh="cube.mesh" scale=0 position="16300,4300,15000" /> 1537 <Model mesh="cube.mesh" scale=0 position="16000,5000,15000" /> 1537 1538 </waypoints> 1538 1539 <events> … … 1557 1558 <WaypointPatrolController alertnessradius=5000 team=1 active=false> 1558 1559 <waypoints> 1559 1560 1561 1562 1563 1560 <Model mesh="cube.mesh" scale=0 position="16300,4300,15000" /> 1561 <Model mesh="cube.mesh" scale=0 position="16000,5000,15000" /> 1562 <Model mesh="cube.mesh" scale=0 position="16300,5700,15000" /> 1563 <Model mesh="cube.mesh" scale=0 position="17000,6000,15000" /> 1564 <Model mesh="cube.mesh" scale=0 position="17700,5700,15000" /> 1564 1565 <Model mesh="cube.mesh" scale=0 position="18000,5000,15000" /> 1565 1566 <Model mesh="cube.mesh" scale=0 position="17700,4300,15000" /> 1566 1567 <Model mesh="cube.mesh" scale=0 position="17000,4000,15000" /> 1567 1568 </waypoints> … … 1587 1588 <WaypointPatrolController alertnessradius=5000 team=1 active=false> 1588 1589 <waypoints> 1589 1590 <Model mesh="cube.mesh" scale=0 position="17700,5700,15000" /> 1590 1591 <Model mesh="cube.mesh" scale=0 position="18000,5000,15000" /> 1591 1592 <Model mesh="cube.mesh" scale=0 position="17700,4300,15000" /> 1592 1593 <Model mesh="cube.mesh" scale=0 position="17000,4000,15000" /> 1593 1594 1595 1596 1594 <Model mesh="cube.mesh" scale=0 position="16300,4300,15000" /> 1595 <Model mesh="cube.mesh" scale=0 position="16000,5000,15000" /> 1596 <Model mesh="cube.mesh" scale=0 position="16300,5700,15000" /> 1597 <Model mesh="cube.mesh" scale=0 position="17000,6000,15000" /> 1597 1598 </waypoints> 1598 1599 <events> … … 1618 1619 <WaypointController team=1> 1619 1620 <waypoints> 1620 1621 <Model mesh="cube.mesh" scale=0 position="14000, 1000, 22000" /> 1621 1622 <Model mesh="cube.mesh" scale=0 position="0, -10000, 42000" /> 1622 1623 </waypoints> 1623 1624 <events> 1624 1625 1626 1625 <activity> 1626 <EventListener event="guard2trigger1" /> 1627 </activity> 1627 1628 </events> 1628 1629 </WaypointController> … … 1650 1651 <Model mesh="cube.mesh" scale=0 position="-9500, -22000, 24000" /> <!-- -12000, -22000, 25000 -4000, -18000, 19000 --> 1651 1652 <Model mesh="cube.mesh" scale=0 position="-10500, -22000, 23000" /> 1652 1653 1653 <Model mesh="cube.mesh" scale=0 position="-11000, -20000, 23000" /> 1654 <Model mesh="cube.mesh" scale=0 position="-10000, -20000, 24000" /> 1654 1655 </waypoints> 1655 1656 <events> 1656 1657 1658 1657 <activity> 1658 <EventListener event="guard2trigger4" /> 1659 </activity> 1659 1660 </events> 1660 1661 </WaypointPatrolController> … … 1675 1676 <waypoints> 1676 1677 <Model mesh="cube.mesh" scale=0 position="-10500, -22000, 23000" /> 1677 1678 1679 1678 <Model mesh="cube.mesh" scale=0 position="-11000, -20000, 23000" /> 1679 <Model mesh="cube.mesh" scale=0 position="-10000, -20000, 24000" /> 1680 <Model mesh="cube.mesh" scale=0 position="-9500, -22000, 24000" /> 1680 1681 </waypoints> 1681 1682 <events> 1682 1683 1684 1683 <activity> 1684 <EventListener event="guard2trigger4" /> 1685 </activity> 1685 1686 </events> 1686 1687 </WaypointPatrolController> … … 1700 1701 <WaypointPatrolController alertnessradius=5000 team=1 active=false> 1701 1702 <waypoints> 1702 1703 1704 1703 <Model mesh="cube.mesh" scale=0 position="-11000, -20000, 23000" /> 1704 <Model mesh="cube.mesh" scale=0 position="-10000, -20000, 24000" /> 1705 <Model mesh="cube.mesh" scale=0 position="-9500, -22000, 24000" /> 1705 1706 <Model mesh="cube.mesh" scale=0 position="-10500, -22000, 23000" /> 1706 1707 </waypoints> 1707 1708 <events> 1708 1709 1710 1709 <activity> 1710 <EventListener event="guard2trigger4" /> 1711 </activity> 1711 1712 </events> 1712 1713 </WaypointPatrolController> … … 1726 1727 <WaypointPatrolController alertnessradius=5000 team=1 active=false> 1727 1728 <waypoints> 1728 1729 1729 <Model mesh="cube.mesh" scale=0 position="-10000, -20000, 24000" /> 1730 <Model mesh="cube.mesh" scale=0 position="-9500, -22000, 24000" /> 1730 1731 <Model mesh="cube.mesh" scale=0 position="-10500, -22000, 23000" /> 1731 1732 <Model mesh="cube.mesh" scale=0 position="-11000, -20000, 23000" /> 1732 1733 </waypoints> 1733 1734 <events> 1734 1735 1736 1735 <activity> 1736 <EventListener event="guard2trigger4" /> 1737 </activity> 1737 1738 </events> 1738 1739 </WaypointPatrolController> … … 1755 1756 <Model mesh="cube.mesh" scale=0 position="-9750, -21000, 24000" /> 1756 1757 <Model mesh="cube.mesh" scale=0 position="-10000, -22000, 23500" /> 1757 1758 1758 <Model mesh="cube.mesh" scale=0 position="-10750, -21000, 23000" /> 1759 <Model mesh="cube.mesh" scale=0 position="-10500, -20000, 23500" /> 1759 1760 </waypoints> 1760 1761 <events> 1761 1762 1763 1762 <activity> 1763 <EventListener event="spionTrigger" /> 1764 </activity> 1764 1765 </events> 1765 1766 </WaypointPatrolController> … … 1779 1780 <WaypointPatrolController alertnessradius=5000 team=1 active=false> 1780 1781 <waypoints> 1781 1782 1782 <Model mesh="cube.mesh" scale=0 position="-10750, -21000, 23000" /> 1783 <Model mesh="cube.mesh" scale=0 position="-10500, -20000, 23500" /> 1783 1784 <Model mesh="cube.mesh" scale=0 position="-9750, -21000, 24000" /> 1784 1785 <Model mesh="cube.mesh" scale=0 position="-10000, -22000, 23500" /> 1785 1786 </waypoints> 1786 1787 <events> 1787 1788 1789 1788 <activity> 1789 <EventListener event="spionTrigger" /> 1790 </activity> 1790 1791 </events> 1791 1792 </WaypointPatrolController> … … 1806 1807 <WaypointPatrolController alertnessradius=5000 team=0 active=false> 1807 1808 <waypoints> 1808 1809 1809 <Model mesh="cube.mesh" scale=0 position="-4000, -9000, 18000" /> 1810 <Model mesh="cube.mesh" scale=0 position="-11500, -22000, 25000" /> 1810 1811 </waypoints> 1811 1812 <events> 1812 1813 1814 1813 <activity> 1814 <EventListener event="reached" /> 1815 </activity> 1815 1816 </events> 1816 1817 </WaypointPatrolController> … … 1822 1823 <visibility> 1823 1824 <EventTrigger> 1824 1825 1826 1827 1828 1829 1830 1825 <EventTrigger invert=true> 1826 <events> 1827 <trigger> 1828 <EventListener event="reached" /> 1829 </trigger> 1830 </events> 1831 </EventTrigger> 1831 1832 <events> 1832 1833 <trigger> … … 1840 1841 1841 1842 <SimpleNotification message="Houston: Your friend Captain Hood is dead..." broadcast="true"> 1842 1843 1844 1845 1846 1843 <events> 1844 <trigger> 1845 <EventListener event="friend" /> 1846 </trigger> 1847 </events> 1847 1848 </SimpleNotification> 1848 1849 … … 1856 1857 1857 1858 <SimpleNotification message="Vane: NOOOOO!!!" broadcast="true"> 1858 1859 1860 1861 1862 1859 <events> 1860 <trigger> 1861 <EventListener event="friendDelay1" /> 1862 </trigger> 1863 </events> 1863 1864 </SimpleNotification> 1864 1865 … … 1872 1873 1873 1874 <SimpleNotification message="Houston: He died in a fight like he wished it!" broadcast="true"> 1874 1875 1876 1877 1878 1875 <events> 1876 <trigger> 1877 <EventListener event="friendDelay2" /> 1878 </trigger> 1879 </events> 1879 1880 </SimpleNotification> 1880 1881 … … 1884 1885 1885 1886 1886 1887 1887 <!-- ASTEROIDS & ASTEROID-FIELDS --> 1888 <!-- Asteroids --> 1889 <Model position="9800, -5000, 5700" 1890 yaw="90" 1891 pitch="-90" 1892 roll="0" 1893 scale="200" 1894 mesh="asteroid_ice.mesh" > 1895 <attached> 1896 <!-- <Model mass=10 scale3D="0.5,0.5,0.5" mesh="cube.mesh" position = "0,0,0" yaw=0 pitch=0 roll=0 /> --> 1897 </attached> 1898 <collisionShapes> 1899 <SphereCollisionShape radius=0.5 /> 1900 </collisionShapes> 1901 </Model> 1902 1903 <!-- triple large belt around the planet --> 1904 <?lua 1905 dofile("includes/asteroidField.lua") 1906 asteroidBelt(2000, -250, 9000, 30, 0, 30, 30, 50, 7190, 7800, 250, 1) 1907 ?> 1908 1909 <?lua 1910 dofile("includes/asteroidField.lua") 1911 asteroidBelt(2000, -250, 9000, 30, 0, 30, 30, 50, 10000, 11000, 300, 1) 1912 ?> 1913 1914 <?lua 1915 dofile("includes/asteroidField.lua") 1916 asteroidBelt(2000, -250, 9000, 30, 0, 30, 30, 50, 14000, 15000, 350, 1) 1917 ?> 1918 1919 <!-- between guard 2 & mainship --> 1920 <!-- Core --> 1921 <?lua 1922 dofile("includes/asteroidField.lua") 1923 asteroidField(-5000, -10000, 30000, 10, 700, 8000, 80, 0) 1924 ?> 1925 1926 <!-- Peripherie --> 1927 <?lua 1928 dofile("includes/asteroidField.lua") 1929 asteroidField(-5000, -10000, 30000, 10, 50, 10000, 100, 0) 1930 ?> 1931 1932 <?lua 1933 dofile("includes/asteroidField.lua") 1934 asteroidBelt(-10000, -12500, 0, 0, 0, 30, 30, 500, 0, 7850, 150, 0) 1935 ?> 1936 1937 <!-- PLANETS --> 1938 <Planet position="2000,-250,9000" 1939 scale=5000 1940 pitch=1 1941 mesh="iceplanet.mesh" 1942 atmosphere="atmosphere1" 1943 rotationaxis="1,1,0" 1944 rotationrate="0.5" 1945 atmospheresize=224.0f 1946 imagesize=1024.0f 1947 mass="10000000" 1948 angularDamping=0 1949 collisiondamage=2 1950 enablecollisiondamage=true 1951 collisionType="dynamic" /> 1952 1888 <!-- Asteroids --> 1889 <Model position="9800, -5000, 5700" 1890 yaw="90" 1891 pitch="-90" 1892 roll="0" 1893 scale="200" 1894 mesh="asteroid_ice.mesh" > 1895 <attached> 1896 <!-- <Model mass=10 scale3D="0.5,0.5,0.5" mesh="cube.mesh" position = "0,0,0" yaw=0 pitch=0 roll=0 /> --> 1897 </attached> 1898 <collisionShapes> 1899 <SphereCollisionShape radius=0.5 /> 1900 </collisionShapes> 1901 </Model> 1902 1903 <!-- triple large belt around the planet --> 1904 <?lua 1905 dofile("includes/asteroidField.lua") 1906 asteroidBelt(2000, -250, 9000, 30, 0, 30, 30, 50, 7190, 7800, 250, 1) 1907 ?> 1908 1909 <?lua 1910 dofile("includes/asteroidField.lua") 1911 asteroidBelt(2000, -250, 9000, 30, 0, 30, 30, 50, 10000, 11000, 300, 1) 1912 ?> 1913 1914 <?lua 1915 dofile("includes/asteroidField.lua") 1916 asteroidBelt(2000, -250, 9000, 30, 0, 30, 30, 50, 14000, 15000, 350, 1) 1917 ?> 1918 1919 <!-- between guard 2 & mainship --> 1920 <!-- Core --> 1921 <?lua 1922 dofile("includes/asteroidField.lua") 1923 asteroidField(-5000, -10000, 30000, 10, 700, 8000, 80, 0) 1924 ?> 1925 1926 <!-- Peripherie --> 1927 <?lua 1928 dofile("includes/asteroidField.lua") 1929 asteroidField(-5000, -10000, 30000, 10, 50, 10000, 100, 0) 1930 ?> 1931 1932 <?lua 1933 dofile("includes/asteroidField.lua") 1934 asteroidBelt(-10000, -12500, 0, 0, 0, 30, 30, 500, 0, 7850, 150, 0) 1935 ?> 1936 1937 <!-- PLANETS --> 1938 <Planet position="2000,-250,9000" 1939 scale=5000 1940 pitch=1 1941 mesh="iceplanet.mesh" 1942 atmosphere="atmosphere1" 1943 rotationaxis="1,1,0" 1944 rotationrate="0.5" 1945 atmospheresize=224.0f 1946 imagesize=1024.0f 1947 mass="10000000" 1948 angularDamping=0 1949 collisiondamage=2 1950 enablecollisiondamage=true 1951 collisionType="dynamic" /> 1952 1953 <!-- PICKUPS to make travelling faster --> 1954 <PickupSpawner pickup=hugespeedpickup position="8000,-600,17200" triggerDistance="400" respawnTime="10" maxSpawnedItems="5" /> 1955 <PickupSpawner pickup=hugespeedpickup position="12700,2400,9200" triggerDistance="400" respawnTime="10" maxSpawnedItems="5" /> 1953 1956 1954 1957 <!-- ----------------Rotating SpaceStation--------------- --> 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1958 <!-- first guard --> 1959 <StaticEntity position="9000,0,0" collisionType=static yaw=112 pitch=67 > 1960 <attached> 1961 <?lua 1962 createSpaceStationPar(0,2,1,2,1,4,1,50) 1963 ?> 1964 </attached> 1965 </StaticEntity> 1966 1967 <!-- second guard --> 1968 <StaticEntity position="17000,5000,15000" collisionType=static yaw=12 pitch=75 > 1969 <attached> 1970 <?lua 1971 createSpaceStationPar(0,2,1,2,1,4,1,50) 1972 ?> 1973 </attached> 1974 </StaticEntity> 1972 1975 1973 1976 <!-- ------------------------- Mainship ------------------ --> … … 1979 1982 name = "Mainship" 1980 1983 radarname = "Mainship" 1981 visible= "true" >1984 visible = "true" > 1982 1985 <controller> 1983 1986 <WaypointController team=1 active="true" > 1984 1987 <waypoints/> 1985 1988 <events> 1986 1987 1988 1989 <activity> 1990 <EventListener event=spawntrigger2 /> 1991 </activity> 1989 1992 </events> 1990 1993 </WaypointController> … … 1992 1995 <attached> 1993 1996 <Model scale=200 mesh="drone.mesh" position = "0,0,0" lookat="40000, 4000, 27000" /> 1994 <!-- 1997 <!-- <Model mesh="cube.mesh" mass=10 position="-445,110,120" scale3D="45,45,150" yaw=56 pitch=-4 roll=0 /> 1995 1998 <Model mesh="cube.mesh" mass=10 position="-295,125,220" scale3D="28,28,28" yaw=56 pitch=-4 roll=0 /> 1996 1999 <Model mesh="cube.mesh" mass=10 position="-400,350,-200" scale3D="80,280,800" yaw=56 pitch=-4 roll=5 /> … … 2002 2005 </attached> 2003 2006 <collisionShapes> 2004 2007 <BoxCollisionShape position="-445,110,120" halfExtents="45,45,150" yaw=56 pitch=-4 roll=0 /> 2005 2008 <BoxCollisionShape position="-295,125,220" halfExtents="28,28,28" yaw=56 pitch=-4 roll=0 /> 2006 2009 <BoxCollisionShape position="-400,350,-200" halfExtents="80,280,800" yaw=56 pitch=-4 roll=5 /> … … 2013 2016 <events> 2014 2017 <visibility> 2015 2018 <EventListener event="negativeTimerEnd" /> 2016 2019 </visibility> 2017 2020 </events> … … 2040 2043 </events> 2041 2044 </ParticleSpawner> 2045 2046 <!-- TODO: End the game > 2047 <Script code="Mission endMission true" onLoad="false" times="1" > 2048 <events> 2049 <trigger> 2050 <EventListener event=timerEnd /> 2051 </trigger> 2052 </events> 2053 </Script> 2054 <Script code="Mission endMission false" onLoad="false" times="1" > 2055 <events> 2056 <trigger> 2057 <EventListener event="timerEnd" /> 2058 </trigger> 2059 </events> 2060 </Script--> 2042 2061 2043 2062 </Scene>
Note: See TracChangeset
for help on using the changeset viewer.