Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/levelElias/data/levels/EscapeTheBastards.oxw @ 10003

Last change on this file since 10003 was 9887, checked in by lumperte, 11 years ago

Escape the Bastards: Questions: Collision Damage at 'Staticentity', 'Particleemitter' size for sun? ToDo: Better Design of Blueplanet, Boxes, Asteroidbelts. no lags, Sunparticles

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