Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/formationFS15/data/levels/iiiJohnVane_EscapeTheBastards.oxw @ 10320

Last change on this file since 10320 was 9992, checked in by jo, 11 years ago

The end of Area51UnderFire is ok. Unfortunately the explosion could not be timed at all, so it was commented out.

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