- Timestamp:
- Sep 1, 2011, 11:45:55 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ai2/data/levels/missionOne.oxw
r8871 r8872 31 31 name="narrative" 32 32 targets="simpleNotification" 33 size= 134 displayTime=3 033 size=3 34 displayTime=3.9 35 35 position="0.2, 0, 0.1, 0" 36 fontSize="2 4"36 fontSize="23" 37 37 fontColor="0.3, 1, 0.2, 0.8" 38 38 alignment="HorzCentred" … … 58 58 <!-- QUESTS: TODO! STORY!! 59 59 <LocalQuest id="orxonox-weaponsystem-check"> 60 <QuestDescription title="Tutorial" description=" Before we serious missions you have to proof that" /> //The description of the quest.60 <QuestDescription title="Tutorial" description=" " /> //The description of the quest. 61 61 <subquests> 62 62 <Quest id ="questId1" /> … … 128 128 </events> 129 129 </SimpleNotification> 130 <!-------------------------------------- PART ONE: Destroy boxes ---------------------------------------> 131 <DistanceTrigger name="spawndelaytrigger1" position="-200,0,0" target="Pawn" distance=10 stayActive="true" delay=2 /> 130 <!-------------------------------------- PART ZERO: How to fly ---------------------------------------> 131 132 <!-------------------------------------- PART ONE : Destroy boxes ---------------------------------------> 133 <DistanceTrigger name="spawndelaytrigger1" position="-200,0,0" target="Pawn" distance=10 stayActive="true" delay=4 /> 132 134 <SimpleNotification message="Destroy those four boxes."> 133 135 <events> … … 138 140 </SimpleNotification> 139 141 140 <DistanceTrigger name="spawndelaytrigger2" position="-200,0,0" target="Pawn" distance=10 stayActive="true" delay= 5/>142 <DistanceTrigger name="spawndelaytrigger2" position="-200,0,0" target="Pawn" distance=10 stayActive="true" delay=8.1 /> 141 143 <SimpleNotification message=" 1. Aim the a the red cycle."> 142 144 <events> … … 147 149 </SimpleNotification> 148 150 149 <DistanceTrigger name="spawndelaytrigger3" position="-200,0,0" target="Pawn" distance=10 stayActive="true" delay= 8/>151 <DistanceTrigger name="spawndelaytrigger3" position="-200,0,0" target="Pawn" distance=10 stayActive="true" delay=12.2 /> 150 152 <SimpleNotification message="2. Click! (hold the left mouse button)"> 151 153 <events> … … 166 168 </Pawn> 167 169 168 <Pawn health=30 position="0,100,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box >170 <Pawn health=30 position="0,100,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box visible="true"> 169 171 <!--events> 170 172 <visibility> … … 201 203 boxtrigger3 <-> three boxes destroyed 202 204 boxtrigger4 <-> four boxes destroyed --> 203 <EventTrigger name="boxtrigger4" activations="1" stayactive="true" >205 <EventTrigger name="boxtrigger4" activations="1" stayactive="true" delay=0.1> 204 206 <events> 205 207 <trigger> … … 207 209 </trigger> 208 210 </events> 209 <EventTrigger name="boxtrigger3" activations="1" stayactive="true" >211 <EventTrigger name="boxtrigger3" activations="1" stayactive="true" delay=0.1> 210 212 <events> 211 213 <trigger> … … 213 215 </trigger> 214 216 </events> 215 <EventTrigger name="boxtrigger2" activations="1" stayactive="true" >217 <EventTrigger name="boxtrigger2" activations="1" stayactive="true" delay=0.1> 216 218 <events> 217 219 <trigger> … … 219 221 </trigger> 220 222 </events> 221 <EventTrigger name="boxtrigger1" activations="1" stayactive="true" >223 <EventTrigger name="boxtrigger1" activations="1" stayactive="true" delay=0.1> 222 224 <events> 223 225 <trigger> … … 277 279 278 280 <!-- @Objects: 2 pirates moving in squares, nolethal --> 279 <SpaceShip position="0,2000,200" lookat="0,0,0" name="movingtarget" >281 <SpaceShip position="0,2000,200" lookat="0,0,0" name="movingtarget" > 280 282 <templates> 281 283 <Template link=spaceshippirate /> … … 311 313 <!-- @Triggers: movingpirates1 <-> one pirate dead 312 314 movingpirates2 <-> both pirates dead --> 313 <EventTrigger name="movingpirates2" activations="1" stayactive="true" >315 <EventTrigger name="movingpirates2" activations="1" stayactive="true" delay=0.1> 314 316 <events> 315 317 <trigger> … … 317 319 </trigger> 318 320 </events> 319 <EventTrigger name="movingpirates1" activations="1" stayactive="true" >321 <EventTrigger name="movingpirates1" activations="1" stayactive="true" delay=0.1> 320 322 <events> 321 323 <trigger> … … 346 348 347 349 <!--------------------------------------PART THREE: the space station ---------------------------------------> 348 <DistanceTrigger name="duball1" position="-1000,-300,700" target="Pawn" distance=700 stayActive="true" delay= 2/>350 <DistanceTrigger name="duball1" position="-1000,-300,700" target="Pawn" distance=700 stayActive="true" delay=1 /> 349 351 <SimpleNotification message="Welcome to the Duball Space Station!"> 350 352 <events> … … 541 543 <!-- Pickup--> 542 544 543 <DistanceTrigger name="warning" position="-48650,700,100" target="Pawn" distance=100 stayActive="true" delay=4 />544 <SimpleNotification message="Return before it's too late. Boost with 'Space'.">545 <events>546 <trigger>547 <EventListener event=warning />548 </trigger>549 </events>550 </SimpleNotification>551 545 552 546 <!-- @Objects: planet && spaceboundaries --> … … 565 559 atmospheresize="80.0f" 566 560 imagesize="1024.0f" 567 collisiondamage = 2568 enablecollisiondamage = true561 collisiondamage = "2" 562 enablecollisiondamage = "false" 569 563 > 570 <attached>571 <Model mesh="sphere.mesh" mass=10 position="0,0,0" scale=2500 />572 </attached>573 564 <!--attached> 574 565 <ForceField position="0,0,0" mode="sphere" diameter="10000" velocity="-50" /> 575 566 </attached--> <!-- Forcefield kills HYDROGEN FARMER--> 576 567 <collisionShapes> 577 <SphereCollisionShape radius="2 400" position="0,0,0" /> <!-- Nasty: Collisionradius =! planet scale -->568 <SphereCollisionShape radius="2500" position="0,0,0" /> 578 569 </collisionShapes> 579 570 </Planet> 580 <SpaceBoundaries reactionMode=2 warnDistance="1" maxDistance="2750" showDistance="2800" healthDecrease="0.1" position="-44000,0,0"/>581 571 582 572 … … 606 596 </DistanceTrigger> 607 597 608 <SimpleNotification message=" WHY IS THIS MESSAGE NOT DISPLAYED ??"> <!-- ondock-message should be: "Return before it's too late. Boost with 'Space'." -->598 <SimpleNotification message="Return before it's too late. Boost with 'Space'." broadcast="true"> 609 599 <events> 610 600 <trigger> … … 626 616 <!-- @Objects: 6 pirates, heading towards DuBall, attacking --> 627 617 <!-- 1 --> 628 <SpaceShip position="3000,-4000,4000" lookat="-1300,-600,900" name="attacker"> 618 <SpaceShip position="3000,-4000,4000" lookat="-1300,-600,900" name="attacker"visible="true"> 619 <events> 620 <visibility> 621 <EventListener event="ondock" /> 622 </visibility> 623 </events> 629 624 <templates> 630 625 <Template link=spaceshippirate /> <!--spaceshipTransporter --> … … 645 640 </SpaceShip> 646 641 <!-- 2 --> 647 <SpaceShip position="3000,-4000,-4000" lookat="-1300,-600,900" name="attacker"> 642 <SpaceShip position="3000,-4000,-4000" lookat="-1300,-600,900" name="attacker" visible="true"> 643 <events> 644 <visibility> 645 <EventListener event="ondock" /> 646 </visibility> 647 </events> 648 648 <templates> 649 649 <Template link=spaceshippirate /> <!--spaceshipTransporter --> … … 664 664 </SpaceShip> 665 665 <!-- 3 --> 666 <SpaceShip position="-4000,-3000,4000" lookat="-1300,-600,900" name="attacker"> 666 <SpaceShip position="-4000,-3000,4000" lookat="-1300,-600,900" name="attacker" visible="true"> 667 <events> 668 <visibility> 669 <EventListener event="ondock" /> 670 </visibility> 671 </events> 667 672 <templates> 668 673 <Template link=spaceshippirate /> <!--spaceshipTransporter --> … … 683 688 </SpaceShip> 684 689 <!-- 4 --> 685 <SpaceShip position="-3000,-3000,-5000" lookat="-1300,-600,900" name="attacker"> 690 <SpaceShip position="-3000,-3000,-5000" lookat="-1300,-600,900" name="attacker" visible="true"> 691 <events> 692 <visibility> 693 <EventListener event="ondock" /> 694 </visibility> 695 </events> 686 696 <templates> 687 697 <Template link=spaceshippirate /> <!--spaceshipTransporter --> … … 702 712 </SpaceShip> 703 713 <!-- 5 --> 704 <SpaceShip position="4000,4000,3000" lookat="-1300,-600,900" name="attacker"> 714 <SpaceShip position="4000,4000,3000" lookat="-1300,-600,900" name="attacker"visible="true"> 715 <events> 716 <visibility> 717 <EventListener event="ondock" /> 718 </visibility> 719 </events> 705 720 <templates> 706 721 <Template link=spaceshippirate /> <!--spaceshipTransporter --> … … 721 736 </SpaceShip> 722 737 <!-- 6 --> 723 <SpaceShip position="2000,-4000,5000" lookat="-1300,-600,900" name="attacker"> 738 <SpaceShip position="2000,-4000,5000" lookat="-1300,-600,900" name="attacker" visible="true"> 739 <events> 740 <visibility> 741 <EventListener event="ondock" /> 742 </visibility> 743 </events> 724 744 <templates> 725 745 <Template link=spaceshippirate /> <!--spaceshipTransporter --> … … 747 767 </trigger> 748 768 </events> 749 <EventTrigger name="attacktrigger5" activations="1" stayactive="true" >769 <EventTrigger name="attacktrigger5" activations="1" stayactive="true" delay=0.1> 750 770 <events> 751 771 <trigger> … … 753 773 </trigger> 754 774 </events> 755 <EventTrigger name="attacktrigger4" activations="1" stayactive="true" >775 <EventTrigger name="attacktrigger4" activations="1" stayactive="true" delay=0.1> 756 776 <events> 757 777 <trigger> … … 759 779 </trigger> 760 780 </events> 761 <EventTrigger name="attacktrigger3" activations="1" stayactive="true" >781 <EventTrigger name="attacktrigger3" activations="1" stayactive="true" delay=0.1> 762 782 <events> 763 783 <trigger> … … 765 785 </trigger> 766 786 </events> 767 <EventTrigger name="attacktrigger2" activations="1" stayactive="true" >787 <EventTrigger name="attacktrigger2" activations="1" stayactive="true" delay=0.1> 768 788 <events> 769 789 <trigger> … … 771 791 </trigger> 772 792 </events> 773 <EventTrigger name="attacktrigger1" activations="1" stayactive="true" >793 <EventTrigger name="attacktrigger1" activations="1" stayactive="true" delay=0.1> 774 794 <events> 775 795 <trigger> … … 856 876 </SimpleNotification> 857 877 858 <SimpleNotification message="... continue by using the new portal." broadcast="true">878 <SimpleNotification message="... stay here to learn some tricks." broadcast="true"> 859 879 <events> 860 880 <trigger> … … 864 884 </SimpleNotification> 865 885 866 867 <!--- Message: Mission accomplished. Well done. Either you return to the main menu by pressing 'Esc' & then the button 'return to main menu'868 or you might want to discover some further tricks. Then use the new portal. --->869 870 886 <!-------------------------------------- |Bonus Part| ---------------------------------------> 871 872 <!-- @Objects: 6 pirates, heading towards DuBall, attacking --> 873 <PortalEndPoint position="700,-600,500" id="3" distance="50" target="MobileEntity" design="PortalDefault" visible=true> 874 <events> 875 <visibility> 876 <EventListener event="postAttack2" /> 877 </visibility> 878 </events> 879 </PortalEndPoint> 880 881 <PortalEndPoint position="7000,10000,-5000" id="4" distance="70" target="MobileEntity" design="PortalDefault" visible=true> 882 <events> 883 <visibility> 884 <EventListener event="postAttack2" /> 885 </visibility> 886 </events> 887 </PortalEndPoint> 888 889 <PortalLink fromID="3" toID="4" /> 890 <PortalLink fromID="4" toID="3" /> 891 892 <DistanceTrigger name="bonus1" position="7000,10000,-5000" target="Pawn" distance=100 stayActive="true" delay=2 /> 893 <SimpleNotification message="Rotate your ship. Press 'Q' or 'E'. "> 887 <!-- @Triggers: "bonusX" <-> delayed "attacktrigger6" --> 888 <EventTrigger name="bonus1" activations="1" stayactive="true" delay=10> 889 <events> 890 <trigger> 891 <EventListener event="attacktrigger6" /> 892 </trigger> 893 </events> 894 </EventTrigger> 895 <EventTrigger name="bonus2" activations="1" stayactive="true" delay=16> 896 <events> 897 <trigger> 898 <EventListener event="attacktrigger6" /> 899 </trigger> 900 </events> 901 </EventTrigger> 902 <EventTrigger name="bonus3" activations="1" stayactive="true" delay=22> 903 <events> 904 <trigger> 905 <EventListener event="attacktrigger6" /> 906 </trigger> 907 </events> 908 </EventTrigger> 909 <EventTrigger name="bonus4" activations="1" stayactive="true" delay=28> 910 <events> 911 <trigger> 912 <EventListener event="attacktrigger6" /> 913 </trigger> 914 </events> 915 </EventTrigger> 916 <EventTrigger name="bonus5" activations="1" stayactive="true" delay=32.1> 917 <events> 918 <trigger> 919 <EventListener event="attacktrigger6" /> 920 </trigger> 921 </events> 922 </EventTrigger> 923 <EventTrigger name="bonus6" activations="1" stayactive="true" delay=36.2> 924 <events> 925 <trigger> 926 <EventListener event="attacktrigger6" /> 927 </trigger> 928 </events> 929 </EventTrigger> 930 <EventTrigger name="bonus7" activations="1" stayactive="true" delay=4> 931 <events> 932 <trigger> 933 <EventListener event="bonus6" /> 934 </trigger> 935 </events> 936 </EventTrigger> 937 938 939 940 <SimpleNotification message="Rotate your ship. Press 'Q' or 'E'. " broadcast="true"> 894 941 <events> 895 942 <trigger> … … 899 946 </SimpleNotification> 900 947 901 <DistanceTrigger name="bonus2" position="7000,10000,-5000" target="Pawn" distance=100 stayActive="true" delay=7 /> 902 <SimpleNotification message="Switch the camera's position. Press 'C'. "> 948 <SimpleNotification message="Switch the camera's position. Press 'C'. " broadcast="true"> 903 949 <events> 904 950 <trigger> … … 908 954 </SimpleNotification> 909 955 910 <DistanceTrigger name="bonus3" position="7000,10000,-5000" target="Pawn" distance=100 stayActive="true" delay=12 /> 911 <SimpleNotification message="360° view: press 'Ctrl' + use the mouse "> 956 <SimpleNotification message="360° view: press 'Ctrl' + use the mouse " broadcast="true"> 912 957 <events> 913 958 <trigger> … … 917 962 </SimpleNotification> 918 963 919 <DistanceTrigger name="bonus4" position="7000,10000,-5000" target="Pawn" distance=100 stayActive="true" delay=17 /> 920 <SimpleNotification message="Have a look at the main menu's settings."> 964 <SimpleNotification message="Have a look at the main menu's settings." broadcast="true"> 921 965 <events> 922 966 <trigger> … … 926 970 </SimpleNotification> 927 971 928 <DistanceTrigger name="bonus5" position="7000,10000,-5000" target="Pawn" distance=100 stayActive="true" delay=22 /> 929 <SimpleNotification message="E.g: Settings > Miscellaneous > Nr. of bots"> 972 <SimpleNotification message="E.g: Settings > Miscellaneous > Nr. of bots" broadcast="true"> 930 973 <events> 931 974 <trigger> … … 935 978 </SimpleNotification> 936 979 937 <DistanceTrigger name="bonus6" position="7000,10000,-5000" target="Pawn" distance=100 stayActive="true" delay=27 /> 938 <SimpleNotification message="That's it. Have fun with some bots."> 980 <SimpleNotification message="You successfully finished Mission One!" broadcast="true"> 939 981 <events> 940 982 <trigger> … … 944 986 </SimpleNotification> 945 987 946 <Script code="addBots 3" onLoad="false"> 988 <SimpleNotification message="Press 'Esc' and return to the main menu." broadcast="true"> 989 <events> 990 <trigger> 991 <EventListener event=bonus7 /> 992 </trigger> 993 </events> 994 </SimpleNotification> 995 996 997 <!--Script code="addBots 3" onLoad="false"> 947 998 <events> 948 999 <trigger> … … 958 1009 </trigger> 959 1010 </events> 960 </Script >1011 </Script--> 961 1012 962 1013 </Scene> … … 964 1015 <!-- TODO: 965 1016 ! Quest Interface 966 ! Problem with triggers (bug! e.g. at boxes, fast destroy)967 1017 - Foolproof text messages (e.g. verspätete Nachrichten unterdrücken) 968 - Clear Message Output: ""1018 - Radar visibility & Hud Markers 969 1019 -->
Note: See TracChangeset
for help on using the changeset viewer.