Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/campaignHS15/data/levels/Campaign1.oxw @ 10741

Last change on this file since 10741 was 10741, checked in by bhatiab, 9 years ago

Added a planet with a ring

File size: 24.0 KB
Line 
1<LevelInfo
2    name = "CampaignHS15 1"
3    description = "Protect the transporter!"
4    tags = "mission"
5    screenshot = "missionOne.png"
6/>
7
8<?lua
9    include("stats.oxo")
10    include("HUDTemplates3.oxo")
11    include("templates/lodInformation.oxt")
12?>
13
14<?lua
15    include("templates/spaceshipAssff2.oxt")
16    include("templates/spaceshipPirate.oxt")
17    include("templates/spaceshipEscort.oxt")
18    include("templates/spaceshipRing.oxt")
19    include("templates/spaceshipSwallow.oxt")
20    include("templates/spaceshipTransporter.oxt")
21    include("templates/FPS.oxt")
22?>
23
24<Level gametype = "Mission">
25    <templates>
26        <Template link="lodtemplate_default" />
27    </templates>
28
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.15, 0, 0.1, 0"
37        fontSize="23"
38        fontColor="0.3, 1, 0.2, 0.8"
39        alignment="HorzCentred"
40        displaySize="0.7, 0, 0, 0"
41    />
42
43    <!-- GLOBAL LUA VARIABLES -->
44    <?lua
45        waves = 3
46        enemies = 5
47    ?>
48
49    <Scene
50        ambientlight = "0.8, 0.8, 0.8"
51        skybox = "Orxonox/Starbox"
52        hasPhysics = true
53    >
54
55    <SpawnPoint name="playerSpawn" team=0 position="0,-50,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff2 />
56
57    <WorldAmbientSound source="Earth.ogg" looping="true" playOnLoad="true" />
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    <!--QUEST DEFINITIONS-->
62
63    <GlobalQuest id="quest1">
64        <QuestDescription title="Reach the Station A!" description="" failMessage="" completeMessage="" />
65        <hints>
66            <QuestHint id="quest1hint1" />
67        </hints>
68        <complete-effects>
69            <AddQuest questId="quest2" />
70            <AddQuest questId="quest2.1" />
71            <AddQuest questId="quest2.2" />
72        </complete-effects>
73    </GlobalQuest>
74
75    <GlobalQuest id="quest2">
76        <QuestDescription title="Prepare to fight the Wave" description="" failMessage="" completeMessage="" />
77        <hints>
78        </hints>
79        <subquests>
80            <GlobalQuest id="quest2.1">
81                <QuestDescription title="Get a better Spaceship" description="" failMessage="" completeMessage="" />
82            </GlobalQuest>
83            <GlobalQuest id="quest2.2">
84                <QuestDescription title="Meet your Unit" description="" failMessage="" completeMessage="" />
85            </GlobalQuest>
86        </subquests>
87        <complete-effects>
88            <AddQuest questId="quest3" />
89        </complete-effects>
90    </GlobalQuest>
91
92    <GlobalQuest id="quest3">
93        <QuestDescription title="Fight the first Wave" description="" failMessage="" completeMessage="" />
94        <hints>
95        </hints>
96        <complete-effects>
97            <AddQuest questId="quest4" />
98            <AddQuest questId="quest4.1" />
99            <AddQuest questId="quest4.2" />
100        </complete-effects>
101    </GlobalQuest>
102
103    <GlobalQuest id="quest4">
104        <QuestDescription title="Prepare for the next Wave" description="" failMessage="" completeMessage="" />
105        <hints>
106        </hints>
107        <subquests>
108            <GlobalQuest id="quest4.1">
109                <QuestDescription title="Get to the Defense Station" description="" failMessage="" completeMessage="" />
110            </GlobalQuest>
111            <GlobalQuest id="quest4.2">
112                <QuestDescription title="Find the turret" description="" failMessage="" completeMessage="" />
113            </GlobalQuest>
114        </subquests>
115        <complete-effects>
116            <AddQuest questId="quest5" />
117        </complete-effects>
118    </GlobalQuest>
119
120    <GlobalQuest id="quest5">
121        <QuestDescription title="Fight the Hord!" description="" failMessage="" completeMessage="" />
122        <hints>
123        </hints>
124        <complete-effects>
125            <AddQuest questId="quest6" />
126            <AddQuest questId="quest6.1" />
127            <AddQuest questId="quest6.2" />
128        </complete-effects>
129    </GlobalQuest>
130
131    <GlobalQuest id="quest6">
132        <QuestDescription title="Get back to the Transporter" description="" failMessage="" completeMessage="" />
133        <hints>
134        </hints>
135        <subquests>
136            <GlobalQuest id="quest6.1">
137                <QuestDescription title="Collect the local Pickups" description="" failMessage="" completeMessage="" />
138            </GlobalQuest>
139            <GlobalQuest id="quest6.2">
140                <QuestDescription title="Use Portal to the Transporter" description="" failMessage="" completeMessage="" />
141            </GlobalQuest>
142        </subquests>
143        <complete-effects>
144            <AddQuest questId="quest7" />
145        </complete-effects>
146    </GlobalQuest>
147
148    <GlobalQuest id="quest7">
149        <QuestDescription title="Fight the final Wave" description="" failMessage="" completeMessage="" />
150        <hints>
151        </hints>
152        <subquests>
153        </subquests>
154    </GlobalQuest>
155
156    <!--EVENTS AND TRIGGERS
157        Usable events and triggers:
158        _spawntrigger
159        _reachedA
160        _dock<A|B|C>
161        _docked<A>      WIP; see below
162        -joinedUnit
163        _wave<k>
164        _killedEnemy<k>.<i>
165        _waveClear<k>
166    -->
167
168    <EventMultiTrigger name="spawntrigger">
169        <events>
170            <trigger>
171                <EventListener event="playerSpawn" />
172            </trigger>
173        </events>
174    </EventMultiTrigger>
175
176    <DistanceTrigger name="reachedA" position="5000,-3000,0" distance=1000 target="SpaceShip" beaconMode="exclude" targetname="NPC" stayactive=true />
177
178    <!-- TODO: find out how to link an event to the COMPLETION of a dock. How is this not possible?? -->
179    <EventMultiTrigger name="dockedA" activations="1" stayactive="true" delay=2>
180        <events>
181            <trigger>
182                <EventListener event="dockA" />
183            </trigger>
184        </events>
185    </EventMultiTrigger>
186
187    <!-- TODO: fictive unit; to be added later -->
188    <DistanceTrigger name="joinedUnit" position="3500,-1500,0" distance=10 target="SpaceShip" beaconMode="exclude" targetname="NPC" stayactive=true />
189    <Billboard position="3500,-1500,0" amplitude=1 material="Flares/lensflare" colour="1,0,0.05" />     <!-- For debugging puropses -->
190
191    <EventMultiTrigger name="wave1" activations="1" stayactive="true" delay=4>
192        <events>
193            <trigger>
194                <EventListener event="joinedUnit" />
195            </trigger>
196        </events>
197    </EventMultiTrigger>
198
199    <!-- Recursive helper function for the end-of-wave events. F*ck the event system, seriously. -->
200    <?lua
201    function enemyTriggerRecursor(i, k)
202    if i > 0 then
203    return [[
204    <EventTrigger name=killedEnemy]] .. k .. [[.]] .. i .. [[ activations=1 stayactive=true delay=0.1>
205        <events>
206            <trigger>
207                <EventListener event=attackers]] .. k .. [[ />
208            </trigger>
209        </events>
210        ]] .. enemyTriggerRecursor(i-1, k) .. [[
211    </EventTrigger>
212    ]]
213    else return ""
214    end
215    end
216    ?>
217    <!-- Actual recursive Event(s) for the respective waves. -->
218    <?lua
219    for k = 1, waves, 1
220    do
221    print(enemyTriggerRecursor(enemies,k))
222    ?>
223    <EventMultiTrigger name="waveClear<?lua print(k) ?>" delay=4.0>
224        <events>
225            <trigger>
226                <EventListener event="killedEnemy<?lua print(k .. [[.]] .. enemies) ?>" />
227            </trigger>
228        </events>
229    </EventMultiTrigger>
230    <?lua end ?>
231
232    <!-- FIXME: This trigger needs fixing, as endMission can only be called by a Pawn Distance Trigger. Herpaderp.
233        Also, the fix proposed in MissionOne does not work anymore... -->
234   <EventMultiTrigger name="missionFailed" target="Pawn" stayActive="true" delay=1.5>
235       <events>
236           <trigger>
237               <EventListener event="transporter" />
238           </trigger>
239       </events>
240   </EventMultiTrigger>
241
242    <Script code="Mission endMission fail" onLoad="false">
243        <events>
244            <trigger>
245                <EventListener event="missionFailed" />
246            </trigger>
247        </events>
248    </Script>
249
250    <!--QUEST EFFECT BEACONS -->
251
252    <QuestEffectBeacon times=1>
253        <effects>
254            <AddQuest questId="quest1" />
255        </effects>
256        <events>
257            <execute>
258                <EventListener event="spawntrigger" />
259            </execute>
260        </events>
261    </QuestEffectBeacon>
262
263    <QuestEffectBeacon times=1>
264        <effects>
265            <CompleteQuest questId="quest1" />
266        </effects>
267        <events>
268            <execute>
269                <EventListener event="reachedA" />
270            </execute>
271        </events>
272    </QuestEffectBeacon>
273
274    <QuestEffectBeacon times=1>
275        <effects>
276            <CompleteQuest questId="quest2.1" />
277        </effects>
278        <events>
279            <execute>
280                <EventListener event="dockedA" />
281            </execute>
282        </events>
283    </QuestEffectBeacon>
284
285    <QuestEffectBeacon times=1>
286        <effects>
287            <CompleteQuest questId="quest3" />
288        </effects>
289        <events>
290            <execute>
291                <EventListener event="waveClear1" />
292            </execute>
293        </events>
294    </QuestEffectBeacon>
295
296    <!--NOTIFICATIONS -->
297
298    <SimpleNotification broadcast="true" message="Welcome, Commander. Please report at Station A.">
299        <events>
300            <trigger>
301                <EventTrigger stayactive="true" delay=4 >
302                   <events>
303                      <trigger>
304                         <EventListener event="spawntrigger" />
305                      </trigger>
306                   </events>
307                </EventTrigger>
308            </trigger>
309        </events>
310    </SimpleNotification>
311
312    <SimpleNotification broadcast="true" message="Our enemy is set to attack us very soon.">
313        <events>
314            <trigger>
315                <EventTrigger stayactive="true" delay=8 >
316                   <events>
317                      <trigger>
318                         <EventListener event="spawntrigger" />
319                      </trigger>
320                   </events>
321                </EventTrigger>
322            </trigger>
323        </events>
324    </SimpleNotification>
325
326    <SimpleNotification broadcast="true" message="Please study your mission briefing!">
327        <events>
328            <trigger>
329                <EventTrigger stayactive="true" delay=12 >
330                   <events>
331                      <trigger>
332                         <EventListener event="spawntrigger" />
333                      </trigger>
334                   </events>
335                </EventTrigger>
336            </trigger>
337        </events>
338    </SimpleNotification>
339
340    <SimpleNotification broadcast="true" message="Welcome to Station A, Commander.">
341        <events>
342            <trigger>
343                <EventListener event="reachedA" />
344            </trigger>
345        </events>
346    </SimpleNotification>
347
348    <SimpleNotification broadcast="true" message="We've prepared a reinforced Ship for you.">
349        <events>
350            <trigger>
351                <EventTrigger stayactive="true" delay=4 >
352                   <events>
353                      <trigger>
354                         <EventListener event="reachedA" />
355                      </trigger>
356                   </events>
357                </EventTrigger>
358            </trigger>
359        </events>
360    </SimpleNotification>
361
362    <SimpleNotification broadcast="true" message="Now join our defense Team.">
363        <events>
364            <trigger>
365                <EventListener event="dockedA" />
366            </trigger>
367        </events>
368    </SimpleNotification>
369
370    <SimpleNotification broadcast="true" message="An enemy wave is approaching the shuttle!">
371        <events>
372            <trigger>
373                <EventListener event="wave1" />
374                <EventListener event="wave2" />
375                <EventListener event="wave3" />
376            </trigger>
377        </events>
378    </SimpleNotification>
379
380    <SimpleNotification broadcast="true" message="yippie ki yay motherf*cker!">
381        <events>
382            <trigger>
383                <EventListener event="attackers1" />
384                <EventListener event="attackers2" />
385                <EventListener event="attackers3" />
386            </trigger>
387        </events>
388    </SimpleNotification>
389
390    <SimpleNotification broadcast="true" message="Phew, that was close! Well done, Commmander.">
391        <events>
392            <trigger>
393                <EventListener event="waveClear1" />
394                <EventListener event="waveClear2" />
395                <EventListener event="waveClear3" />
396            </trigger>
397        </events>
398    </SimpleNotification>
399
400    <SimpleNotification broadcast="true" message="It's over... we failed. Retreat!">
401        <events>
402            <trigger>
403                <EventListener event="missionFailed" />
404            </trigger>
405        </events>
406    </SimpleNotification>
407
408    <!--STATIONS -->
409
410    <!-- (Temporary) Template for stations. Used to define common features of all Stations. -->
411    <Template name="station">
412        <Pawn mass=10000 collisionType=dynamic friction=0.01>
413          <attached>
414            <Model mesh="HydroHarvester.mesh" position="0,0,0" scale=50 />
415            <DistanceTriggerBeacon name="NPC" />
416          </attached>
417          <collisionShapes>
418            <BoxCollisionShape  position="-560,0,0" halfExtents="115,100,245" /><!-- Three lower boxes -->
419            <BoxCollisionShape  position="290,0,-480" halfExtents="115,100,245" yaw=-120 />
420            <BoxCollisionShape  position="290,0,480" halfExtents="115,100,245" yaw=-240 />
421            <BoxCollisionShape  position="-280,0,0" halfExtents="163,50,50" /><!-- Three lower connections -->
422            <BoxCollisionShape  position="140,0,-240" halfExtents="163,50,50" yaw=-120 />
423            <BoxCollisionShape  position="140,0,240" halfExtents="163,50,50" yaw=-240 />
424            <BoxCollisionShape  position="0,530,0" halfExtents="172,52,298" /><!-- Upper Tower -->
425            <BoxCollisionShape  position="0,530,0" halfExtents="172,52,298" yaw=-120 />
426            <BoxCollisionShape  position="0,530,0" halfExtents="172,52,298" yaw=-240 />
427            <BoxCollisionShape  position="0,400,0" halfExtents="43,110,26" yaw=-30 /><!-- Middle one-->
428            <BoxCollisionShape  position="-200,100,0" halfExtents="26,50,43" /><!--Three lower legs -->
429            <BoxCollisionShape  position="100,100,-173" halfExtents="43,50,26" yaw=-30 />
430            <BoxCollisionShape  position="100,100,-173" halfExtents="43,50,26" yaw=30 />
431            <BoxCollisionShape  position="-100,264,0" halfExtents="26,105,43" roll=-49 /><!--Three upper legs -->
432            <BoxCollisionShape  position="50,264,-87" halfExtents="26,105,43" roll=-49 yaw=-120 />
433            <BoxCollisionShape  position="50,264,87" halfExtents="26,105,43" roll=-49 yaw=-240 />
434          </collisionShapes>
435      </Pawn>
436    </Template>
437
438    <!-- A, Coordinates are approx. (cos(29pi/16), sin(29pi/16), 0)*3000 -->
439    <Pawn name="statA" team=0 radarname="Station A" position="5000,-3000,0" direction="0,1,0" initialhealth=10000 maxhealth=10000>
440        <templates>
441            <Template link="station" />
442        </templates>
443        <attached>
444            <DockingTarget name="dockTargetA" />
445            <Dock position="0,0,0" active=true>
446                <animations>
447                    <MoveToDockingTarget target="dockTargetA" />
448                </animations>
449                <effects>
450                    <DockToShip target="newSpaceShip" />
451                </effects>
452                <events>
453                    <execute>
454                        <EventListener event="dockA" />
455                    </execute>
456                </events>
457                <attached>
458                    <DistanceTrigger position="0,0,0" distance="200" target="SpaceShip" beaconMode="exclude" targetname="NPC" name="dockA" />
459                    <Billboard position="0,0,0" amplitude=1 material="Flares/lensflare" colour="1,0,0.05" />
460                </attached>
461            </Dock>
462        </attached>
463    </Pawn>
464
465    <!-- B, Coordinates are approx. (-cos(29pi/16), sin(29pi/16), 0)*3000 -->
466    <Pawn name="statB" team=0 radarname="Station B" position="-5000,-3000,0" direction="0,1,0" initialhealth=10000 maxhealth=10000>
467        <templates>
468            <Template link="station" />
469        </templates>
470        <attached>
471            <DockingTarget name="dockTargetB" />
472            <Dock position="0,0,0" active=true>
473                <animations>
474                    <MoveToDockingTarget target="dockTargetB" />
475                </animations>
476                <effects>
477                    <DockToShip target="newSpaceShip" />
478                </effects>
479                <events>
480                    <execute>
481                        <EventListener event="dockB" />
482                    </execute>
483                </events>
484                <attached>
485                    <DistanceTrigger position="0,0,0" distance="200" target="SpaceShip" beaconMode="exclude" targetname="NPC" name="dockB" />
486                    <Billboard position="0,0,0" amplitude=1 material="Flares/lensflare" colour="1,0,0.05" />
487                </attached>
488            </Dock>
489        </attached>
490    </Pawn>
491
492    <!-- C -->
493    <Pawn name="statC" team=0 radarname="Station C" position="0,-2300,0" direction="0,1,0" initialhealth=10000 maxhealth=10000>
494        <templates>
495            <Template link="station" />
496        </templates>
497        <attached>
498            <DockingTarget name="dockTargetC" />
499            <Dock position="0,0,0" active=true>
500                <animations>
501                    <MoveToDockingTarget target="dockTargetC" />
502                </animations>
503                <effects>
504                    <DockToShip target="fpsMode" />
505                </effects>
506                <events>
507                    <execute>
508                        <EventListener event="dockC" />
509                    </execute>
510                </events>
511                <attached>
512                    <DistanceTrigger position="0,0,0" distance="200" target="SpaceShip" beaconMode="exclude" targetname="NPC" name="dockC" />
513                    <Billboard position="0,0,0" amplitude=1 material="Flares/lensflare" colour="1,0,0.05" />
514                </attached>
515            </Dock>
516        </attached>
517    </Pawn>
518
519    <!-- New SpaceShip as destination of dock A-->
520    <SpaceShip
521        template            = "spaceshipassff2"
522        team                = "0"
523        position            = "4100,-2100,0"
524        orientation         = "-0.14, 0.68, 0.68, 0.223"
525        health              = "400"
526        initialhealth       = "400"
527        maxhealth           = "500"
528        shieldhealth        = "80"
529        initialshieldhealth = "80"
530        maxshieldhealth     = "120"
531        shieldabsorption    = "0.8"
532        reloadrate          = "1"
533        reloadwaittime      = "1"
534        name                = "newSpaceShip"
535        radarname           = "Defender" >
536      <attached>
537        <DockingTarget name="newSpaceShip" />
538        <DistanceTriggerBeacon name="newSpaceShip" />
539      </attached>
540    </SpaceShip>
541
542    <!-- FPS Player as destination of dock C-->
543    <FpsPlayer team=0 template = "fps" radarname = "First Person Player" position = "0,-2300,1201">
544        <attached>
545            <DockingTarget name="fpsMode" />
546            <DistanceTriggerBeacon name="fpsPlayer" />
547        </attached>
548    </FpsPlayer>
549
550    <StaticEntity position="0,-2300,1001" direction="0,0,-1" collisionType=static mass=100000 friction=0.01 >
551        <attached>
552          <Model position="0,0,0" mesh="crate.mesh" scale3D="80,80,5" />
553        </attached>
554        <collisionShapes>
555          <BoxCollisionShape position="0,0,0" halfExtents="400,400,25" />
556        </collisionShapes>
557    </StaticEntity>
558
559    <ForceField position="0,-2300,1001" direction="0,0,1" mode="homogen" diameter="400" forcedirection = "0,0,-500" />
560
561    <!--ELEMENTS -->
562
563    <?lua
564        dofile("includes/asteroidField.lua")
565        asteroidBelt(0,-2000, 0, 30, 0, 5, 20, 40, 500, 3300, 75, 0)
566    ?>
567
568
569    <Planet
570        position="5000,0,0"
571        scale="1000"
572        collisionType="dynamic"
573        linearDamping="0.8"
574        angularDamping="0"
575        mass="5000000"
576        pitch="0"
577        mesh="planets/muunilinst.mesh"
578        atmosphere="atmosphere1"
579        rotationaxis="1,0,0"
580        rotationrate="1.0"
581        atmospheresize="80.0f"
582        imagesize="1024.0f"
583        collisiondamage = 2
584        enablecollisiondamage = true
585      >
586      <attached>
587        <ForceField position="0,0,0" mode="sphere" diameter="2000" velocity="-500" />
588        </attached>
589          <collisionShapes>
590            <SphereCollisionShape radius="1000" position="0,0,0" />
591      </collisionShapes>
592    </Planet>
593
594    <?lua
595        dofile("includes/asteroidField.lua")
596        asteroidBelt(5000, 0, 0, 30, 0, 30, 5, 10, 1400, 1500, 200, 1)
597    ?>
598
599    <!-- Enemies. Outer loop defines waves, inner loop defines enemies in every wave. -->
600    <?lua
601    for k = 1, waves, 1
602    do
603    ?>
604    <?lua
605    for i = 1, enemies, 1
606    do
607    x = math.cos(math.pi/8*(i+1))*1500
608    y = math.sin(math.pi/8*(i+1))*1500
609    ?>
610    <SpaceShip visible=false active=flase name="attackers<?lua print(k)?>" radarname="Attacker" position="<?lua print(x)?>,<?lua print(y)?>,<?lua print(math.pow(-1,i)*250) ?>" lookat="0,0,0" team=1>
611        <templates>
612            <Template link="spaceshippirate" />
613        </templates>
614        <events>
615            <visibility>
616                <EventListener event="wave<?lua print(k)?>" />
617            </visibility>
618            <activity>
619                <EventListener event="wave<?lua print(k)?>" />
620            </activity>
621        </events>
622        <attached>
623            <DistanceTriggerBeacon name="NPC" />
624        </attached>
625        <controller>
626            <WaypointPatrolController name="attackController" alertnessradius=50 team=1 active=false>
627                <waypoints>
628                    <Attacher target="transporter" deletewithparent=false />
629                </waypoints>
630                <events>
631                    <activity>
632                        <EventListener event="wave<?lua print(k)?>" />
633                    </activity>
634                </events>
635            </WaypointPatrolController>
636        </controller>
637    </SpaceShip>
638    <?lua end ?>
639    <?lua end ?>
640
641    <Formation>
642
643    </Formation>
644
645    <!-- Transporter, starting Point is near A, end Point near B, the circle parameters for the waypoints are: Center = (0, -887, 0), r = 2613 -->
646    <SpaceShip position="5000,-3000,0" lookat="-2494, -1667, 0" team=0 name="transporter" radarname="Shuttle">
647        <templates>
648            <Template link="spaceshipTransporter" />
649        </templates>
650        <attached>
651            <DistanceTriggerBeacon name="NPC" />
652        </attached>
653        <controller>
654            <WaypointController accuracy=10 team=0>
655                <waypoints>
656                    <!-- A to B -->
657                    <?lua
658                    max = 5
659                    for i = 1, max, 1
660                    do
661                    x = math.cos(math.pi*(i+1)/8)*5000
662                    y = -math.sin(math.pi*(i+1)/8)*700-3000
663                    ?>
664                    <Billboard position="<?lua print(x) ?>,<?lua print(y) ?>,0" amplitude=1 material="Flares/lensflare" colour="1,1,0.05"/>
665                    <?lua end ?>
666
667                    <!-- Return Point -->
668                    <Billboard position="-5000, -3000, 0" amplitude=1 material="Flares/lensflare" colour="1,1,0.05"/>
669
670                    <!-- B to A -->
671                    <?lua
672                    max = 5
673                    for i = 1, max, 1
674                    do
675                    x = math.cos(math.pi*(max+2-i)/8)*5000
676                    y = -math.sin(math.pi*(max+2-i)/8)*700-3000
677                    ?>
678                    <Billboard position="<?lua print(x) ?>,<?lua print(y) ?>,0" amplitude=1 material="Flares/lensflare" colour="1,1,0.05"/>
679                    <?lua end ?>
680
681                    <!-- Start Point -->
682                    <Billboard position="5000,-3000,0" amplitude=1 material="Flares/lensflare" colour="1,1,0.05"/>
683                </waypoints>
684            </WaypointController>
685        </controller>
686    </SpaceShip>
687
688    </Scene>
689</Level>
Note: See TracBrowser for help on using the repository browser.