Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/cegui0.8_ogre1.9/data/levels/iiiJohnVane_EscapeTheBastards.oxw @ 12149

Last change on this file since 12149 was 11802, checked in by landauf, 7 years ago

migrated NotificationLayer.lua to cegui 0.8

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