Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/SpaceRace_HS16/data/levels/newnewnewspacerace.oxw @ 11281

Last change on this file since 11281 was 11281, checked in by bberabi, 7 years ago

bots addiert checkpoint problem gelost

File size: 28.0 KB
Line 
1
2  <!-- Authors:
3Louis ...? :D
4Berkay Berabi
5@2016
6-->
7
8<LevelInfo
9 name = "New Old Space Race 2"
10 description = "Under maintenance..."
11 tags = "gametype"
12 screenshot = "spacerace.png"
13/>
14   
15<?lua
16  include("stats.oxo")
17  include("HUDTemplates3.oxo")
18  include("templates/lodInformation.oxt")
19  include("templates/fastship.oxt")
20  include("templates/pickupRepresentationTemplates.oxt")
21
22?>
23
24<Level
25 plugins = "gametypes"
26 gametype = "SpaceRace"
27>
28  <templates>
29    <Template link=lodtemplate_default />
30  </templates>
31  <?lua include("includes/notifications.oxi") ?>
32
33  <Scene
34    ambientlight = "0.8, 0.8, 0.8"
35    skybox       = "Orxonox/skyBoxMoreNebula"
36  >
37 
38    <?lua
39      include("includes/pickups.oxi")
40    ?>
41
42
43  <!-- SOUNDS & MUSIC -->
44 
45 
46<WorldSound name="Countdown" position="0,0,0" source="sounds/Countdown.ogg" >
47      <events>
48        <play>
49          <EventListener event="start1" />
50        </play>
51      </events>
52    </WorldSound>
53
54
55<WorldSound name="Go" position="0,0,0" source="sounds/Go.ogg" >
56      <events>
57        <play>
58          <EventListener event="go" />
59        </play>
60      </events>
61    </WorldSound>
62    <DistanceTrigger name="start1" position="0,0,0"  target="Pawn" distance=100 stayActive="true" delay=0.5 />
63    <DistanceTrigger name="go" position="0,0,0"  target="Pawn" distance=100 stayActive="true" delay=10.5  />
64
65    <DistanceTrigger name="racetheme" position="0,0,0"  target="Pawn" distance=100 stayActive="true" delay=10.75  />
66      <WorldAmbientSound source="racetheme.ogg" looping="true" playOnLoad="false" >
67    <events>
68        <play>
69          <EventListener event="racetheme" />
70        </play>
71      </events>
72    </WorldAmbientSound>
73
74
75  <!--   <WorldAmbientSound source="Ganymede.ogg" looping="true" playOnLoad="true" /> -->
76    <?lua math.randomseed(98) ?>
77    <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"/>
78    <SimpleNotification message="Reach the last check point within 150 seconds!!" />
79
80
81    <!-- ------------------SpawnPoint----------------- -->
82    <SpawnPoint position="0,0,0" lookat="1,0,0" spawnclass=SpaceShip pawndesign=fastship active="true" >
83    </SpawnPoint>
84
85  <!-- Launch station -->
86  <StaticEntity mass="50" position="-400,-20,0" direction="0,-90,0" collisionType="static">
87    <attached>
88      <Model scale="20" mesh="Carrier.mesh" />
89    </attached>
90      <collisionShapes>
91        <BoxCollisionShape position="280,0,-100"      halfExtents="600, 200, 100" />
92        <BoxCollisionShape position="380,300,-64"     halfExtents="280, 40, 48" />
93        <BoxCollisionShape position="380,-300,-64"    halfExtents="280, 40, 48" />
94        <BoxCollisionShape position="308, 188,120"      halfExtents="440, 80, 120" />
95        <BoxCollisionShape position="308,-188,120"     halfExtents="440, 80, 120" />
96        <BoxCollisionShape position="308,0,200"       halfExtents="440, 180, 24" />
97        <BoxCollisionShape position="668,0,280"      halfExtents="108, 80, 80" />
98      </collisionShapes>
99  </StaticEntity>
100
101  <!-- ---------------ForceFields----------------- -->
102    <ForceField position="0,0,0" direction="0,-1,0" diameter=700 velocity=2000 length=2000/>
103
104    <!-- ------------------Planet----------------- -->
105    <Planet position="25000,5000,5000" scale=1000 pitch=-90 mesh="iceplanet.mesh" atmosphere="atmosphere1" rotationaxis="8,1,0" rotationrate="1" atmospheresize=224.0f imagesize=1024.0f />
106    <StaticEntity position="0,0,0" collisionType=static>
107        <collisionShapes>
108            <SphereCollisionShape radius="1" />
109        </collisionShapes>
110    </StaticEntity>
111
112   <!-- ---------------asteroid belt1----------------- -->
113    <?lua
114    max = 50
115    for i = 0, max, 1
116    do
117    x = 800+ i*1000
118    y = -500+ math.cos(i)*20
119    z = -500+ math.sin(i)*20
120    ?>
121    <?lua
122    for k = 1, 15, 1
123    do
124    j = math.random()
125    ?>
126
127    <MovableEntity
128      position = "<?lua print(x + math.random() * 500) ?>,<?lua print(y + math.random() * 1000) ?>,<?lua print(z + math.random() * 1000) ?>"
129      collisionType = "dynamic"
130      linearDamping = "0.5"
131      angularDamping = "0.01"
132      collisiondamage = "0.02"
133      enablecollisiondamage = "true"
134      scale="<?lua print(j * 5) ?>" >
135      <attached>
136        <Model position="0,0,0" scale="<?lua print(j * 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh">
137      <?lua if k == 5 then ?><attached><!-- ---------asteroid fog----- -->
138            <ParticleEmitter position="0,0,0" source="Orxonox/Steam" />
139          </attached> <?lua end ?>
140        </Model>
141      </attached>
142      <collisionShapes>
143        <SphereCollisionShape radius="<?lua print(j * 80) ?>" />
144      </collisionShapes>
145    </MovableEntity>
146    <?lua
147    end
148    ?>
149    <?lua end ?>
150
151   <!-- ---------------asteroid belt2----------------- -->
152    <?lua
153    max = 50
154    for i = 0, max, 1
155    do
156    x = 800+ i*1000
157    y = 100+ math.cos(i)*-20
158    z = 100+ math.sin(i)*-20
159    ?>
160    <?lua
161    for k = 1, 15, 1
162    do
163    j = math.random()
164    ?>
165
166    <MovableEntity
167      position = "<?lua print(x + math.random() * 500) ?>,<?lua print(y + math.random() * 1000) ?>,<?lua print(z + math.random() * 1000) ?>"
168      collisionType = "dynamic"
169      linearDamping = "0.5"
170      angularDamping = "0.01"
171      collisiondamage = "0.02"
172      enablecollisiondamage = "true"
173      scale="<?lua print(j * 5) ?>" >
174      <attached>
175        <Model position="0,0,0" scale="<?lua print(j * 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh">
176      <?lua if k == 5 then ?><attached><!-- ---------asteroid fog----- -->
177            <ParticleEmitter position="0,0,0" source="Orxonox/Steam" />
178          </attached> <?lua end ?>
179        </Model>
180      </attached>
181      <collisionShapes>
182        <SphereCollisionShape radius="<?lua print(j * 80) ?>" />
183      </collisionShapes>
184    </MovableEntity>
185    <?lua
186    end
187    ?>
188    <?lua end ?>
189
190   <!-- ------------------CheckPoints-----------------
191   <OldRaceCheckPoint name="checkpoint1" yaw=90 pitch=90 position="1000,30,0" stayActive="true" collisionType="static" scale="1" distance="40" checkpointindex="0" islast="false">
192        <attached>
193            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
194        </attached>
195        <collisionShapes>
196            <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
197            <BoxCollisionShape position="0,0,-55"     halfExtents="55, 10, 10" />
198            <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
199            <BoxCollisionShape position="-55,0,0"     halfExtents="10, 10, 55" />
200        </collisionShapes>
201    </OldRaceCheckPoint>
202
203    <OldRaceCheckPoint name="checkpoint2" yaw=90 pitch=90 position="3000,200,100" stayActive="true" collisionType="static" scale="1" distance="40" checkpointindex="1" islast="false">
204        <attached>
205            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
206        </attached>
207        <collisionShapes>
208            <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
209            <BoxCollisionShape position="0,0,-55"     halfExtents="55, 10, 10" />
210            <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
211            <BoxCollisionShape position="-55,0,0"     halfExtents="10, 10, 55" />
212        </collisionShapes>
213    </OldRaceCheckPoint>
214
215    <OldRaceCheckPoint name="checkpoint3" yaw=90 pitch=90 position="5000,100,300" stayActive="true" collisionType="static" scale="1" distance="40" checkpointindex="2" islast="false">
216        <attached>
217            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
218        </attached>
219        <collisionShapes>
220            <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
221            <BoxCollisionShape position="0,0,-55"     halfExtents="55, 10, 10" />
222            <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
223            <BoxCollisionShape position="-55,0,0"     halfExtents="10, 10, 55" />
224        </collisionShapes>
225    </OldRaceCheckPoint>     
226
227    <OldRaceCheckPoint name="checkpoint4" yaw=90 pitch=90 position="8000,-150,150" stayActive="true" collisionType="static" scale="1" distance="40" checkpointindex="3" islast="false">
228        <attached>
229            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
230        </attached>
231        <collisionShapes>
232            <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
233            <BoxCollisionShape position="0,0,-55"     halfExtents="55, 10, 10" />
234            <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
235            <BoxCollisionShape position="-55,0,0"     halfExtents="10, 10, 55" />
236        </collisionShapes>
237    </OldRaceCheckPoint>   
238
239    <OldRaceCheckPoint name="checkpoint5" yaw=90 pitch=90 position="10000,-200,200" stayActive="true" collisionType="static" scale="1" distance="40" checkpointindex="4" islast="false">
240        <attached>
241            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
242        </attached>
243        <collisionShapes>
244            <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
245            <BoxCollisionShape position="0,0,-55"     halfExtents="55, 10, 10" />
246            <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
247            <BoxCollisionShape position="-55,0,0"     halfExtents="10, 10, 55" />
248        </collisionShapes>
249    </OldRaceCheckPoint> 
250
251    <OldRaceCheckPoint name="checkpoint6" yaw=90 pitch=90 position="13000,100,100" stayActive="true" collisionType="static" scale="1" distance="40" checkpointindex="5" islast="false">
252        <attached>
253            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
254        </attached>
255        <collisionShapes>
256            <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
257            <BoxCollisionShape position="0,0,-55"     halfExtents="55, 10, 10" />
258            <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
259            <BoxCollisionShape position="-55,0,0"     halfExtents="10, 10, 55" />
260        </collisionShapes>
261    </OldRaceCheckPoint>
262
263    <OldRaceCheckPoint name="checkpoint7" yaw=90 pitch=90 position="15000,0,0" stayActive="true" collisionType="static" scale="1" distance="40" checkpointindex="6" islast="false">
264        <attached>
265            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
266        </attached>
267        <collisionShapes>
268            <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
269            <BoxCollisionShape position="0,0,-55"     halfExtents="55, 10, 10" />
270            <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
271            <BoxCollisionShape position="-55,0,0"     halfExtents="10, 10, 55" />
272        </collisionShapes>
273    </OldRaceCheckPoint>
274
275    <OldRaceCheckPoint name="checkpoint8" yaw=90 pitch=90 position="18000,150,-150" stayActive="true" collisionType="static" scale="1" distance="40" checkpointindex="7" islast="false">
276        <attached>
277            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
278        </attached>
279        <collisionShapes>
280            <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
281            <BoxCollisionShape position="0,0,-55"     halfExtents="55, 10, 10" />
282            <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
283            <BoxCollisionShape position="-55,0,0"     halfExtents="10, 10, 55" />
284        </collisionShapes>
285    </OldRaceCheckPoint>
286
287    <OldRaceCheckPoint name="checkpoint9" yaw=90 pitch=90 position="21000,120,-120" stayActive="true" collisionType="static" scale="1" distance="40" checkpointindex="8" islast="false">
288        <attached>
289            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
290        </attached>
291        <collisionShapes>
292            <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
293            <BoxCollisionShape position="0,0,-55"     halfExtents="55, 10, 10" />
294            <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
295            <BoxCollisionShape position="-55,0,0"     halfExtents="10, 10, 55" />
296        </collisionShapes>
297    </OldRaceCheckPoint>
298
299    <OldRaceCheckPoint name="checkpoint10" yaw=90 pitch=90 position="24000,-150,-80" stayActive="true" collisionType="static" scale="1" distance="40" checkpointindex="9" islast="false">
300        <attached>
301            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
302        </attached>
303        <collisionShapes>
304            <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
305            <BoxCollisionShape position="0,0,-55"     halfExtents="55, 10, 10" />
306            <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
307            <BoxCollisionShape position="-55,0,0"     halfExtents="10, 10, 55" />
308        </collisionShapes>
309    </OldRaceCheckPoint>
310
311    <OldRaceCheckPoint name="checkpoint11" yaw=90 pitch=90 position="27000,-200,0" stayActive="true" collisionType="static" scale="1" distance="40" checkpointindex="10" islast="false">
312        <attached>
313            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
314        </attached>
315        <collisionShapes>
316            <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
317            <BoxCollisionShape position="0,0,-55"     halfExtents="55, 10, 10" />
318            <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
319            <BoxCollisionShape position="-55,0,0"     halfExtents="10, 10, 55" />
320        </collisionShapes>
321    </OldRaceCheckPoint>
322
323    <OldRaceCheckPoint name="checkpoint12" yaw=90 pitch=90 position="30000,-50,50" stayActive="true" collisionType="static" scale="1" distance="40" checkpointindex="11" islast="false">
324        <attached>
325            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
326        </attached>
327        <collisionShapes>
328            <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
329            <BoxCollisionShape position="0,0,-55"     halfExtents="55, 10, 10" />
330            <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
331            <BoxCollisionShape position="-55,0,0"     halfExtents="10, 10, 55" />
332        </collisionShapes>
333    </OldRaceCheckPoint>
334
335    <OldRaceCheckPoint name="checkpoint13" yaw=90 pitch=90 position="33000,80,60" stayActive="true" collisionType="static" scale="1" distance="40" checkpointindex="12" islast="false">
336        <attached>
337            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
338        </attached>
339        <collisionShapes>
340            <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
341            <BoxCollisionShape position="0,0,-55"     halfExtents="55, 10, 10" />
342            <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
343            <BoxCollisionShape position="-55,0,0"     halfExtents="10, 10, 55" />
344        </collisionShapes>
345    </OldRaceCheckPoint>
346
347    <OldRaceCheckPoint name="checkpoint14" yaw=90 pitch=90 position="35000,120,20" stayActive="true" collisionType="static" scale="1" distance="40" checkpointindex="13" islast="false">
348        <attached>
349            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
350        </attached>
351        <collisionShapes>
352            <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
353            <BoxCollisionShape position="0,0,-55"     halfExtents="55, 10, 10" />
354            <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
355            <BoxCollisionShape position="-55,0,0"     halfExtents="10, 10, 55" />
356        </collisionShapes>
357    </OldRaceCheckPoint>
358
359    <OldRaceCheckPoint name="checkpoint15" yaw=90 pitch=90 position="38000,80,0" stayActive="true" collisionType="static" scale="1" distance="40" checkpointindex="14" islast="true">
360        <attached>
361            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
362        </attached>
363        <collisionShapes>
364            <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
365            <BoxCollisionShape position="0,0,-55"     halfExtents="55, 10, 10" />
366            <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
367            <BoxCollisionShape position="-55,0,0"     halfExtents="10, 10, 55" />
368        </collisionShapes>
369    </OldRaceCheckPoint> -->
370
371
372
373<!-- ---------------------Trying to solve checkpoint problem---------------------- -->
374
375<SpaceRaceManager>
376 <checkpoints>
377   
378
379    <RaceCheckPoint name="checkpoint1" position="1000,30,0" yaw=90 pitch=90 direction="0,1,0" roll="0" collisionType="static" scale="1" distance="40" checkpointindex="0" islast="false" nextcheckpoints="2,-1,-1">
380        <attached>
381            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
382        </attached>
383
384
385           <collisionShapes>
386
387            <BoxCollisionShape position="0,0,55"     halfExtents="55,10,10" />
388            <BoxCollisionShape position="0,0,-55"      halfExtents="55,10,10" />
389            <BoxCollisionShape position="55,0,0"      halfExtents="10,10,55" />
390            <BoxCollisionShape position="-55,0,0"       halfExtents="10,10,55" />
391
392        </collisionShapes>
393    </RaceCheckPoint>
394
395
396
397<RaceCheckPoint name="checkpoint2" yaw=90 pitch=90 position="3000,200,100" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="40" checkpointindex="1" islast="false" nextcheckpoints="3,-1,-1">
398        <attached>
399            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
400        </attached>
401       <collisionShapes>
402
403
404           <BoxCollisionShape position="0,0,55"     halfExtents="55,10,10" />
405            <BoxCollisionShape position="0,0,-55"      halfExtents="55,10,10" />
406            <BoxCollisionShape position="55,0,0"      halfExtents="10,10,55" />
407            <BoxCollisionShape position="-55,0,0"       halfExtents="10,10,55" />
408
409
410        </collisionShapes>
411
412    </RaceCheckPoint>
413
414
415<RaceCheckPoint name="checkpoint3" yaw=90 pitch=90 position="5000,100,300" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="40" checkpointindex="2" islast="false" nextcheckpoints="4,-1,-1">
416        <attached>
417            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
418        </attached>
419        <collisionShapes>
420
421
422        <BoxCollisionShape position="0,0,55"     halfExtents="55,10,10" />
423            <BoxCollisionShape position="0,0,-55"      halfExtents="55,10,10" />
424            <BoxCollisionShape position="55,0,0"      halfExtents="10,10,55" />
425            <BoxCollisionShape position="-55,0,0"       halfExtents="10,10,55" />
426
427
428        </collisionShapes>
429
430    </RaceCheckPoint>
431
432
433<RaceCheckPoint name="checkpoint4"  yaw=90 pitch=90 position="8000,-150,150" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="40" checkpointindex="3" islast="false" nextcheckpoints="5,-1,-1">
434        <attached>
435            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
436        </attached>
437        <collisionShapes>
438
439
440             <BoxCollisionShape position="0,0,55"     halfExtents="55,10,10" />
441            <BoxCollisionShape position="0,0,-55"      halfExtents="55,10,10" />
442            <BoxCollisionShape position="55,0,0"      halfExtents="10,10,55" />
443            <BoxCollisionShape position="-55,0,0"       halfExtents="10,10,55" />
444
445
446        </collisionShapes>
447
448    </RaceCheckPoint>
449
450
451<RaceCheckPoint name="checkpoint5"  yaw=90 pitch=90 position="10000,-200,200" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="40" checkpointindex="4" islast="false" nextcheckpoints="6,-1,-1">
452        <attached>
453            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
454        </attached>
455       <collisionShapes>
456
457
458     <BoxCollisionShape position="0,0,55"     halfExtents="55,10,10" />
459            <BoxCollisionShape position="0,0,-55"      halfExtents="55,10,10" />
460            <BoxCollisionShape position="55,0,0"      halfExtents="10,10,55" />
461            <BoxCollisionShape position="-55,0,0"       halfExtents="10,10,55" />
462
463
464        </collisionShapes>
465    </RaceCheckPoint>
466
467
468
469<RaceCheckPoint name="checkpoint6" yaw=90 pitch=90 position="13000,100,100" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="40" checkpointindex="5" islast="false" nextcheckpoints="7,-1,-1">
470        <attached>
471            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
472        </attached>
473      <collisionShapes>
474
475
476            <BoxCollisionShape position="0,0,55"     halfExtents="55,10,10" />
477            <BoxCollisionShape position="0,0,-55"      halfExtents="55,10,10" />
478            <BoxCollisionShape position="55,0,0"      halfExtents="10,10,55" />
479            <BoxCollisionShape position="-55,0,0"       halfExtents="10,10,55" />
480
481
482        </collisionShapes>
483
484    </RaceCheckPoint>
485
486
487
488<RaceCheckPoint name="checkpoint7" yaw=90 pitch=90 position="15000,0,0" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="40" checkpointindex="6" islast="false" nextcheckpoints="8,-1,-1">
489        <attached>
490            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
491        </attached>
492       <collisionShapes>
493
494               <BoxCollisionShape position="0,0,55"     halfExtents="55,10,10" />
495            <BoxCollisionShape position="0,0,-55"      halfExtents="55,10,10" />
496            <BoxCollisionShape position="55,0,0"      halfExtents="10,10,55" />
497            <BoxCollisionShape position="-55,0,0"       halfExtents="10,10,55" />
498
499        </collisionShapes>
500    </RaceCheckPoint>
501
502
503<RaceCheckPoint name="checkpoint8" yaw=90 pitch=90 position="18000,150,-150" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="40" checkpointindex="7" islast="false" nextcheckpoints="9,-1,-1">
504        <attached>
505            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
506        </attached>
507         <collisionShapes>
508
509    <BoxCollisionShape position="0,0,55"     halfExtents="55,10,10" />
510            <BoxCollisionShape position="0,0,-55"      halfExtents="55,10,10" />
511            <BoxCollisionShape position="55,0,0"      halfExtents="10,10,55" />
512            <BoxCollisionShape position="-55,0,0"       halfExtents="10,10,55" />
513
514
515        </collisionShapes>
516
517    </RaceCheckPoint>
518
519
520<RaceCheckPoint name="checkpoint9" yaw=90 pitch=90 position="21000,120,-120" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="40" checkpointindex="8" islast="false" nextcheckpoints="10,-1,-1">
521        <attached>
522            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
523        </attached>
524       <collisionShapes>
525
526
527         <BoxCollisionShape position="0,0,55"     halfExtents="55,10,10" />
528            <BoxCollisionShape position="0,0,-55"      halfExtents="55,10,10" />
529            <BoxCollisionShape position="55,0,0"      halfExtents="10,10,55" />
530            <BoxCollisionShape position="-55,0,0"       halfExtents="10,10,55" />
531
532
533        </collisionShapes>
534
535    </RaceCheckPoint>
536
537<RaceCheckPoint name="checkpoint10" yaw=90 pitch=90 position="24000,-150,-80" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="40" checkpointindex="9" islast="false" nextcheckpoints="11,-1,-1">
538        <attached>
539            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
540        </attached>
541       <collisionShapes>
542
543
544           <BoxCollisionShape position="0,0,55"     halfExtents="55,10,10" />
545            <BoxCollisionShape position="0,0,-55"      halfExtents="55,10,10" />
546            <BoxCollisionShape position="55,0,0"      halfExtents="10,10,55" />
547            <BoxCollisionShape position="-55,0,0"       halfExtents="10,10,55" />
548
549
550        </collisionShapes>
551
552    </RaceCheckPoint>
553
554<RaceCheckPoint name="checkpoint11" yaw=90 pitch=90 position="27000,-200,0" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="40" checkpointindex="10" islast="false" nextcheckpoints="12,-1,-1">
555        <attached>
556            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
557        </attached>
558      <collisionShapes>
559
560    <BoxCollisionShape position="0,0,55"     halfExtents="55,10,10" />
561            <BoxCollisionShape position="0,0,-55"      halfExtents="55,10,10" />
562            <BoxCollisionShape position="55,0,0"      halfExtents="10,10,55" />
563            <BoxCollisionShape position="-55,0,0"       halfExtents="10,10,55" />
564
565        </collisionShapes>
566
567    </RaceCheckPoint>
568
569
570
571<RaceCheckPoint name="checkpoint12" yaw=90 pitch=90 position="30000,-50,50" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="40" checkpointindex="11" islast="false" nextcheckpoints="13,-1,-1">
572        <attached>
573            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
574        </attached>
575       <collisionShapes>
576    <BoxCollisionShape position="0,0,55"     halfExtents="55,10,10" />
577            <BoxCollisionShape position="0,0,-55"      halfExtents="55,10,10" />
578            <BoxCollisionShape position="55,0,0"      halfExtents="10,10,55" />
579            <BoxCollisionShape position="-55,0,0"       halfExtents="10,10,55" />
580
581        </collisionShapes>
582    </RaceCheckPoint>
583
584
585<RaceCheckPoint name="checkpoint13" yaw=90 pitch=90 position="33000,80,60" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="40" checkpointindex="12" islast="true" >
586        <attached>
587            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
588        </attached>
589       <collisionShapes>
590
591           <BoxCollisionShape position="0,0,55"     halfExtents="55,10,10" />
592            <BoxCollisionShape position="0,0,-55"      halfExtents="55,10,10" />
593            <BoxCollisionShape position="55,0,0"      halfExtents="10,10,55" />
594            <BoxCollisionShape position="-55,0,0"       halfExtents="10,10,55" />
595
596        </collisionShapes>
597    </RaceCheckPoint>
598
599
600
601<RaceCheckPoint name="checkpoint14" yaw=90 pitch=90 position="35000,120,20" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="40" checkpointindex="13" islast="true" >
602        <attached>
603            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
604        </attached>
605       <collisionShapes>
606
607           <BoxCollisionShape position="0,0,55"     halfExtents="55,10,10" />
608            <BoxCollisionShape position="0,0,-55"      halfExtents="55,10,10" />
609            <BoxCollisionShape position="55,0,0"      halfExtents="10,10,55" />
610            <BoxCollisionShape position="-55,0,0"       halfExtents="10,10,55" />
611
612        </collisionShapes>
613    </RaceCheckPoint>
614
615<RaceCheckPoint name="checkpoint15" yaw=90 pitch=90 position="38000,80,0" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="40" checkpointindex="14" islast="true" >
616        <attached>
617            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
618        </attached>
619       <collisionShapes>
620
621           <BoxCollisionShape position="0,0,55"     halfExtents="55,10,10" />
622            <BoxCollisionShape position="0,0,-55"      halfExtents="55,10,10" />
623            <BoxCollisionShape position="55,0,0"      halfExtents="10,10,55" />
624            <BoxCollisionShape position="-55,0,0"       halfExtents="10,10,55" />
625
626        </collisionShapes>
627    </RaceCheckPoint>
628
629
630</checkpoints>
631</SpaceRaceManager>
632
633
634
635<!-- ---------------------PickUps---------------------- -->
636
637    <!--at checkpoint3-->
638    <PickupSpawner pickup=mediumpeedpickup position="4800,100,300" triggerDistance="60" respawnTime="10" maxSpawnedItems="99" scale="8" />
639    <!--at checkpoint#6-->
640    <PickupSpawner pickup=mediumshrinkpickup position="14800,0,0" triggerDistance="60" respawnTime="20" maxSpawnedItems="5" scale="8"/>
641    <!--at checkpoint9-->
642    <PickupSpawner pickup=smallshrinkpickup position="20800,120,-120" triggerDistance="60" respawnTime="10" maxSpawnedItems="10" scale="8"/>
643    <!--at checkpoint12-->
644    <PickupSpawner pickup=triplehealthspeedinvisibilitypickup position="29800,-50,50" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
645    <!--stray pickups-->
646    <PickupSpawner pickup=triplehealthspeedinvisibilitypickup position="6000,-300,100" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
647    <PickupSpawner pickup=triplehealthspeedinvisibilitypickup position="9000,300,200" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
648    <PickupSpawner pickup=triplehealthspeedinvisibilitypickup position="20000,-400,0" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
649
650  </Scene>
651</Level>
652 
Note: See TracBrowser for help on using the repository browser.