Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/gamecontent/data/levels/missionOne.oxw @ 8904

Last change on this file since 8904 was 8904, checked in by jo, 13 years ago

On the way to a multiplayer gametype basceclass.

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