Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/iJohnVane_TriptoArea51.oxw @ 10054

Last change on this file since 10054 was 9992, checked in by jo, 11 years ago

The end of Area51UnderFire is ok. Unfortunately the explosion could not be timed at all, so it was commented out.

  • Property svn:eol-style set to native
File size: 23.9 KB
Line 
1<!-- -->
2
3<LevelInfo
4   name = "(i) John Vane - Trip to Area 51"
5   description = "John Vane's first mission to rescue the Commander."
6   tags = "mission"
7   screenshot = "JohnVane.png"
8/>
9
10<?lua
11  include("stats.oxo")
12  include("HUDTemplates3.oxo")
13  include("templates/lodInformation.oxt")
14?>
15
16<?lua
17  include("templates/spaceshipAssff.oxt")
18  include("templates/spaceshipAssff2.oxt")
19  include("templates/spaceshipPirate.oxt")
20  include("templates/spaceshipEscort.oxt")
21  include("templates/spaceshipCollateralDamage.oxt")
22?>
23
24<Level gametype="Mission">
25
26  <templates>
27    <Template link=lodtemplate_default />
28  </templates>
29  <?lua include("includes/notifications.oxi") ?>
30
31  <NotificationQueueCEGUI
32    name="narrative"
33    targets="simpleNotification"
34    size=3
35    displayTime=3.9
36    position="0.2, 0, 0.1, 0"
37    fontSize="23"
38    fontColor="0.3, 1, 0.2, 0.8"
39    alignment="HorzCentred"
40    displaySize="0.6, 0, 0, 0"
41    />
42
43  <Scene
44    ambientlight = "0.5, 0.5, 0.5"
45    skybox       = "Orxonox/Starbox"
46    hasPhysics   = true
47
48  >
49
50   <?lua
51      include("includes/pickups.oxi")
52   ?>
53
54   <?lua
55    dofile("includes/CuboidSpaceStation.lua")
56   ?>
57
58
59   <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"/>   
60
61   <TeamSpawnPoint team=0 position="0,0,0" direction="1,1,1" spawnclass=SpaceShip pawndesign=spaceshipescort>
62         <events>
63            <activity>
64                <EventListener event="start" />
65            </activity>
66        </events>
67    </TeamSpawnPoint>
68   <!-- HELPER FOR LEVEL DESIGNERS: go directly to the racing part of the level -->
69   <!--TeamSpawnPoint team=0 position="0,94000,0" lookat="0,118000,0" spawnclass=SpaceShip pawndesign=spaceshipcollateraldamage/-->
70
71   <Script code="Mission setLives 1" onLoad="true" times="1" />
72
73   <DistanceTrigger name="spawntrigger" position="0,0,0" distance=10 target="SpaceShip" stayActive="true" delay=0.1/>
74
75<!----------------------------------------------------------------------------------------------------->
76<!-------------------------------------- PART ZERO: Docking on  --------------------------------------->
77<!----------------------------------------------------------------------------------------------------->
78
79<!-- OBJECTS IN THIS PART -->
80
81<!-- @Objects: HYDROGEN FARMER & DOCKING -->
82   
83<!-- @Objects: HYDROGEN FARMER & DOCKING -->
84   <SpaceShip
85        team      = 0
86        position  = "5000,5100,5000"
87        roll      = 90   yaw=0  pitch=20
88        mass      = 10000
89        health    = 100000 initialhealth=100000 maxhealth="100000"
90        name      = "HydroFarmer"
91        radarname = "Main station" >
92      <attached>
93        <!-- Docking -->
94         <DistanceTriggerBeacon name="bcnDestroyer" />
95         <DockingTarget name="destroyer" />
96
97        <Model mesh="HydroHarvester.mesh" mass=10 position="0,0,0" scale=50 />
98   <!-- <Model mesh="cube.mesh" mass=10 position="-560,0,0" scale3D="115,100,245"  />
99        <Model mesh="cube.mesh" mass=10 position="290,0,-480" scale3D="115,100,245" yaw=-120 />
100        <Model mesh="cube.mesh" mass=10 position="290,0,480" scale3D="115,100,245" yaw=-240 />
101        <Model mesh="cube.mesh" mass=10 position="-280,0,0" scale3D="163,50,50" />
102        <Model mesh="cube.mesh" mass=10 position="140,0,-240" scale3D="163,50,50"  yaw=-120/>
103        <Model mesh="cube.mesh" mass=10 position="140,0,240" scale3D="163,50,50" yaw=-240/>
104        <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" />
105        <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" yaw=-120/>
106        <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" yaw=-240/>
107        <Model mesh="cube.mesh" mass=10 position="0,400,0" scale3D="43,110,26" yaw=-30 />
108        <Model mesh="cube.mesh" mass=10 position="-200,100,0" scale3D="26,50,43" />
109        <Model mesh="cube.mesh" mass=10 position="100,100,-173" scale3D="43,50,26" yaw=-30/>
110        <Model mesh="cube.mesh" mass=10 position="100,100,173" scale3D="43,50,26" yaw=30/>
111        <Model mesh="cube.mesh" mass=10 position="-100,264,0" scale3D="26,105,43" roll=-49/>
112        <Model mesh="cube.mesh" mass=10 position="50,264,-87" scale3D="26,105,43" roll=-49 yaw=-120/>
113        <Model mesh="cube.mesh" mass=10 position="50,264,87" scale3D="26,105,43" roll=-49 yaw=-240/>     -->
114      </attached>
115      <collisionShapes>
116        <BoxCollisionShape  position="-560,0,0" halfExtents="115,100,245" /><!-- Three lower boxes -->
117        <BoxCollisionShape  position="290,0,-480" halfExtents="115,100,245" yaw=-120 />
118        <BoxCollisionShape  position="290,0,480" halfExtents="115,100,245" yaw=-240 />
119        <BoxCollisionShape  position="-280,0,0" halfExtents="163,50,50" /><!-- Three lower connections -->
120        <BoxCollisionShape  position="140,0,-240" halfExtents="163,50,50" yaw=-120 />
121        <BoxCollisionShape  position="140,0,240" halfExtents="163,50,50" yaw=-240 />
122        <BoxCollisionShape  position="0,530,0" halfExtents="172,52,298" /><!-- Upper Tower -->
123        <BoxCollisionShape  position="0,530,0" halfExtents="172,52,298" yaw=-120 />
124        <BoxCollisionShape  position="0,530,0" halfExtents="172,52,298" yaw=-240 />
125        <BoxCollisionShape  position="0,400,0" halfExtents="43,110,26" yaw=-30 /><!-- Middle one-->
126        <BoxCollisionShape  position="-200,100,0" halfExtents="26,50,43" /><!--Three lower legs -->
127        <BoxCollisionShape  position="100,100,-173" halfExtents="43,50,26" yaw=-30 />
128        <BoxCollisionShape  position="100,100,-173" halfExtents="43,50,26" yaw=30 />
129        <BoxCollisionShape  position="-100,264,0" halfExtents="26,105,43" roll=-49 /><!--Three upper legs -->
130        <BoxCollisionShape  position="50,264,-87" halfExtents="26,105,43" roll=-49 yaw=-120 />
131        <BoxCollisionShape  position="50,264,87" halfExtents="26,105,43" roll=-49 yaw=-240 />
132      </collisionShapes>
133    </SpaceShip>
134
135   <Dock position="5000,5000,5000" roll=90 yaw=180 >
136      <animations>
137         <MoveToDockingTarget target="destroyer" />
138      </animations>
139      <effects>
140         <DockToShip target="spaceShip" />
141      </effects>
142      <events>
143            <execute>
144                <EventListener event="dockMe" />
145            </execute>
146            <activity>
147                <EventListener event=notGameEnd />
148            </activity>
149        </events>
150        <attached>
151            <DistanceTrigger position="10,-202, -42" distance="800" target="Pawn"
152                beaconMode="exclude" targetname="bcnDestroyer" name="dockMe"/>
153       <Billboard position="10,-202,-42" material="Flares/ringflare" colour="0.7,0.4,0.1" scale=1/>
154        </attached>
155
156    </Dock>
157
158<!--@Objects: SpaceCruiser as docking target -->
159    <SpaceShip
160        template            = "spaceshipcollateraldamage"
161        team                = "0"
162        position            = "5000,5800,5000"
163        orientation         = "-0.14, 0.68, 0.68, 0.223"
164        health              = "400"
165        initialhealth       = "400"
166        maxhealth           = "500"
167        shieldhealth        = "80"
168        initialshieldhealth = "80"
169        maxshieldhealth     = "120"
170        shieldabsorption    = "0.8"
171        reloadrate          = "1"
172        reloadwaittime      = "1"
173        name                = "cruiser"
174        radarname           = "Spacecruiser" >
175      <attached>
176        <DockingTarget name="spaceShip" />
177      </attached>
178    </SpaceShip>
179
180
181<BlinkingBillboard position="1500,1500,1500" frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,1,0.05">
182          <events>
183            <visibility>
184              <EventTrigger invert=true>
185                <events>
186                  <trigger>
187                    <EventListener event=flying3 />
188                  </trigger>
189                </events>
190              </EventTrigger>
191            </visibility>
192          </events>
193</BlinkingBillboard>
194<Billboard position="1500,1500,1500" amplitude=1 material="Flares/lensflare" colour="0,0.8,0.1">
195          <events>
196            <visibility>
197              <EventTrigger>
198                <events>
199                  <trigger>
200                    <EventListener event=flying4 />
201                  </trigger>
202                </events>
203              </EventTrigger>
204            </visibility>
205          </events>
206</Billboard>
207
208  <DistanceTrigger name="flying1" position="0,0,0" target="Pawn" distance=100 stayActive="true" delay=1/>
209    <SimpleNotification message="Housten: John Vane do you hear us?">
210        <events>
211            <trigger>
212                <EventListener event="flying1" />
213            </trigger>
214        </events>
215    </SimpleNotification>
216
217   <DistanceTrigger name="flying2" position="0,0,0" target="Pawn" distance=100 stayActive="true" delay=5/>
218   <SimpleNotification message="Housten: We got a new mission for you">
219        <events>
220            <trigger>
221                <EventListener event="flying2" />
222            </trigger>
223        </events>
224   </SimpleNotification>
225
226
227  <DistanceTrigger name="flying3" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=9/>
228    <SimpleNotification message="John: I hear you. What is it about?">
229        <events>
230            <trigger>
231                <EventListener event="flying3" />
232            </trigger>
233        </events>
234    </SimpleNotification>
235
236 <DistanceTrigger name="flying4" position="0,0,0" target="Pawn" distance=100 stayActive="true" delay=13/>
237    <SimpleNotification message="Housten: Our Commander was kidnapped">
238        <events>
239            <trigger>
240                <EventListener event="flying4" />
241            </trigger>
242        </events>
243    </SimpleNotification>
244
245 <DistanceTrigger name="flying5" position="0,0, 0" target="Pawn" distance=100 stayActive="true" delay=17/>
246    <SimpleNotification message="Housten: We need you to rescue him.">
247        <events>
248            <trigger>
249                <EventListener event="flying5" />
250            </trigger>
251        </events>
252    </SimpleNotification>
253
254<DistanceTrigger name="flying6" position="0,0, 0" target="Pawn" distance=100 stayActive="true" delay=21/>
255    <SimpleNotification message="John: I'm right on the way.">
256        <events>
257            <trigger>
258                <EventListener event="flying6" />
259            </trigger>
260        </events>
261    </SimpleNotification>
262
263<DistanceTrigger name="flying7" position="0,0,0" target="Pawn" distance=100 stayActive="true" delay=25/>
264    <SimpleNotification message="Houston: First dock on the station">
265        <events>
266            <trigger>
267                <EventListener event="flying7" />
268            </trigger>
269        </events>
270    </SimpleNotification>
271
272   <QuestEffectBeacon times=1>
273      <effects>
274                <AddQuest questId="Level_Kaan.docking" />
275      </effects>
276            <events>
277                <execute>
278                    <EventListener event=spawntrigger />
279                </execute>
280            </events>
281   </QuestEffectBeacon>
282
283   <QuestEffectBeacon times=1>
284            <effects>
285                <CompleteQuest questId="Level_Kaan.docking" />
286            </effects>
287            <events>
288                <execute>
289                    <EventListener event="dockMe" />
290                </execute>
291            </events>
292   </QuestEffectBeacon>
293
294   <LocalQuest id="Level_Kaan.docking">
295      <QuestDescription title="Docking" description="Our Commander was kidnapped in Area 51. Fly to the Main Station and get a better Spaceship to rescue him.
296
297    Flying moves:
298    break (S)
299    roll     (Q) and (E)
300    boost (Space)
301
302    Whenever a new quest is added you can view it by pressing (F3). Quit this menu via (Esc)." failmessage="" completeMessage="" />
303      <complete-effects>
304         <AddQuest questId="Level_Kaan.portals" />
305      </complete-effects>
306   </LocalQuest>
307
308   <LocalQuest id="Level_Kaan.portals">
309      <QuestDescription title="Portals" description="Now you received a spaceship that is suited for your mission.
310It is faster, has more health and is equipped with stronger weapons.
311Your next goal is to pass through the portal and find there the wormhole to Area 51" failmessage="" completeMessage="" />
312      <complete-effects>
313         <AddQuest questId="Level_Kaan.asteroids" />
314      </complete-effects>
315   </LocalQuest>
316
317
318   <QuestEffectBeacon times=1>
319      <effects>
320         <CompleteQuest questId="Level_Kaan.portals" />
321      </effects>
322      <events>
323         <execute>
324            <EventListener event=start />
325         </execute>
326      </events>
327   </QuestEffectBeacon>
328
329 <LocalQuest id="Level_Kaan.asteroids">
330      <QuestDescription title="Asteroids" description="The wormhole is at the end of the asteroid shower.
331Find your way through the asteroids without hitting the rocks and reach Area 51.
332You have to get there in time - the wormhole cannot be forced open forever.
333Your Mission is to fly straight through the wormhole." failmessage="" completeMessage="" />
334   </LocalQuest>
335
336 <QuestEffectBeacon times=1>
337      <effects>
338         <CompleteQuest questId="Level_Kaan.asteroids" />
339      </effects>
340      <events>
341         <execute>
342            <EventListener event=endOfLevel />
343         </execute>
344      </events>
345   </QuestEffectBeacon>
346
347<!----------------------------------------------------------------------------------------------------->
348<!-------------------------------- PART ONE: Passing throug wormhole  --------------------------------->
349<!----------------------------------------------------------------------------------------------------->
350
351
352<!------------------------------------- OBJECTS IN THIS PART  lookat="0,118000,0" ------------------------------------------>
353
354   <Template name=PortalDefault>
355      <PortalEndPoint>
356         <attached>
357            <Model mesh="Spacegate.mesh" />
358         </attached>
359      </PortalEndPoint>
360   </Template>
361
362   <PortalEndPoint position="5000,6400,5000" id="1" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0" lookat="5000,5800,5000"/>
363   <PortalEndPoint position="0,94000,0" id="2" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0" />
364   <PortalLink fromID="1" toID="2" />
365   <!--<PortalLink fromID="2" toID="1" />-->
366
367<!-- Meteoriten, die sich bewegen -->
368   <?lua
369      for i = 1, 300, 1
370      do
371      j = math.random()
372      x = math.random()
373      y = math.random()
374      z = math.random()
375   ?>
376
377   <MovableEntity   
378      position = "<?lua print(math.random()* 600-300) ?>,<?lua print(math.random() * 40000 + 110000) ?>,<?lua print(math.random() * 600-300) ?>"
379      scale = "<?lua print(j * 40)?>"
380      velocity = "<?lua print(x*20-10)?>, <?lua print(y*60-160)?>, <?lua print(z*20-10)?>"
381      collisionType = dynamic
382      collisiondamage = 0.05
383      enablecollisiondamage = true
384      active = true
385   >                 
386          <attached>           
387              <Model mass="<?lua print(j * 1000) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" >
388                  <events>           
389                    <visibility>           
390                      <EventListener event="portal3" />           
391                    </visibility>           
392                  </events>
393              </Model>                         
394          </attached>
395         <collisionShapes>
396             <SphereCollisionShape radius="<?lua print(j * 50) ?>" />
397         </collisionShapes>   
398   </MovableEntity>
399
400   <?lua
401      end
402   ?>
403
404
405<!-- Fiese Meteoriten, die direkt auf den Spieler zufliegen-->
406
407   <?lua
408      for i = 1, 240, 1
409      do
410      j = math.random()
411      x = math.random()
412      y = math.random()
413      z = math.random()
414   ?>
415   <MovableEntity   
416      position = "<?lua print(math.random()* 240-120) ?>,<?lua print(math.random() * 40000 + 110000) ?>,<?lua print(math.random()* 240-120) ?>"
417      scale = "10"
418      velocity = "0, -160, 0"
419      collisionType = dynamic
420      collisiondamage = 0.05
421      enablecollisiondamage = true
422      active = true
423      visible = false
424   >                     
425          <attached>           
426              <Model mass="2000" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" >
427                  <events>           
428                    <visibility>           
429                      <EventListener event="portal3" />           
430                    </visibility>           
431                  </events>
432              </Model>                   
433          </attached>
434         <collisionShapes>
435             <SphereCollisionShape radius="10" />
436         </collisionShapes>   
437   </MovableEntity>
438   <?lua
439      end
440   ?>
441
442<BlinkingBillboard position="5000,5700,5000" frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,1,0.05">
443          <events>
444            <visibility>
445              <EventTrigger invert=true>
446                <events>
447                  <trigger>
448                    <EventListener event=portal2 />
449                  </trigger>
450                </events>
451              </EventTrigger>
452            </visibility>
453          </events>
454</BlinkingBillboard>
455
456<Billboard position="5000,5700,5000" amplitude=1 material="Flares/lensflare" colour="0,0.8,0.1">
457          <events>
458            <visibility>
459              <EventTrigger>
460                <events>
461                  <trigger>
462                    <EventListener event=portal2 />
463                  </trigger>
464                </events>
465              </EventTrigger>
466            </visibility>
467          </events>
468</Billboard>
469
470<DistanceTrigger name="start" position="0,94000,0" target="SpaceShip" beaconMode="exclude" targetname="bcnDestroyer" distance=20 stayActive="true" delay=0 />
471
472<DistanceTrigger name="portal2" position="5000,5700,5000" target="Pawn" distance=20 stayActive="true" delay=3/>
473    <SimpleNotification message="Housten: Now go through the portal!">
474        <events>
475            <trigger>
476                <EventListener event="portal2" />
477            </trigger>
478        </events>
479    </SimpleNotification>
480
481
482
483<!----------------------------------------------------------------------------------------------------->
484<!--------------------------- PART TWO: Passing throug area with meteorits ---------------------------->
485<!----------------------------------------------------------------------------------------------------->
486   
487  <Pawn
488        team      = 0
489        position  = "0,118000,0"
490        roll      = 0   yaw=90  pitch=0
491        mass      = 10000
492        health    = 100000 initialhealth=100000 maxhealth="100000"
493        name      = "wormhole"
494        radarname = "Wormhole to Area 51" >
495   </Pawn>     
496  <StaticEntity position="0,118000,0" collisionType=static yaw=90>
497      <attached>
498         <DistanceTriggerBeacon name="bcnDestroyer" />
499         <Billboard position="0,0,0" material="Portals/Default" >
500           <events>
501             <visibility>
502               <EventTrigger invert=true>
503                 <events>
504                   <trigger>
505                     <EventListener event="portaldelaytrigger" />
506                   </trigger>
507                 </events>
508               </EventTrigger>
509             </visibility>
510           </events>
511         </Billboard>
512         <DistanceTrigger name="endOfLevel" position="0,0,0" target="SpaceShip" beaconMode="exclude"
513                          targetname="bcnDestroyer" distance=50 stayActive="true" delay=0/>
514        <Model mesh="HydroHarvester.mesh" mass=10 position="0,0,0" scale=50 visible=false >
515          <events>           
516            <visibility>           
517              <EventListener event="portal3" />           
518            </visibility>           
519          </events>
520        </Model>
521      </attached>
522  </StaticEntity>
523
524    <OverlayGroup name="spacefightHUD" scale = "1, 1">
525      <CountDown
526         position    = "0.9, 0.02"
527         pickpoint   = "0.0, 0.0"
528         font        = "ShareTechMono"
529         textsize    = "0.1"
530         colour      = "1.0, 0.2, 0.2, 0.8"
531         align       = "center"                 
532         counter     = "100.0"
533         speedfactor = "1.0"
534         active      = "false"
535      >
536        <events>
537          <activity>
538            <EventListener event="portal4" />
539          </activity>
540        </events>
541      </CountDown>
542      <OverlayText
543       position  = "0.05, 0.02"
544       pickpoint = "0.0, 0.0"
545       font      = "ShareTechMono"
546       textsize  = "0.1"
547       colour    = "1.0, 0.2, 0.2, 0.8"
548       align     = "left"
549       caption   = "Wormhole closing in:"
550       visible    = "false"
551      >
552        <events>
553          <visibility>
554            <EventListener event="portal4" />
555          </visibility>
556        </events>
557      </OverlayText>
558    </OverlayGroup>
559
560
561  <DistanceTrigger name="portaldelaytrigger" position="0,94000,0" target="Pawn" distance=500 stayActive="true" delay=106 />
562   <Script code="Mission endMission false" onLoad="false" times="1" >
563        <events>
564            <trigger>
565                <EventListener event="portaldelaytrigger" />
566            </trigger>
567        </events>
568    </Script>
569
570 <DistanceTrigger name="portal3" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=1/>
571   <SimpleNotification message="Housten: Reach the wormhole to Area 51">
572      <events>
573         <trigger>
574            <EventListener event="portal3" />
575         </trigger>
576      </events>
577   </SimpleNotification>
578
579  <DistanceTrigger name="portal4" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=5/>
580   <SimpleNotification message="Housten: Hurry up John, time is running out!">
581      <events>
582         <trigger>
583            <EventListener event="portal4"  />
584         </trigger>
585      </events>
586   </SimpleNotification>
587
588   <DistanceTrigger name="portal5" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=9/>
589   <SimpleNotification message="Houston: Pay attention to the asteroids!">
590      <events>
591         <trigger>
592            <EventListener event="portal5" />
593         </trigger>
594      </events>
595   </SimpleNotification>
596
597   <DistanceTrigger name="portal6" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=13/>
598   <SimpleNotification message="Houston: Reach the wormhole in time!" >
599      <events>
600         <trigger>
601            <EventListener event="portal6" />
602         </trigger>
603      </events>
604   </SimpleNotification>
605
606
607   <DistanceTrigger name="portal7" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=17/>
608   <SimpleNotification message="Houston: We cannot keep it open much longer.">
609      <events>
610         <trigger>
611            <EventListener event="portal7" />
612         </trigger>
613      </events>
614   </SimpleNotification>
615
616   <DistanceTrigger name="portal8" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=21/>
617   <SimpleNotification message="Houston: Boost your way through the asteroids.">
618      <events>
619         <trigger>
620            <EventListener event="portal8" />
621         </trigger>
622      </events>
623   </SimpleNotification>
624
625
626   <!--DistanceTrigger name="portal9" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=25/>
627   <SimpleNotification message="Houston: It should really look like a black hole.">
628      <events>
629         <trigger>
630            <EventListener event="portal9" />
631         </trigger>
632      </events>
633   </SimpleNotification>
634
635   <DistanceTrigger name="portal10" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=29/>
636   <SimpleNotification message="John: It does... ">
637      <events>
638         <trigger>
639            <EventListener event="portal10" />
640         </trigger>
641      </events>
642   </SimpleNotification-->
643
644   <DistanceTrigger name="portal11" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=33/>
645   <SimpleNotification message="Houston: Hahaha ">
646      <events>
647         <trigger>
648            <EventListener event="Houston: Fly though the black hole, if you can." />
649         </trigger>
650      </events>
651   </SimpleNotification>
652
653
654    <!--SimpleNotification message="End of game">
655        <events>
656            <trigger>
657                <EventListener event="endOfLevel" />
658            </trigger>
659        </events>
660    </SimpleNotification-->
661
662   <Script code="Mission endMission true" onLoad="false" times="1" >
663        <events>
664            <trigger>
665                <EventListener event=endOfLevel />
666            </trigger>
667        </events>
668    </Script>
669   
670  </Scene>
671</Level>
672
Note: See TracBrowser for help on using the repository browser.