Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/cegui0.8_ogre1.9/data/levels/iJohnVane_TriptoArea51.oxw @ 11845

Last change on this file since 11845 was 11802, checked in by landauf, 7 years ago

migrated NotificationLayer.lua to cegui 0.8

  • Property svn:eol-style set to native
File size: 23.7 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="CentreAligned"
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        shieldrechargerate  = "1"
172        shieldrechargewaittime = "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 + 97000) ?>,<?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 = false
385   >                 
386          <attached>           
387              <Model mass="<?lua print(j * 1000) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />
388          </attached>
389         <collisionShapes>
390             <SphereCollisionShape radius="<?lua print(j * 50) ?>" />
391         </collisionShapes>   
392         <events>           
393           <activity>           
394             <EventListener event="portal3" />           
395           </activity>           
396         </events>
397   </MovableEntity>
398
399   <?lua
400      end
401   ?>
402
403
404<!-- Fiese Meteoriten, die direkt auf den Spieler zufliegen-->
405
406   <?lua
407      for i = 1, 240, 1
408      do
409      j = math.random()
410      x = math.random()
411      y = math.random()
412      z = math.random()
413   ?>
414   <MovableEntity   
415      position = "<?lua print(math.random()* 240-120) ?>,<?lua print(math.random() * 40000 + 97000) ?>,<?lua print(math.random()* 240-120) ?>"
416      scale = "10"
417      velocity = "0, -160, 0"
418      collisionType = dynamic
419      collisiondamage = 0.05
420      enablecollisiondamage = true
421      active = false
422   >                     
423          <attached>           
424              <Model mass="2000" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />
425          </attached>
426         <collisionShapes>
427             <SphereCollisionShape radius="10" />
428         </collisionShapes>   
429         <events>           
430           <activity>           
431             <EventListener event="portal3" />           
432           </activity>           
433         </events>
434   </MovableEntity>
435   <?lua
436      end
437   ?>
438
439<BlinkingBillboard position="5000,5700,5000" frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,1,0.05">
440          <events>
441            <visibility>
442              <EventTrigger invert=true>
443                <events>
444                  <trigger>
445                    <EventListener event=portal2 />
446                  </trigger>
447                </events>
448              </EventTrigger>
449            </visibility>
450          </events>
451</BlinkingBillboard>
452
453<Billboard position="5000,5700,5000" amplitude=1 material="Flares/lensflare" colour="0,0.8,0.1">
454          <events>
455            <visibility>
456              <EventTrigger>
457                <events>
458                  <trigger>
459                    <EventListener event=portal2 />
460                  </trigger>
461                </events>
462              </EventTrigger>
463            </visibility>
464          </events>
465</Billboard>
466
467<DistanceTrigger name="start" position="0,94000,0" target="SpaceShip" beaconMode="exclude" targetname="bcnDestroyer" distance=20 stayActive="true" delay=0 />
468
469<DistanceTrigger name="portal2" position="5000,5700,5000" target="Pawn" distance=20 stayActive="true" delay=3/>
470    <SimpleNotification message="Housten: Now go through the portal!">
471        <events>
472            <trigger>
473                <EventListener event="portal2" />
474            </trigger>
475        </events>
476    </SimpleNotification>
477
478
479
480<!----------------------------------------------------------------------------------------------------->
481<!--------------------------- PART TWO: Passing throug area with meteorits ---------------------------->
482<!----------------------------------------------------------------------------------------------------->
483   
484  <Pawn
485        team      = 0
486        position  = "0,118000,0"
487        roll      = 0   yaw=90  pitch=0
488        mass      = 10000
489        health    = 100000 initialhealth=100000 maxhealth="100000"
490        name      = "wormhole"
491        radarname = "Wormhole to Area 51" >
492   </Pawn>     
493  <StaticEntity position="0,118000,0" collisionType=static yaw=90>
494      <attached>
495         <DistanceTriggerBeacon name="bcnDestroyer" />
496         <Billboard position="0,0,0" material="Portals/Default" >
497           <events>
498             <visibility>
499               <EventTrigger invert=true>
500                 <events>
501                   <trigger>
502                     <EventListener event="portaldelaytrigger" />
503                   </trigger>
504                 </events>
505               </EventTrigger>
506             </visibility>
507           </events>
508         </Billboard>
509         <DistanceTrigger name="endOfLevel" position="0,0,0" target="SpaceShip" beaconMode="exclude"
510                          targetname="bcnDestroyer" distance=50 stayActive="true" delay=0/>
511        <Model mesh="HydroHarvester.mesh" mass=10 position="0,0,0" scale=50 visible=false >
512          <events>           
513            <visibility>           
514              <EventListener event="portal3" />           
515            </visibility>           
516          </events>
517        </Model>
518      </attached>
519  </StaticEntity>
520
521    <OverlayGroup name="spacefightHUD" scale = "1, 1">
522      <CountDown
523         position    = "0.9, 0.02"
524         pickpoint   = "0.0, 0.0"
525         font        = "ShareTechMono"
526         textsize    = "0.1"
527         colour      = "1.0, 0.2, 0.2, 0.8"
528         align       = "center"                 
529         counter     = "100.0"
530         speedfactor = "1.0"
531         active      = "false"
532      >
533        <events>
534          <activity>
535            <EventListener event="portal4" />
536          </activity>
537        </events>
538      </CountDown>
539      <OverlayText
540       position  = "0.05, 0.02"
541       pickpoint = "0.0, 0.0"
542       font      = "ShareTechMono"
543       textsize  = "0.1"
544       colour    = "1.0, 0.2, 0.2, 0.8"
545       align     = "left"
546       caption   = "Wormhole closing in:"
547       visible    = "false"
548      >
549        <events>
550          <visibility>
551            <EventListener event="portal4" />
552          </visibility>
553        </events>
554      </OverlayText>
555    </OverlayGroup>
556
557
558  <DistanceTrigger name="portaldelaytrigger" position="0,94000,0" target="Pawn" distance=500 stayActive="true" delay=106 />
559   <Script code="Mission endMission false" onLoad="false" times="1" >
560        <events>
561            <trigger>
562                <EventListener event="portaldelaytrigger" />
563            </trigger>
564        </events>
565    </Script>
566
567 <DistanceTrigger name="portal3" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=1/>
568   <SimpleNotification message="Housten: Reach the wormhole to Area 51">
569      <events>
570         <trigger>
571            <EventListener event="portal3" />
572         </trigger>
573      </events>
574   </SimpleNotification>
575
576  <DistanceTrigger name="portal4" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=5/>
577   <SimpleNotification message="Housten: Hurry up John, time is running out!">
578      <events>
579         <trigger>
580            <EventListener event="portal4"  />
581         </trigger>
582      </events>
583   </SimpleNotification>
584
585   <DistanceTrigger name="portal5" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=9/>
586   <SimpleNotification message="Houston: Pay attention to the asteroids!">
587      <events>
588         <trigger>
589            <EventListener event="portal5" />
590         </trigger>
591      </events>
592   </SimpleNotification>
593
594   <DistanceTrigger name="portal6" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=13/>
595   <SimpleNotification message="Houston: Reach the wormhole in time!" >
596      <events>
597         <trigger>
598            <EventListener event="portal6" />
599         </trigger>
600      </events>
601   </SimpleNotification>
602
603
604   <DistanceTrigger name="portal7" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=17/>
605   <SimpleNotification message="Houston: We cannot keep it open much longer.">
606      <events>
607         <trigger>
608            <EventListener event="portal7" />
609         </trigger>
610      </events>
611   </SimpleNotification>
612
613   <DistanceTrigger name="portal8" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=21/>
614   <SimpleNotification message="Houston: Boost your way through the asteroids.">
615      <events>
616         <trigger>
617            <EventListener event="portal8" />
618         </trigger>
619      </events>
620   </SimpleNotification>
621
622
623   <!--DistanceTrigger name="portal9" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=25/>
624   <SimpleNotification message="Houston: It should really look like a black hole.">
625      <events>
626         <trigger>
627            <EventListener event="portal9" />
628         </trigger>
629      </events>
630   </SimpleNotification>
631
632   <DistanceTrigger name="portal10" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=29/>
633   <SimpleNotification message="John: It does... ">
634      <events>
635         <trigger>
636            <EventListener event="portal10" />
637         </trigger>
638      </events>
639   </SimpleNotification-->
640
641   <DistanceTrigger name="portal11" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=33/>
642   <SimpleNotification message="Houston: Hahaha ">
643      <events>
644         <trigger>
645            <EventListener event="Houston: Fly though the black hole, if you can." />
646         </trigger>
647      </events>
648   </SimpleNotification>
649
650
651    <!--SimpleNotification message="End of game">
652        <events>
653            <trigger>
654                <EventListener event="endOfLevel" />
655            </trigger>
656        </events>
657    </SimpleNotification-->
658
659   <Script code="Mission endMission true" onLoad="false" times="1" >
660        <events>
661            <trigger>
662                <EventListener event=endOfLevel />
663            </trigger>
664        </events>
665    </Script>
666   
667  </Scene>
668</Level>
669
Note: See TracBrowser for help on using the repository browser.