Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/archive/Presentation_HS16/data/levels/iiiJohnVane_EscapeTheBastards.oxw @ 11642

Last change on this file since 11642 was 11052, checked in by landauf, 9 years ago

merged branch presentationHS15 back to trunk

  • Property svn:eol-style set to native
File size: 46.4 KB
Line 
1<!-- -->
2
3<!--TODO
4
5Everything works fine, there are just some design issues:
6
7- Better Homeplanet Design
8- Change Boxdesign at the End (metal_crate.mesh instead of crate.mesh)
9- Apply Boxcollison
10- Green Box at the end Triangular
11- Better Portal Jump
12- better forcefield
13- Sun Background (Particle Effects)
14- Asteroid Belts around Planets (without lags!!!)
15-->
16
17
18<!--
19Basic ------------------------------------------------------------------------------------------------------------------------>
20<!--Basic Infos-->
21
22<LevelInfo
23 name = "(iii) John Vane: Escape the Bastards"
24 description = "You destroyed their Base, you accomplished the mission. Now get out of there, and get rid of the haunters."
25 tags = "mission"
26 screenshot = "EscapeTheBastards.png"
27/>
28
29<?lua
30  include("stats.oxo")
31  include("HUDTemplates3.oxo")
32  include("templates/lodInformation.oxt")
33?>
34
35<?lua
36  include("templates/pickupRepresentationTemplates.oxt")
37  include("templates/spaceshipAssff.oxt")
38  include("templates/spaceshipPirate.oxt")
39  include("templates/spaceshipEscort.oxt")
40  include("templates/spaceshipCollateralDamage.oxt")
41  include("templates/spaceshipTurret.oxt")
42?>
43
44<Level
45  name = "Escape the bastards"
46  description = "You destroyed their Base, you accomplished the mission. Now get out of there, and get rid of the haunters"
47  gametype=Mission
48>
49  <templates>
50    <Template link=lodtemplate_default />
51  </templates>
52 
53  <?lua include("includes/notifications.oxi") ?>
54  <NotificationQueueCEGUI
55    name="narrative"
56    targets="simpleNotification"
57    size=3
58    displayTime=4.9
59    position="0.2, 0, 0.1, 0"
60    fontSize="23"
61    fontColor="0.3, 1, 0.2, 0.8"
62    alignment="HorzCentred"
63    displaySize="0.6, 0, 0, 0"
64    />
65
66  <Scene
67    ambientlight = "0.8, 0.8, 0.8"
68    skybox       = "Orxonox/skyBoxMoreNebula"
69  >
70
71    <?lua
72      include("includes/pickups.oxi")
73    ?>
74
75    <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"/>
76
77    <!-- SpawnPoint team=0 position="-1000,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff / -->
78
79<!-- Pickups -->
80
81    <PickupSpawner pickup=dronepickup position="-5000,-1300,-209" triggerDistance="10" respawnTime="30" maxSpawnedItems="10" />
82
83    <PickupSpawner pickup=hugehealthpickup position="0,-4,-1540" triggerDistance="10" respawnTime="10" maxSpawnedItems="99" visible="true">
84        <events>
85            <visibility>
86                <EventListener event="boxtrigger" />
87            </visibility>
88        </events>
89    </PickupSpawner>
90    <PickupSpawner pickup=mediumspeedpickup position="0,4,-1540" triggerDistance="10" respawnTime="10" maxSpawnedItems="99"  visible="true">
91        <events>
92            <visibility>
93                <EventListener event="boxtrigger" />
94            </visibility>
95        </events>
96    </PickupSpawner>
97
98<!-- Pickups heal the box, so one cant destroy the box -->
99
100<!-- Pickups END -->
101<!--Basic Infos end-->
102
103<!--Story----------------------------------------------------------------------------------------------------------------------------------------------------------------------->
104
105
106<!--Quests (Fly to the Ally)-->
107    <EventMultiTrigger name=spawntrigger>
108        <events>
109            <trigger>
110                <TeamSpawnPoint team=0 position="-8050,0,0" direction="1,0.3,0.2" spawnclass=SpaceShip pawndesign=spaceshipcollateraldamage>
111<!-- Spawnpoint aendern zu -8050,0,0 nachher direction="1,0.3,0.2"-->
112<!-- Spawnpoint aendern zu 3000,12000,-5500 nachher direction="0.3,1.2,-5.5" Fuer homeplanet-->
113<!-- Spawnpoint aendern zu -46950,-30000,30000 nachher direction="1,0,0" Fuer inBox-->
114                  <EventTrigger invert=true>
115                    <events>
116                      <trigger>
117                        <EventListener event="missionfinish" />
118                      </trigger>
119                    </events>
120                  </EventTrigger>
121                </TeamSpawnPoint>
122            </trigger>
123        </events>
124    </EventMultiTrigger>
125
126
127    <TeamSpawnPoint team=0 position="0,-2500,0" direction="0,-1,0" spawnclass=SpaceShip pawndesign=spaceshipcollateraldamage active =false>
128        <events>
129            <activity>
130                <EventListener event="reachedally" />
131            </activity>
132        </events>
133    </TeamSpawnPoint>
134
135    <TeamSpawnPoint team=0 position="-46950,-30000,30000" direction="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipcollateraldamage active =false>
136        <events>
137            <activity>
138                <EventListener event="cave1" />
139            </activity>
140        </events>
141    </TeamSpawnPoint>
142
143
144        <QuestEffectBeacon times=1>
145            <effects>
146                <AddQuest questId="Helpisontheway.1" />
147            </effects>
148            <events>
149                <execute>
150                    <EventListener event=spawntrigger />
151                </execute>
152            </events>
153        </QuestEffectBeacon>
154
155        <QuestEffectBeacon times=1>
156            <effects>
157                <CompleteQuest questId="Helpisontheway.1" />
158            </effects>
159            <events>
160                <execute>
161                    <EventListener event="missionfinish" />
162                </execute>
163            </events>
164        </QuestEffectBeacon>
165
166
167        <QuestEffectBeacon times=1 >
168            <effects>
169                <CompleteQuest questId="defend.2" />
170            </effects>
171            <events>
172                <execute>
173                    <EventListener event="Boxdestroyed" />
174                </execute>
175            </events>
176        </QuestEffectBeacon>
177
178        <QuestEffectBeacon times=1 >
179            <effects>
180                <CompleteQuest questId="leave.3" />
181            </effects>
182            <events>
183                <execute>
184                    <EventListener event="reachedhomeplanet" />
185                </execute>
186            </events>
187        </QuestEffectBeacon>
188
189        <QuestEffectBeacon times=1 >
190            <effects>
191                <CompleteQuest questId="wayhome.4" />
192            </effects>
193            <events>
194                <execute>
195                    <EventListener event="reachedend" />
196                </execute>
197            </events>
198        </QuestEffectBeacon>
199
200    <!-- END OF GAME -->
201    <SimpleNotification message="Well done, you've finished">
202        <events>
203            <trigger>
204                <EventListener event=reachedend />
205            </trigger>
206        </events>
207    </SimpleNotification>
208
209
210    <Script code="Mission endMission true" onLoad="false" times="1">
211        <events>
212            <trigger>
213                <EventListener event="reachedend" />
214            </trigger>
215        </events>
216    </Script>
217   
218    <Script code="Mission setLives 1" onLoad="true" times="1" />
219    <!-- END OF GAME END -->
220
221
222    <DistanceTrigger name="missionfinish" position="-120,0,0" target="Pawn" distance=60 stayActive="true" delay=1>
223    </DistanceTrigger>
224    <DistanceTrigger name="reachedally" position="-120,0,0" target="Pawn" distance=60 stayActive="true" delay=0>
225    </DistanceTrigger>
226    <DistanceTrigger name="reachedhomeplanet" position="-3000,12000,-6990" target="Pawn" distance=100 stayActive="true" delay=0>
227    </DistanceTrigger>
228    <DistanceTrigger name="reachedend" position="-41000,-30000,33800" target="Pawn" distance=60 stayActive="true" delay=2>
229    </DistanceTrigger>
230
231          <EventTrigger name="boxtrigger" activations="1" stayactive="true" delay=0.1>
232            <events>
233              <trigger>
234                <EventListener event="box" />
235              </trigger>
236            </events>
237          </EventTrigger>
238
239
240<!-- Billboard Allyplanet -->
241
242<BlinkingBillboard position="-120,0,0" frequency=0.4 amplitude=3 material="Flares/lensflare" colour="1,1,0.05">
243          <events>
244            <visibility>
245              <EventTrigger invert=true>
246                <events>
247                  <trigger>
248                    <EventListener event="missionfinish" />
249                  </trigger>
250                </events>
251              </EventTrigger>
252            </visibility>
253          </events>
254</BlinkingBillboard>
255
256<Billboard position="-120,0,0" amplitude=1 material="Flares/lensflare" colour="0,0.8,0.1">
257          <events>
258            <visibility>
259              <EventTrigger>
260                <events>
261                  <trigger>
262                    <EventListener event="missionfinish" />
263                  </trigger>
264                </events>
265              </EventTrigger>
266            </visibility>
267          </events>
268</Billboard>
269
270<!-- Billboard Allyplanet END-->
271
272
273<!-- Box with Pickups -->
274    <Pawn team=1 health=30 position="0,0,-1500" direction="0,-1,0" collisionType=dynamic mass=100000 name=box radarname = "Something" >
275        <events>
276          <visibility>
277            <EventListener event="target3" />
278          </visibility>
279        </events>
280        <attached>
281            <Model position="0,0,0" mesh="crate.mesh" scale3D="5,5,5" />
282        </attached>
283        <collisionShapes>
284            <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
285        </collisionShapes>
286    <controller>
287                      <WaypointController team=1>
288                    </WaypointController>
289        </controller>
290        <explosion >
291            <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_flash2" effect2="orxonox/explosion_flame2" />
292            <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_shockwave2" effect2="orxonox/explosion_sparks2" />
293            <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_streak2" effect2="orxonox/explosion_afterglow" />
294        </explosion>
295    </Pawn>
296
297<Billboard position="0,0,-1540" amplitude=1 material="Flares/lensflare" colour="0,0.8,0.1">
298          <events>
299            <visibility>
300              <EventTrigger>
301                <events>
302                  <trigger>
303                    <EventListener event="boxtrigger" />
304                  </trigger>
305                </events>
306              </EventTrigger>
307            </visibility>
308          </events>
309</Billboard>
310<!-- Box with Pickups END -->
311
312<!-- Billboard Homeplanet -->
313
314<!-- evt Blinking light before landing on planet, Entfernen nach architektur-->
315<BlinkingBillboard position="-3000,12000,-6990" frequency=0.4 amplitude=3 material="Flares/lensflare" colour="1,1,0.05">
316          <events>
317            <visibility>
318              <EventTrigger>
319                <events>
320                  <trigger>
321                    <EventListener event="boxtrigger"/> <!-- reachedhomeplanet-->
322                  </trigger>
323                </events>
324              </EventTrigger>
325            </visibility>
326          </events>
327</BlinkingBillboard>
328
329
330<!-- Billboard Homeplanet END-->
331
332
333<!--Quests (Fly to the Ally) END-->
334
335<!--Quests (Fight Enemies)-->
336
337
338 <SpaceShip position="1000,0,0" lookat="0,0,1" name="attacker" radarname="Fighter1" visible="true">
339                            <events>
340                                <visibility>
341                                    <EventListener event="missionfinish" />
342                                </visibility>
343                            </events>
344
345                    <templates>
346                      <Template link=spaceshippirate />
347                    </templates>
348                    <controller>
349                      <WaypointPatrolController alertnessradius=750  team=1 active=false>
350                         <waypoints>
351                        <Model mesh="cube.mesh" scale=0 position="1000,0,0"/>
352                        <Model mesh="cube.mesh" scale=0 position="500,500,0"/>
353                        <Model mesh="cube.mesh" scale=0 position="0,1000,0"/>
354                        <Model mesh="cube.mesh" scale=0 position="-500,500,0"/>
355                        <Model mesh="cube.mesh" scale=0 position="-1000,0,0"/>
356                        <Model mesh="cube.mesh" scale=0 position="-500,-500,0"/>
357                        <Model mesh="cube.mesh" scale=0 position="0,-1000,0"/>
358                        <Model mesh="cube.mesh" scale=0 position="500,-500,0"/>
359                       </waypoints>
360                       <events>
361                         <activity>
362                              <EventListener event="reachedally" />
363                         </activity>
364                       </events>
365                    </WaypointPatrolController>
366                  </controller>
367                </SpaceShip>
368
369 <SpaceShip position="0,1000,0" lookat="1,0,0" name="attacker" radarname="Fighter2" visible="true">
370                            <events>
371                                <visibility>
372                                    <EventListener event="missionfinish" />
373                                </visibility>
374                            </events>
375                    <templates>
376                      <Template link=spaceshippirate />
377                    </templates>
378                    <controller>
379                      <WaypointPatrolController alertnessradius=750  team=1 active=false>
380                         <waypoints>
381                        <Model mesh="cube.mesh" scale=0 position="0,1000,0"/>
382                        <Model mesh="cube.mesh" scale=0 position="0,500,500"/>
383                        <Model mesh="cube.mesh" scale=0 position="0,0,1000"/>
384                        <Model mesh="cube.mesh" scale=0 position="0,-500,500"/>
385                        <Model mesh="cube.mesh" scale=0 position="0,-1000,0"/>
386                        <Model mesh="cube.mesh" scale=0 position="0,-500,-500"/>
387                        <Model mesh="cube.mesh" scale=0 position="0,0,-1000"/>
388                        <Model mesh="cube.mesh" scale=0 position="0,500,-500"/>
389                       </waypoints>
390                       <events>
391                         <activity>
392                              <EventListener event="reachedally" />
393                         </activity>
394                       </events>
395                    </WaypointPatrolController>
396                  </controller>
397                </SpaceShip>
398
399 <SpaceShip position="0,0,1000" lookat="0,1,0" name="attacker" radarname="Fighter3" visible="true">
400                            <events>
401                                <visibility>
402                                    <EventListener event="missionfinish" />
403                                </visibility>
404                            </events>
405                    <templates>
406                      <Template link=spaceshippirate />
407                    </templates>
408                    <controller>
409                      <WaypointPatrolController alertnessradius=750  team=1 active=false>
410                         <waypoints>
411                        <Model mesh="cube.mesh" scale=0 position="1000,0,0"/>
412                        <Model mesh="cube.mesh" scale=0 position="500,0,500"/>
413                        <Model mesh="cube.mesh" scale=0 position="0,0,1000"/>
414                        <Model mesh="cube.mesh" scale=0 position="-500,0,500"/>
415                        <Model mesh="cube.mesh" scale=0 position="-1000,0,0"/>
416                        <Model mesh="cube.mesh" scale=0 position="-500,0,-500"/>
417                        <Model mesh="cube.mesh" scale=0 position="0,0,-1000"/>
418                        <Model mesh="cube.mesh" scale=0 position="500,0,-500"/>
419                       </waypoints>
420                       <events>
421                         <activity>
422                              <EventListener event="reachedally" />
423                         </activity>
424                       </events>
425                    </WaypointPatrolController>
426                  </controller>
427                </SpaceShip>
428
429<!-- @Triggers: Attakers, Fight one by one  -->
430
431    <EventTrigger name="target3" activations="1" stayactive="true" delay=0.1>
432          <events>
433            <trigger>
434              <EventListener event="attacker" />
435            </trigger>
436          </events>
437       <EventTrigger name="target2" activations="1" stayactive="true" delay=0.1>
438            <events>
439              <trigger>
440                <EventListener event="attacker" />
441              </trigger>
442        </events>
443       <EventTrigger name="target1" activations="1" stayactive="true" delay=0.1>
444            <events>
445              <trigger>
446                <EventListener event="attacker" />
447              </trigger>
448        </events>
449          </EventTrigger>
450        </EventTrigger>
451        </EventTrigger>
452
453
454    <SimpleNotification message="Wow, That's an explosion."  broadcast="true">
455        <events>
456            <trigger>
457                <EventListener event="target1" />
458            </trigger>
459        </events>
460    </SimpleNotification>
461
462    <SimpleNotification message="Booom, you got him!"  broadcast="true">
463        <events>
464            <trigger>
465                <EventListener event="target2" />
466            </trigger>
467        </events>
468    </SimpleNotification>
469
470
471    <SimpleNotification message="No Mercy!! .. What's that?"  broadcast="true">
472        <events>
473            <trigger>
474                <EventListener event="target3" />
475            </trigger>
476        </events>
477    </SimpleNotification>
478
479
480
481
482<!-- @Triggers: Attakers, Fight one by one END  -->
483
484
485<!--Quests (Fight Enemies) END-->
486
487
488<!-- LocalQuests -->
489    <LocalQuest id="Helpisontheway.1">
490        <QuestDescription title="Help is on the way" description="An allied pilot is cast away on a planet in front of you. Pick him up and leave.
491
492
493        Hint: He will blink with his lamp
494
495        PS: Remind the gravitation field"
496
497 
498    failmessage="Well, you sucked" completeMessage="Well done, You're a hero" />
499        <complete-effects>
500            <AddQuest questId="defend.2" />
501        </complete-effects>
502    </LocalQuest>
503
504
505    <LocalQuest id="defend.2">
506        <QuestDescription title="Defend the Planet" description="Well your enemies trapped you. Kill'em all."
507
508    failmessage="Well, you sucked" completeMessage="Well done, You're a hero" />
509        <complete-effects>
510            <AddQuest questId="leave.3" />
511        </complete-effects>
512    </LocalQuest>
513
514
515
516    <LocalQuest id="leave.3">
517        <QuestDescription title="Leave the Place" description="You've blown their minds. Let's go home. Aim the Big blue planet to reach your home." failmessage="" completeMessage="" />
518        <complete-effects>
519            <AddQuest questId="wayhome.4" />
520        </complete-effects>
521    </LocalQuest>
522
523    <LocalQuest id="wayhome.4">
524        <QuestDescription title="Let's go home" description="You've reached the portal. You've been teleportet to the passage to your home, but your enemies trapped you again" failmessage="" completeMessage="" />
525        <complete-effects>
526            <AddQuest questId="end.5" />
527        </complete-effects>
528    </LocalQuest>
529
530<!-- LocalQuests END -->
531
532<!-- Message Triggers -->
533    <DistanceTrigger name="StartofMission" position="-8050,0,0" target="Pawn" distance=10 stayActive="true" delay=1.2/>
534    <SimpleNotification message="Houston: John can you hear me?">
535        <events>
536            <trigger>
537                <EventListener event="StartofMission" />
538            </trigger>
539        </events>
540    </SimpleNotification>
541
542    <DistanceTrigger name="Introduction1" position="-8050,0,0" target="Pawn" distance=30 stayActive="true" delay=6.4/>
543    <SimpleNotification message="John: No. Can i go home now?">
544        <events>
545            <trigger>
546                <EventListener event="Introduction1" />
547            </trigger>
548        </events>
549    </SimpleNotification>
550
551    <DistanceTrigger name="Introduction2" position="-8050,0,0" target="Pawn" distance=30 stayActive="true" delay=10.8/>
552    <SimpleNotification message="Houston: Not yet, another ally needs your help.">
553        <events>
554            <trigger>
555                <EventListener event="Introduction2" />
556            </trigger>
557        </events>
558    </SimpleNotification>
559
560    <DistanceTrigger name="Introduction3" position="-8050,0,0" target="Pawn" distance=30 stayActive="true" delay=15.2/>
561    <SimpleNotification message="Houston: He had to force land near you.">
562        <events>
563            <trigger>
564                <EventListener event="Introduction3" />
565            </trigger>
566        </events>
567    </SimpleNotification>
568
569
570    <DistanceTrigger name="PickedUpAlly" position="-120,0,0" target="Pawn" distance=30 stayActive="true" delay=0.1/>
571    <SimpleNotification message="John: Are you kidding me, thats a kitty.">
572        <events>
573            <trigger>
574                <EventListener event="PickedUpAlly" />
575            </trigger>
576        </events>
577    </SimpleNotification>
578
579    <DistanceTrigger name="PickedUpAlly1" position="-120,0,0" target="Pawn" distance=30 stayActive="true" delay=4.4/>
580    <SimpleNotification message="Houston: ... but if there is no ally...">
581        <events>
582            <trigger>
583                <EventListener event="PickedUpAlly1" />
584            </trigger>
585        </events>
586    </SimpleNotification>
587
588    <DistanceTrigger name="PickedUpAlly2" position="-120,0,0" target="Pawn" distance=30 stayActive="true" delay=8.8/>
589    <SimpleNotification message="Houston: F***, they trapped us">
590        <events>
591            <trigger>
592                <EventListener event="PickedUpAlly2" />
593            </trigger>
594        </events>
595    </SimpleNotification>
596
597
598    <SimpleNotification message="Houston: Pickups! Pick them up :-)"  broadcast="true">
599        <events>
600            <trigger>
601                <EventListener event="boxtrigger" />
602            </trigger>
603        </events>
604    </SimpleNotification>
605
606    <DistanceTrigger name="Boxdestroyed" position="0,0,-1540" target="SpaceShip" distance=50 stayActive="true" delay=0.1 />
607    <SimpleNotification message="Houston: Now aim the blue planet">
608        <events>
609            <trigger>
610                <EventListener event="Boxdestroyed" />
611            </trigger>
612        </events>
613    </SimpleNotification>
614
615    <DistanceTrigger name="Boxdestroyed2" position="0,0,-1540" target="SpaceShip" distance=50 stayActive="true" delay=4.4 />
616    <SimpleNotification message="Houston: Land near the blinking light!">
617        <events>
618            <trigger>
619                <EventListener event="Boxdestroyed2" />
620            </trigger>
621        </events>
622    </SimpleNotification>
623
624    <SimpleNotification message="Houston: You're almost there">
625        <events>
626            <trigger>
627                <EventListener event="reachedhomeplanet" />
628            </trigger>
629        </events>
630    </SimpleNotification>
631
632<DistanceTrigger name="cave1" position="-46300,-30000,30000" target="SpaceShip" distance=100 stayActive="true" delay=0.1 />
633    <SimpleNotification message="Houston: You reached the cave, you're safe!!">
634        <events>
635            <trigger>
636                <EventListener event="cave1" />
637            </trigger>
638        </events>
639    </SimpleNotification>
640
641<DistanceTrigger name="cave2" position="-46300,-30000,30000" target="SpaceShip" distance=100 stayActive="true" delay=4.4 />
642    <SimpleNotification message="Houston: ... wait it's a tr#@$%&^#$...">
643        <events>
644            <trigger>
645                <EventListener event="cave2" />
646            </trigger>
647        </events>
648    </SimpleNotification>
649
650<DistanceTrigger name="cave3" position="-46300,-30000,30000" target="SpaceShip" distance=100 stayActive="true" delay=8.8 />
651    <SimpleNotification message="John: not again ...">
652        <events>
653            <trigger>
654                <EventListener event="cave3" />
655            </trigger>
656        </events>
657    </SimpleNotification>
658
659
660    <SimpleNotification message="Sanchez: I waited for you ...">
661        <events>
662            <trigger>
663                <EventListener event="Reachedtheend" />
664            </trigger>
665        </events>
666    </SimpleNotification>
667
668
669
670<!-- Message Triggers END -->
671
672<!--Quests____END-->
673
674
675
676<!--Enviroment-------------------------------------------------------------------------------------------------------------------------------------------------------------------->
677
678    <!--Asteroids Field-->
679
680    <?lua for i=0,650,1 do
681        x=math.random(-8000,-1000)
682        y=math.random(-2345,2345)
683        z=math.random(-2500,2500)
684    scale=math.random(20,70)
685    ?>
686    <MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=0 mass="<?lua print(scale * 5) ?>" position="<?lua print(x) ?>,<?lua print(y) ?>,<?lua print(z) ?>" rotationaxis="<?lua print(math.random()) ?>,<?lua print(math.random()) ?>,<?lua print(math.random()) ?>" rotationrate="<?lua print(math.random()*15) ?>"       collisiondamage = 0.005
687      enablecollisiondamage = true >
688        <attached>
689            <Model scale="<?lua print(scale) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false/>
690        </attached>
691        <collisionShapes>
692               <SphereCollisionShape radius="<?lua print(scale * 3) ?>" />
693        </collisionShapes>
694    </MovableEntity>
695    <?lua end ?>
696
697                            <!--Asteroids Field end -->
698
699
700                            <!--Asteroids Random
701
702                "The game lags, when you're flying far away"
703
704
705    <?lua for i=0,300,1 do
706        x=math.random(-12000,4000)
707        y=math.random(-8000,8000)
708        z=math.random(-8000,8000)
709    ?>
710    <MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=0 mass="<?lua print(scale * 5) ?>" position="<?lua print(x) ?>,<?lua print(y) ?>,<?lua print(z) ?>" rotationaxis="<?lua print(math.random()) ?>,<?lua print(math.random()) ?>,<?lua print(math.random()) ?>" rotationrate="<?lua print(math.random()*15) ?>"      collisiondamage = 0.005
711      enablecollisiondamage = true  >
712        <attached>
713            <Model scale="<?lua print(math.random(20,70)) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false/>
714        </attached>
715        <collisionShapes>
716            <SphereCollisionShape radius="<?lua print(scale * 3) ?>" />
717        </collisionShapes>
718    </MovableEntity>
719    <?lua end ?>
720-->
721                            <!--Asteroids  Random end-->
722
723                                <!--Asteroid Elipse-->
724<!-- LAAAGS :-(
725
726                "The game lags, when you're flying far away"       
727
728    <?lua
729        dofile("includes/asteroidField.lua")
730        asteroidBelt(-3000,12000,-10000, 30, 0, 30, 30, 50, 7190, 7800, 250, 1)
731    ?>
732
733    <?lua
734        dofile("includes/asteroidField.lua")
735        asteroidBelt(-3000,12000,-10000, 30, 0, 30, 30, 50, 14000, 15000, 350, 1)
736    ?>
737-->
738
739
740    <?lua
741    max = 20
742    for i = 0, max, 1
743    do
744    y = math.sin(i/max*6)*2000
745    z = math.cos(i/max*6)*2500
746    x = 0
747    ?>
748    <?lua
749    for k = 1, 15, 1
750    do
751    j = math.random()
752    ?>
753
754    <MovableEntity
755      position = "<?lua print(x + math.random() * 500) ?>,<?lua print(y + math.random() * 500) ?>,<?lua print(z + math.random() * 1000) ?>"
756      collisionType = "dynamic"
757      linearDamping = "0.5"
758      angularDamping = "0.01"
759      collisiondamage = "0.01"
760      enablecollisiondamage = "true"
761      scale="<?lua print(j * 5) ?>" >
762      <attached>
763        <Model position="0,0,0" scale="<?lua print(j * 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh">
764      <?lua if k == 5 then ?><attached>            <!--asteroid fog-->
765            <ParticleEmitter position="0,0,0" source="Orxonox/Steam" />
766          </attached> <?lua end ?>
767        </Model>
768      </attached>
769      <collisionShapes>
770        <SphereCollisionShape radius="<?lua print(j * 80) ?>" />
771      </collisionShapes>
772    </MovableEntity>
773    <?lua
774    end
775    ?>
776    <?lua end ?>
777<!--Asteroid Elipse end-->
778
779<!--Planet sun-->
780    <Planet position="15000,0,0" scale=1500 pitch=-90 mesh="planets/sol.mesh" atmosphere="atmosphere1" rotationaxis="8,1,0" rotationrate="1" atmospheresize=0 imagesize=1024.0f />
781    <StaticEntity position="2600,0,0" collisionType=static>
782        <collisionShapes>
783            <SphereCollisionShape radius="399" />
784        </collisionShapes>
785    </StaticEntity>
786
787    <Billboard position="15100,0,0" material="Flares/backlightflare" colour="0.7,0.4,0.1" scale=600 />
788
789<!--Planet END-->
790
791<!--Planet with Ally-->
792    <Planet
793      position="0,0,0"
794      scale="100"
795      collisionType="dynamic"
796      linearDamping="0.8"
797      angularDamping="0"
798      mass="5000000"
799      pitch="0"
800      mesh="iceplanet.mesh"
801      atmosphere="atmosphere1"
802      rotationaxis="1,0,0"
803      rotationrate="1.0"
804      atmospheresize="80.0f"
805      imagesize="1024.0f"
806    >
807      <attached>
808        <ForceField position="0,0,0" mode="sphere" diameter="1000" velocity="-500" />
809                    <ParticleEmitter position="0,0,0" source="Orxonox/fire3" />
810      </attached>
811      <collisionShapes>
812        <SphereCollisionShape radius="100" position="0,0,0" />
813      </collisionShapes>
814    </Planet>
815<!-- Planet with Ally END-->
816
817
818<!-- Homeplanet -->
819    <Planet
820      position="-3000,12000,-10000"
821      scale="3000"
822      collisionType="dynamic"
823      linearDamping="0.8"
824      angularDamping="0"
825      mass="5000000000000"
826      pitch="0"
827      mesh="planets/muunilinst.mesh"
828      atmosphere="atmosphere1"
829      rotationaxis="0,0,0"
830      rotationrate="0.0"
831      atmospheresize="80.0f"
832      imagesize="1024.0f"
833    >
834      <attached>
835        <ForceField position="0,0,0" mode="sphere" diameter="10000" velocity="-900" />
836      </attached>
837      <collisionShapes>
838        <SphereCollisionShape radius="3000" position="0,0,0" />
839      </collisionShapes>
840    </Planet>
841<!-- Homeplanet  END-->
842
843<!-- Planet around the cave-->
844
845<Planet position="-43500,-30000,31900" scale=5000 pitch=-90 mesh="planets/moon.mesh" atmosphere="atmosphere1" rotationaxis="8,1,0" rotationrate="1" atmospheresize=0 imagesize=1024.0f />
846
847<!-- Planet around the cave END-->
848
849<!-- Anotherplanet -->
850    <Planet
851      position="-20000,6000,7000"
852      scale="3000"
853      collisionType="dynamic"
854      linearDamping="0.8"
855      angularDamping="0"
856      mass="5000000000000"
857      pitch="0"
858      mesh="planets/ganymede.mesh"
859      atmosphere="atmosphere1"
860      rotationaxis="0,0,0"
861      rotationrate="0.0"
862      atmospheresize="80.0f"
863      imagesize="1024.0f"
864    >
865      <collisionShapes>
866        <SphereCollisionShape radius="3000" position="0,0,0" />
867      </collisionShapes>
868    </Planet>
869<!-- LAAAGS :-(
870
871                "The game lags, when you're flying far away"
872
873    <?lua
874        dofile("includes/asteroidField.lua")
875        asteroidBelt(-20000,6000,7000, 30, 0, 30, 30, 50, 7190, 7800, 250, 1)
876    ?>
877-->
878                              <!-- Anotherplanet  END-->
879
880                              <!-- Homeplanet Architecture-->
881<!-- -3000,12000,-6990  = Billboard position-->
882
883     <!--     <Model  position="-3070,12070,-6990" yaw="90" pitch="-90" roll="0" scale="70" mesh="asteroid_ice.mesh" >
884      <collisionShapes>
885        <SphereCollisionShape radius="70" position="0,0,0" />
886      </collisionShapes>
887    </Model>
888-->
889
890    <MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=0 mass="500"  pitch="90" roll="86" yaw="12" position="-2900,12080,-6990" rotationaxis="0,0,0" rotationrate="0"       collisiondamage = 0.01  enablecollisiondamage = true >
891        <attached>
892            <Model scale="70" mesh="asteroid_ice.mesh"  shadow=false/>
893        </attached>
894        <collisionShapes>
895               <SphereCollisionShape radius="70" />
896        </collisionShapes>
897    </MovableEntity>
898
899    <MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=5 mass="500"   pitch="30" roll="11" yaw="51" position="-3200,11950,-6990" rotationaxis="0,0,0" rotationrate="0"       collisiondamage = 0.01  enablecollisiondamage = true >
900        <attached>
901            <Model scale="90" mesh="asteroid_ice.mesh"  shadow=false/>
902        </attached>
903        <collisionShapes>
904               <SphereCollisionShape radius="90" />
905        </collisionShapes>
906    </MovableEntity>
907
908    <MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=5 mass="500"  pitch="0" roll="12" yaw="81"  position="-2800,12150,-6990" rotationaxis="0,0,0" rotationrate="0"       collisiondamage = 0.01  enablecollisiondamage = true >
909        <attached>
910            <Model scale="90" mesh="asteroid_ice.mesh"  shadow=false/>
911        </attached>
912        <collisionShapes>
913               <SphereCollisionShape radius="90" />
914        </collisionShapes>
915    </MovableEntity>
916
917    <MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=5 mass="500"  pitch="0" roll="0" yaw="0" position="-3300,11800,-6990" rotationaxis="0,0,0" rotationrate="0"       collisiondamage = 0.01  enablecollisiondamage = true >
918        <attached>
919            <Model scale="155" mesh="asteroid_ice.mesh"  shadow=false/>
920        </attached>
921        <collisionShapes>
922               <SphereCollisionShape radius="155" />
923        </collisionShapes>
924    </MovableEntity>
925
926
927    <MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=5 mass="500"  pitch="0" roll="0" yaw="12" position="-3230,12300,-6990" rotationaxis="0,0,0" rotationrate="0"       collisiondamage = 0.01  enablecollisiondamage = true >
928        <attached>
929            <Model scale="150" mesh="asteroid_ice.mesh"  shadow=false/>
930        </attached>
931        <collisionShapes>
932               <SphereCollisionShape radius="150" />
933        </collisionShapes>
934    </MovableEntity>
935
936    <MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=5 mass="500" pitch="13" roll="23"yaw="120" position="-3000,12000,-6820" rotationaxis="0,0,0" rotationrate="0"       collisiondamage = 0.01  enablecollisiondamage = true >
937        <attached>
938            <Model scale="100" mesh="asteroid_ice.mesh"  shadow=false/>
939        </attached>
940        <collisionShapes>
941               <SphereCollisionShape radius="100" />
942        </collisionShapes>
943    </MovableEntity>
944
945    <MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=5 mass="500" pitch="2" roll="12" yaw="43" position="-3250,12100,-6850" rotationaxis="0,0,0" rotationrate="0"       collisiondamage = 0.01  enablecollisiondamage = true >
946        <attached>
947            <Model scale="70" mesh="asteroid_ice.mesh"  shadow=false/>
948        </attached>
949        <collisionShapes>
950               <SphereCollisionShape radius="70" />
951        </collisionShapes>
952    </MovableEntity>
953
954    <MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=5 mass="500" pitch="0" roll="0" yaw="0"  position="-3230,11800,-6990" rotationaxis="0,0,0" rotationrate="0"       collisiondamage = 0.01  enablecollisiondamage = true >
955        <attached>
956            <Model scale="85" mesh="asteroid_ice.mesh"  shadow=false/>
957        </attached>
958        <collisionShapes>
959               <SphereCollisionShape radius="85" />
960        </collisionShapes>
961    </MovableEntity>
962
963                             <!-- Homeplanet Architecture END-->
964
965
966                            <!-- Portal-->
967    <Template name=PortalDefault>
968        <PortalEndPoint>
969            <attached>
970                <Model mesh="Spacegate.mesh" yaw="90"/>
971            </attached>
972        </PortalEndPoint>
973    </Template>
974
975    <PortalEndPoint position="-3000,12000,-6990" id="1" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0"/>
976    <PortalEndPoint position="-47000,-30000,30000" id="2" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0" pitch = "180"/>
977    <PortalLink fromID="1" toID="2" />
978
979
980                            <!-- Portal END-->
981
982
983    <!-- The Cave-->
984<!-- verhaeltniss Cube.mesh <-> Crate.mesh 1:5 -->
985
986                    <!-- Enemies-->
987<Turret position="-43700,-30000,30000" pitch="0" yaw="90" roll="90">
988    <templates>
989        <Template link=spaceshipturret />
990    </templates>
991    <controller>
992        <WaypointPatrolController alertnessradius=700 team=3>
993        </WaypointPatrolController>
994     </controller>
995</Turret>
996
997<Turret position="-43700,-30000,33600" pitch="0" yaw="0" roll="0">
998    <templates>
999        <Template link=spaceshipturret />
1000    </templates>
1001    <controller>
1002        <WaypointPatrolController alertnessradius=3000 team=3>
1003        </WaypointPatrolController>
1004     </controller>
1005</Turret>
1006
1007<Turret position="-43720,-30000,31000" pitch="0" yaw="0" roll="0">
1008    <templates>
1009        <Template link=spaceshipturret />
1010    </templates>
1011    <controller>
1012        <WaypointPatrolController alertnessradius=3000 team=3>
1013        </WaypointPatrolController>
1014     </controller>
1015</Turret>
1016
1017<Turret position="-43700,-29980,32100" pitch="0" yaw="0" roll="0">
1018    <templates>
1019        <Template link=spaceshipturret />
1020    </templates>
1021    <controller>
1022        <WaypointPatrolController alertnessradius=3000 team=3>
1023        </WaypointPatrolController>
1024     </controller>
1025</Turret>
1026
1027
1028 <DistanceTrigger name="Reachedtheend" position="-43700,-29980,33000" target="SpaceShip" distance=300 stayActive="true" delay=0 />
1029
1030 <SpaceShip position="-42000,-30000,33800" lookat="-1,0,0" name="attacker" radarname="Enemy1" visible="true">
1031                            <events>
1032                                <visibility>
1033                                    <EventListener event="Reachedtheend" />
1034                                </visibility>
1035                            </events>
1036                    <templates>
1037                      <Template link=spaceshippirate />
1038                    </templates>
1039                    <controller>
1040                      <WaypointPatrolController alertnessradius=1500  team=3 active=false>
1041                         <waypoints>
1042                        <Model mesh="cube.mesh" scale=0 position="-41200,-30000,33800"/>
1043                       </waypoints>
1044                       <events>
1045                         <activity>
1046                              <EventListener event="Reachedtheend" />
1047                         </activity>
1048                       </events>
1049                    </WaypointPatrolController>
1050                  </controller>
1051                </SpaceShip>
1052 <SpaceShip position="-42200,-30000,33800" lookat="-1,0,0" name="attacker" radarname="Enemy2" visible="true">
1053                            <events>
1054                                <visibility>
1055                                    <EventListener event="Reachedtheend" />
1056                                </visibility>
1057                            </events>
1058                    <templates>
1059                      <Template link=spaceshippirate />
1060                    </templates>
1061                    <controller>
1062                      <WaypointPatrolController alertnessradius=1500  team=3 active=false>
1063                         <waypoints>
1064                        <Model mesh="cube.mesh" scale=0 position="-41600,-30000,33800"/>
1065                       </waypoints>
1066                       <events>
1067                         <activity>
1068                              <EventListener event="Reachedtheend" />
1069                         </activity>
1070                       </events>
1071                    </WaypointPatrolController>
1072                  </controller>
1073                </SpaceShip>
1074 <SpaceShip position="-42400,-30000,33800" lookat="-1,0,0" name="attacker" radarname="Sanchez" visible="true">
1075                            <events>
1076                                <visibility>
1077                                    <EventListener event="Reachedtheend" />
1078                                </visibility>
1079                            </events>
1080                    <templates>
1081                      <Template link=spaceshippirate />
1082                    </templates>
1083                    <controller>
1084                      <WaypointPatrolController alertnessradius=1500  team=3 active=false>
1085                         <waypoints>
1086                        <Model mesh="cube.mesh" scale=0 position="-41400,-30000,33800"/>
1087                       </waypoints>
1088                       <events>
1089                         <activity>
1090                              <EventListener event="Reachedtheend" />
1091                         </activity>
1092                       </events>
1093                    </WaypointPatrolController>
1094                  </controller>
1095                </SpaceShip>
1096
1097<!-- Enemies END-->
1098
1099
1100<!-- 15 Boxes forward-->
1101 <?lua
1102    max = 15
1103    for i = 0, max, 1
1104    do
1105    y=(i*200)-47200
1106
1107    ?>
1108
1109    <?lua
1110    for j = 0, 2, 1
1111    do
1112    z =30200-(j*200)
1113    ?>   
1114   
1115    <?lua
1116    for k = 0, 1, 1
1117    do
1118    x =-30200+(k*400)
1119    ?>
1120
1121
1122
1123
1124  <StaticEntity position="<?lua print(y) ?>,<?lua print(x) ?>,<?lua print(z) ?>" direction="0,0,0" collisionType=static mass=100000 friction=0.01 >
1125     <attached>
1126        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20"  />
1127      </attached>
1128      <collisionShapes>
1129        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
1130
1131      </collisionShapes>
1132</StaticEntity>
1133
1134
1135    <?lua end ?>
1136    <?lua end ?>
1137    <?lua end ?>
1138
1139 <?lua
1140    max = 15
1141    for i = 0, max, 1
1142    do
1143    y=(i*200)-47200
1144
1145    ?>
1146    <?lua
1147    for j = 0, 1, 1
1148    do
1149    z =30200-(j*400)
1150    ?>   
1151  <StaticEntity position="<?lua print(y) ?>,-30000,<?lua print(z) ?>" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
1152     <attached>
1153        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
1154      </attached>
1155      <collisionShapes>
1156        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
1157
1158      </collisionShapes>
1159</StaticEntity>
1160    <?lua end ?>
1161    <?lua end ?>
1162
1163  <StaticEntity position="-47200,-30000,30000" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
1164     <attached>
1165        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
1166      </attached>
1167      <collisionShapes>
1168        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
1169
1170      </collisionShapes>
1171</StaticEntity>
1172
1173                    <!-- 15 Boxes forward END -->
1174                    <!-- 18 Boxes right-->
1175
1176 <?lua
1177    max = 18
1178    for i = 0, max, 1
1179    do
1180    z=29800+(i*200)
1181
1182    ?>
1183
1184    <?lua
1185    for j = 0, 2, 1
1186    do
1187    y = (j*200)-44000
1188    ?>   
1189   
1190    <?lua
1191    for k = 0, 1, 1
1192    do
1193    x =-30200+(k*400)
1194    ?>
1195
1196
1197
1198
1199  <StaticEntity position="<?lua print(y) ?>,<?lua print(x) ?>,<?lua print(z) ?>" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
1200     <attached>
1201        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
1202      </attached>
1203      <collisionShapes>
1204        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
1205
1206      </collisionShapes>
1207</StaticEntity>
1208
1209
1210    <?lua end ?>
1211    <?lua end ?>
1212    <?lua end ?>
1213
1214 <?lua
1215    max = 16
1216    for i = 0, max, 1
1217    do
1218    z = 30200+(i*200)
1219
1220    ?>
1221    <?lua
1222    for j = 0, 1, 1
1223    do
1224     y = (j*400)-44000
1225    ?>   
1226  <StaticEntity position="<?lua print(y) ?>,-30000,<?lua print(z) ?>" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
1227     <attached>
1228        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
1229      </attached>
1230      <collisionShapes>
1231        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
1232
1233      </collisionShapes>
1234</StaticEntity>
1235    <?lua end ?>
1236    <?lua end ?>
1237
1238  <StaticEntity position="-43600,-30000,30000" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
1239     <attached>
1240        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
1241      </attached>
1242      <collisionShapes>
1243        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
1244
1245      </collisionShapes>
1246</StaticEntity>
1247
1248 <?lua
1249    for i = 0, 2, 1
1250    do
1251    y = -44000+(i*200)
1252
1253    ?>
1254  <StaticEntity position="<?lua print(y) ?>,-30000,29800" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
1255     <attached>
1256        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
1257      </attached>
1258      <collisionShapes>
1259        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
1260
1261      </collisionShapes>
1262</StaticEntity>
1263
1264    <?lua end ?>
1265
1266    <!-- 18 Boxes right END-->
1267    <!-- 17 Boxes forward-->
1268 <?lua
1269    max = 17
1270    for i = 0, max, 1
1271    do
1272    y=(i*200)-44000
1273
1274    ?>
1275
1276    <?lua
1277    for j = 0, 2, 1
1278    do
1279    z =34000 - (j*200)
1280    ?>   
1281   
1282    <?lua
1283    for k = 0, 1, 1
1284    do
1285    x =-30200+(k*400)
1286    ?>
1287
1288
1289
1290
1291  <StaticEntity position="<?lua print(y) ?>,<?lua print(x) ?>,<?lua print(z) ?>" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
1292     <attached>
1293        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
1294      </attached>
1295      <collisionShapes>
1296        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
1297
1298      </collisionShapes>
1299</StaticEntity>
1300
1301
1302    <?lua end ?>
1303    <?lua end ?>
1304    <?lua end ?>
1305
1306 <?lua
1307    max = 15
1308    for i = 0, max, 1
1309    do
1310    y=(i*200)-43600
1311
1312    ?>
1313
1314    <?lua
1315    for j = 0, 0, 1
1316    do
1317    z =34000 - (i*5.5)
1318    ?>
1319
1320  <StaticEntity position="<?lua print(y) ?>,-30000,<?lua print(z) ?>" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
1321     <attached>
1322        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
1323      </attached>
1324      <collisionShapes>
1325        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
1326
1327      </collisionShapes>
1328</StaticEntity>
1329
1330    <?lua end ?>
1331    <?lua end ?>
1332 <?lua
1333    max = 15
1334    for i = 0, max, 1
1335    do
1336    y=(i*200)-43600
1337
1338    ?>
1339
1340    <?lua
1341    for j = 0, 0, 1
1342    do
1343    z =33600 + (i*5.5)
1344    ?>
1345
1346  <StaticEntity position="<?lua print(y) ?>,-30000,<?lua print(z) ?>" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
1347     <attached>
1348        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
1349      </attached>
1350      <collisionShapes>
1351        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
1352
1353      </collisionShapes>
1354</StaticEntity>
1355    <?lua end ?>
1356    <?lua end ?>
1357
1358
1359 <?lua
1360    for i = 0, 1, 1
1361    do
1362    y = -44000+(i*200)
1363
1364    ?>
1365  <StaticEntity position="<?lua print(y) ?>,-30000,34000" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
1366     <attached>
1367        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
1368      </attached>
1369      <collisionShapes>
1370        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
1371
1372      </collisionShapes>
1373</StaticEntity>
1374
1375    <?lua end ?>
1376
1377  <StaticEntity position="-44000,-30000,33800" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
1378     <attached>
1379        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
1380      </attached>
1381      <collisionShapes>
1382        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
1383
1384      </collisionShapes>
1385</StaticEntity>
1386
1387  <StaticEntity position="-44000,-30000,33600" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
1388     <attached>
1389        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
1390      </attached>
1391      <collisionShapes>
1392        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
1393
1394      </collisionShapes>
1395</StaticEntity>
1396<!-- 17 Boxes forward END-->
1397    <Billboard position="-41000,-30000,33800" material="Flares/backlightflare" colour="0,1.4,2.1" scale=15 />
1398
1399  <StaticEntity position="-40400,-30000,33800" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
1400     <attached>
1401        <Model position="0,0,0" mesh="cube_green.mesh" scale3D="100,100,100" />
1402      </attached>
1403      <collisionShapes>
1404        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
1405      </collisionShapes>
1406</StaticEntity>
1407
1408<!-- FORCEFIELD -->
1409<ForceField position="-47000,-30000,30000" direction="1,0,0" diameter=2000 velocity=2000 length=2000 />
1410
1411
1412<!-- The Cave END-->
1413
1414<!-- Planet around the cave-->
1415
1416  </Scene>
1417</Level>
1418
1419
1420
Note: See TracBrowser for help on using the repository browser.