Changeset 9708 for code/branches/spacestationentry/data
- Timestamp:
- Oct 21, 2013, 2:51:41 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/spacestationentry/data/levels/EntryTest.oxw
r9705 r9708 56 56 <events> 57 57 <trigger> 58 <TeamSpawnPoint team=0 position=" -47000,-1000,1300" direction="-1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff>58 <TeamSpawnPoint team=0 position="800,700,600" direction="-1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff> 59 59 <EventTrigger invert=true> 60 60 <events> … … 377 377 </SimpleNotification> 378 378 379 <!-- Blinking Billboard should be replaced with WAYPOINT --> 380 <BlinkingBillboard position="-900,640,600" frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,1,0.05"> 381 <events> 382 <visibility> 383 <EventTrigger invert=true> 384 <events> 385 <trigger> 386 <EventListener event=flying4 /> 387 </trigger> 388 </events> 389 </EventTrigger> 390 </visibility> 391 </events> 392 </BlinkingBillboard> 393 <Billboard position="-900,640,600" amplitude=1 material="Flares/lensflare" colour="0,0.8,0.1"> 394 <events> 395 <visibility> 396 <EventTrigger> 397 <events> 398 <trigger> 399 <EventListener event=flying4 /> 400 </trigger> 401 </events> 402 </EventTrigger> 403 </visibility> 404 </events> 405 </Billboard> 406 407 <!-------------------------------------- PART ZERO: How to fly ---------------------------------------> 408 409 <DistanceTrigger name="flying1" position="800,700,600" target="Pawn" distance=10 stayActive="true" delay=6/> 410 <SimpleNotification message="Let's fly to the blinking light."> 411 <events> 412 <trigger> 413 <EventListener event="flying1" /> 414 </trigger> 415 </events> 416 </SimpleNotification> 417 418 <DistanceTrigger name="flying2" position="800,700,600" target="Pawn" distance=10 stayActive="true" delay=10/> 419 <SimpleNotification message="Use (W) to accelerate and the mouse to steer."> 420 <events> 421 <trigger> 422 <EventListener event="flying2" /> 423 </trigger> 424 </events> 425 </SimpleNotification> 426 427 <!-- QUEST-Trigger && Message Trigger: navigationend is activated after flying4 was triggered --> 428 <DistanceTrigger name="navigationend" position="0,0,0" distance=950 target="SpaceShip" stayActive="false" delay=1.1> 429 <DistanceTrigger name="flying4" position="-900,640,600" target="Pawn" distance=60 stayActive="true" delay=1/> 430 </DistanceTrigger> 431 432 433 <SimpleNotification message="Three arrows just appeared."> 434 <events> 435 <trigger> 436 <EventListener event="flying4" /> 437 </trigger> 438 </events> 439 </SimpleNotification> 440 441 <DistanceTrigger name="flying5" position="-900,640,600" target="Pawn" distance=60 stayActive="true" delay=5/> 442 <SimpleNotification message="Follow those arrows."> 443 <events> 444 <trigger> 445 <EventListener event="flying5" /> 446 </trigger> 447 </events> 448 </SimpleNotification> 449 450 <!-------------------------------------- PART ONE : Destroy boxes ---------------------------------------> 451 <!-- @ triggers: spawndelaytriggerX: textoutput only if no box was destroyed --> 452 <Trigger name="spawndelaytrigger1" mode="and" stayActive="true"> 453 <DistanceTrigger position="-900,640,600" target="Pawn" distance=60 stayActive="true" delay=9 /> 454 <EventTrigger activations="1" invert="true"> 455 <events> 456 <trigger> 457 <EventListener event="boxtrigger1" /> 458 </trigger> 459 </events> 460 </EventTrigger> 461 </Trigger> 462 463 <Trigger name="spawndelaytrigger2" mode="and" stayActive="true"> 464 <DistanceTrigger position="-900,640,600" target="Pawn" distance=60 stayActive="true" delay=13 /> 465 <EventTrigger activations="1" invert="true"> 466 <events> 467 <trigger> 468 <EventListener event="boxtrigger1" /> 469 </trigger> 470 </events> 471 </EventTrigger> 472 </Trigger> 473 474 <Trigger name="spawndelaytrigger3" mode="and" stayActive="true"> 475 <DistanceTrigger position="-900,640,600" target="Pawn" distance=60 stayActive="true" delay=17 /> 476 <EventTrigger activations="1" invert="true"> 477 <events> 478 <trigger> 479 <EventListener event="boxtrigger1" /> 480 </trigger> 481 </events> 482 </EventTrigger> 483 </Trigger> 484 485 <!-- @Text: How to shoot--> 486 <SimpleNotification message="Destroy the four boxes." broadcast="true"> 487 <events> 488 <trigger> 489 <EventListener event="spawndelaytrigger1" /> 490 </trigger> 491 </events> 492 </SimpleNotification> 493 494 <SimpleNotification message=" 1. Aim the a red cycle." broadcast="true"> 495 <events> 496 <trigger> 497 <EventListener event="spawndelaytrigger2" /> 498 </trigger> 499 </events> 500 </SimpleNotification> 501 502 <SimpleNotification message="2. Click! (hold the left mouse button)" broadcast="true"> 503 <events> 504 <trigger> 505 <EventListener event="spawndelaytrigger3" /> 506 </trigger> 507 </events> 508 </SimpleNotification> 509 510 <!-- @Objects: 4 boxes (uncontrolled pawns) --> 511 <Pawn team=1 health=30 position="0,0,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box radarname = "Box 4" > 512 <events> 513 <visibility> 514 <EventListener event="flying4" /> 515 </visibility> 516 </events> 517 <attached> 518 <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" /> 519 </attached> 520 <collisionShapes> 521 <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" /> 522 </collisionShapes> 523 </Pawn> 524 525 <Pawn team=1 health=30 position="0,100,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box radarname = "Box 3"> 526 <events> 527 <visibility> 528 <EventListener event="flying4" /> 529 </visibility> 530 </events> 531 <attached> 532 <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" /> 533 </attached> 534 <collisionShapes> 535 <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" /> 536 </collisionShapes> 537 </Pawn> 538 539 <Pawn health=30 position="0,200,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box team=1 radarname = "Box 2"> 540 <events> 541 <visibility> 542 <EventListener event="flying4" /> 543 </visibility> 544 </events> 545 <attached> 546 <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" /> 547 </attached> 548 <collisionShapes> 549 <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" /> 550 </collisionShapes> 551 </Pawn> 552 553 <Pawn health=30 position="0,300,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box team=1 radarname = "Box 1"> 554 <events> 555 <visibility> 556 <EventListener event="flying4" /> 557 </visibility> 558 </events> 559 <attached> 560 <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" /> 561 </attached> 562 <collisionShapes> 563 <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" /> 564 </collisionShapes> 565 </Pawn> 566 567 <!-- @Triggers: boxtrigger1 <-> one box destroyed 568 boxtrigger2 <-> two boxes destroyed 569 boxtrigger3 <-> three boxes destroyed 570 boxtrigger4 <-> four boxes destroyed --> 571 <EventTrigger name="boxtrigger4" activations="1" stayactive="true" delay=0.1> 572 <events> 573 <trigger> 574 <EventListener event="box" /> 575 </trigger> 576 </events> 577 <EventTrigger name="boxtrigger3" activations="1" stayactive="true" delay=0.1> 578 <events> 579 <trigger> 580 <EventListener event="box" /> 581 </trigger> 582 </events> 583 <EventTrigger name="boxtrigger2" activations="1" stayactive="true" delay=0.1> 584 <events> 585 <trigger> 586 <EventListener event="box" /> 587 </trigger> 588 </events> 589 <EventTrigger name="boxtrigger1" activations="1" stayactive="true" delay=0.1> 590 <events> 591 <trigger> 592 <EventListener event="box" /> 593 </trigger> 594 </events> 595 </EventTrigger> 596 </EventTrigger> 597 </EventTrigger> 598 </EventTrigger> 599 600 601 <SimpleNotification message="Right click on the next target." broadcast="true"> 602 <events> 603 <trigger> 604 <EventListener event="boxtrigger1" /> 605 </trigger> 606 </events> 607 </SimpleNotification> 608 609 <SimpleNotification message="Middle click on the next target." broadcast="true"> 610 <events> 611 <trigger> 612 <EventListener event="boxtrigger2" /> 613 </trigger> 614 </events> 615 </SimpleNotification> 616 617 <SimpleNotification message="Aim at the last target and press (T)." broadcast="true"> 618 <events> 619 <trigger> 620 <EventListener event="boxtrigger3" /> 621 </trigger> 622 </events> 623 </SimpleNotification> 624 625 <SimpleNotification message="Try to hit the pirates while you are flying." broadcast="true"> 626 <events> 627 <trigger> 628 <EventListener event="boxtrigger4" /> 629 </trigger> 630 </events> 631 </SimpleNotification> 632 633 634 <!--------------------------------------PART TWO: Moving targets ---------------------------------------> 635 636 <!-- @Objects: 2 pirates moving in squares, nonlethal --> 637 <SpaceShip position="0,2000,200" lookat="0,0,0" name="movingtarget" radarname="Pirate"> 638 <events> 639 <visibility> 640 <EventListener event="boxtrigger4" /> 641 </visibility> 642 </events> 643 <templates> 644 <Template link=spaceshippirate /> 645 </templates> 646 <controller> 647 <WaypointController team=1> 648 <waypoints> 649 <Model mesh="cube.mesh" scale=8 position=" 0,1700,-200" /> 650 <Model mesh="cube.mesh" scale=8 position=" 0,1700,-700" /> 651 <Model mesh="cube.mesh" scale=8 position="500,1700,-700" /> 652 <Model mesh="cube.mesh" scale=8 position="500,1700,-200" /> 653 </waypoints> 654 </WaypointController> 655 </controller> 656 </SpaceShip> 657 658 <SpaceShip position="0,2000,400" lookat="0,0,0" name="movingtarget" radarname="Pirate"> 659 <events> 660 <visibility> 661 <EventListener event="boxtrigger4" /> 662 </visibility> 663 </events> 664 <templates> 665 <Template link=spaceshippirate /> 666 </templates> 667 <controller> 668 <WaypointController team=1> 669 <waypoints> 670 <Model mesh="cube.mesh" scale=8 position=" 0,2400,1000" /> 671 <Model mesh="cube.mesh" scale=8 position=" 0,2400, 500" /> 672 <Model mesh="cube.mesh" scale=8 position="500,2400, 500" /> 673 <Model mesh="cube.mesh" scale=8 position="500,2400,1000" /> 674 </waypoints> 675 </WaypointController> 676 </controller> 677 </SpaceShip> 678 679 <!-- @Triggers: movingpirates1 <-> one pirate dead 680 movingpirates2 <-> both pirates dead --> 681 <EventTrigger name="movingpirates2" activations="1" stayactive="true" delay=0.1> 682 <events> 683 <trigger> 684 <EventListener event="movingtarget" /> 685 </trigger> 686 </events> 687 <EventTrigger name="movingpirates1" activations="1" stayactive="true" delay=0.1> 688 <events> 689 <trigger> 690 <EventListener event="movingtarget" /> 691 </trigger> 692 </events> 693 </EventTrigger> 694 </EventTrigger> 695 696 697 <SimpleNotification message="Now get the other one." broadcast="true"> 698 <events> 699 <trigger> 700 <EventListener event="movingpirates1" /> 701 </trigger> 702 </events> 703 </SimpleNotification> 704 705 <SimpleNotification message="Fly towards the space station (grey dot)." broadcast="true"> 706 <events> 707 <trigger> 708 <EventListener event="movingpirates2" /> 709 </trigger> 710 </events> 711 </SimpleNotification> 712 713 714 715 <!--------------------------------------PART THREE: the space station ---------------------------------------> 716 <DistanceTrigger name="duball1" position="-1000,-300,700" target="Pawn" distance=700 stayActive="true" delay=1 > 717 <events> 718 <activity> 719 <EventListener event="movingpirates2" /> 720 </activity> 721 </events> 722 </DistanceTrigger> 723 724 <Trigger name="duball2" mode="and" stayActive="true"> 725 <EventTrigger activations="1" stayactive="true" delay=4 > 726 <events> 727 <trigger> 728 <EventListener event="duball1" /> 729 </trigger> 730 </events> 731 </EventTrigger> 732 <EventTrigger activations="1" invert="true"> 733 <events> 734 <trigger> 735 <EventListener event="toHydroFarmer" /> 736 </trigger> 737 </events> 738 </EventTrigger> 739 </Trigger> 740 741 <Trigger name="duball3" mode="and" stayActive="true"> 742 <EventTrigger activations="1" stayactive="true" delay=4 > 743 <events> 744 <trigger> 745 <EventListener event="duball2" /> 746 </trigger> 747 </events> 748 </EventTrigger> 749 <EventTrigger activations="1" invert="true"> 750 <events> 751 <trigger> 752 <EventListener event="toHydroFarmer" /> 753 </trigger> 754 </events> 755 </EventTrigger> 756 </Trigger> 757 758 759 <SimpleNotification message="Welcome to the Duball Space Station!"> 760 <events> 761 <trigger> 762 <EventListener event=duball1 /> 763 </trigger> 764 </events> 765 </SimpleNotification> 766 767 <SimpleNotification message="Warning: Something big is coming." broadcast="true"> 768 <events> 769 <trigger> 770 <EventListener event=duball2 /> 771 </trigger> 772 </events> 773 </SimpleNotification> 774 775 <SimpleNotification message="Use the portals to get help. (grey dot)" broadcast="true"> 776 <events> 777 <trigger> 778 <EventListener event=duball3 /> 779 </trigger> 780 </events> 781 </SimpleNotification> 782 783 784 <!-- @Objects: DuBall Space Station, (no pawn!) --> 785 <StaticEntity position="-1000,-300,700" collisionType=static> 786 <attached> 787 <Model scale=13 mesh="DuBall1.mesh" position = "-100,0,0"/> 788 <Model scale=13 mesh="DuBall2.mesh" position = "100,0,0"/> 789 <Billboard scale=7 material="Examples/Flare" colour="0.5,0.5,0.5" position = "-100,0,0"/> 790 <Billboard scale=7 material="Examples/Flare" colour="0.5,0.5,0.5" position = "100,0,0"/> 791 </attached> 792 <collisionShapes> 793 <SphereCollisionShape radius="80" position = "-100,0,0" /> 794 <SphereCollisionShape radius="120" position = "100,0,0" /> 795 <BoxCollisionShape halfExtents="90,25,45" position = "-155,0,40" /> 796 </collisionShapes> 797 </StaticEntity> 798 799 800 <!-- @Objects: PORTAL: from DuBall to HydroHarvester --> 801 <Template name=PortalDefault> 802 <PortalEndPoint> 803 <attached> 804 <Billboard material="Portals/Default" /> 805 </attached> 806 </PortalEndPoint> 807 </Template> 808 809 <PortalEndPoint position="-1400,-500,800" id="1" distance="50" target="MobileEntity" design="PortalDefault"> 810 <events> 811 <activity> 812 <Trigger mode="or" activations="2"> 813 <Trigger mode="and" activations="1"> 814 <EventTrigger> 815 <events> 816 <trigger> 817 <EventListener event="movingpirates2" /> 818 </trigger> 819 </events> 820 </EventTrigger> 821 <EventTrigger invert=true> 822 <events> 823 <trigger> 824 <EventListener event="toHydroFarmer" /> 825 </trigger> 826 </events> 827 </EventTrigger> 828 </Trigger> 829 <Trigger mode="and" activations="1"> 830 <EventTrigger> 831 <events> 832 <trigger> 833 <EventListener event="ondock" /> 834 </trigger> 835 </events> 836 </EventTrigger> 837 <EventTrigger invert=true> 838 <events> 839 <trigger> 840 <EventListener event="attack" /> 841 </trigger> 842 </events> 843 </EventTrigger> 844 </Trigger> 845 <EventTrigger> 846 <events> 847 <trigger> 848 <EventListener event="HydroFarmer" /> 849 </trigger> 850 </events> 851 </EventTrigger> 852 </Trigger> 853 </activity> 854 </events> 855 </PortalEndPoint> 856 857 <PortalEndPoint position="-47000,-1000,1300" id="2" distance="70" target="MobileEntity" design="PortalDefault"> 858 <events> 859 <activity> 860 <Trigger mode="or" activations="3"> 861 <Trigger mode="and" activations="1"> 862 <EventTrigger> 863 <events> 864 <trigger> 865 <EventListener event="movingpirates2" /> 866 </trigger> 867 </events> 868 </EventTrigger> 869 <EventTrigger invert=true> 870 <events> 871 <trigger> 872 <EventListener event="toHydroFarmer" /> 873 </trigger> 874 </events> 875 </EventTrigger> 876 </Trigger> 877 <Trigger mode="and" activations="1"> 878 <EventTrigger> 879 <events> 880 <trigger> 881 <EventListener event="ondock" /> 882 </trigger> 883 </events> 884 </EventTrigger> 885 <EventTrigger invert=true> 886 <events> 887 <trigger> 888 <EventListener event="attack" /> 889 </trigger> 890 </events> 891 </EventTrigger> 892 </Trigger> 893 <EventTrigger> 894 <events> 895 <trigger> 896 <EventListener event="HydroFarmer" /> 897 </trigger> 898 </events> 899 </EventTrigger> 900 </Trigger> 901 </activity> 902 </events> 903 </PortalEndPoint> 904 <PortalLink fromID="1" toID="2" /> 905 <PortalLink fromID="2" toID="1" /> 906 <!-- ????????????????????????????????????????????????????? why does this NOT work ?? 907 <Trigger mode="and" activations="1"> 908 <EventTrigger> 909 <events> 910 <trigger> 911 <EventListener event="HydroFarmer" /> 912 </trigger> 913 </events> 914 </EventTrigger> 915 <EventTrigger invert=true> 916 <events> 917 <trigger> 918 <EventListener event="attack" /> 919 </trigger> 920 </events> 921 </EventTrigger> 922 </Trigger> 923 --> 924 <!-- PORTALS END--> 925 926 379 927 <SimpleNotification message="Dock to the Hydrogen Farmer." broadcast="true"> 380 928 <events> … … 408 956 </EventTrigger> 409 957 </Trigger> 958 959 <SimpleNotification message="We just received a message from DuBall." broadcast="true"> 960 <events> 961 <trigger> 962 <EventListener event=famer1 /> 963 </trigger> 964 </events> 965 </SimpleNotification> 966 967 968 <SimpleNotification message="We will lend you our strongest ship." broadcast="true"> 969 <events> 970 <trigger> 971 <EventListener event=famer2 /> 972 </trigger> 973 </events> 974 </SimpleNotification> 975 410 976 411 977 <!-- @Objects: HYDROGEN FARMER & DOCKING --> … … 461 1027 </SpaceShip> 462 1028 463 <!-- @Objects: Test Station Cube -->464 465 466 467 468 1029 <Dock position="-48900,0,0" roll=90 yaw=180 > 469 1030 <animations> … … 512 1073 513 1074 1075 <!-- cruiserKilled: if cuiser is killed & player hasn't taken control of spacecrusier --> 1076 <Trigger name="cruiserKilled" mode="and" stayActive="true"> 1077 <EventTrigger stayActive="true"> 1078 <events> 1079 <trigger> 1080 <EventListener event="cruiser"/> 1081 </trigger> 1082 </events> 1083 </EventTrigger> 1084 <EventTrigger invert=true> 1085 <events> 1086 <trigger> 1087 <EventListener event="ondock" /> 1088 </trigger> 1089 </events> 1090 </EventTrigger> 1091 </Trigger> 1092 1093 1094 <!-- triggers when either hydrofarmer or cruiser is killed --> 1095 <Trigger mode=or name="gameEnd"> 1096 <EventTrigger activations="1"> 1097 <events> 1098 <trigger> 1099 <EventListener event="HydroFarmer" /> 1100 </trigger> 1101 </events> 1102 </EventTrigger> 1103 <EventTrigger activations="1"> 1104 <events> 1105 <trigger> 1106 <EventListener event="cruiserKilled" /> 1107 </trigger> 1108 </events> 1109 </EventTrigger> 1110 </Trigger> 1111 1112 <!-- triggers delayed when either hydrofarmer or cruiser is killed --> 1113 <EventTrigger delay=4 name="earlyEnd"> 1114 <events> 1115 <trigger> 1116 <EventListener event="gameEnd" /> 1117 </trigger> 1118 </events> 1119 <events> 1120 <activity> 1121 <EventListener event="movingpirates2" /> 1122 </activity> 1123 </events> 1124 </EventTrigger> 1125 1126 1127 <SimpleNotification message="Oh no! You killed the Hydrogen Farmer!" broadcast="true"> 1128 <events> 1129 <trigger> 1130 <EventListener event="HydroFarmer" /> 1131 </trigger> 1132 </events> 1133 </SimpleNotification> 1134 1135 <SimpleNotification message="Oh no! You killed the SpaceCruiser!" broadcast="true"> 1136 <events> 1137 <trigger> 1138 <EventListener event="cruiserKilled" /> 1139 </trigger> 1140 </events> 1141 </SimpleNotification> 1142 1143 <SimpleNotification message="Press (Esc) and restart the mission." broadcast="true"> 1144 <events> 1145 <trigger> 1146 <EventListener event="earlyEnd" /> 1147 </trigger> 1148 </events> 1149 </SimpleNotification> 1150 1151 <!-- hydrogen farmer & docking END --> 1152 1153 1154 <!-- @Objects: Pickup - find better place !! --> 1155 <PickupSpawner pickup=hugeshieldpickup position="-48650,700,100" triggerDistance="70" respawnTime="30" maxSpawnedItems="1" /> 1156 1157 1158 <DistanceTrigger name="pickup" position="-48650,700,100" target="Pawn" distance=60 stayActive="true" delay=0 /> 1159 <SimpleNotification message="This pickup protects your spaceship."> 1160 <events> 1161 <trigger> 1162 <EventListener event=pickup /> 1163 </trigger> 1164 </events> 1165 </SimpleNotification> 1166 <!-- Pickup--> 1167 1168 1169 <!-- @Objects: planet && spaceboundaries --> 1170 <Planet 1171 position="-44000,0,0" 1172 scale="2500" 1173 collisionType="dynamic" 1174 linearDamping="0.8" 1175 angularDamping="0" 1176 mass="10000000" 1177 pitch="0" 1178 mesh="planets/muunilinst.mesh" 1179 atmosphere="atmosphere1" 1180 rotationaxis="1,0,0" 1181 rotationrate="1.0" 1182 atmospheresize="80.0f" 1183 imagesize="1024.0f" 1184 collisiondamage = "2" 1185 enablecollisiondamage = "false" 1186 > 1187 <!--attached> 1188 <ForceField position="0,0,0" mode="sphere" diameter="10000" velocity="-50" /> 1189 </attached--> <!-- Forcefield kills HYDROGEN FARMER--> 1190 <collisionShapes> 1191 <SphereCollisionShape radius="2500" position="0,0,0" /> 1192 </collisionShapes> 1193 </Planet> 1194 1195 1196 <!-------------------------------------- The attack ---------------------------------------> 1197 <!-- TODO: 1198 - update spaceshipTransporter 1199 - bots do friendly fire (is drone function reusable?) 1200 --> 1201 514 1202 <!-- Fallback Spawnpoint: on cruiserdeath caused by pirates. Unfortunately unstable behaviour concerning activity. --> 515 1203 <TeamSpawnPoint team=0 position="2000,1500,-1500" direction="-1,-1,1" spawnclass=SpaceShip pawndesign=spaceshipspacecruiser> … … 551 1239 </EventTrigger> 552 1240 </DistanceTrigger> 1241 1242 <SimpleNotification message="Return before it's too late. Boost with (Space)." broadcast="true"> 1243 <events> 1244 <trigger> 1245 <EventListener event=ondock /> 1246 </trigger> 1247 </events> 1248 </SimpleNotification> 1249 1250 <SimpleNotification message="Several serious enemies are approaching!"> 1251 <events> 1252 <trigger> 1253 <EventListener event=attack /> 1254 </trigger> 1255 </events> 1256 </SimpleNotification> 1257 1258 1259 <!-- @Objects: 6 pirates, heading towards DuBall, attacking --> 1260 <!-- TODO: re-hide pirates on early end--> 1261 <!-- 1 --> 1262 <SpaceShip position="3000,-4000,4000" lookat="-1300,-600,900" name="attacker"visible="true"> 1263 <events> 1264 <visibility> 1265 <EventListener event="ondock" /> 1266 </visibility> 1267 </events> 1268 <templates> 1269 <Template link=spaceshippirate /> <!--spaceshipTransporter --> 1270 </templates> 1271 <controller> 1272 <WaypointPatrolController alertnessradius=3129 team=1 active=false> 1273 <waypoints> 1274 <Model mesh="cube.mesh" scale=0 position="-1300,-600,900" /> 1275 <Model mesh="cube.mesh" scale=0 position="0,0,0" /> 1276 </waypoints> 1277 <events> 1278 <activity> 1279 <EventListener event="attack" /> <!-- activates enemies--> 1280 </activity> 1281 </events> 1282 </WaypointPatrolController> 1283 </controller> 1284 </SpaceShip> 1285 <!-- 2 --> 1286 <SpaceShip position="3000,-4000,-4000" lookat="-1300,-600,900" name="attacker" visible="true"> 1287 <events> 1288 <visibility> 1289 <EventListener event="ondock" /> 1290 </visibility> 1291 </events> 1292 <templates> 1293 <Template link=spaceshippirate /> <!--spaceshipTransporter --> 1294 </templates> 1295 <controller> 1296 <WaypointPatrolController alertnessradius=3129 team=1 active=false> 1297 <waypoints> 1298 <Model mesh="cube.mesh" scale=0 position="-1300,-600,900" /> 1299 <Model mesh="cube.mesh" scale=0 position="0,0,0" /> 1300 </waypoints> 1301 <events> 1302 <activity> 1303 <EventListener event="attack" /> <!-- activates enemies--> 1304 </activity> 1305 </events> 1306 </WaypointPatrolController> 1307 </controller> 1308 </SpaceShip> 1309 <!-- 3 --> 1310 <SpaceShip position="-4000,-3000,4000" lookat="-1300,-600,900" name="attacker" visible="true"> 1311 <events> 1312 <visibility> 1313 <EventListener event="ondock" /> 1314 </visibility> 1315 </events> 1316 <templates> 1317 <Template link=spaceshippirate /> <!--spaceshipTransporter --> 1318 </templates> 1319 <controller> 1320 <WaypointPatrolController alertnessradius=3129 team=1 active=false> 1321 <waypoints> 1322 <Model mesh="cube.mesh" scale=0 position="-1300,-600,900" /> 1323 <Model mesh="cube.mesh" scale=0 position="0,0,0" /> 1324 </waypoints> 1325 <events> 1326 <activity> 1327 <EventListener event="attack" /> <!-- activates enemies--> 1328 </activity> 1329 </events> 1330 </WaypointPatrolController> 1331 </controller> 1332 </SpaceShip> 1333 <!-- 4 --> 1334 <SpaceShip position="-3000,-3000,-5000" lookat="-1300,-600,900" name="attacker" visible="true"> 1335 <events> 1336 <visibility> 1337 <EventListener event="ondock" /> 1338 </visibility> 1339 </events> 1340 <templates> 1341 <Template link=spaceshippirate /> <!--spaceshipTransporter --> 1342 </templates> 1343 <controller> 1344 <WaypointPatrolController alertnessradius=3129 team=1 active=false> 1345 <waypoints> 1346 <Model mesh="cube.mesh" scale=0 position="-1300,-600,900" /> 1347 <Model mesh="cube.mesh" scale=0 position="0,0,0" /> 1348 </waypoints> 1349 <events> 1350 <activity> 1351 <EventListener event="attack" /> <!-- activates enemies--> 1352 </activity> 1353 </events> 1354 </WaypointPatrolController> 1355 </controller> 1356 </SpaceShip> 1357 <!-- 5 --> 1358 <SpaceShip position="4000,4000,3000" lookat="-1300,-600,900" name="attacker"visible="true"> 1359 <events> 1360 <visibility> 1361 <EventListener event="ondock" /> 1362 </visibility> 1363 </events> 1364 <templates> 1365 <Template link=spaceshippirate /> <!--spaceshipTransporter --> 1366 </templates> 1367 <controller> 1368 <WaypointPatrolController alertnessradius=3129 team=1 active=false> 1369 <waypoints> 1370 <Model mesh="cube.mesh" scale=0 position="-1300,-600,900" /> 1371 <Model mesh="cube.mesh" scale=0 position="0,0,0" /> 1372 </waypoints> 1373 <events> 1374 <activity> 1375 <EventListener event="attack" /> <!-- activates enemies--> 1376 </activity> 1377 </events> 1378 </WaypointPatrolController> 1379 </controller> 1380 </SpaceShip> 1381 <!-- 6 --> 1382 <SpaceShip position="2000,-4000,5000" lookat="-1300,-600,900" name="attacker" visible="true"> 1383 <events> 1384 <visibility> 1385 <EventListener event="ondock" /> 1386 </visibility> 1387 </events> 1388 <templates> 1389 <Template link=spaceshippirate /> <!--spaceshipTransporter --> 1390 </templates> 1391 <controller> 1392 <WaypointPatrolController alertnessradius=3129 team=1 active=false> 1393 <waypoints> 1394 <Model mesh="cube.mesh" scale=0 position="-1300,-600,900" /> 1395 <Model mesh="cube.mesh" scale=0 position="0,0,0" /> 1396 </waypoints> 1397 <events> 1398 <activity> 1399 <EventListener event="attack" /> <!-- activates enemies--> 1400 </activity> 1401 </events> 1402 </WaypointPatrolController> 1403 </controller> 1404 </SpaceShip> 1405 553 1406 554 1407 <!-- @Triggers: attacktriggerX <-> X enemies destroyed , X is an element of [1,6] -->
Note: See TracChangeset
for help on using the changeset viewer.