Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/RacingBots_FS18/data/levels/newnewnewspacerace.oxw @ 11880

Last change on this file since 11880 was 11857, checked in by andera, 7 years ago

the counter in the beginning of the game has been editted. New checkpoint pointer has been added. New arrow is made in blender but not uploaded yet

  • Property svn:eol-style set to native
File size: 23.8 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     
234
235
236    <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">
237        <attached>
238      <Model position="0,0,0" scale="70" mesh="Checkpoint_Green.mesh"/>
239    </attached>
240    <collisionShapes>
241        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
242        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
243        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
244        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
245    </collisionShapes>
246    </RaceCheckPoint>
247
248
249
250<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">
251        <attached>
252      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
253    </attached>
254    <collisionShapes>
255        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
256        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
257        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
258        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
259    </collisionShapes>
260    </RaceCheckPoint>
261
262
263<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">
264        <attached>
265      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
266    </attached>
267    <collisionShapes>
268        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
269        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
270        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
271        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
272    </collisionShapes>
273    </RaceCheckPoint>
274
275
276<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">
277        <attached>
278      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
279    </attached>
280    <collisionShapes>
281        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
282        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
283        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
284        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
285    </collisionShapes>
286    </RaceCheckPoint>
287
288
289<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">
290        <attached>
291      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
292    </attached>
293    <collisionShapes>
294        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
295        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
296        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
297        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
298    </collisionShapes>
299    </RaceCheckPoint>
300
301
302
303<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">
304        <attached>
305      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
306    </attached>
307    <collisionShapes>
308        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
309        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
310        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
311        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
312    </collisionShapes>
313    </RaceCheckPoint>
314
315
316
317<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">
318        <attached>
319      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
320    </attached>
321    <collisionShapes>
322        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
323        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
324        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
325        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
326    </collisionShapes>
327    </RaceCheckPoint>
328
329
330<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">
331        <attached>
332      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
333    </attached>
334    <collisionShapes>
335        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
336        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
337        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
338        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
339    </collisionShapes>
340    </RaceCheckPoint>
341
342
343<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">
344        <attached>
345      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
346    </attached>
347    <collisionShapes>
348        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
349        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
350        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
351        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
352    </collisionShapes>
353    </RaceCheckPoint>
354
355<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">
356        <attached>
357      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
358    </attached>
359    <collisionShapes>
360        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
361        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
362        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
363        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
364    </collisionShapes>
365    </RaceCheckPoint>
366
367<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">
368        <attached>
369      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
370    </attached>
371    <collisionShapes>
372        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
373        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
374        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
375        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
376    </collisionShapes>
377    </RaceCheckPoint>
378
379
380
381<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">
382        <attached>
383      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
384    </attached>
385    <collisionShapes>
386        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
387        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
388        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
389        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
390    </collisionShapes>
391    </RaceCheckPoint>
392
393
394<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">
395        <attached>
396      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
397    </attached>
398    <collisionShapes>
399        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
400        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
401        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
402        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
403    </collisionShapes>
404    </RaceCheckPoint>
405
406
407
408<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">
409        <attached>
410      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
411    </attached>
412    <collisionShapes>
413        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
414        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
415        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
416        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
417    </collisionShapes>
418    </RaceCheckPoint>
419
420<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">
421        <attached>
422      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
423    </attached>
424    <collisionShapes>
425        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
426        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
427        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
428        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
429    </collisionShapes>
430    </RaceCheckPoint>
431
432<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">
433        <attached>
434      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
435    </attached>
436    <collisionShapes>
437        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
438        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
439        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
440        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
441    </collisionShapes>
442    </RaceCheckPoint>
443
444<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">
445        <attached>
446      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
447    </attached>
448    <collisionShapes>
449        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
450        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
451        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
452        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
453    </collisionShapes>
454    </RaceCheckPoint>
455
456<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">
457        <attached>
458      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
459    </attached>
460    <collisionShapes>
461        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
462        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
463        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
464        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
465    </collisionShapes>
466    </RaceCheckPoint>
467
468    <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">
469        <attached>
470      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
471    </attached>
472    <collisionShapes>
473        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
474        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
475        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
476        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
477    </collisionShapes>
478    </RaceCheckPoint>
479
480<!-- the last checkpoint is bigger and red -->
481    <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">
482        <attached>
483      <Model position="0,0,0" scale="70" mesh="Checkpoint_Finish.mesh"/>
484    </attached>
485    <collisionShapes>
486        <BoxCollisionShape position="0,0,90"      halfExtents="90, 13, 13" />
487        <BoxCollisionShape position="0,0,-90"     halfExtents="90, 13, 13" />
488        <BoxCollisionShape position="90,0,0"      halfExtents="13, 13, 90" />
489        <BoxCollisionShape position="-90,0,0"     halfExtents="13, 13, 90" />
490    </collisionShapes>
491    </RaceCheckPoint>
492
493
494</checkpoints>
495</SpaceRaceManager>
496   <Arrow>
497      <attached>
498       <Model scale="5" mesh="tutorialpointer3.mesh"/>
499      </attached>
500      <controller>
501        <ArrowController accuracy = 2000>
502          <gpspoints>
503            <Model mesh="cube.mesh" scale=1.5 position="1000,30,0"/>
504            <Model mesh="cube.mesh" scale=1.5 position="3000,200,100"/>
505            <Model mesh="cube.mesh" scale=1.5 position="5000,100,500"/>
506            <Model mesh="cube.mesh" scale=1.5 position="8000,-150,150"/>
507            <Model mesh="cube.mesh" scale=1.5 position="10000,-200,200"/>
508            <Model mesh="cube.mesh" scale=1.5 position="13000,200,400"/>
509            <Model mesh="cube.mesh" scale=1.5 position="15000,0,0"/>
510            <Model mesh="cube.mesh" scale=1.5 position="18000,150,-150"/>
511            <Model mesh="cube.mesh" scale=1.5 position="21000,200,-120"/>
512            <Model mesh="cube.mesh" scale=1.5 position="24000,-150,-80"/>
513            <Model mesh="cube.mesh" scale=1.5 position="27000,-200,0"/>
514            <Model mesh="cube.mesh" scale=1.5 position="30000,-300,900"/>
515            <Model mesh="cube.mesh" scale=1.5 position="33000,600,60"/>
516            <Model mesh="cube.mesh" scale=1.5 position="35000,120,20"/>
517            <Model mesh="cube.mesh" scale=1.5 position="38000,-200,0"/>
518            <Model mesh="cube.mesh" scale=1.5 position="41000,30,-50"/>
519            <Model mesh="cube.mesh" scale=1.5 position="44000,90,0"/>
520            <Model mesh="cube.mesh" scale=1.5 position="47000,120,30"/>
521            <Model mesh="cube.mesh" scale=1.5 position="50000,0,100"/>
522            <Model mesh="cube.mesh" scale=1.5 position="53000,0,0"/>
523
524           
525
526                </gpspoints>
527        </ArrowController>
528      </controller>
529    </Arrow>
530
531
532<!-- ---------------------PickUps---------------------- -->
533
534    <PickupSpawner pickup=smallshrinkpickup position="10000,-200,200" triggerDistance="60" respawnTime="10" maxSpawnedItems="10" scale="8"/>
535    <PickupSpawner pickup=mediumboostpickup position="24000,-150,-80" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
536    <PickupSpawner pickup=smallboostpickup position="38000,-200,0" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
537
538    <PickupSpawner pickup=smallspeedpickup position="7000,-200,100" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
539    <PickupSpawner pickup=mediumshinkpickup position="16000,150,50" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
540    <PickupSpawner pickup=triplehealthspeedinvisibilitypickup position="41000,-300,100" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
541  </Scene>
542</Level>
543 
Note: See TracBrowser for help on using the repository browser.