Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/archive/Boss_FS17/data/levels/newnewnewspacerace.oxw @ 12141

Last change on this file since 12141 was 11358, checked in by patricwi, 8 years ago

space race merged

File size: 22.1 KB
Line 
1
2  <!-- Authors:
3Louis Meile
4Berkay Berabi
5@2016
6-->
7
8<LevelInfo
9 name = "The Space Race "
10 description = "Fell The Blaze of The ONE and ONLY Space Race"
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/spaceshipPirate.oxt")
21
22  include("templates/spaceshipAssff.oxt")
23  include("templates/pickupRepresentationTemplates.oxt")
24
25?>
26
27<Level
28 plugins = "gametypes"
29 gametype = "SpaceRace"
30>
31  <templates>
32    <Template link=lodtemplate_default />
33  </templates>
34  <?lua include("includes/notifications.oxi") ?>
35
36  <Scene
37    ambientlight = "0.8, 0.8, 0.8"
38    skybox       = "Orxonox/skyBoxMoreNebula"
39  >
40 
41    <?lua
42      include("includes/pickups.oxi")
43    ?>
44
45
46  <!-- SOUNDS & MUSIC
47
48to hear the sound one has to use a headphones 
49countdown at the beginning of the race
50at the and of the countdown we have the sound "go"
51racetheme will be played during the whole race-->
52 
53   
54<WorldSound name="Countdown" position="0,0,0" source="sounds/Countdown.ogg" >
55      <events>
56        <play>
57          <EventListener event="start1" />
58        </play>
59      </events>
60    </WorldSound>
61
62
63<WorldSound name="Go" position="0,0,0" source="sounds/Go.ogg" >
64      <events>
65        <play>
66          <EventListener event="go" />
67        </play>
68      </events>
69    </WorldSound>
70    <DistanceTrigger name="start1" position="0,0,0"  target="Pawn" distance=100 stayActive="true" delay=0.5 />
71    <DistanceTrigger name="go" position="0,0,0"  target="Pawn" distance=100 stayActive="true" delay=10.5  />
72
73    <DistanceTrigger name="racetheme" position="0,0,0"  target="Pawn" distance=100 stayActive="true" delay=10.75  />
74      <WorldAmbientSound source="racetheme.ogg" looping="true" playOnLoad="false" >
75    <events>
76        <play>
77          <EventListener event="racetheme" />
78        </play>
79      </events>
80    </WorldAmbientSound>
81
82
83    <?lua math.randomseed(98) ?>
84    <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"/>
85    <SimpleNotification message="Reach the last check point within 150 seconds!!" />
86
87    <!-- ------------------SpawnPoint of the human player----------------- -->
88    <!-- to change the starting positions of bots go to spacerace.cc star function -->
89    <SpawnPoint position="-50,0,0" lookat="1,0,0" spawnclass=SpaceShip pawndesign=fastship active="true" />
90
91  <!-- Launch station of the aircrafts also starting place of the race-->
92  <StaticEntity mass="50" position="-400,-20,0" direction="0,-90,0" collisionType="static">
93    <attached>
94      <Model scale="20" mesh="Carrier.mesh" />
95    </attached>
96      <collisionShapes>
97        <BoxCollisionShape position="280,0,-100"      halfExtents="600, 200, 100" />
98        <BoxCollisionShape position="380,300,-64"     halfExtents="280, 40, 48" />
99        <BoxCollisionShape position="380,-300,-64"    halfExtents="280, 40, 48" />
100        <BoxCollisionShape position="308, 188,120"      halfExtents="440, 80, 120" />
101        <BoxCollisionShape position="308,-188,120"     halfExtents="440, 80, 120" />
102        <BoxCollisionShape position="308,0,200"       halfExtents="440, 180, 24" />
103        <BoxCollisionShape position="668,0,280"      halfExtents="108, 80, 80" />
104      </collisionShapes>
105  </StaticEntity>
106
107  <!-- ---------------ForceFields----------------- -->
108    <ForceField position="0,0,0" direction="0,-1,0" diameter=700 velocity=2000 length=2000/>
109
110    <!-- ------------------Planet----------------- -->
111    <Planet position="25000,5000,5000" scale=3000 pitch=-90 mesh="iceplanet.mesh" atmosphere="atmosphere1" rotationaxis="8,1,0" rotationrate="1" atmospheresize=224.0f imagesize=1024.0f />
112    <StaticEntity position="0,0,0" collisionType=static>
113        <collisionShapes>
114            <SphereCollisionShape radius="1" />
115        </collisionShapes>
116    </StaticEntity>
117
118   <!-- ---------------asteroid belt1----------------- -->
119    <?lua
120    max = 50
121    for i = 0, max, 1
122    do
123    x = 800+ i*1000
124    y = -500+ math.cos(i)*20
125    z = -500+ math.sin(i)*20
126    ?>
127    <?lua
128    for k = 1, 15, 1
129    do
130    j = math.random()
131    ?>
132
133    <MovableEntity
134      position = "<?lua print(x + math.random() * 500) ?>,<?lua print(y + math.random() * 1000) ?>,<?lua print(z + math.random() * 1000) ?>"
135      collisionType = "dynamic"
136      linearDamping = "0.5"
137      angularDamping = "0.01"
138      collisiondamage = "0.02"
139      enablecollisiondamage = "true"
140      scale="<?lua print(j * 5) ?>" >
141      <attached>
142        <Model position="0,0,0" scale="<?lua print(j * 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh">
143      <?lua if k == 5 then ?><attached><!-- ---------asteroid fog----- -->
144            <ParticleEmitter position="0,0,0" source="Orxonox/Steam" />
145          </attached> <?lua end ?>
146        </Model>
147      </attached>
148      <collisionShapes>
149        <SphereCollisionShape radius="<?lua print(j * 80) ?>" />
150      </collisionShapes>
151    </MovableEntity>
152    <?lua
153    end
154    ?>
155    <?lua end ?>
156
157   <!-- ---------------asteroid belt2----------------- -->
158    <?lua
159    max = 50
160    for i = 0, max, 1
161    do
162    x = 800+ i*1000
163    y = 100+ math.cos(i)*-20
164    z = 100+ math.sin(i)*-20
165    ?>
166    <?lua
167    for k = 1, 15, 1
168    do
169    j = math.random()
170    ?>
171
172    <MovableEntity
173      position = "<?lua print(x + math.random() * 500) ?>,<?lua print(y + math.random() * 1000) ?>,<?lua print(z + math.random() * 1000) ?>"
174      collisionType = "dynamic"
175      linearDamping = "0.5"
176      angularDamping = "0.01"
177      collisiondamage = "0.02"
178      enablecollisiondamage = "true"
179      scale="<?lua print(j * 5) ?>" >
180      <attached>
181        <Model position="0,0,0" scale="<?lua print(j * 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh">
182      <?lua if k == 5 then ?><attached><!-- ---------asteroid fog----- -->
183            <ParticleEmitter position="0,0,0" source="Orxonox/Steam" />
184          </attached> <?lua end ?>
185        </Model>
186      </attached>
187      <collisionShapes>
188        <SphereCollisionShape radius="<?lua print(j * 80) ?>" />
189      </collisionShapes>
190    </MovableEntity>
191    <?lua
192    end
193    ?>
194    <?lua end ?>
195
196
197    <!-- ------------------Boards----------------- -->
198    <StaticEntity position="1000,160,0" direction="-1,0,0" yaw=90 pitch=0 roll=-30 collisionType="static">
199    <attached>
200      <Model scale="20" mesh="Board1.mesh" />
201    </attached>
202      <collisionShapes>
203        <BoxCollisionShape position="0,0,0"      halfExtents="5,10,10" />
204      </collisionShapes>
205  </StaticEntity>
206
207  <StaticEntity position="5000,230,500" direction="-1,0,0" yaw=90 pitch=0 roll=-30 collisionType="static">
208    <attached>
209      <Model scale="20" mesh="Board2.mesh" />
210    </attached>
211      <collisionShapes>
212        <BoxCollisionShape position="0,0,0"      halfExtents="5,10,10" />
213      </collisionShapes>
214  </StaticEntity>
215
216<StaticEntity position="10000,-70,200" direction="-1,0,0" yaw=90 pitch=0 roll=-30 collisionType="static">
217    <attached>
218      <Model scale="20" mesh="Board2.mesh" />
219    </attached>
220      <collisionShapes>
221        <BoxCollisionShape position="0,0,0"      halfExtents="5,10,10" />
222      </collisionShapes>
223  </StaticEntity>
224
225<!-- ---------------------Checkpoints---------------------- -->
226
227<SpaceRaceManager>
228 <checkpoints>
229   
230    <!-- distance = how far from the middle point of a check point do i have to fly ? distance variable answers this question   -->
231
232
233    <RaceCheckPoint name="checkpoint1" yaw=90 pitch=90 position="1000,30,0" roll="0" direction="0,1,0" collisionType="static" scale="1" distance="60" checkpointindex="0" islast="false" nextcheckpoints="1,-1,-1">
234        <attached>
235      <Model position="0,0,0" scale="70" mesh="Checkpoint_Green.mesh"/>
236    </attached>
237    <collisionShapes>
238        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
239        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
240        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
241        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
242    </collisionShapes>
243    </RaceCheckPoint>
244
245
246
247<RaceCheckPoint name="checkpoint2" yaw=90 pitch=90 position="3000,200,100" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="1" islast="false" nextcheckpoints="2,-1,-1">
248        <attached>
249      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
250    </attached>
251    <collisionShapes>
252        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
253        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
254        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
255        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
256    </collisionShapes>
257    </RaceCheckPoint>
258
259
260<RaceCheckPoint name="checkpoint3" yaw=90 pitch=90 position="5000,100,500" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="2" islast="false" nextcheckpoints="3,-1,-1">
261        <attached>
262      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
263    </attached>
264    <collisionShapes>
265        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
266        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
267        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
268        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
269    </collisionShapes>
270    </RaceCheckPoint>
271
272
273<RaceCheckPoint name="checkpoint4"  yaw=90 pitch=90 position="8000,-150,150" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="3" islast="false" nextcheckpoints="4,-1,-1">
274        <attached>
275      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
276    </attached>
277    <collisionShapes>
278        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
279        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
280        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
281        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
282    </collisionShapes>
283    </RaceCheckPoint>
284
285
286<RaceCheckPoint name="checkpoint5"  yaw=90 pitch=90 position="10000,-200,200" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="4" islast="false" nextcheckpoints="5,-1,-1">
287        <attached>
288      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
289    </attached>
290    <collisionShapes>
291        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
292        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
293        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
294        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
295    </collisionShapes>
296    </RaceCheckPoint>
297
298
299
300<RaceCheckPoint name="checkpoint6" yaw=90 pitch=90 position="13000,200,400" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="5" islast="false" nextcheckpoints="6,-1,-1">
301        <attached>
302      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
303    </attached>
304    <collisionShapes>
305        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
306        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
307        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
308        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
309    </collisionShapes>
310    </RaceCheckPoint>
311
312
313
314<RaceCheckPoint name="checkpoint7" yaw=90 pitch=90 position="15000,0,0" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="6" islast="false" nextcheckpoints="7,-1,-1">
315        <attached>
316      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
317    </attached>
318    <collisionShapes>
319        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
320        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
321        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
322        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
323    </collisionShapes>
324    </RaceCheckPoint>
325
326
327<RaceCheckPoint name="checkpoint8" yaw=90 pitch=90 position="18000,150,-150" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="7" islast="false" nextcheckpoints="8,-1,-1">
328        <attached>
329      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
330    </attached>
331    <collisionShapes>
332        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
333        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
334        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
335        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
336    </collisionShapes>
337    </RaceCheckPoint>
338
339
340<RaceCheckPoint name="checkpoint9" yaw=90 pitch=90 position="21000,200,-120" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="8" islast="false" nextcheckpoints="9,-1,-1">
341        <attached>
342      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
343    </attached>
344    <collisionShapes>
345        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
346        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
347        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
348        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
349    </collisionShapes>
350    </RaceCheckPoint>
351
352<RaceCheckPoint name="checkpoint10" yaw=90 pitch=90 position="24000,-150,-80" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="9" islast="false" nextcheckpoints="10,-1,-1">
353        <attached>
354      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
355    </attached>
356    <collisionShapes>
357        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
358        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
359        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
360        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
361    </collisionShapes>
362    </RaceCheckPoint>
363
364<RaceCheckPoint name="checkpoint11" yaw=90 pitch=90 position="27000,-200,0" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="10" islast="false" nextcheckpoints="11,-1,-1">
365        <attached>
366      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
367    </attached>
368    <collisionShapes>
369        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
370        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
371        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
372        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
373    </collisionShapes>
374    </RaceCheckPoint>
375
376
377
378<RaceCheckPoint name="checkpoint12" yaw=90 pitch=90 position="30000,-300,900" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="11" islast="false" nextcheckpoints="12,-1,-1">
379        <attached>
380      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
381    </attached>
382    <collisionShapes>
383        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
384        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
385        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
386        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
387    </collisionShapes>
388    </RaceCheckPoint>
389
390
391<RaceCheckPoint name="checkpoint13" yaw=90 pitch=90 position="33000,600,60" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="12" islast="false" nextcheckpoints="13,-1,-1">
392        <attached>
393      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
394    </attached>
395    <collisionShapes>
396        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
397        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
398        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
399        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
400    </collisionShapes>
401    </RaceCheckPoint>
402
403
404
405<RaceCheckPoint name="checkpoint14" yaw=90 pitch=90 position="35000,120,20" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="13" islast="false" nextcheckpoints="14,-1,-1">
406        <attached>
407      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
408    </attached>
409    <collisionShapes>
410        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
411        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
412        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
413        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
414    </collisionShapes>
415    </RaceCheckPoint>
416
417<RaceCheckPoint name="checkpoint15" yaw=90 pitch=90 position="38000,-200,0" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="14" islast="false" nextcheckpoints="15,-1,-1">
418        <attached>
419      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
420    </attached>
421    <collisionShapes>
422        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
423        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
424        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
425        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
426    </collisionShapes>
427    </RaceCheckPoint>
428
429<RaceCheckPoint name="checkpoint16" yaw=90 pitch=90 position="41000,30,-50" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="15" islast="false" nextcheckpoints="16,-1,-1">
430        <attached>
431      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
432    </attached>
433    <collisionShapes>
434        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
435        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
436        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
437        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
438    </collisionShapes>
439    </RaceCheckPoint>
440
441<RaceCheckPoint name="checkpoint17" yaw=90 pitch=90 position="44000,90,0" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="16" islast="false" nextcheckpoints="17,-1,-1">
442        <attached>
443      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
444    </attached>
445    <collisionShapes>
446        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
447        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
448        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
449        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
450    </collisionShapes>
451    </RaceCheckPoint>
452
453<RaceCheckPoint name="checkpoint18" yaw=90 pitch=90 position="47000,120,30" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="17" islast="false" nextcheckpoints="18,-1,-1">
454        <attached>
455      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
456    </attached>
457    <collisionShapes>
458        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
459        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
460        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
461        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
462    </collisionShapes>
463    </RaceCheckPoint>
464
465    <RaceCheckPoint name="checkpoint19" yaw=90 pitch=90 position="50000,0,100" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="18" islast="false" nextcheckpoints="19,-1,-1">
466        <attached>
467      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
468    </attached>
469    <collisionShapes>
470        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
471        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
472        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
473        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
474    </collisionShapes>
475    </RaceCheckPoint>
476
477<!-- the last checkpoint is bigger and red -->
478    <RaceCheckPoint name="checkpoint20" yaw=90 pitch=90 position="53000,0,0" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="19" islast="true">
479        <attached>
480      <Model position="0,0,0" scale="70" mesh="Checkpoint_Finish.mesh"/>
481    </attached>
482    <collisionShapes>
483        <BoxCollisionShape position="0,0,90"      halfExtents="90, 13, 13" />
484        <BoxCollisionShape position="0,0,-90"     halfExtents="90, 13, 13" />
485        <BoxCollisionShape position="90,0,0"      halfExtents="13, 13, 90" />
486        <BoxCollisionShape position="-90,0,0"     halfExtents="13, 13, 90" />
487    </collisionShapes>
488    </RaceCheckPoint>
489
490
491</checkpoints>
492</SpaceRaceManager>
493
494
495
496<!-- ---------------------PickUps---------------------- -->
497
498    <PickupSpawner pickup=smallshrinkpickup position="10000,-200,200" triggerDistance="60" respawnTime="10" maxSpawnedItems="10" scale="8"/>
499    <PickupSpawner pickup=mediumboostpickup position="24000,-150,-80" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
500    <PickupSpawner pickup=smallboostpickup position="38000,-200,0" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
501
502    <PickupSpawner pickup=smallspeedpickup position="7000,-200,100" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
503    <PickupSpawner pickup=mediumshinkpickup position="16000,150,50" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
504    <PickupSpawner pickup=triplehealthspeedinvisibilitypickup position="41000,-300,100" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
505  </Scene>
506</Level>
507 
Note: See TracBrowser for help on using the repository browser.