Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/archive/Boss_FS17/data/levels/FinalBossFS17.oxw @ 11573

Last change on this file since 11573 was 11424, checked in by nyogaraj, 8 years ago

i finished the project without ever making any commits

File size: 35.1 KB
Line 
1<LevelInfo
2 name = "Kleshtrimania"
3 description = "Final Boss"
4 tags = "test"
5 screenshot = "frozen1.jpeg"
6/>
7
8<?lua
9  include("stats.oxo")
10  include("HUDTemplates3.oxo")
11  include("templates/lodInformation.oxt")
12  include("templates/HeavyCruiser.oxt")
13   include("templates/pickupRepresentationTemplates.oxt")
14?>
15
16<?lua
17  include("templates/Bossspawnship.oxt")
18  include("templates/Bossship.oxt")
19
20  include("templates/spaceshipEscort.oxt")
21  include("templates/endurancetest_template.oxt")
22  include("templates/spaceshipAssff.oxt")
23  include("templates/fastship.oxt")
24
25  ?>
26
27<Level
28        gametype = "Mission"
29>
30  <templates>
31    <Template link=lodtemplate_default />
32  </templates>
33  <?lua include("includes/notifications.oxi") ?>
34
35  <Scene
36    ambientlight = "0.8, 0.8, 0.8"
37    skybox       = "Orxonox/Starbox"
38  >
39
40  <?lua
41      include("includes/pickups.oxi")
42    ?>
43
44    <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"/>
45
46    <SpawnPoint team=0 position="-200,0,0" lookat="1,1,1" spawnclass=SpaceShip pawndesign=spaceshipsputim />
47
48
49
50
51
52
53<?lua
54      for i = 1, 250, 1
55      do
56      j = math.random()
57    ?>
58
59    <MovableEntity
60      position = "<?lua print(math.random()* 15000 - 1000) ?>,<?lua print(math.random() * 12000 - 4000) ?>,<?lua print(math.random() * 12000 - 4000) ?>"
61      collisionType = dynamic
62      linearDamping = 0.8
63      angularDamping = 0
64      scale = "<?lua print(j * 150)?>"
65      collisiondamage = 1
66      enablecollisiondamage = true
67    >
68      <attached>
69        <Model mass="<?lua print(j * 1000) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />
70      </attached>
71      <collisionShapes>
72        <SphereCollisionShape radius="<?lua print(j * 350) ?>" />
73      </collisionShapes>
74    </MovableEntity>
75
76    <?lua
77      end
78    ?>
79
80
81
82
83<Spawnpoint team= 1 position="0,10,10" lookat="0,1,0" spawnclass=SpaceShip pawndesign=fastship >
84      <controller>
85        <WaypointPatrolController alertnessradius=100 attackradius=90 />
86      </controller>
87    </Spawnpoint>
88
89    <SpaceShip position="0,10,10" velocity="50,50,50" team= 1>
90      <templates>
91        <Template link=fastship />
92      </templates>
93      <controller>
94        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=1>
95          <waypoints>
96
97                <?lua
98                size = 1200
99      for i = 1, 50, 1
100      do
101    ?>
102            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
103            <?lua
104      end
105    ?>
106           
107          </waypoints>
108        </WaypointPatrolController>
109      </controller>
110    </SpaceShip>
111
112
113
114
115
116
117
118
119
120
121
122
123
124    <SpaceShip position="0, 0, 100" lookat="0,0,0" team=0  name="d2sd1">
125      <templates>
126        <Template link=spaceshipassff />
127      </templates>
128      <controller>
129        <DivisionController team=0 formationMode="DIAMOND" />
130        <WaypointPatrolController alertnessradius=1000 attackradius=900 />
131      </controller>
132    </SpaceShip>
133
134     <SpaceShip position="-400, 150, -100" lookat="0,0,0" team=0 name="d1sd1">
135      <templates>
136        <Template link=spaceshipassff />
137      </templates>
138      <controller>
139        <DivisionController team=0 formationMode="WALL">
140                <SectionController team=0>
141        </SectionController>
142
143        </DivisionController>
144      </controller>
145    </SpaceShip>
146    <SpaceShip position="-400, 190, -100" lookat="0,0,0" team=0 name="d1ss1">
147      <templates>
148        <Template link=spaceshipassff />
149      </templates>
150      <controller>
151        <SectionController team=0>
152        </SectionController>
153      </controller>
154    </SpaceShip>
155
156 <!-- TRIGGERS -->
157    <DistanceTrigger name="FormationInit" position="800,700,600"  target="Pawn" distance=60 stayActive="true" delay=0.1 />
158    <DistanceTrigger name="LetsGo"        position="200,-200,1000" target="Pawn" distance=180 stayActive="true" delay=0.1 />
159    <BlinkingBillboard colour="1,1,0.05" position="200,-200,1000" frequency=0.6 amplitude=3 material="Flares/lensflare" />
160
161    <Script code="formationcontroller formationflight true" onLoad="false">
162        <events>
163            <trigger>
164                <EventListener event=FormationInit />
165            </trigger>
166        </events>
167    </Script> <!-- !!! activates formation behaviour !!! -->
168
169    <Script code="artificialcontroller setbotlevel 5" onLoad="false">
170        <events>
171            <trigger>
172                <EventListener event=FormationInit />
173            </trigger>
174        </events>
175    </Script>
176
177    <SimpleNotification message="Let's go!">
178        <events>
179            <trigger>
180                <EventListener event="LetsGo" />
181            </trigger>
182        </events>
183    </SimpleNotification>
184
185
186
187
188<!-- ADDING FORMATION: 2 Swallows -->
189<?lua for i=0,1,1 do
190?>
191    <SpaceShip position="<?lua print(400+i*200) ?>,-200,1000" lookat="-1300,-600,900" visible="true">
192        <templates>
193            <Template link=spaceshipassff /> <!--spaceshipTransporter spaceshippirate-->
194        </templates>
195        <controller>
196            <AIController team=0>
197                <events>
198                    <activity>
199                        <EventListener event="LetsGo" />
200                     </activity>
201                </events>
202            </AIController>
203        </controller>
204    </SpaceShip>
205<?lua end ?>
206
207   
208
209    <ModularSpaceShip velocity= "20,0,0" position="0,0,200" lookat= "0,0,0" scale3D="1,1,1" health = 2000 initialhealth = 1000 maxhealth = 1000  Team= 1>
210      <templates>
211        <Template link= bossship />
212      </templates>
213      <controller>
214        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=1>
215          <waypoints>
216            <Model mesh="sphere.mesh" scale=4 position="300,100,100" />
217            <Model mesh="sphere.mesh" scale=4 position="500,-200,-300" />
218            <Model mesh="sphere.mesh" scale=4 position="-700,-300,-300" />
219          </waypoints>
220        </WaypointPatrolController>
221      </controller>
222    </ModularSpaceShip>
223
224
225
226
227    <Pawn team=1 health=30 velocity="0,0,0" shieldhealth=130 initialshieldhealth=130 maxshieldhealth=150 shieldabsorption=0.95 position="0,300,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=sat>
228    <attached>
229        <Model position="5,5,5" mesh="satellite.mesh" scale3D="3,3,3" />
230        <PickupSpawner pickup=smallshieldpickup position="50,5,5" triggerDistance="10" maxSpawnedItems="1">
231                        <events>
232                    <activity>
233                        <EventListener event="sattrigger" />
234                    </activity>
235                    <visibility>
236                            <EventListener event="sattrigger" />
237                    </visibility>
238
239                </events>
240                </PickupSpawner>
241    </attached>
242    <collisionShapes>
243        <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
244    </collisionShapes>
245
246
247
248   
249        </Pawn>
250
251        <EventTrigger name="sattrigger" activations="1" stayactive="true" delay=0.1>
252            <events>
253              <trigger>
254                <EventListener event="sat" />
255              </trigger>
256            </events>
257    </EventTrigger>
258
259        <PickupSpawner pickup=mediumboostpickup position="-50,305,5" triggerDistance="10" maxSpawnedItems="1">
260                        <events>
261                    <activity>
262                        <EventListener event="sattrigger" />
263                    </activity>
264                    <visibility>
265                            <EventListener event="sattrigger" />
266                    </visibility>
267
268                </events>
269                </PickupSpawner>
270
271
272<Pawn team=1 health=30 velocity="0,0,0" shieldhealth=130 initialshieldhealth=130 maxshieldhealth=150 shieldabsorption=0.95 position="0,0,100" direction="0,-1,0" collisionType=dynamic mass=100000 name=sat>
273    <attached>
274        <Model position="5,5,5" mesh="satellite.mesh" scale3D="3,3,3" />
275        <PickupSpawner pickup=smallshieldpickup position="50,5,5" triggerDistance="10" maxSpawnedItems="1">
276                        <events>
277                    <activity>
278                        <EventListener event="sattrigger4" />
279                    </activity>
280                    <visibility>
281                            <EventListener event="sattrigger4" />
282                    </visibility>
283
284                </events>
285                </PickupSpawner>
286    </attached>
287    <collisionShapes>
288        <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
289    </collisionShapes>
290
291
292
293   
294        </Pawn>
295
296        <EventTrigger name="sattrigger4" activations="1" stayactive="true" delay=0.1>
297            <events>
298              <trigger>
299                <EventListener event="sat" />
300              </trigger>
301            </events>
302    </EventTrigger>
303
304        <PickupSpawner pickup=mediumboostpickup position="-50,305,5" triggerDistance="10" maxSpawnedItems="1">
305                        <events>
306                    <activity>
307                        <EventListener event="sattrigger4" />
308                    </activity>
309                    <visibility>
310                            <EventListener event="sattrigger4" />
311                    </visibility>
312
313                </events>
314                </PickupSpawner>
315
316
317
318
319                <Pawn team=1 health=30 velocity="0,0,0" shieldhealth=130 initialshieldhealth=130 maxshieldhealth=150 shieldabsorption=0.95 position="0,300,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=sat>
320    <attached>
321        <Model position="2,2,2" mesh="satellite.mesh" scale3D="3,3,3" />
322        <PickupSpawner pickup=smallshieldpickup position="50,5,5" triggerDistance="10" maxSpawnedItems="1">
323                        <events>
324                    <activity>
325                        <EventListener event="sattrigger2" />
326                    </activity>
327                    <visibility>
328                            <EventListener event="sattrigger2" />
329                    </visibility>
330
331                </events>
332                </PickupSpawner>
333    </attached>
334    <collisionShapes>
335        <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
336    </collisionShapes>
337
338
339
340   
341        </Pawn>
342
343        <EventTrigger name="sattrigger2" activations="1" stayactive="true" delay=0.1>
344            <events>
345              <trigger>
346                <EventListener event="sat" />
347              </trigger>
348            </events>
349    </EventTrigger>
350
351        <PickupSpawner pickup=mediumboostpickup position="-50,305,5" triggerDistance="10" maxSpawnedItems="1">
352                        <events>
353                    <activity>
354                        <EventListener event="sattrigger2" />
355                    </activity>
356                    <visibility>
357                            <EventListener event="sattrigger2" />
358                    </visibility>
359
360                </events>
361                </PickupSpawner>
362
363                <Pawn team=1 health=30 velocity="0,0,0" shieldhealth=130 initialshieldhealth=130 maxshieldhealth=150 shieldabsorption=0.95 position="0,100,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=sat>
364    <attached>
365        <Model position="5,5,5" mesh="satellite.mesh" scale3D="3,3,3" />
366        <PickupSpawner pickup=smallshieldpickup position="50,5,5" triggerDistance="10" maxSpawnedItems="1">
367                        <events>
368                    <activity>
369                        <EventListener event="sattrigger3" />
370                    </activity>
371                    <visibility>
372                            <EventListener event="sattrigger3" />
373                    </visibility>
374
375                </events>
376                </PickupSpawner>
377    </attached>
378    <collisionShapes>
379        <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
380    </collisionShapes>
381
382
383
384   
385        </Pawn>
386
387        <EventTrigger name="sattrigger3" activations="1" stayactive="true" delay=0.1>
388            <events>
389              <trigger>
390                <EventListener event="sat" />
391              </trigger>
392            </events>
393    </EventTrigger>
394
395        <PickupSpawner pickup=mediumboostpickup position="-50,305,5" triggerDistance="10" maxSpawnedItems="1">
396                        <events>
397                    <activity>
398                        <EventListener event="sattrigger3" />
399                    </activity>
400                    <visibility>
401                            <EventListener event="sattrigger3" />
402                    </visibility>
403
404                </events>
405                </PickupSpawner>
406
407<!--
408<MovableEntity position="-50,-50,-50" rotationrate="45" rotationaxis="0,0,1">
409    <attached>
410        <Model position="-50,-50,-50" mesh="IceStar.mesh" scale3D="100,100,100" />
411        <MovableEntity position="-50,-50,-50" rotationrate="180" rotationaxis="0,1,0">
412            <attached>
413                <Model position="-50,-50,-50" mesh="sphere.mesh" scale3D="1,1,10" />
414            </attached>
415        </MovableEntity>
416    </attached>
417</MovableEntity>-->
418
419
420
421<Spawnpoint team= 1 position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" lookat="0,1,0" spawnclass=SpaceShip pawndesign=fastship >
422      <controller>
423        <WaypointPatrolController alertnessradius=100 attackradius=90 />
424      </controller>
425    </Spawnpoint>
426
427    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1 health=200>
428      <templates>
429        <Template link=fastship />
430      </templates>
431      <controller>
432        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=1>
433          <waypoints>
434            <?lua
435                size = 1200
436      for i = 1, 50, 1
437      do
438    ?>
439
440
441 <MovableEntity rotationrate="45" rotationaxis="0,0,1">
442    <attached>
443            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
444</attached>
445 </MovableEntity>
446            <?lua
447      end
448    ?>
449          </waypoints>
450        </WaypointPatrolController>
451      </controller>
452    </SpaceShip>
453
454
455<Spawnpoint team= 1 position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" lookat="0,1,0" spawnclass=SpaceShip pawndesign=fastship health=200 >
456      <controller>
457        <WaypointPatrolController alertnessradius=100 attackradius=90 />
458      </controller>
459    </Spawnpoint>
460
461    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1 health=200>
462      <templates>
463        <Template link=fastship />
464      </templates>
465      <controller>
466        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=1>
467          <waypoints>
468            <?lua
469                size = 1200
470      for i = 1, 50, 1
471      do
472    ?>
473             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
474    <attached>
475            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
476</attached>
477 </MovableEntity>
478            <?lua
479      end
480    ?>
481          </waypoints>
482        </WaypointPatrolController>
483      </controller>
484    </SpaceShip>
485
486<Spawnpoint team= 1 position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" lookat="0,1,0" spawnclass=SpaceShip pawndesign=fastship >
487      <controller>
488        <WaypointPatrolController alertnessradius=100 attackradius=90 />
489      </controller>
490    </Spawnpoint>
491
492    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1 health=200>
493      <templates>
494        <Template link=fastship />
495      </templates>
496      <controller>
497        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=1>
498          <waypoints>
499            <?lua
500                size = 1200
501      for i = 1, 50, 1
502      do
503    ?>
504             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
505    <attached>
506            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
507</attached>
508 </MovableEntity>
509            <?lua
510      end
511    ?>
512          </waypoints>
513        </WaypointPatrolController>
514      </controller>
515    </SpaceShip>
516
517
518    <Spawnpoint team= 1 position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" lookat="0,1,0" spawnclass=SpaceShip pawndesign=fastship >
519      <controller>
520        <WaypointPatrolController alertnessradius=100 attackradius=90 />
521      </controller>
522    </Spawnpoint>
523
524    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1>
525      <templates>
526        <Template link=fastship />
527      </templates>
528      <controller>
529        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=0>
530          <waypoints>
531           <?lua
532                size = 1200
533      for i = 1, 50, 1
534      do
535    ?>
536            <MovableEntity rotationrate="45" rotationaxis="0,0,1">
537    <attached>
538            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
539</attached>
540 </MovableEntity>
541            <?lua
542      end
543    ?>
544          </waypoints>
545        </WaypointPatrolController>
546      </controller>
547    </SpaceShip>
548
549    <Spawnpoint team= 1 position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" lookat="0,1,0" spawnclass=SpaceShip pawndesign=fastship >
550      <controller>
551        <WaypointPatrolController alertnessradius=100 attackradius=90 />
552      </controller>
553    </Spawnpoint>
554
555    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1>
556      <templates>
557        <Template link=fastship />
558      </templates>
559      <controller>
560        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=0>
561          <waypoints>
562            <?lua
563                size = 1200
564      for i = 1, 50, 1
565      do
566    ?>
567             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
568    <attached>
569            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
570</attached>
571 </MovableEntity>
572            <?lua
573      end
574    ?>
575          </waypoints>
576        </WaypointPatrolController>
577      </controller>
578    </SpaceShip>
579
580
581    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 0>
582      <templates>
583        <Template link=fastship />
584      </templates>
585      <controller>
586        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=0>
587          <waypoints>
588            <?lua
589                size = 1200
590      for i = 1, 50, 1
591      do
592    ?>
593             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
594    <attached>
595            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
596</attached>
597 </MovableEntity>
598            <?lua
599      end
600    ?>
601          </waypoints>
602        </WaypointPatrolController>
603      </controller>
604    </SpaceShip>
605
606    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1>
607      <templates>
608        <Template link=fastship />
609      </templates>
610      <controller>
611        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=0>
612          <waypoints>
613            <?lua
614                size = 1200
615      for i = 1, 50, 1
616      do
617    ?>
618             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
619    <attached>
620            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
621</attached>
622 </MovableEntity>
623            <?lua
624      end
625    ?>
626          </waypoints>
627        </WaypointPatrolController>
628      </controller>
629    </SpaceShip>
630
631    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 0>
632      <templates>
633        <Template link=fastship />
634      </templates>
635      <controller>
636        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=0>
637          <waypoints>
638            <?lua
639                size = 1200
640      for i = 1, 50, 1
641      do
642    ?>
643             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
644    <attached>
645            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
646</attached>
647 </MovableEntity>
648            <?lua
649      end
650    ?>
651          </waypoints>
652        </WaypointPatrolController>
653      </controller>
654    </SpaceShip>
655
656    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1>
657      <templates>
658        <Template link=fastship />
659      </templates>
660      <controller>
661        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=0>
662          <waypoints>
663            <?lua
664                size = 1200
665      for i = 1, 50, 1
666      do
667    ?>
668             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
669    <attached>
670            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
671</attached>
672 </MovableEntity>
673            <?lua
674      end
675    ?>
676          </waypoints>
677        </WaypointPatrolController>
678      </controller>
679    </SpaceShip>
680
681    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 0>
682      <templates>
683        <Template link=fastship />
684      </templates>
685      <controller>
686        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=0>
687          <waypoints>
688            <?lua
689                size = 1200
690      for i = 1, 50, 1
691      do
692    ?>
693             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
694    <attached>
695            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
696</attached>
697 </MovableEntity>
698            <?lua
699      end
700    ?>
701          </waypoints>
702        </WaypointPatrolController>
703      </controller>
704    </SpaceShip>
705
706
707    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1>
708      <templates>
709        <Template link=fastship />
710      </templates>
711      <controller>
712        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=0>
713          <waypoints>
714            <?lua
715                size = 1200
716      for i = 1, 50, 1
717      do
718    ?>
719             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
720    <attached>
721            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
722</attached>
723 </MovableEntity>
724            <?lua
725      end
726    ?>
727          </waypoints>
728        </WaypointPatrolController>
729      </controller>
730    </SpaceShip>
731
732    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 0>
733      <templates>
734        <Template link=fastship />
735      </templates>
736      <controller>
737        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=0>
738          <waypoints>
739            <?lua
740                size = 1200
741      for i = 1, 50, 1
742      do
743    ?>
744             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
745    <attached>
746            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
747</attached>
748 </MovableEntity>
749            <?lua
750      end
751    ?>
752          </waypoints>
753        </WaypointPatrolController>
754      </controller>
755    </SpaceShip>
756
757    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1>
758      <templates>
759        <Template link=fastship />
760      </templates>
761      <controller>
762        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=0>
763          <waypoints>
764            <?lua
765                size = 1200
766      for i = 1, 50, 1
767      do
768    ?>
769             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
770    <attached>
771            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
772</attached>
773 </MovableEntity>
774            <?lua
775      end
776    ?>
777          </waypoints>
778        </WaypointPatrolController>
779      </controller>
780    </SpaceShip>
781
782    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 0>
783      <templates>
784        <Template link=fastship />
785      </templates>
786      <controller>
787        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=0>
788          <waypoints>
789            <?lua
790                size = 1200
791      for i = 1, 50, 1
792      do
793    ?>
794             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
795    <attached>
796            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
797</attached>
798 </MovableEntity>
799            <?lua
800      end
801    ?>
802          </waypoints>
803        </WaypointPatrolController>
804      </controller>
805    </SpaceShip>
806
807    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1>
808      <templates>
809        <Template link=fastship />
810      </templates>
811      <controller>
812        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=0>
813          <waypoints>
814            <?lua
815                size = 1200
816      for i = 1, 50, 1
817      do
818    ?>
819             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
820    <attached>
821            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
822</attached>
823 </MovableEntity>
824            <?lua
825      end
826    ?>
827          </waypoints>
828        </WaypointPatrolController>
829      </controller>
830    </SpaceShip>
831
832    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 0>
833      <templates>
834        <Template link=fastship />
835      </templates>
836      <controller>
837        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=0>
838          <waypoints>
839            <?lua
840                size = 1200
841      for i = 1, 50, 1
842      do
843    ?>
844             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
845    <attached>
846            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
847</attached>
848 </MovableEntity>
849            <?lua
850      end
851    ?>
852          </waypoints>
853        </WaypointPatrolController>
854      </controller>
855    </SpaceShip>
856    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1>
857      <templates>
858        <Template link=fastship />
859      </templates>
860      <controller>
861        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=1>
862          <waypoints>
863            <?lua
864                size = 1200
865      for i = 1, 50, 1
866      do
867    ?>
868             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
869    <attached>
870            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
871</attached>
872 </MovableEntity>
873            <?lua
874      end
875    ?>
876          </waypoints>
877        </WaypointPatrolController>
878      </controller>
879    </SpaceShip>
880
881    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1>
882      <templates>
883        <Template link=fastship />
884      </templates>
885      <controller>
886        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=1>
887          <waypoints>
888            <?lua
889                size = 1200
890      for i = 1, 50, 1
891      do
892    ?>
893             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
894    <attached>
895            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
896</attached>
897 </MovableEntity>
898            <?lua
899      end
900    ?>
901          </waypoints>
902        </WaypointPatrolController>
903      </controller>
904    </SpaceShip>
905
906<SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1>
907      <templates>
908        <Template link=fastship />
909      </templates>
910      <controller>
911        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=1>
912          <waypoints>
913            <?lua
914                size = 1200
915      for i = 1, 50, 1
916      do
917    ?>
918             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
919    <attached>
920            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
921</attached>
922 </MovableEntity>
923            <?lua
924      end
925    ?>
926          </waypoints>
927        </WaypointPatrolController>
928      </controller>
929    </SpaceShip>
930
931    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1>
932      <templates>
933        <Template link=fastship />
934      </templates>
935      <controller>
936        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=1>
937          <waypoints>
938            <?lua
939                size = 1200
940      for i = 1, 50, 1
941      do
942    ?>
943             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
944    <attached>
945            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
946</attached>
947 </MovableEntity>
948            <?lua
949      end
950    ?>
951          </waypoints>
952        </WaypointPatrolController>
953      </controller>
954    </SpaceShip>
955
956    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1>
957      <templates>
958        <Template link=fastship />
959      </templates>
960      <controller>
961        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=1>
962          <waypoints>
963            <?lua
964                size = 1200
965      for i = 1, 50, 1
966      do
967    ?>
968             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
969    <attached>
970            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
971</attached>
972 </MovableEntity>
973            <?lua
974      end
975    ?>
976          </waypoints>
977        </WaypointPatrolController>
978      </controller>
979    </SpaceShip>
980
981    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1>
982      <templates>
983        <Template link=fastship />
984      </templates>
985      <controller>
986        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=1>
987          <waypoints>
988            <?lua
989                size = 1200
990      for i = 1, 50, 1
991      do
992    ?>
993             <MovableEntity rotationrate="45" rotationaxis="0,0,1">
994    <attached>
995            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
996</attached>
997 </MovableEntity>
998            <?lua
999      end
1000    ?>
1001          </waypoints>
1002        </WaypointPatrolController>
1003      </controller>
1004    </SpaceShip>
1005
1006
1007    <SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1>
1008      <templates>
1009        <Template link=fastship />
1010      </templates>
1011      <controller>
1012        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=1>
1013          <waypoints>
1014            <?lua
1015                size = 1200
1016      for i = 1, 50, 1
1017      do
1018    ?>
1019             <StaticEntity >
1020    <attached>
1021            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
1022</attached>
1023 </StaticEntity>
1024            <?lua
1025      end
1026    ?>
1027          </waypoints>
1028        </WaypointPatrolController>
1029      </controller>
1030    </SpaceShip>
1031
1032<SpaceShip position="<?lua print(math.random()* 1500 - 1000) ?>,<?lua print(math.random() * 1200 - 400) ?>,<?lua print(math.random() * 1200 - 400) ?>" velocity="50,50,50" team= 1>
1033      <templates>
1034        <Template link=fastship />
1035      </templates>
1036      <controller>
1037        <WaypointPatrolController alertnessradius=200 attackradius=150 Team=1>
1038          <waypoints>
1039            <?lua
1040                size = 1200
1041      for i = 1, 50, 1
1042      do
1043    ?>
1044             <StaticEntity >
1045    <attached>
1046            <Model  mesh="IceStar.mesh" scale=4 position= "<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>,<?lua print(math.random() * size - size / 2) ?>"/>
1047</attached>
1048 </StaticEntity>
1049            <?lua
1050      end
1051    ?>
1052          </waypoints>
1053        </WaypointPatrolController>
1054      </controller>
1055    </SpaceShip>
1056
1057    <MovableEntity rotationrate="45" rotationaxis="0,0,1">
1058        <attached>
1059                <Model mesh="Spacegate.mesh" scale=5 position="0,100, 1000"/>
1060        </attached>
1061    </MovableEntity>
1062
1063
1064
1065  </Scene>
1066</Level>
Note: See TracBrowser for help on using the repository browser.