Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/surfaceRace/data/levels/surfaceRace.oxw @ 9130

Last change on this file since 9130 was 9130, checked in by laumerf, 12 years ago

added new checkpoints

File size: 17.7 KB
Line 
1<LevelInfo
2 name = "Surface Race"
3 description = "in progress..."
4 tags = "Race"
5 screenshot = "emptylevel.png"
6/>
7
8<?lua
9  include("stats.oxo")
10  include("HUDTemplates3.oxo")
11  include("templates/lodInformation.oxt")
12  include("templates/spaceshipRace.oxt")
13 
14?>
15
16
17<Level
18gametype = SpaceRace
19>
20
21  <templates>
22    <Template link=lodtemplate_default />
23  </templates>
24  <?lua include("includes/notifications.oxi") ?>
25
26  <Scene
27    ambientlight = "2.0, 2.0, 2.0"
28    skybox       = "Orxonox/skyBoxClouds"
29    gravity      = "0,-70,0"
30    negativeWorldRange = "-100000, -100000, -100000"
31    positiveWorldRange = " 100000,  100000,  100000"
32    hasPhysics   = true
33  >
34
35  <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"/>
36
37
38
39<SpaceRaceManager>
40 <checkpoints> 
41        <RaceCheckPoint name="checkpoint1" position="0,8050,-1000" direction="0,1,0" collisionType="static" scale="4" distance="100" checkpointindex="0" islast="false" nextcheckpoints="1,-1,-1">
42        <attached>
43            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
44
45        <!--
46                <Model position="27.5,0,-27.5" mesh="testcube.mesh" scale3D="10,10,10" />
47                <Model position="55,0,0" mesh="testcube.mesh" scale3D="10,10,10" />
48                <Model position="-27.5,0,-27.5" mesh="testcube.mesh" scale3D="10,10,10" />
49                <Model position="-55,0,0" mesh="testcube.mesh" scale3D="10,10,10" />
50
51                -->
52
53        </attached>
54
55        <collisionShapes>
56
57        <!--
58                <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
59                <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
60                <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
61                <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
62                <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
63
64                -->
65        </collisionShapes>
66
67       
68    </RaceCheckPoint>
69
70
71<RaceCheckPoint name="checkpoint2" position="0,8050, -2000" direction="0,1,0" roll="0" collisionType="static" scale="4" distance="100" checkpointindex="1" islast="false" nextcheckpoints="2,-1,-1">
72        <attached>
73            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
74        </attached>
75        <collisionShapes>
76            <!--
77                <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
78                <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
79                <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
80                <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
81                <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
82
83                -->
84        </collisionShapes>
85    </RaceCheckPoint>
86
87<RaceCheckPoint name="checkpoint3" position="0,8050,-3000" direction="0,1,0" roll="0" collisionType="static" scale="4" distance="100" checkpointindex="2" islast="false" nextcheckpoints="3,-1,-1">
88        <attached>
89            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
90        </attached>
91        <collisionShapes>
92            <!--
93                <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
94                <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
95                <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
96                <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
97                <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
98
99                -->
100        </collisionShapes>
101    </RaceCheckPoint>
102
103
104
105<RaceCheckPoint name="checkpoint4" position="1000,8050,-4000" direction="0,1,0" roll="45" collisionType="static" scale="4" distance="100" checkpointindex="3" islast="false" nextcheckpoints="4,-1,-1">
106        <attached>
107            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
108        </attached>
109        <collisionShapes>
110            <!--
111                <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
112                <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
113                <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
114                <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
115                <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
116
117                -->
118        </collisionShapes>
119    </RaceCheckPoint>
120
121
122<RaceCheckPoint name="checkpoint5" position="2000,8050, -5000" direction="0,1,0" roll="90" collisionType="static" scale="4" distance="100" checkpointindex="4" islast="false" nextcheckpoints="5,-1,-1">
123        <attached>
124            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
125        </attached>
126        <collisionShapes>
127            <!--
128                <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
129                <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
130                <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
131                <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
132                <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
133
134                -->
135        </collisionShapes>
136    </RaceCheckPoint>
137
138<RaceCheckPoint name="checkpoint6" position="3000,8050,-4000" direction="0,1,0" roll="-45" collisionType="static" scale="4" distance="100" checkpointindex="5" islast="false" nextcheckpoints="6,-1,-1">
139        <attached>
140            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
141        </attached>
142        <collisionShapes>
143            <!--
144                <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
145                <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
146                <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
147                <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
148                <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
149
150                -->
151        </collisionShapes>
152    </RaceCheckPoint>
153
154<RaceCheckPoint name="checkpoint7" position="4000,8050,-3000" direction="0,1,0" roll="0" collisionType="static" scale="4" distance="100" checkpointindex="6" islast="false" nextcheckpoints="7,-1,-1">
155        <attached>
156            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
157        </attached>
158        <collisionShapes>
159            <!--
160                <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
161                <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
162                <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
163                <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
164                <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
165
166                -->
167        </collisionShapes>
168    </RaceCheckPoint>
169
170
171
172
173<RaceCheckPoint name="checkpoint8" position="4000,8050,-2000" direction="0,1,0" roll="0" collisionType="static" scale="4" distance="100" checkpointindex="7" islast="false" nextcheckpoints="8,-1,-1">
174        <attached>
175            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
176        </attached>
177        <collisionShapes>
178           <!--
179                <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
180                <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
181                <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
182                <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
183                <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
184
185                -->
186        </collisionShapes>
187    </RaceCheckPoint>
188
189
190<RaceCheckPoint name="checkpoint9" position="4000,8050,-1000" direction="0,1,0" roll="0" collisionType="static" scale="4" distance="100" checkpointindex="8" islast="false" nextcheckpoints="9,-1,-1">
191        <attached>
192            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
193        </attached>
194        <collisionShapes>
195           <!--
196                <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
197                <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
198                <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
199                <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
200                <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
201
202                -->
203        </collisionShapes>
204    </RaceCheckPoint>
205
206
207<RaceCheckPoint name="checkpoint10" position="4000,8050,0" direction="0,1,0" roll="0" collisionType="static" scale="4" distance="100" checkpointindex="9" islast="false" nextcheckpoints="10,-1,-1">
208        <attached>
209            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
210        </attached>
211        <collisionShapes>
212           <!--
213                <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
214                <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
215                <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
216                <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
217                <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
218
219                -->
220        </collisionShapes>
221    </RaceCheckPoint>
222
223
224<RaceCheckPoint name="checkpoint11" position="3000,8050,1000" direction="0,1,0" roll="45" collisionType="static" scale="4" distance="100" checkpointindex="10" islast="false" nextcheckpoints="11,-1,-1">
225        <attached>
226            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
227        </attached>
228        <collisionShapes>
229            <!--
230                <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
231                <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
232                <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
233                <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
234                <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
235
236                -->
237        </collisionShapes>
238    </RaceCheckPoint>
239
240
241<RaceCheckPoint name="checkpoint12" position="2000,8050,2000" direction="0,1,0" roll="90" collisionType="static" scale="4" distance="100" checkpointindex="11" islast="false" nextcheckpoints="12,-1,-1">
242        <attached>
243            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
244        </attached>
245        <collisionShapes>
246            <!--
247                <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
248                <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
249                <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
250                <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
251                <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
252
253                -->
254        </collisionShapes>
255    </RaceCheckPoint>
256
257<RaceCheckPoint name="checkpoint13" position="1000,8050,2000" direction="0,1,0" roll="90" collisionType="static" scale="4" distance="100" checkpointindex="12" islast="false" nextcheckpoints="13,-1,-1">
258        <attached>
259            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
260        </attached>
261        <collisionShapes>
262            <!--
263                <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
264                <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
265                <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
266                <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
267                <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
268
269                -->
270        </collisionShapes>
271    </RaceCheckPoint>
272
273<RaceCheckPoint name="checkpoint14" position="0,8050,2000" direction="0,1,0" roll="90" collisionType="static" scale="4" distance="100" checkpointindex="13" islast="false" nextcheckpoints="14,-1,-1">
274        <attached>
275            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
276        </attached>
277        <collisionShapes>
278            <!--
279                <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
280                <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
281                <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
282                <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
283                <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
284
285                -->
286        </collisionShapes>
287    </RaceCheckPoint>
288
289<RaceCheckPoint name="checkpoint15" position="-3000,8050,2000" direction="0,1,0" roll="90" collisionType="static" scale="4" distance="100" checkpointindex="14" islast="false" nextcheckpoints="15,-1,-1">
290        <attached>
291            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
292        </attached>
293        <collisionShapes>
294            <!--
295                <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
296                <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
297                <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
298                <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
299                <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
300
301                -->
302        </collisionShapes>
303    </RaceCheckPoint>
304
305<RaceCheckPoint name="checkpoint16" position="-4000,8050,3000" direction="0,1,0" roll="45" collisionType="static" scale="4" distance="100" checkpointindex="15" islast="false" nextcheckpoints="16,-1,-1">
306        <attached>
307            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
308        </attached>
309        <collisionShapes>
310            <!--
311                <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
312                <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
313                <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
314                <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
315                <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
316
317                -->
318        </collisionShapes>
319    </RaceCheckPoint>
320
321<RaceCheckPoint name="checkpoint17" position="-5000,8050,4000" direction="0,1,0" roll="0" collisionType="static" scale="4" distance="100" checkpointindex="16" islast="false" nextcheckpoints="17,-1,-1">
322        <attached>
323            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
324        </attached>
325        <collisionShapes>
326            <!--
327                <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
328                <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
329                <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
330                <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
331                <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
332
333                -->
334        </collisionShapes>
335    </RaceCheckPoint>
336
337<RaceCheckPoint name="checkpoint18" position="-4000,8050,5000" direction="0,1,0" roll="-45" collisionType="static" scale="4" distance="100" checkpointindex="17" islast="false" nextcheckpoints="18,-1,-1">
338        <attached>
339            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
340        </attached>
341        <collisionShapes>
342            <!--
343                <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
344                <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
345                <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
346                <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
347                <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
348
349                -->
350        </collisionShapes>
351    </RaceCheckPoint>
352
353
354<RaceCheckPoint name="checkpoint19" position="-3000,8050,6000" direction="0,1,0" roll="90" collisionType="static" scale="4" distance="100" checkpointindex="18" islast="false" nextcheckpoints="19,-1,-1">
355        <attached>
356            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
357        </attached>
358        <collisionShapes>
359            <!--
360                <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
361                <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
362                <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
363                <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
364                <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
365
366                -->
367        </collisionShapes>
368    </RaceCheckPoint>
369
370
371
372<RaceCheckPoint name="checkpoint20" position="6000,8050,6000" direction="0,1,0" roll="90" collisionType="static" scale="4" distance="100" checkpointindex="19" islast="true">
373        <attached>
374            <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" />
375        </attached>
376        <collisionShapes>
377           <!--
378                <BoxCollisionShape position="0,0,55"      halfExtents="55, 10, 10" />
379                <BoxCollisionShape position="27.5,0,-27.5"      halfExtents="55, 10, 10" />
380                <BoxCollisionShape position="55,0,0"      halfExtents="10, 10, 55" />
381                <BoxCollisionShape position="-27.5,0,-27.5"      halfExtents="10, 10, 55" />
382                <BoxCollisionShape position="-55,0,0"     halfExtents="55, 10, 10" />
383
384                -->
385        </collisionShapes>
386    </RaceCheckPoint>
387
388
389</checkpoints>
390</SpaceRaceManager>
391
392 <SpawnPoint team=0 position="0,8050,0" lookat="0,8000,-8000" spawnclass=SpaceShip pawndesign=spaceshipRace />
393
394 
395        <!-- -----------------------Zylinder----------------------------
396<StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000 friction=0.01 >
397      <attached>
398        <Model position="0,5100,-1300" mesh="cylinder.mesh" scale3D="100,100,100" />
399      </attached>
400  </StaticEntity>
401-->
402
403        <!-- ------------------Boden----------------- -->
404  <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
405     <attached>
406        <Model position="0,0,0" mesh="CubeGround.mesh" scale3D="8000,8000,8000" />
407      </attached>
408      <collisionShapes>
409        <BoxCollisionShape position="0,50,0" halfExtents="8000,8000,8000" />
410      </collisionShapes>
411</StaticEntity>
412
413  </Scene>
414</Level>
415
Note: See TracBrowser for help on using the repository browser.