Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentationHS13/data/levels/iiiJohnVane_EscapeTheBastards.oxw @ 10145

Last change on this file since 10145 was 9928, checked in by jo, 11 years ago

New levels added.

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