Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/leveljoemeHS14/data/levels/AnihilationThreat.oxw @ 10148

Last change on this file since 10148 was 10148, checked in by sujataj, 10 years ago

pickups and more enemies

File size: 31.9 KB
Line 
1<LevelInfo
2        name= "Total Annihilation"
3        description= "Save humanity from its total annihilation."
4        tags= "mission"
5        screenshot= "screenshot.png"
6/>
7
8
9 <?lua
10  include("stats.oxo")
11  include("HUDTemplates3.oxo")
12  include("templates/lodInformation.oxt")
13  include("templates/pickupRepresentationTemplates.oxt")
14
15?>
16
17
18
19<?lua
20  include("templates/spaceshipSwallow.oxt")
21  include("templates/spaceshipPirate.oxt")
22  include("templates/spaceshipEscort.oxt")
23  include("templates/spaceshipGhost.oxt")
24  include("templates/spaceshipCollateralDamage.oxt")
25  include("templates/spaceshipAssff.oxt")
26  include("templates/spaceshipAssff2.oxt")
27  include("templates/spaceshipTransporter.oxt")
28
29
30?>
31
32<Level  gametype = "Mission" >
33 
34<templates>
35    <Template link=lodtemplate_default />
36  </templates>
37  <?lua include("includes/notifications.oxi") ?>
38 
39  <NotificationQueueCEGUI
40    name="narrative"
41    targets="simpleNotification"
42    size=8
43    displayTime=4
44    position="0.2, 0, 0.1, 0"
45    fontSize="23"
46    fontColor="0.8, 0.5, 0.2, 0.8"
47    alignment="HorzCentred"
48    displaySize="0.6, 0, 0, 0"
49    />
50
51
52   <?lua
53    dofile("includes/CuboidSpaceStation.lua")
54   ?>
55
56
57
58<Scene
59    ambientlight = "0.5, 0.5, 0.5"
60    skybox       = "Orxonox/Starbox"
61    hasPhysics = true
62 >
63
64<?lua
65      include("includes/pickups.oxi")
66   ?>
67 
68  <Light
69        type=directional position="0,0,0"
70        direction="0.522, 0.198, -0.354"
71        diffuse="1.0, 0.9, 0.9, 1.0"
72        specular="1.0, 0.9, 0.9, 1.0"/>
73       
74       
75  <SpawnPoint
76        team=0 position="9500,9500,9500"
77        lookat="0,1,0"
78        spawnclass=SpaceShip
79        pawndesign=spaceshipassff >
80        <DistanceTriggerBeacon name="coolSpaceship" />
81        </SpawnPoint>
82       
83        <Template name=PortalDefault>
84        <PortalEndPoint>
85            <attached>
86                <Model mesh="Spacegate.mesh" yaw="90"/>
87            </attached>
88        </PortalEndPoint>
89    </Template>
90   
91                               
92   
93                <!----------------Objects------------------>
94   
95   
96 
97   
98   
99    <!--Billboard which tirggers the next Quest and spawns the enemy ships-->
100<Billboard position=" 500,500, 500" material="Examples/Flare" colour="1.0, 0.0, 0.0" /> 
101<Billboard position=" 1500,1500, 1500" material="Examples/Flare" colour="1.0, 0.0, 0.0" /> 
102<Billboard position=" 2500,2500, 2500" material="Examples/Flare" colour="1.0, 0.0, 0.0" /> 
103<Billboard position=" 3500,3500, 3500" material="Examples/Flare" colour="1.0, 0.0, 0.0" /> 
104<Billboard position=" 4500,4500, 4500" material="Examples/Flare" colour="1.0, 0.0, 0.0" /> 
105<Billboard position=" 6500,6500, 6500" material="Examples/Flare" colour="1.0, 0.0, 0.0" /> 
106<Billboard position=" 8500,8500, 8500" material="Examples/Flare" colour="1.0, 0.0, 0.0" /> 
107<Billboard position=" 9500,9500, 9500" material="Examples/Flare" colour="1.0, 1.0, 0.0" /> 
108
109
110                                                <!--#########Pickups##########-->
111                       
112<PickupSpawner pickup=largedamageboostpickup position="1000,1000,1000" triggerDistance="20" respawnTime="30" maxSpawnedItems="10" />
113<PickupSpawner pickup=crazyhealthpickup position="3500,3500, 3500" triggerDistance="20" respawnTime="30" maxSpawnedItems="10" />
114<PickupSpawner pickup=hugeshieldpickup position="4000,4500, 4500" triggerDistance="10" respawnTime="5" maxSpawnedItems="10" />
115<PickupSpawner pickup=smalljumppickup position="6500,6500, 6000" triggerDistance="20" respawnTime="10" maxSpawnedItems="99" />
116<PickupSpawner pickup=largedamageboostpickup position="9500,9500, 9500" triggerDistance="20" respawnTime="30" maxSpawnedItems="10" />
117<PickupSpawner pickup=largedamageboostpickup position="13000,13000,13000" triggerDistance="10" respawnTime="30" maxSpawnedItems="10" />
118
119   
120            <!--******************************-Mission starts here****************************-->
121                       
122                       
123                         <!------------On-screen texts---------->
124                         
125
126   
127<DistanceTrigger name="flying2" position="0,0,0" target="Pawn" distance=40 stayActive="true" delay=7/>
128    <SimpleNotification message="in order to reach our fleet,">
129        <events>
130            <trigger>
131                <EventListener event="flying2" />
132            </trigger>
133        </events>
134    </SimpleNotification>
135   
136   
137<DistanceTrigger name="flying2" position="0,0,0" target="Pawn" distance=100 stayActive="true" delay=7/>
138    <SimpleNotification message="read the quest description">
139        <events>
140            <trigger>
141                <EventListener event="flying2" />
142            </trigger>
143        </events>
144    </SimpleNotification>
145   
146    <DistanceTrigger name="flying1" position="0,0,0" target="Pawn" distance=100 stayActive="true" delay=1/>
147    <SimpleNotification message="Welcome Major Walker">
148        <events>
149            <trigger>
150                <EventListener event="flying1" />
151            </trigger>
152        </events>
153    </SimpleNotification>       
154
155<DistanceTrigger name="flying3" position="500,500,500" target="Pawn" distance=50 stayActive="true" delay=1/>
156<SimpleNotification message="follow the red dots">
157    <events>
158        <trigger>
159            <EventListener event="flying3" />
160        </trigger>
161    </events>
162</SimpleNotification>       
163
164
165<DistanceTrigger name="flying6" position="1000,1000,1000" target="Pawn" distance=50 stayActive="true" delay=1/>
166<SimpleNotification message="Major! You can't face the enemy yet">
167    <events>
168        <trigger>
169            <EventListener event="flying6" />
170        </trigger>
171    </events>
172</SimpleNotification>       
173
174<DistanceTrigger name="flying7" position="1060,1060,1060" target="Pawn" distance=50 stayActive="true" delay=1/>
175<SimpleNotification message="You'll ned to get some upgrades first">
176    <events>
177        <trigger>
178            <EventListener event="flying7" />
179        </trigger>
180    </events>
181</SimpleNotification>     
182
183<DistanceTrigger name="flying8" position="1110,1110,1110" target="Pawn" distance=50 stayActive="true" delay=1/>
184<SimpleNotification message="You can find them close to the signals">
185    <events>
186        <trigger>
187            <EventListener event="flying8" />
188        </trigger>
189    </events>
190</SimpleNotification>     
191
192<DistanceTrigger name="flying9" position="6500,6500,6000" target="Pawn" distance=50 stayActive="true" delay=1/>
193<SimpleNotification message="You're almost here!">
194    <events>
195        <trigger>
196            <EventListener event="flying9" />
197        </trigger>
198    </events>
199</SimpleNotification>     
200
201<DistanceTrigger name="flying4" position="9500,9500,9500" target="Pawn" distance=50 stayActive="true" delay=1/>
202<SimpleNotification message="You're late!">
203    <events>
204        <trigger>
205            <EventListener event="flying4" />
206        </trigger>
207    </events>
208</SimpleNotification>
209
210
211<DistanceTrigger name="flying5" position="9550,9550,9550" target="Pawn" distance=50 stayActive="true" delay=1/>
212<SimpleNotification message="The enemy is eager to be beaten">
213    <events>
214        <trigger>
215            <EventListener event="flying5" />
216        </trigger>
217    </events>
218</SimpleNotification>
219
220<DistanceTrigger name="flying11" position="13000,13000,13000" target="Pawn" distance=200 stayActive="true" delay=1/>
221<SimpleNotification message="There they are. Destroy them!">
222    <events>
223        <trigger>
224            <EventListener event="flying11" />
225        </trigger>
226    </events>
227</SimpleNotification>
228
229
230<SimpleNotification message="Congratulations! You saved humanity!">
231        <EventTrigger  stayActive="true">
232              <events>
233                <trigger>
234                  <EventListener event="endboss"/>
235                </trigger>
236              </events>
237            </EventTrigger>
238</SimpleNotification>
239
240
241
242<!-- Meteoriten, die sich bewegen -->
243   <?lua
244      for i = 1, 800, 1
245      do
246      j = math.random()
247      x = math.random()
248      y = math.random()
249      z = math.random()
250   ?>
251
252   <MovableEntity   
253      position = "<?lua print(math.random()* 10000) ?>,<?lua print(math.random() * 10000 + 0) ?>,<?lua print(math.random() * 10000) ?>"
254      scale = "<?lua print(j * 40)?>"
255      velocity = "0,0,0"
256      collisionType = dynamic
257      collisiondamage = 0.5
258      enablecollisiondamage = true
259      active = true
260      visible = true
261   >                 
262          <attached>           
263              <Model mass="<?lua print(j * 1000) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" >
264                 
265              </Model>                         
266          </attached>
267         <collisionShapes>
268             <SphereCollisionShape radius="<?lua print(j * 50) ?>" />
269         </collisionShapes>   
270   </MovableEntity>
271
272   <?lua
273      end
274   ?>
275        <!--****************************In the Asteroid Field***************************-->
276 <!--Enemy team-->
277 
278 <!--*****Spaceship 1******* -->
279       
280  <SpaceShip position="1900,1500,1500" lookat="2050,0,-1000" name="allied" health="200" maxhealth="200" initialhealth="200" >
281          <templates>
282            <Template link=spaceshipassff />
283      </templates>
284       <controller>
285          <WaypointPatrolController alertnessradius=300 team=1 >
286                                <waypoints>
287                                  <Model mesh="cube.mesh" scale=0 position="1000,1500,1500" />
288                  <Model mesh="cube.mesh" scale=0 position="1900,1500,1500" />
289                                           
290              </waypoints>
291                                               
292          </WaypointPatrolController>
293
294       </controller>
295         
296  </SpaceShip>
297     
298     
299      <!--*****Spaceship 2 and 3******* -->
300     
301      <SpaceShip position="2900,2500,2500" lookat="2050,0,-1000" name="allied" health="200" maxhealth="200" initialhealth="200" >
302          <templates>
303                <Template link=spaceshippirate />
304          </templates>
305           <controller>
306              <WaypointPatrolController alertnessradius=300 team=1 >
307                                <waypoints>
308                                  <Model mesh="cube.mesh" scale=0 position="2000,2500,2500" />
309                      <Model mesh="cube.mesh" scale=0 position="2900,2500,2500" />
310                                                       
311                  </waypoints>
312                                               
313              </WaypointPatrolController>
314
315           </controller>
316         
317      </SpaceShip>
318     
319      <SpaceShip position="2020,2400,2500" lookat="2050,0,-1000" name="allied" health="200" maxhealth="200" initialhealth="200" >
320          <templates>
321                <Template link=spaceshippirate />
322          </templates>
323           <controller>
324              <WaypointPatrolController alertnessradius=300 team=1 >
325                                <waypoints>
326                                 
327                      <Model mesh="cube.mesh" scale=0 position="2920,2500,2500" />
328                                  <Model mesh="cube.mesh" scale=0 position="2020,2500,2500" />
329                   
330                  </waypoints>
331                                               
332              </WaypointPatrolController>
333
334           </controller>
335         
336      </SpaceShip>
337 
338      <!--######################## Spaceship 4 ####################-->
339      <SpaceShip position="3520,3520, 3500" lookat="2050,0,-1000" name="allied" health="150" maxhealth="150" initialhealth="150" >
340                  <templates>
341                     <Template link=spaceshippirate />
342               </templates>
343                <controller>
344                   <WaypointPatrolController alertnessradius=300 team=1 >
345                                        <waypoints>
346                                         
347                           <Model mesh="cube.mesh" scale=0 position="3920,3500,3500" />
348                                  <Model mesh="cube.mesh" scale=0 position="3020,3500,3500" />
349                         
350                       </waypoints>
351                                                       
352                   </WaypointPatrolController>
353
354                </controller>
355                 
356           </SpaceShip>
357        <!--****************************After the Asteroid Field***************************-->
358       
359   <DistanceTrigger name="afterPortal" position="9500,9500, 9500" target="Pawn"  distance=50 stayActive="true" delay=1/>
360     
361   
362<!--Creating player's team OK-->
363        <!--Spaceships team 0 (player:team=0)-->
364
365       
366<!--####################################### too many allied  ################################################
367
368               <SpaceShip position="10000,10000,10000" lookat="2050,0,-1000" name="allied" health="800" maxhealth="800" initialhealth="800" >
369                  <templates>
370                         <Template link=spaceshipassff />
371                   </templates>
372                    <controller>
373                                  <WaypointPatrolController alertnessradius=2000 team=0 >
374                               <events>
375                                          <activity>
376                                              <EventListener event="afterPortal" />
377                                           </activity>
378                                      </events>
379                                                <waypoints>
380                                                  <Model mesh="cube.mesh" scale=0 position="15000,15000,15000" />
381
382                               </waypoints>
383                                                               
384                           </WaypointPatrolController>
385                    </controller>
386             </SpaceShip>
387
388
389             <SpaceShip position="10150,10000,9850" lookat="2050,0,-1000" name="allied" health="800" maxhealth="800" initialhealth="800" >
390                  <templates>
391                       <Template link=spaceshipassff />
392                 </templates>
393                  <controller>
394                     <WaypointPatrolController alertnessradius=2000 team=0 >
395                         <events>
396                                    <activity>
397                                        <EventListener event="afterPortal" />
398                                     </activity>
399                                </events>
400                                        <waypoints>
401                                          <Model mesh="cube.mesh" scale=0 position="15150,15000,14850" />
402
403                         </waypoints>
404                                                       
405                     </WaypointPatrolController>
406
407                  </controller>
408             </SpaceShip>
409
410             
411             
412             
413
414             <SpaceShip position="10150,10150,10150" lookat="2050,0,-1000" name="allied" health="800" maxhealth="800" initialhealth="800" >
415                  <templates>
416                       <Template link=spaceshipassff />
417                 </templates>
418                  <controller>
419                     <WaypointPatrolController alertnessradius=2000 team=0 >
420                         <events>
421                                    <activity>
422                                        <EventListener event="afterPortal" />
423                                     </activity>
424                                </events>
425                                        <waypoints>
426                                          <Model mesh="cube.mesh" scale=0 position="15150,15150,15150" />
427
428                         </waypoints>
429                                                       
430                     </WaypointPatrolController>
431
432                  </controller>
433             </SpaceShip>
434
435############################################################-->
436     
437      <SpaceShip position="10300,10000,10300" lookat="2050,0,-1000" name="allied" health="800" maxhealth="800" initialhealth="800" >
438                          <templates>
439                             <Template link=spaceshipassff />
440                       </templates>
441                        <controller>
442                           <WaypointPatrolController alertnessradius=2000 team=0 >
443                               <events>
444                                          <activity>
445                                              <EventListener event="afterPortal" />
446                                           </activity>
447                                      </events>
448                                                <waypoints>
449                                                  <Model mesh="cube.mesh" scale=0 position="15300,15300,15300" />
450
451                               </waypoints>
452                                                               
453                           </WaypointPatrolController>
454
455                        </controller>
456                   </SpaceShip>
457     
458      <SpaceShip position="10450,10000,10300" lookat="2050,0,-1000" name="allied" health="800" maxhealth="800" initialhealth="800" >
459                          <templates>
460                                  <Template link=spaceshipassff />
461                            </templates>
462                             <controller>
463                                <WaypointPatrolController alertnessradius=2000 team=0 >
464                                    <events>
465                                               <activity>
466                                                   <EventListener event="afterPortal" />
467                                                </activity>
468                                           </events>
469                                                        <waypoints>
470                                                          <Model mesh="cube.mesh" scale=0 position="15450,15000,15300" />
471
472                                    </waypoints>
473                                                                       
474                                </WaypointPatrolController>
475
476                             </controller>
477                        </SpaceShip>
478     
479      <SpaceShip position="10450,10000,10450" lookat="2050,0,-1000" name="allied" health="800" maxhealth="800" initialhealth="800" >
480                                  <templates>
481                                        <Template link=spaceshipassff />
482                                  </templates>
483                                   <controller>
484                                      <WaypointPatrolController alertnessradius=2000 team=0 >
485                                          <events>
486                                                     <activity>
487                                                         <EventListener event="afterPortal" />
488                                                      </activity>
489                                                 </events>
490                                                                <waypoints>
491                                                          <Model mesh="cube.mesh" scale=0 position="15450,15000,15450" />
492
493                                          </waypoints>
494                                                                               
495                                      </WaypointPatrolController>
496
497                                   </controller>
498                              </SpaceShip>
499     
500     
501      <SpaceShip position="10300,10000,9850" lookat="2050,0,-1000" name="allied" health="800" maxhealth="800" initialhealth="800" >
502                                          <templates>
503                                            <Template link=spaceshipassff />
504                                      </templates>
505                                       <controller>
506                                          <WaypointPatrolController alertnessradius=2000 team=0 >
507                                              <events>
508                                                         <activity>
509                                                             <EventListener event="afterPortal" />
510                                                          </activity>
511                                                     </events>
512                                                                <waypoints>
513                                                                  <Model mesh="cube.mesh" scale=0 position="17300,17000,17850" />
514
515                                              </waypoints>
516                                                                               
517                                          </WaypointPatrolController>
518
519                                       </controller>
520                                  </SpaceShip>
521     
522      <SpaceShip position="10150,10000,9700" lookat="2050,0,-1000" name="allied" health="800" maxhealth="800" initialhealth="800" >
523                                          <templates>
524                                                  <Template link=spaceshipassff />
525                                            </templates>
526                                             <controller>
527                                                <WaypointPatrolController alertnessradius=2000 team=0 >
528                                                    <events>
529                                                               <activity>
530                                                                   <EventListener event="afterPortal" />
531                                                                </activity>
532                                                           </events>
533                                                                        <waypoints>
534                                                                          <Model mesh="cube.mesh" scale=0 position="17150,17000,17700" />
535
536                                                    </waypoints>
537                                                                                       
538                                                </WaypointPatrolController>
539
540                                             </controller>
541                                        </SpaceShip>
542     
543      <SpaceShip position="10300,10000,9700" lookat="2050,0,-1000" name="allied" health="800" maxhealth="800" initialhealth="800" >
544                                          <templates>
545                                                  <Template link=spaceshipassff />
546                                            </templates>
547                                             <controller>
548                                                <WaypointPatrolController alertnessradius=2000 team=0 >
549                                                    <events>
550                                                               <activity>
551                                                                   <EventListener event="afterPortal" />
552                                                                </activity>
553                                                           </events>
554                                                                        <waypoints>
555                                                                          <Model mesh="cube.mesh" scale=0 position="17300,17000,17700" />
556
557                                                    </waypoints>
558                                                                                       
559                                                </WaypointPatrolController>
560
561                                             </controller>
562                                        </SpaceShip>
563     
564<!--Creating player's team END  -->
565
566<!--#########################################Creating enemy's team END #################################  -->
567       
568
569<SpaceShip position="15500,15500,15500" lookat="2050,0,-1000" name="enemy" health="400" maxhealth="400" initialhealth="400" >
570                                          <templates>
571                                            <Template link=spaceshipghost />
572                                      </templates>
573                                       <controller>
574                                          <WaypointPatrolController alertnessradius=2000 team=1 >
575                                             <waypoints>
576                                                                  <Model mesh="cube.mesh" scale=0 position="15500,15500,15500" />
577
578                                              </waypoints>
579                                                                               
580                                          </WaypointPatrolController>
581
582                                       </controller>
583                                  </SpaceShip>
584     
585     
586      <SpaceShip position="15750,15500,15750" lookat="2050,0,-1000" name="enemy" health="400" maxhealth="400" initialhealth="400" >
587                                                  <templates>
588                                                      <Template link=spaceshipghost />
589                                                </templates>
590                                                 <controller>
591                                                                                                  <WaypointPatrolController alertnessradius=2000 team=1 >
592                                                       <waypoints>
593                                                                          <Model mesh="cube.mesh" scale=0 position="15750,15500,15750" />
594
595                                                        </waypoints>
596                                                                                       
597                                                    </WaypointPatrolController>
598
599                                                 </controller>
600                                            </SpaceShip>
601      <SpaceShip position="16000,15500,16000" lookat="2050,0,-1000" name="enemy" health="400" maxhealth="400" initialhealth="400" >
602                                                  <templates>
603                                                   <Template link=spaceshipghost />
604                                                     </templates>
605                                                      <controller>
606                                                                                                  <WaypointPatrolController alertnessradius=2000 team=1 >
607                                                            <waypoints>
608                                                                                  <Model mesh="cube.mesh" scale=0 position="16000,15500,16000" />
609
610                                                             </waypoints>
611                                                                                               
612                                                         </WaypointPatrolController>
613                                                           
614
615                                                      </controller>
616                                                 </SpaceShip>
617               
618               
619               
620               <SpaceShip position="15250,15500,15250" lookat="2050,0,-1000" name="enemy" health="200" maxhealth="200" initialhealth="200" >
621                                                  <templates>
622                                                    <Template link=spaceshipghost />
623                                                     </templates>
624                                                      <controller>
625                                                         <WaypointPatrolController alertnessradius=2000 team=1 >
626                                                            <waypoints>
627                                                                                  <Model mesh="cube.mesh" scale=0 position="15250,15500,15250" />
628
629                                                             </waypoints>
630                                                                                               
631                                                         </WaypointPatrolController>
632
633                                                      </controller>
634                                                 </SpaceShip>
635               
636               
637               
638               <SpaceShip position="15000,15500,15000" lookat="2050,0,-1000" name="enemy" health="200" maxhealth="200" initialhealth="200" >
639                                                  <templates>
640                                                   <Template link=spaceshipghost />
641                                                     </templates>
642                                                      <controller>
643                                                         <WaypointPatrolController alertnessradius=2000 team=1 >
644                                                            <waypoints>
645                                                                                  <Model mesh="cube.mesh" scale=0 position="15000,15500,15000" />
646
647                                                             </waypoints>
648                                                                                               
649                                                         </WaypointPatrolController>
650
651                                                      </controller>
652                                                 </SpaceShip>
653               
654               
655               
656               <SpaceShip position="15500,15500,15750" lookat="2050,0,-1000" name="enemy" health="200" maxhealth="200" initialhealth="200" >
657                                                  <templates>
658                                                   <Template link=spaceshipghost />
659                                                     </templates>
660                                                      <controller>
661                                                                                                 <WaypointPatrolController alertnessradius=2000 team=1 >
662                                                            <waypoints>
663                                                                                  <Model mesh="cube.mesh" scale=0 position="15500,15500,15750" />
664
665                                                             </waypoints>
666                                                                                               
667                                                         </WaypointPatrolController>
668
669                                                      </controller>
670                                                 </SpaceShip>
671
672      <SpaceShip position="16000,15500,16250" lookat="2050,0,-1000" name="enemy" health="200" maxhealth="200" initialhealth="200" >
673                                                          <templates>
674                                                      <Template link=spaceshipghost />
675                                                        </templates>
676                                                         <controller>
677                                                                                                         <WaypointPatrolController alertnessradius=2000 team=1 >
678                                                               <waypoints>
679                                                                                  <Model mesh="cube.mesh" scale=0 position="16000,15500,16250" />
680
681                                                                </waypoints>
682                                                                                               
683                                                            </WaypointPatrolController>
684
685                                                         </controller>
686                                                    </SpaceShip>
687     
688      <SpaceShip position="16500,16500,16500" lookat="2050,0,-1000" name="endboss" health="800" maxhealth="800" initialhealth="800" >
689                                                                  <templates>
690                                                                  <Template link=spaceshipTransporter />
691                                                                    </templates>
692                                                                     <controller>
693                                                                                                                                          <WaypointPatrolController alertnessradius=2000 team=1 >
694                                                                           <waypoints>
695                                                                                                  <Model mesh="cube.mesh" scale=0 position="16500,16500,16500" />
696
697                                                                            </waypoints>
698                                                                                                               
699                                                                        </WaypointPatrolController>
700
701                                                                     </controller>
702                                                                </SpaceShip>
703     
704               
705         
706                 <!------------Quest---------->
707
708
709 <QuestEffectBeacon times=1>
710            <effects>
711                <AddQuest questId="quest0" />
712                   <AddQuestHint hintId ="quest1hint2" />
713                <AddQuestHint hintId ="quest1hint3" />
714            </effects>
715            <events>
716                <execute>
717                    <EventListener event=spawntrigger />
718                </execute>
719            </events>
720        </QuestEffectBeacon>
721   
722   
723
724<Script code="showGUI NotificationLayer false true" needsGraphics="true" />
725
726<GlobalQuest id="quest0">
727                <QuestDescription title="Mission" description="Humanity is at war! Recently, an ashrocian ship attacked two transporters carrying highly expensive ETHium. Despite the fact, that the Ashrocs are a technological superpower, we, the human race cannot allow them to treat us like insects. Your mission's to group up with yout fellow soldiers and retaliate even harder. Follow the red marks which were left by the star fleet. But beware, there might be spies on your way. See to it, that you terminate their mission ;)" />
728        <hints>
729                <QuestHint id="quest1hint0">
730                    <QuestDescription title="The super Hint." description="Be proud of yourself." />
731                </QuestHint>
732    </hints>             
733</GlobalQuest>
734               
735               
736               
737        <DistanceTrigger name=QuestTrigger0 position="0,0,0" distance=10 target="Pawn" />
738
739
740
741 <QuestEffectBeacon times=1>
742            <effects>
743                <AddQuest questId="quest0" />
744                   <AddQuestHint hintId ="quest1hint2" />
745                <AddQuestHint hintId ="quest1hint3" />
746            </effects>
747            <events>
748                <execute>
749                    <EventListener event=QuestTrigger0 />
750                </execute>
751            </events>
752        </QuestEffectBeacon>
753   
754
755
756
757
758
759   
760   
761       
762   
763   
764   
765  </Scene>
766</Level>
Note: See TracBrowser for help on using the repository browser.