Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 11978 was 11977, checked in by arismu, 6 years ago

updated endthe
Game

  • Property svn:eol-style set to native
File size: 23.6 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/SpaceRaceTemplates.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="11000,-60,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            <Model mesh="cube.mesh" scale=2 position="3000,200,100"/>
248            <Model mesh="cube.mesh" scale=2 position="5000,100,500"/>
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,80,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="11000,-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,-70,350" 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="15500,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<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">
355        <attached>
356      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
357    </attached>
358    <collisionShapes>
359        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
360        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
361        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
362        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
363    </collisionShapes>
364    </RaceCheckPoint>
365
366<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">
367        <attached>
368      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
369    </attached>
370    <collisionShapes>
371        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
372        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
373        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
374        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
375    </collisionShapes>
376    </RaceCheckPoint>
377
378
379
380<RaceCheckPoint name="checkpoint12" yaw=90 pitch=90 position="30000,-250,670" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="11" islast="false" nextcheckpoints="12,-1,-1">
381        <attached>
382      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
383    </attached>
384    <collisionShapes>
385        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
386        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
387        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
388        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
389    </collisionShapes>
390    </RaceCheckPoint>
391
392
393<RaceCheckPoint name="checkpoint13" yaw=90 pitch=90 position="33000,150,600" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="12" islast="false" nextcheckpoints="13,-1,-1">
394        <attached>
395      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
396    </attached>
397    <collisionShapes>
398        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
399        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
400        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
401        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
402    </collisionShapes>
403    </RaceCheckPoint>
404
405
406
407<RaceCheckPoint name="checkpoint14" yaw=90 pitch=90 position="35000,500,300" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="13" islast="false" nextcheckpoints="14,-1,-1">
408        <attached>
409      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
410    </attached>
411    <collisionShapes>
412        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
413        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
414        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
415        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
416    </collisionShapes>
417    </RaceCheckPoint>
418
419<RaceCheckPoint name="checkpoint15" yaw=90 pitch=90 position="38000,150,150" direction="0,1,0" roll="0" collisionType="static" scale="1" distance="60" checkpointindex="14" islast="false" nextcheckpoints="15,-1,-1">
420        <attached>
421      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
422    </attached>
423    <collisionShapes>
424        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
425        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
426        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
427        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
428    </collisionShapes>
429    </RaceCheckPoint>
430
431<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">
432        <attached>
433      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
434    </attached>
435    <collisionShapes>
436        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
437        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
438        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
439        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
440    </collisionShapes>
441    </RaceCheckPoint>
442
443<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">
444        <attached>
445      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
446    </attached>
447    <collisionShapes>
448        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
449        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
450        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
451        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
452    </collisionShapes>
453    </RaceCheckPoint>
454
455<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">
456        <attached>
457      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
458    </attached>
459    <collisionShapes>
460        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
461        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
462        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
463        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
464    </collisionShapes>
465    </RaceCheckPoint>
466
467    <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">
468        <attached>
469      <Model position="0,0,0" scale="70" mesh="Checkpoint_InnerRing.mesh"/>
470    </attached>
471    <collisionShapes>
472        <BoxCollisionShape position="0,0,70"      halfExtents="70, 10, 10" />
473        <BoxCollisionShape position="0,0,-70"     halfExtents="70, 10, 10" />
474        <BoxCollisionShape position="70,0,0"      halfExtents="10, 10, 70" />
475        <BoxCollisionShape position="-70,0,0"     halfExtents="10, 10, 70" />
476    </collisionShapes>
477    </RaceCheckPoint>
478
479<!-- the last checkpoint is bigger and red -->
480    <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">
481        <attached>
482      <Model position="0,0,0" scale="70" mesh="Checkpoint_Finish.mesh"/>
483    </attached>
484    <collisionShapes>
485        <BoxCollisionShape position="0,0,90"      halfExtents="90, 13, 13" />
486        <BoxCollisionShape position="0,0,-90"     halfExtents="90, 13, 13" />
487        <BoxCollisionShape position="90,0,0"      halfExtents="13, 13, 90" />
488        <BoxCollisionShape position="-90,0,0"     halfExtents="13, 13, 90" />
489    </collisionShapes>
490    </RaceCheckPoint>
491
492
493</checkpoints>
494</SpaceRaceManager>
495   <Arrow>
496      <attached>
497       <Model scale="5" mesh="botpointer4.mesh"/>
498      </attached>
499      <controller>
500        <ArrowController accuracy = 10000>
501          <gpspoints>
502            <Model mesh="cube.mesh" scale=0 position="1000,30,0"/>
503            <Model mesh="cube.mesh" scale=0 position="3000,200,100"/>
504            <Model mesh="cube.mesh" scale=0 position="5000,80,500"/>
505            <Model mesh="cube.mesh" scale=0 position="8000,-150,150"/>
506            <Model mesh="cube.mesh" scale=0 position="11000,-200,200"/>
507            <Model mesh="cube.mesh" scale=0 position="13000,-70,350"/>
508            <Model mesh="cube.mesh" scale=0 position="15500,0,0"/>
509            <Model mesh="cube.mesh" scale=0 position="18000,150,-150"/>
510            <Model mesh="cube.mesh" scale=0 position="21000,200,-120"/>
511            <Model mesh="cube.mesh" scale=0 position="24000,-150,-80"/>
512            <Model mesh="cube.mesh" scale=0 position="27000,-200,0"/>
513            <Model mesh="cube.mesh" scale=0 position="30000,-250,670"/>
514            <Model mesh="cube.mesh" scale=0 position="33000,150,600"/>
515            <Model mesh="cube.mesh" scale=0 position="35000,500,300"/>
516            <Model mesh="cube.mesh" scale=0 position="38000,150,150"/>
517            <Model mesh="cube.mesh" scale=0 position="41000,30,-50"/>
518            <Model mesh="cube.mesh" scale=0 position="44000,90,0"/>
519            <Model mesh="cube.mesh" scale=0 position="47000,120,30"/>
520            <Model mesh="cube.mesh" scale=0 position="50000,0,100"/>
521            <Model mesh="cube.mesh" scale=0 position="53000,0,0"/>
522
523           
524
525
526           
527
528                </gpspoints>
529        </ArrowController>
530      </controller>
531    </Arrow>
532
533
534<!-- ---------------------PickUps---------------------- -->
535
536   
537    <PickupSpawner pickup=mediumboostpickup position="24000,-165,-80" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
538   
539    <PickupSpawner pickup=smallboostpickup position="42000,70,-30" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
540    <PickupSpawner pickup=smallboostpickup position="32000,0,650" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
541
542    <PickupSpawner pickup=smallspeedpickup position="9000,-185,66" triggerDistance="60" respawnTime="10" maxSpawnedItems="8" scale="10"/>
543 
544  </Scene>
545</Level>
546 
Note: See TracBrowser for help on using the repository browser.