[8773] | 1 | <LevelInfo |
---|
[8824] | 2 | name = "Mission One" |
---|
[8773] | 3 | description = "First guided steps in the orxonoxian universe." |
---|
[8824] | 4 | tags = "singleplayer" |
---|
[8773] | 5 | /> |
---|
| 6 | |
---|
| 7 | <?lua |
---|
| 8 | include("stats.oxo") |
---|
| 9 | include("HUDTemplates3.oxo") |
---|
| 10 | include("templates/lodInformation.oxt") |
---|
[8800] | 11 | include("templates/spaceshipAssff.oxt") |
---|
[8773] | 12 | include("templates/spaceshipPirate.oxt") |
---|
[8851] | 13 | include("templates/spaceshipSpacecruiser.oxt") |
---|
[8869] | 14 | include("templates/spaceshipTransporter.oxt") |
---|
[8773] | 15 | ?> |
---|
| 16 | |
---|
[8800] | 17 | <?lua |
---|
| 18 | include("templates/pickupRepresentationTemplates.oxt") |
---|
| 19 | ?> |
---|
| 20 | |
---|
[8773] | 21 | <Level |
---|
[8869] | 22 | name = "Mission One" |
---|
[8773] | 23 | description = "How to steer a spaceship." |
---|
[8904] | 24 | gametype = "Mission" |
---|
[8773] | 25 | > |
---|
| 26 | <templates> |
---|
| 27 | <Template link=lodtemplate_default /> |
---|
| 28 | </templates> |
---|
| 29 | <?lua include("includes/notifications.oxi") ?> |
---|
| 30 | |
---|
[8800] | 31 | <NotificationQueueCEGUI |
---|
| 32 | name="narrative" |
---|
| 33 | targets="simpleNotification" |
---|
[8872] | 34 | size=3 |
---|
| 35 | displayTime=3.9 |
---|
[8800] | 36 | position="0.2, 0, 0.1, 0" |
---|
[8872] | 37 | fontSize="23" |
---|
[8800] | 38 | fontColor="0.3, 1, 0.2, 0.8" |
---|
| 39 | alignment="HorzCentred" |
---|
| 40 | displaySize="0.6, 0, 0, 0" |
---|
| 41 | /> |
---|
[8773] | 42 | <Scene |
---|
| 43 | ambientlight = "0.8, 0.8, 0.8" |
---|
| 44 | skybox = "Orxonox/Starbox" |
---|
| 45 | > |
---|
[8800] | 46 | <?lua |
---|
| 47 | include("includes/pickups.oxi") |
---|
| 48 | ?> |
---|
[8773] | 49 | |
---|
[8909] | 50 | <WorldAmbientSound source="Earth.ogg" looping="true" playOnLoad="true" /> <!-- AlphaCentauri.ogg, Mars.ogg--> |
---|
[8871] | 51 | |
---|
[8773] | 52 | <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"/> |
---|
[8909] | 53 | <!-- END OF INCLUDES & NECESSARITIES --> |
---|
[8773] | 54 | |
---|
[8909] | 55 | <!-- SPAWNPOINT & START OF QUESTS via spawntrigger --> |
---|
| 56 | <EventMultiTrigger name=spawntrigger> |
---|
| 57 | <events> |
---|
| 58 | <trigger> |
---|
| 59 | <TeamSpawnPoint team=0 position="800,700,600" direction="-1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
| 60 | </trigger> |
---|
| 61 | </events> |
---|
| 62 | </EventMultiTrigger> |
---|
[8875] | 63 | |
---|
[8909] | 64 | <QuestEffectBeacon times=1> |
---|
| 65 | <effects> |
---|
| 66 | <AddQuest questId="missionOne.basicFlying" /> |
---|
| 67 | <!--AddQuestHint hintId ="quest1hint3" /--> |
---|
| 68 | </effects> |
---|
| 69 | <events> |
---|
| 70 | <execute> |
---|
| 71 | <EventListener event=spawntrigger /> |
---|
| 72 | </execute> |
---|
| 73 | </events> |
---|
| 74 | </QuestEffectBeacon> |
---|
[8800] | 75 | |
---|
[8909] | 76 | <QuestEffectBeacon times=1> |
---|
| 77 | <effects> |
---|
| 78 | <CompleteQuest questId="missionOne.basicFlying" /> |
---|
| 79 | </effects> |
---|
| 80 | <events> |
---|
| 81 | <execute> |
---|
[8910] | 82 | <EventListener event="flying4" /> |
---|
[8909] | 83 | </execute> |
---|
| 84 | </events> |
---|
| 85 | </QuestEffectBeacon> |
---|
| 86 | |
---|
| 87 | <QuestEffectBeacon times=1> |
---|
| 88 | <effects> |
---|
| 89 | <CompleteQuest questId="missionOne.navigation" /> |
---|
| 90 | </effects> |
---|
| 91 | <events> |
---|
| 92 | <execute> |
---|
| 93 | <EventListener event="navigationend" /> |
---|
| 94 | </execute> |
---|
| 95 | </events> |
---|
| 96 | </QuestEffectBeacon> |
---|
| 97 | |
---|
[8922] | 98 | <!--helper trigger to end the weaponsystemI quest --> |
---|
| 99 | <DistanceTrigger name="boxend" position="0,0,0" distance=950 target="SpaceShip" stayActive="false" delay=0.1> |
---|
| 100 | <EventTrigger> |
---|
| 101 | <events> |
---|
| 102 | <trigger> |
---|
| 103 | <EventListener event="boxtrigger4" /> |
---|
| 104 | </trigger> |
---|
| 105 | </events> |
---|
| 106 | </EventTrigger> |
---|
| 107 | </DistanceTrigger> |
---|
[8910] | 108 | |
---|
[8909] | 109 | <QuestEffectBeacon times=1> |
---|
| 110 | <effects> |
---|
| 111 | <CompleteQuest questId="missionOne.weaponsystemI" /> |
---|
| 112 | </effects> |
---|
| 113 | <events> |
---|
| 114 | <execute> |
---|
[8922] | 115 | <EventListener event="boxend" /> |
---|
[8909] | 116 | </execute> |
---|
| 117 | </events> |
---|
| 118 | </QuestEffectBeacon> |
---|
| 119 | |
---|
[8922] | 120 | <!--helper trigger to end the weaponsystemII quest --> |
---|
| 121 | <DistanceTrigger name="piratesend" position="0,0,0" distance=2000 target="SpaceShip" stayActive="false" delay=0.1> |
---|
| 122 | <EventTrigger> |
---|
| 123 | <events> |
---|
| 124 | <trigger> |
---|
| 125 | <EventListener event="movingpirates2" /> |
---|
| 126 | </trigger> |
---|
| 127 | </events> |
---|
| 128 | </EventTrigger> |
---|
| 129 | </DistanceTrigger> |
---|
[8910] | 130 | |
---|
[8909] | 131 | <QuestEffectBeacon times=1> |
---|
| 132 | <effects> |
---|
| 133 | <CompleteQuest questId="missionOne.weaponsystemII" /> |
---|
| 134 | </effects> |
---|
| 135 | <events> |
---|
| 136 | <execute> |
---|
[8922] | 137 | <EventListener event=piratesend /> |
---|
[8909] | 138 | </execute> |
---|
| 139 | </events> |
---|
| 140 | </QuestEffectBeacon> |
---|
| 141 | |
---|
[8922] | 142 | <!--helper trigger to end the DuBallStation quest --> |
---|
| 143 | <DistanceTrigger name="duballend" position="-1000,-300,700" distance=2000 target="SpaceShip" stayActive="false" delay=0.1> |
---|
| 144 | <EventTrigger> |
---|
| 145 | <events> |
---|
| 146 | <trigger> |
---|
| 147 | <EventListener event="duball3" /> |
---|
| 148 | </trigger> |
---|
| 149 | </events> |
---|
| 150 | </EventTrigger> |
---|
| 151 | </DistanceTrigger> |
---|
| 152 | |
---|
| 153 | |
---|
[8909] | 154 | <QuestEffectBeacon times=1> |
---|
| 155 | <effects> |
---|
| 156 | <CompleteQuest questId="missionOne.DuballStation" /> |
---|
| 157 | </effects> |
---|
| 158 | <events> |
---|
| 159 | <execute> |
---|
[8922] | 160 | <EventListener event=duballend /> |
---|
[8909] | 161 | </execute> |
---|
| 162 | </events> |
---|
| 163 | </QuestEffectBeacon> |
---|
| 164 | |
---|
[8922] | 165 | <!--helper trigger to end the getHelp quest --> |
---|
| 166 | <DistanceTrigger name="getHelpEnd" position="-48900,0,0" distance=2000 target="SpaceShip" stayActive="false" delay=0.1> |
---|
| 167 | <EventTrigger> |
---|
| 168 | <events> |
---|
| 169 | <trigger> |
---|
| 170 | <EventListener event="ondock" /> |
---|
| 171 | </trigger> |
---|
| 172 | </events> |
---|
| 173 | </EventTrigger> |
---|
| 174 | </DistanceTrigger> |
---|
| 175 | |
---|
[8909] | 176 | <QuestEffectBeacon times=1> |
---|
| 177 | <effects> |
---|
| 178 | <CompleteQuest questId="missionOne.getHelp" /> |
---|
| 179 | </effects> |
---|
| 180 | <events> |
---|
| 181 | <execute> |
---|
[8922] | 182 | <EventListener event=getHelpEnd /> |
---|
[8909] | 183 | </execute> |
---|
| 184 | </events> |
---|
| 185 | </QuestEffectBeacon> |
---|
| 186 | |
---|
[8922] | 187 | <!--helper trigger to end the getHome quest --> |
---|
| 188 | <DistanceTrigger name="getHomeEnd" position="0,0,0" distance=4000 target="SpaceShip" stayActive="false" delay=0.1> |
---|
| 189 | <EventTrigger> |
---|
| 190 | <events> |
---|
| 191 | <trigger> |
---|
| 192 | <EventListener event="attack" /> |
---|
| 193 | </trigger> |
---|
| 194 | </events> |
---|
| 195 | </EventTrigger> |
---|
| 196 | </DistanceTrigger> |
---|
| 197 | |
---|
[8909] | 198 | <QuestEffectBeacon times=1> |
---|
| 199 | <effects> |
---|
| 200 | <CompleteQuest questId="missionOne.getHome" /> |
---|
| 201 | </effects> |
---|
| 202 | <events> |
---|
| 203 | <execute> |
---|
[8922] | 204 | <EventListener event=getHomeEnd /> |
---|
[8909] | 205 | </execute> |
---|
| 206 | </events> |
---|
| 207 | </QuestEffectBeacon> |
---|
| 208 | |
---|
[8922] | 209 | <!--helper trigger to end the defence quest --> |
---|
| 210 | <DistanceTrigger name="defenceEnd" position="0,0,0" distance=4000 target="SpaceShip" stayActive="false" delay=0.1> |
---|
| 211 | <EventTrigger> |
---|
| 212 | <events> |
---|
| 213 | <trigger> |
---|
| 214 | <EventListener event="attacktrigger6" /> |
---|
| 215 | </trigger> |
---|
| 216 | </events> |
---|
| 217 | </EventTrigger> |
---|
| 218 | </DistanceTrigger> |
---|
| 219 | |
---|
[8909] | 220 | <QuestEffectBeacon times=1> |
---|
| 221 | <effects> |
---|
| 222 | <CompleteQuest questId="missionOne.defence" /> |
---|
| 223 | </effects> |
---|
| 224 | <events> |
---|
| 225 | <execute> |
---|
[8922] | 226 | <EventListener event=defenceEnd /> |
---|
[8909] | 227 | </execute> |
---|
| 228 | </events> |
---|
| 229 | </QuestEffectBeacon> |
---|
| 230 | |
---|
| 231 | |
---|
[8875] | 232 | <LocalQuest id="missionOne.basicFlying"> |
---|
[8909] | 233 | <QuestDescription title="Flying" description="Can you see the blinking light straight ahead? Your goal is to fly through it. |
---|
| 234 | Use 'W' to accelerate and steer with your mouse. |
---|
| 235 | |
---|
| 236 | Further flying moves: |
---|
| 237 | S : break |
---|
| 238 | Q and E : roll |
---|
| 239 | Space : boost |
---|
| 240 | |
---|
[8910] | 241 | P.S: Whenever a new quest is added you can view it by pressing F3. Quit via Esc." failmessage="" completeMessage="" /> |
---|
[8878] | 242 | <complete-effects> |
---|
[8909] | 243 | <AddQuest questId="missionOne.navigation" /> |
---|
| 244 | </complete-effects> |
---|
| 245 | </LocalQuest> |
---|
| 246 | |
---|
| 247 | <LocalQuest id="missionOne.navigation"> |
---|
| 248 | <QuestDescription title="Navigation" description="The next goal is to find and move towards the test targets for your weaponsystem. The three arrows that just appeared down in the right corner of your screen indicate in which direction you have to turn your spacefighter to find your next targets. |
---|
| 249 | |
---|
| 250 | Alternative navigation: There's a the green circle in the left corner - the radar. The red dots on the radar represent your targets. If you manage to move your spaceship in a way such that a dot is at the center of the radar, you will be able to see the concerning object straight ahead." failmessage="" completeMessage="" /> |
---|
| 251 | <complete-effects> |
---|
| 252 | <AddQuest questId="missionOne.weaponsystemI" /> |
---|
[8878] | 253 | </complete-effects> |
---|
| 254 | </LocalQuest> |
---|
| 255 | |
---|
| 256 | <LocalQuest id ="missionOne.weaponsystemI"> |
---|
[8910] | 257 | <QuestDescription title="Destroy the 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="" /> |
---|
| 258 | <hints> |
---|
| 259 | <QuestHint id="missionOne.weaponsystem.laser"> |
---|
| 260 | <QuestDescription title="Laser" description="The laser is a standard weapon. It is fast and precise but does not deal much damage." /> |
---|
| 261 | </QuestHint> |
---|
| 262 | <QuestHint id="missionOne.weaponsystem.lightningGun"> |
---|
| 263 | <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." /> |
---|
| 264 | </QuestHint> |
---|
| 265 | <QuestHint id="missionOne.weaponsystem.targetSeekingRocket"> |
---|
| 266 | <QuestDescription title="Target Seeking Rocket" description="The target seeking rockets follow slow targets on their own." /> |
---|
| 267 | </QuestHint> |
---|
| 268 | <QuestHint id="missionOne.weaponsystem.manualrocket"> |
---|
| 269 | <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." /> |
---|
| 270 | </QuestHint> |
---|
| 271 | </hints> |
---|
[8878] | 272 | <complete-effects> |
---|
| 273 | <AddQuest questId="missionOne.weaponsystemII" /> |
---|
| 274 | </complete-effects> |
---|
| 275 | </LocalQuest> |
---|
[8910] | 276 | |
---|
[8878] | 277 | <LocalQuest id="missionOne.weaponsystemII"> |
---|
[8910] | 278 | <QuestDescription title="Kill the pirates" description="Get rid of the patrolling pirates." failmessage="" completeMessage="" /> |
---|
[8878] | 279 | <complete-effects> |
---|
| 280 | <AddQuest questId="missionOne.DuballStation" /> |
---|
| 281 | </complete-effects> |
---|
| 282 | </LocalQuest> |
---|
[8871] | 283 | |
---|
[8878] | 284 | <LocalQuest id="missionOne.DuballStation"> |
---|
[8909] | 285 | <QuestDescription title="Duball Space Station" description="Fly towards the Duball Space Station. The grey radar marker will lead you to its position." failmessage="" completeMessage="" /> |
---|
[8878] | 286 | <complete-effects> |
---|
| 287 | <AddQuest questId="missionOne.getHelp" /> |
---|
| 288 | </complete-effects> |
---|
| 289 | </LocalQuest> |
---|
[8871] | 290 | |
---|
[8878] | 291 | <LocalQuest id="missionOne.getHelp"> |
---|
[8910] | 292 | <QuestDescription title="Get Help" description="There are several 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. |
---|
| 293 | 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. |
---|
| 294 | Simply fly to the center of the Hydrogen Farmer, which is between its three legs." failmessage="" completeMessage="" /> |
---|
[8878] | 295 | <complete-effects> |
---|
| 296 | <AddQuest questId="missionOne.getHome" /> |
---|
| 297 | </complete-effects> |
---|
| 298 | </LocalQuest> |
---|
[8871] | 299 | |
---|
[8878] | 300 | <LocalQuest id="missionOne.getHome"> |
---|
[8910] | 301 | <QuestDescription title="Return ASAP" description="So you managed to get the spacecruiser. Use the portal to return to the DuBall Space Station. |
---|
| 302 | Hurry! Your help is desperately needed." failmessage="" completeMessage="" /> |
---|
[8875] | 303 | <complete-effects> |
---|
[8878] | 304 | <AddQuest questId="missionOne.defence" /> |
---|
| 305 | </complete-effects> |
---|
[8875] | 306 | </LocalQuest> |
---|
[8871] | 307 | |
---|
[8878] | 308 | <LocalQuest id="missionOne.defence"> |
---|
[8910] | 309 | <QuestDescription title="Defence" description="Seven enemies were detected that seem to launch a coordinated attack. Do not hesitate to attack or you will be the target. |
---|
| 310 | Always take care of the enemy that is the closest to you." failmessage="" completeMessage="Yeah! You did it." /> |
---|
[8878] | 311 | </LocalQuest> |
---|
[8871] | 312 | |
---|
| 313 | |
---|
[8800] | 314 | <!-- TUTORIAL-TODO: --> |
---|
[8875] | 315 | <!-- 1. Flying & manoeuvring (basic flying, using pickups, forcefields, docks & portals) --> <!-- "W","S","SPACE"--> |
---|
| 316 | <!-- 2. Aiming & Weapons (static targets, moving targets, dangerous targets)--> <!-- 3 Mouse buttons + "T"--> |
---|
[8800] | 317 | <!-- 3. Game handling (quests, knowing when a game is over :-), pausing, chat, ... ) --> <!--"F3", "F2", "ESC" --> |
---|
| 318 | <!-- 4. Extras (other things to discover) --> <!-- "Q","E","A","D","C", "CTRL", "", ... --> |
---|
| 319 | |
---|
[8909] | 320 | <DistanceTrigger name="spawndelaytrigger0" position="800,700,600" target="Pawn" distance=10 stayActive="true" delay=2/> |
---|
| 321 | <SimpleNotification message="Press 'F3' to see your mission briefing."> |
---|
[8871] | 322 | <events> |
---|
| 323 | <trigger> |
---|
| 324 | <EventListener event="spawndelaytrigger0" /> |
---|
| 325 | </trigger> |
---|
| 326 | </events> |
---|
| 327 | </SimpleNotification> |
---|
[8880] | 328 | |
---|
| 329 | <BlinkingBillboard position="-900,640,600" frequency=0.4 amplitude=2 material="Flares/lensflare" colour="1,1,0"> |
---|
| 330 | <events> |
---|
| 331 | <visibility> |
---|
| 332 | <EventTrigger invert=true> |
---|
| 333 | <events> |
---|
| 334 | <trigger> |
---|
| 335 | <EventListener event=flying4 /> |
---|
| 336 | </trigger> |
---|
| 337 | </events> |
---|
| 338 | </EventTrigger> |
---|
| 339 | </visibility> |
---|
| 340 | </events> |
---|
| 341 | </BlinkingBillboard> |
---|
| 342 | <Billboard position="-900,640,600" amplitude=1 material="Flares/lensflare" colour="0,0.8,0.1"> |
---|
| 343 | <events> |
---|
| 344 | <visibility> |
---|
| 345 | <EventTrigger> |
---|
| 346 | <events> |
---|
| 347 | <trigger> |
---|
| 348 | <EventListener event=flying4 /> |
---|
| 349 | </trigger> |
---|
| 350 | </events> |
---|
| 351 | </EventTrigger> |
---|
| 352 | </visibility> |
---|
| 353 | </events> |
---|
| 354 | </Billboard> |
---|
[8909] | 355 | |
---|
[8872] | 356 | <!-------------------------------------- PART ZERO: How to fly ---------------------------------------> |
---|
[8909] | 357 | |
---|
| 358 | <DistanceTrigger name="flying1" position="800,700,600" target="Pawn" distance=10 stayActive="true" delay=6/> |
---|
[8880] | 359 | <SimpleNotification message="Let's fly to the blinking light."> |
---|
| 360 | <events> |
---|
| 361 | <trigger> |
---|
| 362 | <EventListener event="flying1" /> |
---|
| 363 | </trigger> |
---|
| 364 | </events> |
---|
| 365 | </SimpleNotification> |
---|
[8872] | 366 | |
---|
[8909] | 367 | <DistanceTrigger name="flying2" position="800,700,600" target="Pawn" distance=10 stayActive="true" delay=10/> |
---|
[8880] | 368 | <SimpleNotification message="Use 'W' to accelerate and the mouse to steer."> |
---|
| 369 | <events> |
---|
| 370 | <trigger> |
---|
| 371 | <EventListener event="flying2" /> |
---|
| 372 | </trigger> |
---|
| 373 | </events> |
---|
| 374 | </SimpleNotification> |
---|
[8910] | 375 | <!-- QUEST-Trigger && Message Trigger: navigationend is activated after flying4 was triggered --> |
---|
| 376 | <DistanceTrigger name="navigationend" position="0,0,0" distance=950 target="SpaceShip" stayActive="false" delay=1.1> |
---|
[8909] | 377 | <DistanceTrigger name="flying4" position="-900,640,600" target="Pawn" distance=60 stayActive="true" delay=1/> |
---|
| 378 | </DistanceTrigger> |
---|
[8875] | 379 | |
---|
[8910] | 380 | |
---|
[8880] | 381 | <SimpleNotification message="Three red arrows just appeared."> |
---|
| 382 | <events> |
---|
| 383 | <trigger> |
---|
| 384 | <EventListener event="flying4" /> |
---|
| 385 | </trigger> |
---|
| 386 | </events> |
---|
| 387 | </SimpleNotification> |
---|
[8875] | 388 | |
---|
[8880] | 389 | <DistanceTrigger name="flying5" position="-900,640,600" target="Pawn" distance=60 stayActive="true" delay=5/> |
---|
| 390 | <SimpleNotification message="Follow those red arrows."> |
---|
| 391 | <events> |
---|
| 392 | <trigger> |
---|
| 393 | <EventListener event="flying5" /> |
---|
| 394 | </trigger> |
---|
| 395 | </events> |
---|
| 396 | </SimpleNotification> |
---|
[8875] | 397 | |
---|
[8872] | 398 | <!-------------------------------------- PART ONE : Destroy boxes ---------------------------------------> |
---|
[8880] | 399 | <DistanceTrigger name="spawndelaytrigger1" position="-900,640,600" target="Pawn" distance=60 stayActive="true" delay=9 /> |
---|
| 400 | <SimpleNotification message="Destroy the four boxes."> |
---|
[8800] | 401 | <events> |
---|
| 402 | <trigger> |
---|
[8871] | 403 | <EventListener event="spawndelaytrigger1" /> |
---|
[8800] | 404 | </trigger> |
---|
| 405 | </events> |
---|
| 406 | </SimpleNotification> |
---|
| 407 | |
---|
[8880] | 408 | <DistanceTrigger name="spawndelaytrigger2" position="-900,640,600" target="Pawn" distance=60 stayActive="true" delay=13 /> |
---|
| 409 | <SimpleNotification message=" 1. Aim the a red cycle."> |
---|
[8800] | 410 | <events> |
---|
| 411 | <trigger> |
---|
[8871] | 412 | <EventListener event="spawndelaytrigger2" /> |
---|
[8800] | 413 | </trigger> |
---|
| 414 | </events> |
---|
| 415 | </SimpleNotification> |
---|
| 416 | |
---|
[8880] | 417 | <DistanceTrigger name="spawndelaytrigger3" position="-900,640,600" target="Pawn" distance=60 stayActive="true" delay=17 /> |
---|
[8800] | 418 | <SimpleNotification message="2. Click! (hold the left mouse button)"> |
---|
| 419 | <events> |
---|
| 420 | <trigger> |
---|
[8871] | 421 | <EventListener event="spawndelaytrigger3" /> |
---|
[8800] | 422 | </trigger> |
---|
| 423 | </events> |
---|
| 424 | </SimpleNotification> |
---|
[8880] | 425 | |
---|
[8871] | 426 | <!-- @Objects: 4 boxes (uncontrolled pawns) --> |
---|
| 427 | <Pawn health=30 position="0,0,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box > |
---|
[8880] | 428 | <events> |
---|
| 429 | <visibility> |
---|
| 430 | <EventListener event="flying4" /> |
---|
| 431 | </visibility> |
---|
| 432 | </events> |
---|
[8824] | 433 | <attached> |
---|
| 434 | <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" /> |
---|
| 435 | </attached> |
---|
| 436 | <collisionShapes> |
---|
| 437 | <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" /> |
---|
| 438 | </collisionShapes> |
---|
| 439 | </Pawn> |
---|
[8800] | 440 | |
---|
[8872] | 441 | <Pawn health=30 position="0,100,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box visible="true"> |
---|
[8880] | 442 | <events> |
---|
| 443 | <visibility> |
---|
| 444 | <EventListener event="flying4" /> |
---|
| 445 | </visibility> |
---|
| 446 | </events> |
---|
[8824] | 447 | <attached> |
---|
| 448 | <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" /> |
---|
| 449 | </attached> |
---|
| 450 | <collisionShapes> |
---|
| 451 | <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" /> |
---|
| 452 | </collisionShapes> |
---|
| 453 | </Pawn> |
---|
[8871] | 454 | <Pawn health=30 position="0,200,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box > |
---|
[8880] | 455 | <events> |
---|
| 456 | <visibility> |
---|
| 457 | <EventListener event="flying4" /> |
---|
| 458 | </visibility> |
---|
| 459 | </events> |
---|
[8871] | 460 | <attached> |
---|
| 461 | <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" /> |
---|
| 462 | </attached> |
---|
| 463 | <collisionShapes> |
---|
| 464 | <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" /> |
---|
| 465 | </collisionShapes> |
---|
| 466 | </Pawn> |
---|
| 467 | <Pawn health=30 position="0,300,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box > |
---|
[8880] | 468 | <events> |
---|
| 469 | <visibility> |
---|
| 470 | <EventListener event="flying4" /> |
---|
| 471 | </visibility> |
---|
| 472 | </events> |
---|
[8871] | 473 | <attached> |
---|
| 474 | <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" /> |
---|
| 475 | </attached> |
---|
| 476 | <collisionShapes> |
---|
| 477 | <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" /> |
---|
| 478 | </collisionShapes> |
---|
| 479 | </Pawn> |
---|
| 480 | |
---|
| 481 | <!-- @Triggers: boxtrigger1 <-> one box destroyed |
---|
| 482 | boxtrigger2 <-> two boxes destroyed |
---|
| 483 | boxtrigger3 <-> three boxes destroyed |
---|
| 484 | boxtrigger4 <-> four boxes destroyed --> |
---|
[8872] | 485 | <EventTrigger name="boxtrigger4" activations="1" stayactive="true" delay=0.1> |
---|
[8871] | 486 | <events> |
---|
| 487 | <trigger> |
---|
| 488 | <EventListener event="box" /> |
---|
| 489 | </trigger> |
---|
| 490 | </events> |
---|
[8872] | 491 | <EventTrigger name="boxtrigger3" activations="1" stayactive="true" delay=0.1> |
---|
[8871] | 492 | <events> |
---|
| 493 | <trigger> |
---|
| 494 | <EventListener event="box" /> |
---|
| 495 | </trigger> |
---|
| 496 | </events> |
---|
[8872] | 497 | <EventTrigger name="boxtrigger2" activations="1" stayactive="true" delay=0.1> |
---|
[8871] | 498 | <events> |
---|
| 499 | <trigger> |
---|
| 500 | <EventListener event="box" /> |
---|
[8824] | 501 | </trigger> |
---|
[8871] | 502 | </events> |
---|
[8872] | 503 | <EventTrigger name="boxtrigger1" activations="1" stayactive="true" delay=0.1> |
---|
[8871] | 504 | <events> |
---|
| 505 | <trigger> |
---|
| 506 | <EventListener event="box" /> |
---|
| 507 | </trigger> |
---|
| 508 | </events> |
---|
| 509 | </EventTrigger> |
---|
| 510 | </EventTrigger> |
---|
| 511 | </EventTrigger> |
---|
| 512 | </EventTrigger> |
---|
| 513 | |
---|
| 514 | |
---|
| 515 | <SimpleNotification message="Right click on the next target." broadcast="true"> |
---|
| 516 | <events> |
---|
| 517 | <trigger> |
---|
| 518 | <EventListener event="boxtrigger1" /> |
---|
| 519 | </trigger> |
---|
[8824] | 520 | </events> |
---|
| 521 | </SimpleNotification> |
---|
[8800] | 522 | |
---|
[8871] | 523 | <SimpleNotification message="Middle click on the next target." broadcast="true"> |
---|
| 524 | <events> |
---|
| 525 | <trigger> |
---|
| 526 | <EventListener event="boxtrigger2" /> |
---|
| 527 | </trigger> |
---|
| 528 | </events> |
---|
| 529 | </SimpleNotification> |
---|
[8847] | 530 | |
---|
[8871] | 531 | |
---|
[8824] | 532 | <SimpleNotification message="Aim at the last target and press 'T'." broadcast="true"> |
---|
[8800] | 533 | <events> |
---|
| 534 | <trigger> |
---|
[8871] | 535 | <EventListener event="boxtrigger3" /> |
---|
[8800] | 536 | </trigger> |
---|
| 537 | </events> |
---|
| 538 | </SimpleNotification> |
---|
| 539 | |
---|
[8880] | 540 | <SimpleNotification message="Try to hit the pirates while you are flying." broadcast="true"> |
---|
[8824] | 541 | <events> |
---|
| 542 | <trigger> |
---|
[8871] | 543 | <EventListener event="boxtrigger4" /> |
---|
[8824] | 544 | </trigger> |
---|
| 545 | </events> |
---|
| 546 | </SimpleNotification> |
---|
[8800] | 547 | |
---|
| 548 | |
---|
| 549 | <!--------------------------------------PART TWO: Moving targets ---------------------------------------> |
---|
| 550 | |
---|
[8880] | 551 | <!-- @Objects: 2 pirates moving in squares, nonlethal --> |
---|
[8872] | 552 | <SpaceShip position="0,2000,200" lookat="0,0,0" name="movingtarget" > |
---|
[8878] | 553 | <events> |
---|
| 554 | <visibility> |
---|
| 555 | <EventListener event="boxtrigger4" /> |
---|
| 556 | </visibility> |
---|
| 557 | </events> |
---|
[8838] | 558 | <templates> |
---|
| 559 | <Template link=spaceshippirate /> |
---|
| 560 | </templates> |
---|
| 561 | <controller> |
---|
[8904] | 562 | <WaypointController team=1> |
---|
[8838] | 563 | <waypoints> |
---|
| 564 | <Model mesh="cube.mesh" scale=8 position=" 0,1700,-200" /> |
---|
| 565 | <Model mesh="cube.mesh" scale=8 position=" 0,1700,-700" /> |
---|
| 566 | <Model mesh="cube.mesh" scale=8 position="500,1700,-700" /> |
---|
| 567 | <Model mesh="cube.mesh" scale=8 position="500,1700,-200" /> |
---|
| 568 | </waypoints> |
---|
| 569 | </WaypointController> |
---|
| 570 | </controller> |
---|
| 571 | </SpaceShip> |
---|
[8800] | 572 | |
---|
[8871] | 573 | <SpaceShip position="0,2000,400" lookat="0,0,0" name="movingtarget"> |
---|
[8878] | 574 | <events> |
---|
| 575 | <visibility> |
---|
| 576 | <EventListener event="boxtrigger4" /> |
---|
| 577 | </visibility> |
---|
| 578 | </events> |
---|
[8838] | 579 | <templates> |
---|
| 580 | <Template link=spaceshippirate /> |
---|
| 581 | </templates> |
---|
| 582 | <controller> |
---|
[8904] | 583 | <WaypointController team=1> |
---|
[8838] | 584 | <waypoints> |
---|
| 585 | <Model mesh="cube.mesh" scale=8 position=" 0,2400,1000" /> |
---|
[8871] | 586 | <Model mesh="cube.mesh" scale=8 position=" 0,2400, 500" /> |
---|
| 587 | <Model mesh="cube.mesh" scale=8 position="500,2400, 500" /> |
---|
| 588 | <Model mesh="cube.mesh" scale=8 position="500,2400,1000" /> |
---|
[8838] | 589 | </waypoints> |
---|
| 590 | </WaypointController> |
---|
| 591 | </controller> |
---|
| 592 | </SpaceShip> |
---|
[8871] | 593 | |
---|
| 594 | <!-- @Triggers: movingpirates1 <-> one pirate dead |
---|
| 595 | movingpirates2 <-> both pirates dead --> |
---|
[8872] | 596 | <EventTrigger name="movingpirates2" activations="1" stayactive="true" delay=0.1> |
---|
[8871] | 597 | <events> |
---|
| 598 | <trigger> |
---|
| 599 | <EventListener event="movingtarget" /> |
---|
| 600 | </trigger> |
---|
| 601 | </events> |
---|
[8872] | 602 | <EventTrigger name="movingpirates1" activations="1" stayactive="true" delay=0.1> |
---|
[8871] | 603 | <events> |
---|
| 604 | <trigger> |
---|
| 605 | <EventListener event="movingtarget" /> |
---|
| 606 | </trigger> |
---|
| 607 | </events> |
---|
| 608 | </EventTrigger> |
---|
| 609 | </EventTrigger> |
---|
| 610 | |
---|
| 611 | |
---|
| 612 | <SimpleNotification message="Now get the other one." broadcast="true"> |
---|
| 613 | <events> |
---|
| 614 | <trigger> |
---|
| 615 | <EventListener event="movingpirates1" /> |
---|
[8838] | 616 | </trigger> |
---|
| 617 | </events> |
---|
| 618 | </SimpleNotification> |
---|
| 619 | |
---|
[8871] | 620 | <SimpleNotification message="Fly towards the space station (grey dot)." broadcast="true"> |
---|
| 621 | <events> |
---|
| 622 | <trigger> |
---|
| 623 | <EventListener event="movingpirates2" /> |
---|
| 624 | </trigger> |
---|
| 625 | </events> |
---|
| 626 | </SimpleNotification> |
---|
| 627 | |
---|
| 628 | |
---|
| 629 | |
---|
| 630 | <!--------------------------------------PART THREE: the space station ---------------------------------------> |
---|
[8880] | 631 | <DistanceTrigger name="duball1" position="-1000,-300,700" target="Pawn" distance=700 stayActive="true" delay=1 > |
---|
| 632 | <events> |
---|
| 633 | <activity> |
---|
| 634 | <EventListener event="movingpirates2" /> |
---|
| 635 | </activity> |
---|
| 636 | </events> |
---|
| 637 | </DistanceTrigger> |
---|
| 638 | |
---|
| 639 | <EventTrigger name="duball2" activations="1" stayactive="true" delay=4 > |
---|
| 640 | <events> |
---|
| 641 | <trigger> |
---|
| 642 | <EventListener event="duball1" /> |
---|
| 643 | </trigger> |
---|
| 644 | </events> |
---|
| 645 | </EventTrigger> |
---|
| 646 | |
---|
| 647 | <EventTrigger name="duball3" activations="1" stayactive="true" delay=4 > |
---|
| 648 | <events> |
---|
| 649 | <trigger> |
---|
| 650 | <EventListener event="duball2" /> |
---|
| 651 | </trigger> |
---|
| 652 | </events> |
---|
| 653 | </EventTrigger> |
---|
| 654 | |
---|
[8800] | 655 | <SimpleNotification message="Welcome to the Duball Space Station!"> |
---|
| 656 | <events> |
---|
| 657 | <trigger> |
---|
| 658 | <EventListener event=duball1 /> |
---|
| 659 | </trigger> |
---|
| 660 | </events> |
---|
| 661 | </SimpleNotification> |
---|
| 662 | |
---|
[8880] | 663 | <SimpleNotification message="Warning: Something big is coming." broadcast="true"> |
---|
[8800] | 664 | <events> |
---|
| 665 | <trigger> |
---|
| 666 | <EventListener event=duball2 /> |
---|
| 667 | </trigger> |
---|
| 668 | </events> |
---|
| 669 | </SimpleNotification> |
---|
| 670 | |
---|
[8880] | 671 | <SimpleNotification message="Use the portals to get help. (grey dot)" broadcast="true"> |
---|
[8800] | 672 | <events> |
---|
| 673 | <trigger> |
---|
| 674 | <EventListener event=duball3 /> |
---|
| 675 | </trigger> |
---|
| 676 | </events> |
---|
| 677 | </SimpleNotification> |
---|
| 678 | |
---|
[8871] | 679 | |
---|
| 680 | <!-- @Objects: DuBall Space Station, (no pawn!) --> |
---|
| 681 | <StaticEntity position="-1000,-300,700" collisionType=static> |
---|
[8869] | 682 | <attached> |
---|
| 683 | <Model scale=13 mesh="DuBall1.mesh" position = "-100,0,0"/> |
---|
| 684 | <Model scale=13 mesh="DuBall2.mesh" position = "100,0,0"/> |
---|
| 685 | <Billboard scale=7 material="Examples/Flare" colour="0.5,0.5,0.5" position = "-100,0,0"/> |
---|
[8910] | 686 | <Billboard scale=7 material="Examples/Flare" colour="0.5,0.5,0.5" position = "100,0,0"/> |
---|
[8869] | 687 | </attached> |
---|
| 688 | <collisionShapes> |
---|
| 689 | <SphereCollisionShape radius="80" position = "-100,0,0" /> |
---|
| 690 | <SphereCollisionShape radius="120" position = "100,0,0" /> |
---|
| 691 | <BoxCollisionShape halfExtents="90,25,45" position = "-155,0,40" /> |
---|
| 692 | </collisionShapes> |
---|
[8871] | 693 | </StaticEntity> |
---|
[8838] | 694 | |
---|
| 695 | |
---|
[8871] | 696 | <!-- @Objects: PORTAL: from DuBall to HydroHarvester --> |
---|
[8838] | 697 | <Template name=PortalDefault> |
---|
| 698 | <PortalEndPoint> |
---|
| 699 | <attached> |
---|
| 700 | <Billboard material="Portals/Default" /> |
---|
| 701 | </attached> |
---|
| 702 | </PortalEndPoint> |
---|
| 703 | </Template> |
---|
| 704 | |
---|
[8869] | 705 | <PortalEndPoint position="-1400,-500,800" id="1" distance="50" target="MobileEntity" design="PortalDefault"> |
---|
[8873] | 706 | <events> |
---|
| 707 | <activity> |
---|
| 708 | <Trigger mode="or" activations="2"> |
---|
| 709 | <Trigger mode="and" activations="1"> |
---|
| 710 | <EventTrigger> |
---|
| 711 | <events> |
---|
| 712 | <trigger> |
---|
| 713 | <EventListener event="movingpirates2" /> |
---|
| 714 | </trigger> |
---|
| 715 | </events> |
---|
| 716 | </EventTrigger> |
---|
| 717 | <EventTrigger invert=true> |
---|
| 718 | <events> |
---|
| 719 | <trigger> |
---|
[8874] | 720 | <EventListener event="toHydroFarmer" /> |
---|
[8873] | 721 | </trigger> |
---|
| 722 | </events> |
---|
| 723 | </EventTrigger> |
---|
| 724 | </Trigger> |
---|
| 725 | <Trigger mode="and" activations="1"> |
---|
| 726 | <EventTrigger> |
---|
| 727 | <events> |
---|
| 728 | <trigger> |
---|
[8874] | 729 | <EventListener event="ondock" /> |
---|
[8873] | 730 | </trigger> |
---|
| 731 | </events> |
---|
| 732 | </EventTrigger> |
---|
| 733 | <EventTrigger invert=true> |
---|
| 734 | <events> |
---|
| 735 | <trigger> |
---|
[8874] | 736 | <EventListener event="attack" /> |
---|
[8873] | 737 | </trigger> |
---|
| 738 | </events> |
---|
| 739 | </EventTrigger> |
---|
| 740 | </Trigger> |
---|
[8874] | 741 | <EventTrigger> |
---|
| 742 | <events> |
---|
| 743 | <trigger> |
---|
| 744 | <EventListener event="HydroFarmer" /> |
---|
| 745 | </trigger> |
---|
| 746 | </events> |
---|
| 747 | </EventTrigger> |
---|
[8873] | 748 | </Trigger> |
---|
| 749 | </activity> |
---|
| 750 | </events> |
---|
[8838] | 751 | </PortalEndPoint> |
---|
| 752 | |
---|
[8873] | 753 | <PortalEndPoint position="-47000,-1000,1300" id="2" distance="70" target="MobileEntity" design="PortalDefault"> |
---|
| 754 | <events> |
---|
| 755 | <activity> |
---|
[8874] | 756 | <Trigger mode="or" activations="3"> |
---|
[8873] | 757 | <Trigger mode="and" activations="1"> |
---|
| 758 | <EventTrigger> |
---|
| 759 | <events> |
---|
| 760 | <trigger> |
---|
| 761 | <EventListener event="movingpirates2" /> |
---|
| 762 | </trigger> |
---|
| 763 | </events> |
---|
| 764 | </EventTrigger> |
---|
| 765 | <EventTrigger invert=true> |
---|
| 766 | <events> |
---|
| 767 | <trigger> |
---|
[8874] | 768 | <EventListener event="toHydroFarmer" /> |
---|
[8873] | 769 | </trigger> |
---|
| 770 | </events> |
---|
| 771 | </EventTrigger> |
---|
| 772 | </Trigger> |
---|
| 773 | <Trigger mode="and" activations="1"> |
---|
| 774 | <EventTrigger> |
---|
| 775 | <events> |
---|
| 776 | <trigger> |
---|
[8874] | 777 | <EventListener event="ondock" /> |
---|
[8873] | 778 | </trigger> |
---|
| 779 | </events> |
---|
| 780 | </EventTrigger> |
---|
| 781 | <EventTrigger invert=true> |
---|
| 782 | <events> |
---|
| 783 | <trigger> |
---|
[8874] | 784 | <EventListener event="attack" /> |
---|
[8873] | 785 | </trigger> |
---|
| 786 | </events> |
---|
| 787 | </EventTrigger> |
---|
| 788 | </Trigger> |
---|
[8874] | 789 | <EventTrigger> |
---|
| 790 | <events> |
---|
| 791 | <trigger> |
---|
| 792 | <EventListener event="HydroFarmer" /> |
---|
| 793 | </trigger> |
---|
| 794 | </events> |
---|
| 795 | </EventTrigger> |
---|
[8873] | 796 | </Trigger> |
---|
| 797 | </activity> |
---|
| 798 | </events> |
---|
| 799 | </PortalEndPoint> |
---|
[8838] | 800 | <PortalLink fromID="1" toID="2" /> |
---|
| 801 | <PortalLink fromID="2" toID="1" /> |
---|
[8874] | 802 | <!-- ????????????????????????????????????????????????????? why does this NOT work ?? |
---|
| 803 | <Trigger mode="and" activations="1"> |
---|
| 804 | <EventTrigger> |
---|
| 805 | <events> |
---|
| 806 | <trigger> |
---|
| 807 | <EventListener event="HydroFarmer" /> |
---|
| 808 | </trigger> |
---|
| 809 | </events> |
---|
| 810 | </EventTrigger> |
---|
| 811 | <EventTrigger invert=true> |
---|
| 812 | <events> |
---|
| 813 | <trigger> |
---|
| 814 | <EventListener event="attack" /> |
---|
| 815 | </trigger> |
---|
| 816 | </events> |
---|
| 817 | </EventTrigger> |
---|
| 818 | </Trigger> |
---|
| 819 | --> |
---|
[8838] | 820 | <!-- PORTALS END--> |
---|
| 821 | |
---|
[8874] | 822 | |
---|
| 823 | <SimpleNotification message="Dock to the Hydrogen Farmer."> |
---|
[8800] | 824 | <events> |
---|
| 825 | <trigger> |
---|
[8869] | 826 | <EventListener event=toHydroFarmer /> |
---|
[8800] | 827 | </trigger> |
---|
| 828 | </events> |
---|
[8869] | 829 | </SimpleNotification> |
---|
[8871] | 830 | |
---|
[8910] | 831 | <!-------------------------------------- PART FOUR : Get Help ---------------------------------------> |
---|
[8869] | 832 | <DistanceTrigger name="famer1" position="-48200,100,0" target="Pawn" distance=650 stayActive="true" delay=0 /> |
---|
[8847] | 833 | <SimpleNotification message="We just received a message from DuBall."> |
---|
| 834 | <events> |
---|
| 835 | <trigger> |
---|
| 836 | <EventListener event=famer1 /> |
---|
| 837 | </trigger> |
---|
| 838 | </events> |
---|
| 839 | </SimpleNotification> |
---|
[8773] | 840 | |
---|
[8869] | 841 | <DistanceTrigger name="famer2" position="-48200,100,0" target="Pawn" distance=650 stayActive="true" delay=4 /> |
---|
[8847] | 842 | <SimpleNotification message="We will lend you our strongest ship."> |
---|
| 843 | <events> |
---|
| 844 | <trigger> |
---|
| 845 | <EventListener event=famer2 /> |
---|
| 846 | </trigger> |
---|
| 847 | </events> |
---|
| 848 | </SimpleNotification> |
---|
[8838] | 849 | |
---|
[8869] | 850 | |
---|
[8871] | 851 | <!-- @Objects: HYDROGEN FARMER & DOCKING --> |
---|
[8874] | 852 | <SpaceShip position="-48900,100,0" roll=90 yaw=0 pitch=20 mass=10000 health=100000 name="HydroFarmer"> |
---|
[8847] | 853 | <attached> |
---|
| 854 | <!-- Docking --> |
---|
[8851] | 855 | <DistanceTriggerBeacon name="bcnDestroyer" /> |
---|
| 856 | <DockingTarget name="destroyer" /> |
---|
[8838] | 857 | |
---|
[8847] | 858 | <Model mesh="HydroHarvester.mesh" mass=10 position="0,0,0" scale=50 /> |
---|
| 859 | <!-- <Model mesh="cube.mesh" mass=10 position="-560,0,0" scale3D="115,100,245" /> |
---|
| 860 | <Model mesh="cube.mesh" mass=10 position="290,0,-480" scale3D="115,100,245" yaw=-120 /> |
---|
| 861 | <Model mesh="cube.mesh" mass=10 position="290,0,480" scale3D="115,100,245" yaw=-240 /> |
---|
| 862 | <Model mesh="cube.mesh" mass=10 position="-280,0,0" scale3D="163,50,50" /> |
---|
| 863 | <Model mesh="cube.mesh" mass=10 position="140,0,-240" scale3D="163,50,50" yaw=-120/> |
---|
| 864 | <Model mesh="cube.mesh" mass=10 position="140,0,240" scale3D="163,50,50" yaw=-240/> |
---|
| 865 | <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" /> |
---|
| 866 | <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" yaw=-120/> |
---|
| 867 | <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" yaw=-240/> |
---|
| 868 | <Model mesh="cube.mesh" mass=10 position="0,400,0" scale3D="43,110,26" yaw=-30 /> |
---|
| 869 | <Model mesh="cube.mesh" mass=10 position="-200,100,0" scale3D="26,50,43" /> |
---|
| 870 | <Model mesh="cube.mesh" mass=10 position="100,100,-173" scale3D="43,50,26" yaw=-30/> |
---|
| 871 | <Model mesh="cube.mesh" mass=10 position="100,100,173" scale3D="43,50,26" yaw=30/> |
---|
| 872 | <Model mesh="cube.mesh" mass=10 position="-100,264,0" scale3D="26,105,43" roll=-49/> |
---|
| 873 | <Model mesh="cube.mesh" mass=10 position="50,264,-87" scale3D="26,105,43" roll=-49 yaw=-120/> |
---|
| 874 | <Model mesh="cube.mesh" mass=10 position="50,264,87" scale3D="26,105,43" roll=-49 yaw=-240/> --> |
---|
| 875 | </attached> |
---|
| 876 | <collisionShapes> |
---|
| 877 | <BoxCollisionShape position="-560,0,0" halfExtents="115,100,245" /><!-- Three lower boxes --> |
---|
| 878 | <BoxCollisionShape position="290,0,-480" halfExtents="115,100,245" yaw=-120 /> |
---|
| 879 | <BoxCollisionShape position="290,0,480" halfExtents="115,100,245" yaw=-240 /> |
---|
| 880 | <BoxCollisionShape position="-280,0,0" halfExtents="163,50,50" /><!-- Three lower connections --> |
---|
| 881 | <BoxCollisionShape position="140,0,-240" halfExtents="163,50,50" yaw=-120 /> |
---|
| 882 | <BoxCollisionShape position="140,0,240" halfExtents="163,50,50" yaw=-240 /> |
---|
| 883 | <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" /><!-- Upper Tower --> |
---|
| 884 | <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" yaw=-120 /> |
---|
| 885 | <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" yaw=-240 /> |
---|
| 886 | <BoxCollisionShape position="0,400,0" halfExtents="43,110,26" yaw=-30 /><!-- Middle one--> |
---|
| 887 | <BoxCollisionShape position="-200,100,0" halfExtents="26,50,43" /><!--Three lower legs --> |
---|
| 888 | <BoxCollisionShape position="100,100,-173" halfExtents="43,50,26" yaw=-30 /> |
---|
| 889 | <BoxCollisionShape position="100,100,-173" halfExtents="43,50,26" yaw=30 /> |
---|
| 890 | <BoxCollisionShape position="-100,264,0" halfExtents="26,105,43" roll=-49 /><!--Three upper legs --> |
---|
| 891 | <BoxCollisionShape position="50,264,-87" halfExtents="26,105,43" roll=-49 yaw=-120 /> |
---|
| 892 | <BoxCollisionShape position="50,264,87" halfExtents="26,105,43" roll=-49 yaw=-240 /> |
---|
| 893 | </collisionShapes> |
---|
| 894 | </SpaceShip> |
---|
[8838] | 895 | |
---|
[8869] | 896 | <Billboard position="-48900,0,0" material="Examples/Flare" colour="0.6,0,0" scale=3/> |
---|
| 897 | <Dock position="-48900,0,0" roll=90 yaw=180 > |
---|
[8851] | 898 | <animations> |
---|
| 899 | <MoveToDockingTarget target="destroyer" /> |
---|
| 900 | </animations> |
---|
| 901 | <effects> |
---|
| 902 | <DockToShip target="spaceShip" /> |
---|
| 903 | </effects> |
---|
| 904 | <events> |
---|
| 905 | <execute> |
---|
| 906 | <EventListener event="dockMe" /> |
---|
| 907 | </execute> |
---|
| 908 | </events> |
---|
| 909 | <attached> |
---|
| 910 | <DistanceTrigger position="10,-202, -42" distance="800" target="Pawn" |
---|
| 911 | beaconMode="exclude" targetname="bcnDestroyer" name="dockMe" |
---|
| 912 | /> |
---|
| 913 | </attached> |
---|
| 914 | </Dock> |
---|
[8838] | 915 | |
---|
[8874] | 916 | <SpaceShip template="spaceshipspacecruiser" position="-48900,800,0" orientation="-0.14, 0.68, 0.68, 0.223" health="300" maxhealth="400" initialhealth="300" name="cruiser" > |
---|
[8851] | 917 | <attached> |
---|
| 918 | <DockingTarget name="spaceShip" /> |
---|
| 919 | </attached> |
---|
| 920 | </SpaceShip> |
---|
[8874] | 921 | |
---|
[8880] | 922 | <!-- TESTBOX--> |
---|
[8874] | 923 | |
---|
[8880] | 924 | <!-- TESTBOX--> |
---|
| 925 | |
---|
| 926 | <Trigger name="cruiserKilled" mode="and" stayActive="true"> |
---|
| 927 | <EventTrigger stayActive="true"> |
---|
[8874] | 928 | <events> |
---|
| 929 | <trigger> |
---|
[8880] | 930 | <EventListener event="cruiser"/> |
---|
[8874] | 931 | </trigger> |
---|
| 932 | </events> |
---|
| 933 | </EventTrigger> |
---|
| 934 | <EventTrigger invert=true> |
---|
| 935 | <events> |
---|
| 936 | <trigger> |
---|
| 937 | <EventListener event="ondock" /> |
---|
| 938 | </trigger> |
---|
| 939 | </events> |
---|
| 940 | </EventTrigger> |
---|
| 941 | </Trigger> |
---|
| 942 | |
---|
| 943 | |
---|
[8880] | 944 | <EventTrigger delay=4 name="earlyEnd"> |
---|
| 945 | <events> |
---|
| 946 | <trigger> |
---|
| 947 | <EventListener event="cruiserKilled" /> |
---|
| 948 | </trigger> |
---|
| 949 | </events> |
---|
| 950 | <events> |
---|
| 951 | <activity> |
---|
| 952 | <EventListener event="movingpirates2" /> |
---|
| 953 | </activity> |
---|
| 954 | </events> |
---|
| 955 | </EventTrigger> |
---|
| 956 | |
---|
| 957 | <EventTrigger delay=4 name="earlyEnd"> |
---|
| 958 | <events> |
---|
| 959 | <trigger> |
---|
| 960 | <EventListener event="HydroFarmer" /> |
---|
| 961 | </trigger> |
---|
| 962 | </events> |
---|
| 963 | <events> |
---|
| 964 | <activity> |
---|
| 965 | <EventListener event="movingpirates2" /> |
---|
| 966 | </activity> |
---|
| 967 | </events> |
---|
| 968 | </EventTrigger> |
---|
| 969 | |
---|
| 970 | |
---|
| 971 | |
---|
[8878] | 972 | <SimpleNotification message="Oh no! You killed the Hydrogen Farmer!" broadcast="true"> |
---|
[8874] | 973 | <events> |
---|
| 974 | <trigger> |
---|
| 975 | <EventListener event="HydroFarmer" /> |
---|
| 976 | </trigger> |
---|
| 977 | </events> |
---|
| 978 | </SimpleNotification> |
---|
| 979 | |
---|
[8878] | 980 | <SimpleNotification message="Oh no! You killed the SpaceCruiser!" broadcast="true"> |
---|
[8874] | 981 | <events> |
---|
| 982 | <trigger> |
---|
[8880] | 983 | <EventListener event="cruiserKilled" /> |
---|
[8874] | 984 | </trigger> |
---|
| 985 | </events> |
---|
| 986 | </SimpleNotification> |
---|
| 987 | |
---|
[8880] | 988 | <SimpleNotification message="Press 'Esc' and restart the mission." broadcast="true"> |
---|
| 989 | <events> |
---|
| 990 | <trigger> |
---|
| 991 | <EventListener event="earlyEnd" /> |
---|
| 992 | </trigger> |
---|
| 993 | </events> |
---|
| 994 | </SimpleNotification> |
---|
[8874] | 995 | |
---|
| 996 | |
---|
[8871] | 997 | <!-- hydrogen farmer & docking END --> |
---|
[8847] | 998 | |
---|
[8851] | 999 | |
---|
[8871] | 1000 | <!-- @Objects: Pickup - find better place !! --> |
---|
| 1001 | <PickupSpawner position="-48650,700,100" triggerDistance="70" respawnTime="30" maxSpawnedItems="1"> |
---|
| 1002 | <pickup> |
---|
| 1003 | <ShieldPickup template=hugeshieldpickup /> |
---|
| 1004 | </pickup> |
---|
| 1005 | </PickupSpawner> |
---|
| 1006 | |
---|
| 1007 | |
---|
[8869] | 1008 | <DistanceTrigger name="pickup" position="-48650,700,100" target="Pawn" distance=60 stayActive="true" delay=0 /> |
---|
| 1009 | <SimpleNotification message="This pickup protects your spaceship."> |
---|
[8847] | 1010 | <events> |
---|
| 1011 | <trigger> |
---|
[8851] | 1012 | <EventListener event=pickup /> |
---|
[8847] | 1013 | </trigger> |
---|
| 1014 | </events> |
---|
| 1015 | </SimpleNotification> |
---|
| 1016 | <!-- Pickup--> |
---|
| 1017 | |
---|
| 1018 | |
---|
[8871] | 1019 | <!-- @Objects: planet && spaceboundaries --> |
---|
[8838] | 1020 | <Planet |
---|
[8847] | 1021 | position="-44000,0,0" |
---|
| 1022 | scale="2500" |
---|
[8838] | 1023 | collisionType="dynamic" |
---|
| 1024 | linearDamping="0.8" |
---|
| 1025 | angularDamping="0" |
---|
| 1026 | mass="10000000" |
---|
| 1027 | pitch="0" |
---|
| 1028 | mesh="planets/muunilinst.mesh" |
---|
| 1029 | atmosphere="atmosphere1" |
---|
| 1030 | rotationaxis="1,0,0" |
---|
| 1031 | rotationrate="1.0" |
---|
| 1032 | atmospheresize="80.0f" |
---|
| 1033 | imagesize="1024.0f" |
---|
[8872] | 1034 | collisiondamage = "2" |
---|
| 1035 | enablecollisiondamage = "false" |
---|
[8838] | 1036 | > |
---|
[8847] | 1037 | <!--attached> |
---|
[8910] | 1038 | <ForceField position="0,0,0" mode="sphere" diameter="10000" velocity="-50" /> |
---|
[8847] | 1039 | </attached--> <!-- Forcefield kills HYDROGEN FARMER--> |
---|
[8838] | 1040 | <collisionShapes> |
---|
[8872] | 1041 | <SphereCollisionShape radius="2500" position="0,0,0" /> |
---|
[8838] | 1042 | </collisionShapes> |
---|
| 1043 | </Planet> |
---|
| 1044 | |
---|
| 1045 | |
---|
[8869] | 1046 | <!-------------------------------------- The attack ---------------------------------------> |
---|
[8847] | 1047 | |
---|
[8869] | 1048 | <!-- TODO: |
---|
| 1049 | - update spaceshipTransporter |
---|
[8910] | 1050 | - bots do friendly fire (is drone function reusable?) |
---|
[8869] | 1051 | --> |
---|
[8871] | 1052 | |
---|
| 1053 | <!-- @Triggers: toHydroFamer <-> first portal usage |
---|
| 1054 | ondock <-> successfull docking |
---|
| 1055 | attack <-> second portal usage --> |
---|
| 1056 | |
---|
| 1057 | <DistanceTrigger name="attack" position="-1400,-500,800" target="Pawn" distance=100 stayActive="true" > |
---|
| 1058 | <EventTrigger name="ondock" activations="1" stayactive="true" delay=6> |
---|
| 1059 | <events> |
---|
| 1060 | <trigger> |
---|
| 1061 | <EventListener event="dockMe" /> |
---|
| 1062 | </trigger> |
---|
| 1063 | </events> |
---|
| 1064 | <DistanceTrigger name="toHydroFarmer" position="-47000,-1000,1300" target="Pawn" distance=100 stayActive="true" /> |
---|
| 1065 | </EventTrigger> |
---|
| 1066 | </DistanceTrigger> |
---|
| 1067 | |
---|
[8872] | 1068 | <SimpleNotification message="Return before it's too late. Boost with 'Space'." broadcast="true"> |
---|
[8871] | 1069 | <events> |
---|
| 1070 | <trigger> |
---|
| 1071 | <EventListener event=ondock /> |
---|
| 1072 | </trigger> |
---|
| 1073 | </events> |
---|
| 1074 | </SimpleNotification> |
---|
| 1075 | |
---|
| 1076 | <SimpleNotification message="Several serious enemies are approaching!"> |
---|
| 1077 | <events> |
---|
| 1078 | <trigger> |
---|
| 1079 | <EventListener event=attack /> |
---|
| 1080 | </trigger> |
---|
| 1081 | </events> |
---|
| 1082 | </SimpleNotification> |
---|
| 1083 | |
---|
| 1084 | |
---|
| 1085 | |
---|
| 1086 | <!-- @Objects: 6 pirates, heading towards DuBall, attacking --> |
---|
[8869] | 1087 | <!-- 1 --> |
---|
[8872] | 1088 | <SpaceShip position="3000,-4000,4000" lookat="-1300,-600,900" name="attacker"visible="true"> |
---|
| 1089 | <events> |
---|
| 1090 | <visibility> |
---|
| 1091 | <EventListener event="ondock" /> |
---|
| 1092 | </visibility> |
---|
| 1093 | </events> |
---|
[8869] | 1094 | <templates> |
---|
| 1095 | <Template link=spaceshippirate /> <!--spaceshipTransporter --> |
---|
| 1096 | </templates> |
---|
| 1097 | <controller> |
---|
[8878] | 1098 | <WaypointPatrolController alertnessradius=3129 team=1 active=false> |
---|
[8869] | 1099 | <waypoints> |
---|
| 1100 | <Model mesh="cube.mesh" scale=0 position="-1300,-600,900" /> |
---|
| 1101 | <Model mesh="cube.mesh" scale=0 position="0,0,0" /> |
---|
| 1102 | </waypoints> |
---|
| 1103 | <events> |
---|
| 1104 | <activity> |
---|
| 1105 | <EventListener event="attack" /> <!-- activates enemies--> |
---|
| 1106 | </activity> |
---|
| 1107 | </events> |
---|
| 1108 | </WaypointPatrolController> |
---|
| 1109 | </controller> |
---|
| 1110 | </SpaceShip> |
---|
| 1111 | <!-- 2 --> |
---|
[8872] | 1112 | <SpaceShip position="3000,-4000,-4000" lookat="-1300,-600,900" name="attacker" visible="true"> |
---|
| 1113 | <events> |
---|
| 1114 | <visibility> |
---|
| 1115 | <EventListener event="ondock" /> |
---|
| 1116 | </visibility> |
---|
| 1117 | </events> |
---|
[8869] | 1118 | <templates> |
---|
| 1119 | <Template link=spaceshippirate /> <!--spaceshipTransporter --> |
---|
| 1120 | </templates> |
---|
| 1121 | <controller> |
---|
[8878] | 1122 | <WaypointPatrolController alertnessradius=3129 team=1 active=false> |
---|
[8869] | 1123 | <waypoints> |
---|
| 1124 | <Model mesh="cube.mesh" scale=0 position="-1300,-600,900" /> |
---|
| 1125 | <Model mesh="cube.mesh" scale=0 position="0,0,0" /> |
---|
| 1126 | </waypoints> |
---|
| 1127 | <events> |
---|
| 1128 | <activity> |
---|
| 1129 | <EventListener event="attack" /> <!-- activates enemies--> |
---|
| 1130 | </activity> |
---|
| 1131 | </events> |
---|
| 1132 | </WaypointPatrolController> |
---|
| 1133 | </controller> |
---|
| 1134 | </SpaceShip> |
---|
| 1135 | <!-- 3 --> |
---|
[8872] | 1136 | <SpaceShip position="-4000,-3000,4000" lookat="-1300,-600,900" name="attacker" visible="true"> |
---|
| 1137 | <events> |
---|
| 1138 | <visibility> |
---|
| 1139 | <EventListener event="ondock" /> |
---|
| 1140 | </visibility> |
---|
| 1141 | </events> |
---|
[8869] | 1142 | <templates> |
---|
| 1143 | <Template link=spaceshippirate /> <!--spaceshipTransporter --> |
---|
| 1144 | </templates> |
---|
| 1145 | <controller> |
---|
[8878] | 1146 | <WaypointPatrolController alertnessradius=3129 team=1 active=false> |
---|
[8869] | 1147 | <waypoints> |
---|
| 1148 | <Model mesh="cube.mesh" scale=0 position="-1300,-600,900" /> |
---|
| 1149 | <Model mesh="cube.mesh" scale=0 position="0,0,0" /> |
---|
| 1150 | </waypoints> |
---|
| 1151 | <events> |
---|
| 1152 | <activity> |
---|
| 1153 | <EventListener event="attack" /> <!-- activates enemies--> |
---|
| 1154 | </activity> |
---|
| 1155 | </events> |
---|
| 1156 | </WaypointPatrolController> |
---|
| 1157 | </controller> |
---|
| 1158 | </SpaceShip> |
---|
| 1159 | <!-- 4 --> |
---|
[8872] | 1160 | <SpaceShip position="-3000,-3000,-5000" lookat="-1300,-600,900" name="attacker" visible="true"> |
---|
| 1161 | <events> |
---|
| 1162 | <visibility> |
---|
| 1163 | <EventListener event="ondock" /> |
---|
| 1164 | </visibility> |
---|
| 1165 | </events> |
---|
[8869] | 1166 | <templates> |
---|
| 1167 | <Template link=spaceshippirate /> <!--spaceshipTransporter --> |
---|
| 1168 | </templates> |
---|
| 1169 | <controller> |
---|
[8878] | 1170 | <WaypointPatrolController alertnessradius=3129 team=1 active=false> |
---|
[8869] | 1171 | <waypoints> |
---|
| 1172 | <Model mesh="cube.mesh" scale=0 position="-1300,-600,900" /> |
---|
| 1173 | <Model mesh="cube.mesh" scale=0 position="0,0,0" /> |
---|
| 1174 | </waypoints> |
---|
| 1175 | <events> |
---|
| 1176 | <activity> |
---|
| 1177 | <EventListener event="attack" /> <!-- activates enemies--> |
---|
| 1178 | </activity> |
---|
| 1179 | </events> |
---|
| 1180 | </WaypointPatrolController> |
---|
| 1181 | </controller> |
---|
| 1182 | </SpaceShip> |
---|
| 1183 | <!-- 5 --> |
---|
[8872] | 1184 | <SpaceShip position="4000,4000,3000" lookat="-1300,-600,900" name="attacker"visible="true"> |
---|
| 1185 | <events> |
---|
| 1186 | <visibility> |
---|
| 1187 | <EventListener event="ondock" /> |
---|
| 1188 | </visibility> |
---|
| 1189 | </events> |
---|
[8869] | 1190 | <templates> |
---|
| 1191 | <Template link=spaceshippirate /> <!--spaceshipTransporter --> |
---|
| 1192 | </templates> |
---|
| 1193 | <controller> |
---|
[8878] | 1194 | <WaypointPatrolController alertnessradius=3129 team=1 active=false> |
---|
[8869] | 1195 | <waypoints> |
---|
| 1196 | <Model mesh="cube.mesh" scale=0 position="-1300,-600,900" /> |
---|
| 1197 | <Model mesh="cube.mesh" scale=0 position="0,0,0" /> |
---|
| 1198 | </waypoints> |
---|
| 1199 | <events> |
---|
| 1200 | <activity> |
---|
| 1201 | <EventListener event="attack" /> <!-- activates enemies--> |
---|
| 1202 | </activity> |
---|
| 1203 | </events> |
---|
| 1204 | </WaypointPatrolController> |
---|
| 1205 | </controller> |
---|
| 1206 | </SpaceShip> |
---|
| 1207 | <!-- 6 --> |
---|
[8872] | 1208 | <SpaceShip position="2000,-4000,5000" lookat="-1300,-600,900" name="attacker" visible="true"> |
---|
| 1209 | <events> |
---|
| 1210 | <visibility> |
---|
| 1211 | <EventListener event="ondock" /> |
---|
| 1212 | </visibility> |
---|
| 1213 | </events> |
---|
[8869] | 1214 | <templates> |
---|
| 1215 | <Template link=spaceshippirate /> <!--spaceshipTransporter --> |
---|
| 1216 | </templates> |
---|
| 1217 | <controller> |
---|
[8878] | 1218 | <WaypointPatrolController alertnessradius=3129 team=1 active=false> |
---|
[8869] | 1219 | <waypoints> |
---|
| 1220 | <Model mesh="cube.mesh" scale=0 position="-1300,-600,900" /> |
---|
| 1221 | <Model mesh="cube.mesh" scale=0 position="0,0,0" /> |
---|
| 1222 | </waypoints> |
---|
| 1223 | <events> |
---|
| 1224 | <activity> |
---|
| 1225 | <EventListener event="attack" /> <!-- activates enemies--> |
---|
| 1226 | </activity> |
---|
| 1227 | </events> |
---|
| 1228 | </WaypointPatrolController> |
---|
| 1229 | </controller> |
---|
| 1230 | </SpaceShip> |
---|
[8847] | 1231 | |
---|
[8871] | 1232 | <!-- @Triggers: attacktriggerX <-> X enemies destroyed , X is an element of [1,6] --> |
---|
| 1233 | <EventTrigger name="attacktrigger6" activations="1" stayactive="true"> |
---|
| 1234 | <events> |
---|
| 1235 | <trigger> |
---|
| 1236 | <EventListener event="attacker" /> |
---|
| 1237 | </trigger> |
---|
| 1238 | </events> |
---|
[8872] | 1239 | <EventTrigger name="attacktrigger5" activations="1" stayactive="true" delay=0.1> |
---|
[8871] | 1240 | <events> |
---|
| 1241 | <trigger> |
---|
| 1242 | <EventListener event="attacker" /> |
---|
| 1243 | </trigger> |
---|
| 1244 | </events> |
---|
[8872] | 1245 | <EventTrigger name="attacktrigger4" activations="1" stayactive="true" delay=0.1> |
---|
[8871] | 1246 | <events> |
---|
| 1247 | <trigger> |
---|
| 1248 | <EventListener event="attacker" /> |
---|
| 1249 | </trigger> |
---|
| 1250 | </events> |
---|
[8872] | 1251 | <EventTrigger name="attacktrigger3" activations="1" stayactive="true" delay=0.1> |
---|
[8871] | 1252 | <events> |
---|
| 1253 | <trigger> |
---|
| 1254 | <EventListener event="attacker" /> |
---|
| 1255 | </trigger> |
---|
| 1256 | </events> |
---|
[8872] | 1257 | <EventTrigger name="attacktrigger2" activations="1" stayactive="true" delay=0.1> |
---|
[8871] | 1258 | <events> |
---|
| 1259 | <trigger> |
---|
| 1260 | <EventListener event="attacker" /> |
---|
| 1261 | </trigger> |
---|
| 1262 | </events> |
---|
[8872] | 1263 | <EventTrigger name="attacktrigger1" activations="1" stayactive="true" delay=0.1> |
---|
[8871] | 1264 | <events> |
---|
| 1265 | <trigger> |
---|
| 1266 | <EventListener event="attacker" /> |
---|
| 1267 | </trigger> |
---|
| 1268 | </events> |
---|
| 1269 | </EventTrigger> |
---|
| 1270 | </EventTrigger> |
---|
| 1271 | </EventTrigger> |
---|
| 1272 | </EventTrigger> |
---|
| 1273 | </EventTrigger> |
---|
| 1274 | </EventTrigger> |
---|
[8847] | 1275 | |
---|
[8871] | 1276 | |
---|
| 1277 | <SimpleNotification message="5 enemies left!" broadcast="true"> |
---|
| 1278 | <events> |
---|
| 1279 | <trigger> |
---|
| 1280 | <EventListener event="attacktrigger1" /> |
---|
| 1281 | </trigger> |
---|
| 1282 | </events> |
---|
| 1283 | </SimpleNotification> |
---|
| 1284 | |
---|
| 1285 | <SimpleNotification message="4 enemies left!" broadcast="true"> |
---|
| 1286 | <events> |
---|
| 1287 | <trigger> |
---|
| 1288 | <EventListener event="attacktrigger2" /> |
---|
| 1289 | </trigger> |
---|
| 1290 | </events> |
---|
| 1291 | </SimpleNotification> |
---|
| 1292 | |
---|
| 1293 | <SimpleNotification message="3 enemies left!" broadcast="true"> |
---|
| 1294 | <events> |
---|
| 1295 | <trigger> |
---|
| 1296 | <EventListener event="attacktrigger3" /> |
---|
| 1297 | </trigger> |
---|
| 1298 | </events> |
---|
| 1299 | </SimpleNotification> |
---|
| 1300 | |
---|
| 1301 | <SimpleNotification message="2 enemies left!" broadcast="true"> |
---|
| 1302 | <events> |
---|
| 1303 | <trigger> |
---|
| 1304 | <EventListener event="attacktrigger4" /> |
---|
| 1305 | </trigger> |
---|
| 1306 | </events> |
---|
| 1307 | </SimpleNotification> |
---|
| 1308 | <SimpleNotification message="One enemy left!" broadcast="true"> |
---|
| 1309 | <events> |
---|
| 1310 | <trigger> |
---|
| 1311 | <EventListener event="attacktrigger5" /> |
---|
| 1312 | </trigger> |
---|
| 1313 | </events> |
---|
| 1314 | </SimpleNotification> |
---|
| 1315 | <SimpleNotification message="Well done. You finished this tutorial." broadcast="true"> |
---|
| 1316 | <events> |
---|
| 1317 | <trigger> |
---|
| 1318 | <EventListener event="attacktrigger6" /> |
---|
| 1319 | </trigger> |
---|
| 1320 | </events> |
---|
| 1321 | </SimpleNotification> |
---|
| 1322 | |
---|
| 1323 | <!-- @Triggers: postAttack <-> delayed attacktrigger6 --> |
---|
| 1324 | <EventTrigger name="postAttack1" activations="1" stayactive="true" delay=3> |
---|
| 1325 | <events> |
---|
| 1326 | <trigger> |
---|
| 1327 | <EventListener event="attacktrigger6" /> |
---|
| 1328 | </trigger> |
---|
| 1329 | </events> |
---|
| 1330 | </EventTrigger> |
---|
| 1331 | |
---|
| 1332 | <EventTrigger name="postAttack2" activations="1" stayactive="true" delay=6> |
---|
| 1333 | <events> |
---|
| 1334 | <trigger> |
---|
| 1335 | <EventListener event="attacktrigger6" /> |
---|
| 1336 | </trigger> |
---|
| 1337 | </events> |
---|
| 1338 | </EventTrigger> |
---|
| 1339 | |
---|
| 1340 | <SimpleNotification message="Either quit by pressing 'Esc' or ..." broadcast="true"> |
---|
| 1341 | <events> |
---|
| 1342 | <trigger> |
---|
| 1343 | <EventListener event="postAttack1" /> |
---|
| 1344 | </trigger> |
---|
| 1345 | </events> |
---|
| 1346 | </SimpleNotification> |
---|
| 1347 | |
---|
[8872] | 1348 | <SimpleNotification message="... stay here to learn some tricks." broadcast="true"> |
---|
[8871] | 1349 | <events> |
---|
| 1350 | <trigger> |
---|
| 1351 | <EventListener event="postAttack2" /> |
---|
| 1352 | </trigger> |
---|
| 1353 | </events> |
---|
| 1354 | </SimpleNotification> |
---|
| 1355 | |
---|
[8869] | 1356 | <!-------------------------------------- |Bonus Part| ---------------------------------------> |
---|
[8872] | 1357 | <!-- @Triggers: "bonusX" <-> delayed "attacktrigger6" --> |
---|
| 1358 | <EventTrigger name="bonus1" activations="1" stayactive="true" delay=10> |
---|
| 1359 | <events> |
---|
| 1360 | <trigger> |
---|
| 1361 | <EventListener event="attacktrigger6" /> |
---|
| 1362 | </trigger> |
---|
| 1363 | </events> |
---|
| 1364 | </EventTrigger> |
---|
| 1365 | <EventTrigger name="bonus2" activations="1" stayactive="true" delay=16> |
---|
| 1366 | <events> |
---|
| 1367 | <trigger> |
---|
| 1368 | <EventListener event="attacktrigger6" /> |
---|
| 1369 | </trigger> |
---|
| 1370 | </events> |
---|
| 1371 | </EventTrigger> |
---|
| 1372 | <EventTrigger name="bonus3" activations="1" stayactive="true" delay=22> |
---|
| 1373 | <events> |
---|
| 1374 | <trigger> |
---|
| 1375 | <EventListener event="attacktrigger6" /> |
---|
| 1376 | </trigger> |
---|
| 1377 | </events> |
---|
| 1378 | </EventTrigger> |
---|
| 1379 | <EventTrigger name="bonus4" activations="1" stayactive="true" delay=28> |
---|
| 1380 | <events> |
---|
| 1381 | <trigger> |
---|
| 1382 | <EventListener event="attacktrigger6" /> |
---|
| 1383 | </trigger> |
---|
| 1384 | </events> |
---|
| 1385 | </EventTrigger> |
---|
| 1386 | <EventTrigger name="bonus5" activations="1" stayactive="true" delay=32.1> |
---|
| 1387 | <events> |
---|
| 1388 | <trigger> |
---|
| 1389 | <EventListener event="attacktrigger6" /> |
---|
| 1390 | </trigger> |
---|
| 1391 | </events> |
---|
| 1392 | </EventTrigger> |
---|
| 1393 | <EventTrigger name="bonus6" activations="1" stayactive="true" delay=36.2> |
---|
| 1394 | <events> |
---|
| 1395 | <trigger> |
---|
| 1396 | <EventListener event="attacktrigger6" /> |
---|
| 1397 | </trigger> |
---|
| 1398 | </events> |
---|
| 1399 | </EventTrigger> |
---|
| 1400 | <EventTrigger name="bonus7" activations="1" stayactive="true" delay=4> |
---|
| 1401 | <events> |
---|
| 1402 | <trigger> |
---|
| 1403 | <EventListener event="bonus6" /> |
---|
| 1404 | </trigger> |
---|
| 1405 | </events> |
---|
| 1406 | </EventTrigger> |
---|
[8869] | 1407 | |
---|
| 1408 | |
---|
| 1409 | |
---|
[8872] | 1410 | <SimpleNotification message="Rotate your ship. Press 'Q' or 'E'. " broadcast="true"> |
---|
[8869] | 1411 | <events> |
---|
[8847] | 1412 | <trigger> |
---|
[8869] | 1413 | <EventListener event=bonus1 /> |
---|
[8847] | 1414 | </trigger> |
---|
| 1415 | </events> |
---|
[8869] | 1416 | </SimpleNotification> |
---|
[8847] | 1417 | |
---|
[8872] | 1418 | <SimpleNotification message="Switch the camera's position. Press 'C'. " broadcast="true"> |
---|
[8869] | 1419 | <events> |
---|
| 1420 | <trigger> |
---|
| 1421 | <EventListener event=bonus2 /> |
---|
| 1422 | </trigger> |
---|
| 1423 | </events> |
---|
| 1424 | </SimpleNotification> |
---|
[8847] | 1425 | |
---|
[8872] | 1426 | <SimpleNotification message="360° view: press 'Ctrl' + use the mouse " broadcast="true"> |
---|
[8869] | 1427 | <events> |
---|
| 1428 | <trigger> |
---|
| 1429 | <EventListener event=bonus3 /> |
---|
| 1430 | </trigger> |
---|
| 1431 | </events> |
---|
| 1432 | </SimpleNotification> |
---|
[8847] | 1433 | |
---|
[8872] | 1434 | <SimpleNotification message="Have a look at the main menu's settings." broadcast="true"> |
---|
[8869] | 1435 | <events> |
---|
| 1436 | <trigger> |
---|
| 1437 | <EventListener event=bonus4 /> |
---|
| 1438 | </trigger> |
---|
| 1439 | </events> |
---|
| 1440 | </SimpleNotification> |
---|
[8847] | 1441 | |
---|
[8872] | 1442 | <SimpleNotification message="E.g: Settings > Miscellaneous > Nr. of bots" broadcast="true"> |
---|
[8869] | 1443 | <events> |
---|
| 1444 | <trigger> |
---|
| 1445 | <EventListener event=bonus5 /> |
---|
| 1446 | </trigger> |
---|
| 1447 | </events> |
---|
| 1448 | </SimpleNotification> |
---|
[8847] | 1449 | |
---|
[8872] | 1450 | <SimpleNotification message="You successfully finished Mission One!" broadcast="true"> |
---|
[8869] | 1451 | <events> |
---|
| 1452 | <trigger> |
---|
| 1453 | <EventListener event=bonus6 /> |
---|
| 1454 | </trigger> |
---|
| 1455 | </events> |
---|
| 1456 | </SimpleNotification> |
---|
[8871] | 1457 | |
---|
[8872] | 1458 | <SimpleNotification message="Press 'Esc' and return to the main menu." broadcast="true"> |
---|
[8869] | 1459 | <events> |
---|
| 1460 | <trigger> |
---|
[8872] | 1461 | <EventListener event=bonus7 /> |
---|
| 1462 | </trigger> |
---|
| 1463 | </events> |
---|
| 1464 | </SimpleNotification> |
---|
| 1465 | |
---|
| 1466 | |
---|
| 1467 | <!--Script code="addBots 3" onLoad="false"> |
---|
| 1468 | <events> |
---|
| 1469 | <trigger> |
---|
[8869] | 1470 | <EventListener event=bonus6 /> |
---|
| 1471 | </trigger> |
---|
| 1472 | </events> |
---|
| 1473 | </Script> |
---|
| 1474 | |
---|
[8871] | 1475 | <Script code="artificialcontroller setbotlevel 0.1" onLoad="false"> |
---|
[8869] | 1476 | <events> |
---|
| 1477 | <trigger> |
---|
| 1478 | <EventListener event=bonus6 /> |
---|
| 1479 | </trigger> |
---|
| 1480 | </events> |
---|
[8872] | 1481 | </Script--> |
---|
[8875] | 1482 | <!-- Script code="artificialcontroller setbotlevel 0.1" /--> |
---|
[8773] | 1483 | </Scene> |
---|
| 1484 | </Level> |
---|
[8910] | 1485 | <!-- TODO: |
---|
[8871] | 1486 | ! Quest Interface |
---|
| 1487 | - Foolproof text messages (e.g. verspätete Nachrichten unterdrücken) |
---|
[8880] | 1488 | - Radar visibility & Hud Markers (done) |
---|
| 1489 | - End Tutorial, if either the Hydrogen Farmer or the SpaceCruiser gets destroyed. (~done) |
---|
[8874] | 1490 | |
---|
[8871] | 1491 | --> |
---|