Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/cegui0.8_ogre1.9/data/levels/newnewnewspacerace.oxw @ 11808

Last change on this file since 11808 was 11808, checked in by landauf, 6 years ago

attach Planets to MovableEntities to make them move (Planets are static now)

  • Property svn:eol-style set to native
File size: 22.2 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    <MovableEntity position="25000,5000,5000" scale=3000 pitch=-90 rotationaxis="8,1,0" rotationrate="1">
112        <attached>
113            <Planet mesh="iceplanet.mesh" atmosphere="atmosphere1" atmospheresize=224.0f imagesize=1024.0f />
114        </attached>
115    </MovableEntity>
116    <StaticEntity position="0,0,0" collisionType=static>
117        <collisionShapes>
118            <SphereCollisionShape radius="1" />
119        </collisionShapes>
120    </StaticEntity>
121
122   <!-- ---------------asteroid belt1----------------- -->
123    <?lua
124    max = 50
125    for i = 0, max, 1
126    do
127    x = 800+ i*1000
128    y = -500+ math.cos(i)*20
129    z = -500+ math.sin(i)*20
130    ?>
131    <?lua
132    for k = 1, 15, 1
133    do
134    j = math.random()
135    ?>
136
137    <MovableEntity
138      position = "<?lua print(x + math.random() * 500) ?>,<?lua print(y + math.random() * 1000) ?>,<?lua print(z + math.random() * 1000) ?>"
139      collisionType = "dynamic"
140      linearDamping = "0.5"
141      angularDamping = "0.01"
142      collisiondamage = "0.02"
143      enablecollisiondamage = "true"
144      scale="<?lua print(j * 5) ?>" >
145      <attached>
146        <Model position="0,0,0" scale="<?lua print(j * 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh">
147      <?lua if k == 5 then ?><attached><!-- ---------asteroid fog----- -->
148            <ParticleEmitter position="0,0,0" source="Orxonox/Steam" />
149          </attached> <?lua end ?>
150        </Model>
151      </attached>
152      <collisionShapes>
153        <SphereCollisionShape radius="<?lua print(j * 80) ?>" />
154      </collisionShapes>
155    </MovableEntity>
156    <?lua
157    end
158    ?>
159    <?lua end ?>
160
161   <!-- ---------------asteroid belt2----------------- -->
162    <?lua
163    max = 50
164    for i = 0, max, 1
165    do
166    x = 800+ i*1000
167    y = 100+ math.cos(i)*-20
168    z = 100+ math.sin(i)*-20
169    ?>
170    <?lua
171    for k = 1, 15, 1
172    do
173    j = math.random()
174    ?>
175
176    <MovableEntity
177      position = "<?lua print(x + math.random() * 500) ?>,<?lua print(y + math.random() * 1000) ?>,<?lua print(z + math.random() * 1000) ?>"
178      collisionType = "dynamic"
179      linearDamping = "0.5"
180      angularDamping = "0.01"
181      collisiondamage = "0.02"
182      enablecollisiondamage = "true"
183      scale="<?lua print(j * 5) ?>" >
184      <attached>
185        <Model position="0,0,0" scale="<?lua print(j * 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh">
186      <?lua if k == 5 then ?><attached><!-- ---------asteroid fog----- -->
187            <ParticleEmitter position="0,0,0" source="Orxonox/Steam" />
188          </attached> <?lua end ?>
189        </Model>
190      </attached>
191      <collisionShapes>
192        <SphereCollisionShape radius="<?lua print(j * 80) ?>" />
193      </collisionShapes>
194    </MovableEntity>
195    <?lua
196    end
197    ?>
198    <?lua end ?>
199
200
201    <!-- ------------------Boards----------------- -->
202    <StaticEntity position="1000,160,0" direction="-1,0,0" yaw=90 pitch=0 roll=-30 collisionType="static">
203    <attached>
204      <Model scale="20" mesh="Board1.mesh" />
205    </attached>
206      <collisionShapes>
207        <BoxCollisionShape position="0,0,0"      halfExtents="5,10,10" />
208      </collisionShapes>
209  </StaticEntity>
210
211  <StaticEntity position="5000,230,500" direction="-1,0,0" yaw=90 pitch=0 roll=-30 collisionType="static">
212    <attached>
213      <Model scale="20" mesh="Board2.mesh" />
214    </attached>
215      <collisionShapes>
216        <BoxCollisionShape position="0,0,0"      halfExtents="5,10,10" />
217      </collisionShapes>
218  </StaticEntity>
219
220<StaticEntity position="10000,-70,200" direction="-1,0,0" yaw=90 pitch=0 roll=-30 collisionType="static">
221    <attached>
222      <Model scale="20" mesh="Board2.mesh" />
223    </attached>
224      <collisionShapes>
225        <BoxCollisionShape position="0,0,0"      halfExtents="5,10,10" />
226      </collisionShapes>
227  </StaticEntity>
228
229<!-- ---------------------Checkpoints---------------------- -->
230
231<SpaceRaceManager>
232 <checkpoints>
233   
234    <!-- distance = how far from the middle point of a check point do i have to fly ? distance variable answers this question   -->
235
236
237    <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">
238        <attached>
239      <Model position="0,0,0" scale="70" mesh="Checkpoint_Green.mesh"/>
240    </attached>
241    <collisionShapes>
242        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
243        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
244        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
245        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
246    </collisionShapes>
247    </RaceCheckPoint>
248
249
250
251<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">
252        <attached>
253      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
254    </attached>
255    <collisionShapes>
256        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
257        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
258        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
259        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
260    </collisionShapes>
261    </RaceCheckPoint>
262
263
264<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">
265        <attached>
266      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
267    </attached>
268    <collisionShapes>
269        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
270        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
271        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
272        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
273    </collisionShapes>
274    </RaceCheckPoint>
275
276
277<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">
278        <attached>
279      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
280    </attached>
281    <collisionShapes>
282        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
283        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
284        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
285        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
286    </collisionShapes>
287    </RaceCheckPoint>
288
289
290<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">
291        <attached>
292      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
293    </attached>
294    <collisionShapes>
295        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
296        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
297        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
298        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
299    </collisionShapes>
300    </RaceCheckPoint>
301
302
303
304<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">
305        <attached>
306      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
307    </attached>
308    <collisionShapes>
309        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
310        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
311        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
312        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
313    </collisionShapes>
314    </RaceCheckPoint>
315
316
317
318<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">
319        <attached>
320      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
321    </attached>
322    <collisionShapes>
323        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
324        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
325        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
326        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
327    </collisionShapes>
328    </RaceCheckPoint>
329
330
331<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">
332        <attached>
333      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
334    </attached>
335    <collisionShapes>
336        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
337        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
338        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
339        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
340    </collisionShapes>
341    </RaceCheckPoint>
342
343
344<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">
345        <attached>
346      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
347    </attached>
348    <collisionShapes>
349        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
350        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
351        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
352        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
353    </collisionShapes>
354    </RaceCheckPoint>
355
356<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">
357        <attached>
358      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
359    </attached>
360    <collisionShapes>
361        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
362        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
363        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
364        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
365    </collisionShapes>
366    </RaceCheckPoint>
367
368<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">
369        <attached>
370      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
371    </attached>
372    <collisionShapes>
373        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
374        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
375        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
376        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
377    </collisionShapes>
378    </RaceCheckPoint>
379
380
381
382<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">
383        <attached>
384      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
385    </attached>
386    <collisionShapes>
387        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
388        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
389        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
390        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
391    </collisionShapes>
392    </RaceCheckPoint>
393
394
395<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">
396        <attached>
397      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
398    </attached>
399    <collisionShapes>
400        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
401        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
402        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
403        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
404    </collisionShapes>
405    </RaceCheckPoint>
406
407
408
409<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">
410        <attached>
411      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
412    </attached>
413    <collisionShapes>
414        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
415        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
416        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
417        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
418    </collisionShapes>
419    </RaceCheckPoint>
420
421<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">
422        <attached>
423      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
424    </attached>
425    <collisionShapes>
426        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
427        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
428        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
429        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
430    </collisionShapes>
431    </RaceCheckPoint>
432
433<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">
434        <attached>
435      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
436    </attached>
437    <collisionShapes>
438        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
439        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
440        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
441        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
442    </collisionShapes>
443    </RaceCheckPoint>
444
445<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">
446        <attached>
447      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
448    </attached>
449    <collisionShapes>
450        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
451        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
452        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
453        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
454    </collisionShapes>
455    </RaceCheckPoint>
456
457<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">
458        <attached>
459      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
460    </attached>
461    <collisionShapes>
462        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
463        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
464        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
465        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
466    </collisionShapes>
467    </RaceCheckPoint>
468
469    <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">
470        <attached>
471      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
472    </attached>
473    <collisionShapes>
474        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
475        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
476        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
477        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
478    </collisionShapes>
479    </RaceCheckPoint>
480
481<!-- the last checkpoint is bigger and red -->
482    <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">
483        <attached>
484      <Model position="0,0,0" scale="70" mesh="Checkpoint_Finish.mesh"/>
485    </attached>
486    <collisionShapes>
487        <BoxCollisionShape position="0,0,90"      halfExtents="90, 13, 13" />
488        <BoxCollisionShape position="0,0,-90"     halfExtents="90, 13, 13" />
489        <BoxCollisionShape position="90,0,0"      halfExtents="13, 13, 90" />
490        <BoxCollisionShape position="-90,0,0"     halfExtents="13, 13, 90" />
491    </collisionShapes>
492    </RaceCheckPoint>
493
494
495</checkpoints>
496</SpaceRaceManager>
497
498
499
500<!-- ---------------------PickUps---------------------- -->
501
502    <PickupSpawner pickup=smallshrinkpickup position="10000,-200,200" triggerDistance="60" respawnTime="10" maxSpawnedItems="10" scale="8"/>
503    <PickupSpawner pickup=mediumboostpickup position="24000,-150,-80" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
504    <PickupSpawner pickup=smallboostpickup position="38000,-200,0" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
505
506    <PickupSpawner pickup=smallspeedpickup position="7000,-200,100" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
507    <PickupSpawner pickup=mediumshinkpickup position="16000,150,50" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
508    <PickupSpawner pickup=triplehealthspeedinvisibilitypickup position="41000,-300,100" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
509  </Scene>
510</Level>
511 
Note: See TracBrowser for help on using the repository browser.