Changeset 8878
- Timestamp:
- Oct 2, 2011, 10:05:11 AM (13 years ago)
- Location:
- code/branches/ai2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ai2/data/levels/missionOne.oxw
r8875 r8878 47 47 ?> 48 48 49 <WorldAmbientSound source="Mars.ogg" looping="true" playOnLoad="true" /> <!-- AlphaCentauri.ogg-->49 <WorldAmbientSound source="Mars.ogg" looping="true" playOnLoad="true" /> <!-- AlphaCentauri.ogg--> 50 50 51 51 <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/> 52 < SpawnPoint team=0 position="800,700,600" direction="-1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />52 <TeamSpawnPoint team=0 position="800,700,600" direction="-1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> 53 53 54 54 … … 57 57 <LocalQuest id="missionOne.basicFlying"> 58 58 <QuestDescription title="Flying" description="INSERT STORY HERE. The first thing you have to learn is flying. Use 'W' to accelerate and steer with your mouse. In order to know where to fly there are two detection systems. The navigation markers highlite important objects directly in the level. If you can't directly see those objects, there are arrows which indicate how you have to steer. The second device is the radar. There you get an overview of all objects near you. In order to find an object that you spotted on radar, you have to steer in a way that the corresponding dot is in the center of the radar. Now you can find the corresponding object straight ahead. Your goal is to fly to the first waypoint. It's that orange dot on the radar." failmessage="" completeMessage="Well done." /> 59 <!--subquests> 60 <Quest id ="questId1" /> 61 <Quest id="questIdn" /> 59 <complete-effects> 60 <AddQuest questId="missionOne.weaponsystem" /> 61 </complete-effects> 62 </LocalQuest> 63 64 <LocalQuest id="missionOne.weaponsystem"> 65 <QuestDescription title="Weaponsystem" description="INSERT STORY HERE." failmessage="" completeMessage="All right." /> 66 <subquests> 67 <LocalQuest id ="missionOne.weaponsystemI"> 68 <QuestDescription title="Destroy Boxes" description="Test your four different weapons on the four boxes. The four weapons are laser (left click), plasma (right click), self targeting rockets (middle click) and manual rockets (press 'T'). Attention if you use manual rockets: Press 'T' only once to start the rocket. If you miss your target you can get out of the rocket, by clicking or pressing 'T' once more." failmessage="" completeMessage="" /> 69 <complete-effects> 70 <AddQuest questId="missionOne.weaponsystemII" /> 71 </complete-effects> 72 </LocalQuest> 73 <LocalQuest id="missionOne.weaponsystemII"> 74 <QuestDescription title="" description="" failmessage="" completeMessage="" /> 75 <complete-effects> 76 <AddQuest questId="missionOne.DuballStation" /> 77 </complete-effects> 78 </LocalQuest> 62 79 </subquests> 63 80 <hints> 64 <QuestHint id="hintId1" /> //A list of n QuestHints, see QuestHint for the full XML representation of those. 65 ... 66 <QuestHint id="hintIdn" /> 81 <QuestHint id="missionOne.weaponsystem.laser"> 82 <QuestDescription title="Laser" description="The laser is a standard weapon. It is fast and precise but does not deal much damage." /> 83 </QuestHint> 84 <QuestHint id="missionOne.weaponsystem.lightningGun"> 85 <QuestDescription title="Lightninggun" description="That was the lightning gun. Its plasma munition is quite slow, but a normal spaceship can't take more than three hits of such a strong weapon. That could be your favourite weapon for close range combat or if you want to hit a really slow enemy." /> 86 </QuestHint> 87 <QuestHint id="missionOne.weaponsystem.targetSeekingRocket"> 88 <QuestDescription title="Target Seeking Rocket" description="The target seeking rockets follow slow targets on their own." /> 89 </QuestHint> 90 <QuestHint id="missionOne.weaponsystem.manualrocket"> 91 <QuestDescription title="Manual Rocket" description="Manual rockets are your most powerful weapon. But since you have to steer it to your target yourself, you will leave your spaceship unprotected for a while. The total amount of both manual and target seeking rockets is limited to 10." /> 92 </QuestHint> 67 93 </hints> 68 <fail-effects>69 <QuestEffect /> //A list of QuestEffects, invoked when the Quest is failed, see QuestEffect for the full XML representation.70 ...71 <QuestEffect />72 </fail-effects>73 94 <complete-effects> 74 <QuestEffect /> //A list of QuestEffects, invoked when the Quest is completed, see QuestEffect for the full XML representation. 75 ... 76 <QuestEffect /> 77 </complete-effects--> 95 </complete-effects> 78 96 </LocalQuest> 79 97 80 <LocalQuest id="missionOne.weaponsystemI"> 81 <QuestDescription title="Weaponsystem I" description="INSERT STORY HERE. Test your four different weapons on the four boxes. The four weapons are laser (left click), plasma (right click), self targeting rockets (middle click) and manual rockets (press 'T'). Attention if you use manual rockets: Press 'T' only once to start the rocket. If you miss your target you can get out of the rocket, by clicking or pressing 'T' once more." failmessage="" completeMessage="All right." /> 82 <!--subquests> 83 <Quest id ="questId1" /> 84 <Quest id="questIdn" /> 85 </subquests> 86 <hints> 87 <QuestHint id="hintId1" /> 88 89 "The laser is a standard weapon. It is fast and precise but does not deal much damage." 90 "That was the lightning gun. Its plasma munition is quite slow, but a normal spaceship can't take more than three hits of such a strong weapon. That could be your favourite weapon for close range combat or if you want to hit a really slow enemy." 91 "The target seeking rockets follow slow targets on their own." 92 "Task complete. Manual rockets are your most powerful weapon. But since you have to steer it to your target yourself, you will leave your spaceship unprotected for a while. The total amount of both manual and target seeking rockets is limited to 10." 93 94 95 <QuestHint id="hintIdn" /> 96 </hints> 97 <fail-effects> 98 <QuestEffect /> 99 ... 100 <QuestEffect /> 101 </fail-effects> 98 <LocalQuest id="missionOne.DuballStation"> 99 <QuestDescription title="Duball Space Station" description="Fly towards the Duball Space Station. The grey radar marker will lead you to its position." failmessage="" completeMessage="Well done." /> 102 100 <complete-effects> 103 <QuestEffect /> 104 ... 105 <QuestEffect /> 106 </complete-effects--> 101 <AddQuest questId="missionOne.getHelp" /> 102 </complete-effects> 107 103 </LocalQuest> 108 104 109 110 105 <LocalQuest id="missionOne.getHelp"> 106 <QuestDescription title="Get Help" description="There are enemies approaching. You can't handle it on your own. Fortunately there's a shortcut to the next friendly unit. Use the portal (grey dot) to get near the Hydrogen Farmer. There you might get help - as far as we know there should be a stronger spaceship docked to the Hydrogen Farmer. In order to be able to use that stronger spaceship you have to dock to the Hydrogen Farmer. Simply fly to the center of the Hydrogen Farmer, which is between its three legs." failmessage="" completeMessage="Well done." /> 107 <complete-effects> 108 <AddQuest questId="missionOne.getHome" /> 109 </complete-effects> 110 </LocalQuest> 111 112 <LocalQuest id="missionOne.getHome"> 113 <QuestDescription title="Return ASAP" description="" failmessage="" completeMessage="Well done." /> 114 <complete-effects> 115 <AddQuest questId="missionOne.defence" /> 116 </complete-effects> 117 </LocalQuest> 118 119 <LocalQuest id="missionOne.defence"> 120 <QuestDescription title="Defence" description="" failmessage="" completeMessage="Well done." /> 121 </LocalQuest> 111 122 112 123 … … 134 145 <!-- 135 146 136 137 138 147 "Lets start flying. Use W to accelerate and S to brake. The goal is to reach the spacestation which is displayed on the radar. If you want to be faster you can temporarily boost by hitting additionally the space button. If you use too much boost your engine heats up and you won't be able to use boost for a while. By the way boost could be useful during combat .." 139 148 … … 187 196 </events> 188 197 </SimpleNotification> 189 198 <BlinkingBillboard position="-200,0,0" frequency=0.2 amplitude=1 material="Flares/lensflare" colour="0,0,1"/> 190 199 <!-- @Objects: 4 boxes (uncontrolled pawns) --> 191 200 <Pawn health=30 position="0,0,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box > 192 201 <attached> 202 <BlinkingBillboard frequency=0.2 amplitude=1.2 material="Flares/lensflare" colour="0,0,1"/> 193 203 <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" /> 194 204 </attached> … … 199 209 200 210 <Pawn health=30 position="0,100,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box visible="true"> 201 <!--events>202 <visibility>203 <EventListener event=spawndelaytrigger3 />204 </visibility>205 </events-->206 207 211 <attached> 212 <BlinkingBillboard frequency=0.2 amplitude=1.2 material="Flares/lensflare" colour="0,0,1"/> 208 213 <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" /> 209 214 </attached> … … 214 219 <Pawn health=30 position="0,200,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box > 215 220 <attached> 221 <BlinkingBillboard frequency=0.2 amplitude=1.2 material="Flares/lensflare" colour="0,0,1"/> 216 222 <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" /> 217 223 </attached> … … 223 229 <attached> 224 230 <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" /> 231 <BlinkingBillboard frequency=0.2 amplitude=1.2 material="Flares/lensflare" colour="0,0,1"/> 225 232 </attached> 226 233 <collisionShapes> … … 310 317 <!-- @Objects: 2 pirates moving in squares, nolethal --> 311 318 <SpaceShip position="0,2000,200" lookat="0,0,0" name="movingtarget" > 319 <attached> 320 <BlinkingBillboard frequency=0.2 amplitude=1.2 material="Flares/lensflare" colour="0,0,1"> 321 <events> 322 <visibility> 323 <EventListener event="boxtrigger4" /> 324 </visibility> 325 </events> 326 </BlinkingBillboard> 327 </attached> 312 328 <templates> 313 329 <Template link=spaceshippirate /> … … 326 342 327 343 <SpaceShip position="0,2000,400" lookat="0,0,0" name="movingtarget"> 344 <attached> 345 <BlinkingBillboard frequency=0.2 amplitude=1.2 material="Flares/lensflare" colour="0,0,1"> 346 <events> 347 <visibility> 348 <EventListener event="boxtrigger4" /> 349 </visibility> 350 </events> 351 </BlinkingBillboard> 352 </attached> 328 353 <templates> 329 354 <Template link=spaceshippirate /> … … 676 701 677 702 678 <SimpleNotification message=" You killed the Hydrogen Farmer!" broadcast="true">703 <SimpleNotification message="Oh no! You killed the Hydrogen Farmer!" broadcast="true"> 679 704 <events> 680 705 <trigger> … … 684 709 </SimpleNotification> 685 710 686 <SimpleNotification message=" You killed the SpaceCruiser!" broadcast="true">711 <SimpleNotification message="Oh no! You killed the SpaceCruiser!" broadcast="true"> 687 712 <events> 688 713 <trigger> … … 795 820 </templates> 796 821 <controller> 797 <WaypointPatrolController alertnessradius=3129 team= 0active=false>822 <WaypointPatrolController alertnessradius=3129 team=1 active=false> 798 823 <waypoints> 799 824 <Model mesh="cube.mesh" scale=0 position="-1300,-600,900" /> … … 819 844 </templates> 820 845 <controller> 821 <WaypointPatrolController alertnessradius=3129 team= 0active=false>846 <WaypointPatrolController alertnessradius=3129 team=1 active=false> 822 847 <waypoints> 823 848 <Model mesh="cube.mesh" scale=0 position="-1300,-600,900" /> … … 843 868 </templates> 844 869 <controller> 845 <WaypointPatrolController alertnessradius=3129 team= 0active=false>870 <WaypointPatrolController alertnessradius=3129 team=1 active=false> 846 871 <waypoints> 847 872 <Model mesh="cube.mesh" scale=0 position="-1300,-600,900" /> … … 867 892 </templates> 868 893 <controller> 869 <WaypointPatrolController alertnessradius=3129 team= 0active=false>894 <WaypointPatrolController alertnessradius=3129 team=1 active=false> 870 895 <waypoints> 871 896 <Model mesh="cube.mesh" scale=0 position="-1300,-600,900" /> … … 891 916 </templates> 892 917 <controller> 893 <WaypointPatrolController alertnessradius=3129 team= 0active=false>918 <WaypointPatrolController alertnessradius=3129 team=1 active=false> 894 919 <waypoints> 895 920 <Model mesh="cube.mesh" scale=0 position="-1300,-600,900" /> … … 915 940 </templates> 916 941 <controller> 917 <WaypointPatrolController alertnessradius=3129 team= 0active=false>942 <WaypointPatrolController alertnessradius=3129 team=1 active=false> 918 943 <waypoints> 919 944 <Model mesh="cube.mesh" scale=0 position="-1300,-600,900" /> -
code/branches/ai2/src/orxonox/interfaces/RadarViewable.h
r8875 r8878 38 38 #include "core/OrxonoxClass.h" 39 39 #include "core/SmartPtr.h" 40 //TODO: if a RadarViewable changes visibility or activity, the event is not correctly working 40 41 41 namespace orxonox 42 42 {
Note: See TracChangeset
for help on using the changeset viewer.