Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/SuperOrxoBros_FS17/data/levels/SOB.oxw @ 11404

Last change on this file since 11404 was 11404, checked in by davidf, 7 years ago
File size: 15.7 KB
Line 
1<LevelInfo
2        name = "SOOOOOOOOOOOB"
3        description = "Jump as high as you can. Use the mouse to guide the jumper."
4        tags = "minigame"
5        screenshot = "jump.png"
6        />
7
8        <?lua
9        include("HUDTemplates3.oxo") 
10        include("jumpHUD.oxo")
11        include("stats.oxo")
12        include("templates/lodInformation.oxt")
13        ?>
14
15        <Template name=sobfigurecameras defaults=0>
16                <SOBFigure>
17                        <camerapositions>
18                                <CameraPosition position="0,-150,30" absolute=true mouselook=false drag=false direction="0,1,0"/>
19                        </camerapositions>
20                </SOBFigure>
21        </Template>
22
23
24
25
26
27        <Template name=sobFigureTemplate>
28                <SOBFigure camerapositiontemplate=sobfigurecameras collisionType="dynamic" position="0,0,30">
29                        <attached>
30                                <Model  mesh="Orxo.mesh" scale=2.5 pitch=0 roll=90 yaw=90/>
31                                <ParticleSpawner source="Orxonox/fire4" startdelay=0  position="-4,0,0" visible="false"/>
32                        </attached>
33
34                        <collisionShapes>
35                                <BoxCollisionShape position="-2,0,2" halfExtents="3,1,10" />
36                                <!--      <SphereCollisionShape yaw="20" pitch="20" roll="20"  radius="10" position="0,0,10" />   -->
37                        </collisionShapes>
38
39
40                </SOBFigure>
41        </Template>
42
43        <Level
44                plugins = "superorxobros"
45                gametype = "SOB"
46                >-
47
48
49                <templates>
50                        <Template link=lodtemplate_default />
51                </templates>
52                <?lua include("includes/notifications.oxi") ?>
53
54                <WorldAmbientSound source="Ganymede.ogg" looping="true" playOnLoad="true"/>
55
56
57                <Scene ambientlight="1.0, 1.0, 1.0" skybox="Orxonox/skyBoxBasic">
58                        <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" />
59                        <SpawnPoint position="991.729, -110.11, 435.404" orientation="0.534038, 0.563456, 0.212168, 0.593553" />
60
61
62
63
64
65
66
67                        <MovableEntity >
68                                <attached>
69                                        <SOBCenterpoint name=jumpcenter cameraOffset="10" figureTemplate=sobFigureTemplate>
70                                                <attached> 
71                                                </attached>
72                                        </SOBCenterpoint>
73
74                                </attached>
75                        </MovableEntity>
76
77
78
79
80
81                        <!-- <?lua
82                                                for i = 0, 100, 1
83                                                do
84                                                j = math.random()
85                                                ?>
86                       
87                                                <SOBItem position="<?lua print(i*10) ?>,0,-20" collisionType="static">
88                                                        <attached>
89                                                                <Model  mesh="MarioCube.mesh" scale="10" />
90                                                        </attached>
91                       
92                                                </SOBItem>
93                       
94                                                <?lua
95                                                end
96                                                ?>
97                                        -->
98
99
100                                        //erster Boden 
101
102                                       
103
104
105                                        <Model mesh="Cube2.12.mesh" position="0,0,-30" scale=10 Pitch=90/>
106                                        <Model mesh="Cube2.12.mesh" position="120,0,-30" scale=10 Pitch=90/>
107                                        <Model mesh="Cube2.12.mesh" position="240,0,-30" scale=10 Pitch=90/>
108                                        <Model mesh="Cube2.6.mesh" position="360,0,-30" scale=10 Pitch=90/>
109
110                                        <StaticEntity collisionType="static">
111                                                <collisionShapes>
112                                                        <BoxCollisionShape position="205,0,-20" halfExtents="210,5,5" />
113                                                </collisionShapes>
114                                        </StaticEntity>
115
116                                        //Luft1
117
118
119
120<!--                                    BLOCK 1 in der LUFT - alle analog wie diesen :) -->
121<!-- Sobald ein QBlock von unten gehittet wird, wechselt die Visibility von allen attached Models. Hier wuerde also Cube1.1 invisible und Cube2.12 visible. Die Collisionshape wird ja sowieso beibehalten. -->
122                                        <SOBQBlock collisionType="static">                                                                                              <!-- 1 -->
123                                                <attached>
124                                                        <Model mesh="QCube.mesh" position="120,0,20" scale=10/>
125                                                        <Model mesh="Cube1.1.mesh" position="120,0,30" scale=10 visible="false"/>
126                                                </attached>
127                                                <collisionShapes>
128                                                        <BoxCollisionShape position="120,0,20" halfExtents="5,5,5" />
129                                                </collisionShapes>
130                                        </SOBQBlock>
131
132
133                                        <Model mesh="Cube1.1.mesh" position="160,0,20" scale=10 />                                              <!-- 2 -->
134                                       
135                                        <SOBQBlock collisionType="static"><!--ITEM-->
136                                                <attached>
137                                                        <Model mesh="QCube.mesh" position="170,0,20" scale=10/>                                 <!-- 3 -->
138                                                        <Model mesh="Cube1.1.mesh" position="170,0,30" scale=10 visible="false"/>
139                                                </attached>
140                                                <collisionShapes>
141                                                        <BoxCollisionShape position="170,0,20" halfExtents="5,5,5" /><!-- 3 -->
142                                                </collisionShapes>
143                                        </SOBQBlock>
144
145                                <SOBMushroom collisionType="dynamic" speed=30>
146                                                <attached>
147                                                        <Model mesh="QCube.mesh" position="0,0,20" scale=10/>
148                                                       
149                                                </attached>
150                                                <collisionShapes>
151                                                        <BoxCollisionShape position="0,0,20" halfExtents="5,5,5" /><!-- 1 -->
152                                                </collisionShapes>
153                                        </SOBMushroom>
154
155
156                                        <Model mesh="Cube1.1.mesh" position="180,0,20" scale=10/>                                               <!-- 4 -->
157                                        <Model mesh="Cube1.1.mesh" position="200,0,20" scale=10/>                                               <!-- 7 -->
158
159                                        <SOBQBlock collisionType="static"><!-- ? Block -->
160                                                <attached>
161                                                        <Model mesh="QCube.mesh" position="180,0,60" scale=10/>                                 <!-- 5 -->
162                                                        <Model mesh="Cube1.1.mesh" position="180,0,70" scale=10 visible="false"/>
163                                                </attached>
164                                                <collisionShapes>
165                                                        <BoxCollisionShape position="180,0,60" halfExtents="5,5,5" />                   
166                                                </collisionShapes>
167                                        </SOBQBlock>
168
169                                         
170
171
172
173                                         <SOBQBlock collisionType="static"><!-- ? Block -->
174                                                <attached>
175                                                        <Model mesh="QCube.mesh" position="190,0,20" scale=10/>                                 <!-- 6 -->
176                                                        <Model mesh="Cube1.1.mesh" position="190,0,30" scale=10 visible="false"/>
177                                                </attached>
178                                                <collisionShapes>
179                                                        <BoxCollisionShape position="190,0,20" halfExtents="5,5,5" />
180                                                </collisionShapes>
181                                        </SOBQBlock>
182
183
184                                        <StaticEntity collisionType="static"><!-- ? Block -->
185                                                <collisionShapes><!-- ?/S Block has his own collisionShape(1,3,5,6) -->
186                                                       
187                                                        <BoxCollisionShape position="160,0,20" halfExtents="5,5,5" /><!-- 2 -->
188                                                        <BoxCollisionShape position="180,0,20" halfExtents="5,5,5" /><!-- 4 -->
189                                                        <BoxCollisionShape position="200,0,20" halfExtents="5,5,5" /><!-- 7 -->
190                                                        <!--<BoxCollisionShape position="120,0,20" halfExtents="5,5,5" /><!-- 1 -->
191                                                        <!--<BoxCollisionShape position="170,0,20" halfExtents="5,5,5" /><!-- 3 -->
192                                                        <!--<BoxCollisionShape position="180,0,60" halfExtents="5,5,5" /><!-- 5 -->
193                                                        <!--<BoxCollisionShape position="190,0,20" halfExtents="5,5,5" /><!-- 6 -->
194
195
196                                                </collisionShapes>
197                                        </StaticEntity>
198
199
200
201
202                                        //Boden2
203                                        <Model mesh="Cube2.12.mesh" position="440,0,-30" scale=10 Pitch=90/>
204                                        <Model mesh="Cube2.2.mesh" position="560,0,-30" scale=10 Pitch=90/>
205
206                                        <StaticEntity collisionType="static">
207                                                <collisionShapes>
208                                                        <BoxCollisionShape position="505,0,-20" halfExtents="70,5,5" />
209                                                </collisionShapes>
210                                        </StaticEntity>
211
212
213
214
215
216                                        //Luft2
217                                        <Model mesh="Cube1.1.mesh" position="500,0,20" scale=10/>
218                                        <SOBQBlock collisionType="static"><!--ITEM-->
219                                                <attached>
220                                                        <Model mesh="QCube.mesh" position="510,0,20" scale=10/>
221                                                        <Model mesh="Cube1.1.mesh" position="510,0,30" scale=10 visible="false"/>
222                                                </attached>
223                                                <collisionShapes>
224                                                        <BoxCollisionShape position="510,0,20" halfExtents="5,5,5" />
225                                                </collisionShapes>
226                                        </SOBQBlock>
227                                        <Model mesh="Cube1.1.mesh" position="520,0,20" scale=10/>
228                                        <Model mesh="Cube1.6.mesh" position="530,0,60" scale=10/>
229                                        <Model mesh="Cube1.1.mesh" position="590,0,60" scale=10/>
230                                        <Model mesh="Cube1.1.mesh" position="600,0,60" scale=10/>
231
232                                        <StaticEntity collisionType="static">
233                                                <collisionShapes>
234                                                        <BoxCollisionShape position="500,0,20" halfExtents="5,5,5" />
235                                                        <!--<BoxCollisionShape position="510,0,20" halfExtents="5,5,5" />-->
236                                                        <BoxCollisionShape position="520,0,20" halfExtents="5,5,5" />
237                                                        <BoxCollisionShape position="570,0,60" halfExtents="40,5,5" />
238
239
240
241
242                                                </collisionShapes>
243                                        </StaticEntity>
244                                       
245
246                                        //Luft3
247                                        <Model mesh="Cube1.3.mesh" position="640,0,60" scale=10/>                                                       <!-- 1 -->
248                                        <Model mesh="Cube1.1.mesh" position="720,0,20" scale=10/>                                                       <!-- 4 -->
249                                        <Model mesh="Cube1.1.mesh" position="890,0,20" scale=10/>                                                       <!-- 10 -->
250                                        <Model mesh="Cube1.3.mesh" position="920,0,60" scale=10/>                                                       <!-- 11 -->
251                                        <Model mesh="Cube1.1.mesh" position="990,0,60" scale=10/>                                                       <!-- 12 -->
252                                        <Model mesh="Cube1.1.mesh" position="1020,0,60" scale=10/>                                                      <!-- 13 -->
253                                        <Model mesh="Cube1.1.mesh" position="1000,0,20" scale=10/>                                                      <!-- 14 --> <!-- only one Collision for 1000 and 1010 -->
254                                        <Model mesh="Cube1.1.mesh" position="1010,0,20" scale=10/>                                                      <!-- 14 -->
255                                       
256
257                                       
258                                               
259                                        <SOBQBlock collisionType="static"> <!-- 10er Block -->                                                          <!-- 2 -->
260                                                <attached>
261                                                        <Model mesh="QCube.mesh" position="670,0,20" scale=10/>
262                                                        <Model mesh="Cube1.1.mesh" position="670,0,30" scale=10 visible="false"/>
263                                                </attached>
264                                                <collisionShapes>
265                                                        <BoxCollisionShape position="670,0,20" halfExtents="5,5,5" />
266                                                </collisionShapes>
267                                        </SOBQBlock>
268
269                                        <SOBQBlock collisionType="static"> <!-- ? Block -->                                                             <!-- 3 -->
270                                                <attached>
271                                                        <Model mesh="QCube.mesh" position="670,0,60" scale=10/>
272                                                        <Model mesh="Cube1.1.mesh" position="670,0,70" scale=10 visible="false"/>
273                                                </attached>
274                                                <collisionShapes>
275                                                        <BoxCollisionShape position="670,0,60" halfExtents="5,5,5" />
276                                                </collisionShapes>
277                                        </SOBQBlock>
278
279                                        <SOBQBlock collisionType="static"> <!-- Stern Block -->                                                         <!-- 5 -->
280                                                <attached>
281                                                        <Model mesh="QCube.mesh" position="730,0,20" scale=10/>
282                                                        <Model mesh="Cube1.1.mesh" position="730,0,30" scale=10 visible="false"/>
283                                                </attached>
284                                                <collisionShapes>
285                                                        <BoxCollisionShape position="730,0,20" halfExtents="5,5,5" />
286                                                </collisionShapes>
287                                        </SOBQBlock>
288                                        <SOBQBlock collisionType="static"> <!-- ? Block -->                                                             <!-- 6 -->
289                                                <attached>
290                                                        <Model mesh="QCube.mesh" position="780,0,20" scale=10/>
291                                                        <Model mesh="Cube1.1.mesh" position="780,0,30" scale=10 visible="false"/>
292                                                </attached>
293                                                <collisionShapes>
294                                                        <BoxCollisionShape position="780,0,20" halfExtents="5,5,5" />
295                                                </collisionShapes>
296                                        </SOBQBlock>
297                                        <SOBQBlock collisionType="static"> <!-- ? Block -->                                                             <!-- 7 -->
298                                                <attached>
299                                                        <Model mesh="QCube.mesh" position="800,0,20" scale=10/>
300                                                        <Model mesh="Cube1.1.mesh" position="800,0,30" scale=10 visible="false"/>
301                                                </attached>
302                                                <collisionShapes>
303                                                        <BoxCollisionShape position="800,0,20" halfExtents="5,5,5" />
304                                                </collisionShapes>
305                                        </SOBQBlock>
306                                        <SOBQBlock collisionType="static"> <!-- Item Block -->                                                          <!-- 8 -->
307                                                <attached>
308                                                        <Model mesh="QCube.mesh" position="800,0,60" scale=10/>
309                                                        <Model mesh="Cube1.1.mesh" position="800,0,70" scale=10 visible="false"/>
310                                                </attached>
311                                                <collisionShapes>
312                                                        <BoxCollisionShape position="800,0,60" halfExtents="5,5,5" />
313                                                </collisionShapes>
314                                        </SOBQBlock>
315                                        <SOBQBlock collisionType="static"> <!-- ? Block -->                                                             <!-- 9 -->
316                                                <attached>
317                                                        <Model mesh="QCube.mesh" position="820,0,20" scale=10/>
318                                                        <Model mesh="Cube1.1.mesh" position="820,0,30" scale=10 visible="false"/>
319                                                </attached>
320                                                <collisionShapes>
321                                                        <BoxCollisionShape position="820,0,20" halfExtents="5,5,5" />
322                                                </collisionShapes>
323                                        </SOBQBlock>                                   
324                                        <SOBQBlock collisionType="static"> <!-- ? Block -->                                                             <!-- 15 -->
325                                                <attached>
326                                                        <Model mesh="QCube.mesh" position="1000,0,60" scale=10/>
327                                                        <Model mesh="Cube1.1.mesh" position="1000,0,70" scale=10 visible="false"/>
328                                                </attached>
329                                                <collisionShapes>
330                                                        <BoxCollisionShape position="1000,0,60" halfExtents="5,5,5" />
331                                                </collisionShapes>
332                                        </SOBQBlock>
333                                        <SOBQBlock collisionType="static"> <!-- ? Block -->                                                             <!-- 16 -->
334                                                <attached>
335                                                        <Model mesh="QCube.mesh" position="1010,0,60" scale=10/>
336                                                        <Model mesh="Cube1.1.mesh" position="1010,0,70" scale=10 visible="false"/>
337                                                </attached>
338                                                <collisionShapes>
339                                                        <BoxCollisionShape position="1010,0,60" halfExtents="5,5,5" />
340                                                </collisionShapes>
341                                        </SOBQBlock>
342                                       
343
344
345
346                                        <Model mesh="Dreieck+1.mesh" position="1220,0,-10" scale=10 Roll=90 Pitch=90 yaw=90/>   <!-- 17 --> <!--collisionshape??-->
347                                        <Model mesh="Dreieck.mesh" position="1080,0,-10" scale=10 Roll=90 Pitch=90 yaw=90/>     <!-- 18 --> <!--collisionshape??-->
348                                        <Model mesh="Dreieck.mesh" position="1110,0,-10" scale=10 Roll=90 Pitch=-90 yaw=90/>    <!-- 19 --> <!--collisionshape??-->
349
350                                       
351
352
353                                        <StaticEntity collisionType="static">
354                                                <collisionShapes>
355                                                        <BoxCollisionShape position="645,0,60" halfExtents="15,5,5" />                                                  <!-- 1 -->
356
357                                                        <BoxCollisionShape position="720,0,20" halfExtents="5,5,5" />                                                   <!-- 4 -->
358                                               
359
360                                                        <BoxCollisionShape position="890,0,20" halfExtents="5,5,5" />                                                   <!-- 10 -->
361                                                        <BoxCollisionShape position="930,0,60" halfExtents="15,5,5" />                                                  <!-- 11 -->
362                                                        <BoxCollisionShape position="990,0,60" halfExtents="5,5,5" />                                                   <!-- 12 -->
363                                                        <BoxCollisionShape position="1020,0,60" halfExtents="5,5,5" />                                                  <!-- 13 -->
364                                                        <BoxCollisionShape position="1005,0,20" halfExtents="10,5,5" />                                                 <!-- 14 -->
365                                                       
366
367                                                        <BoxCollisionShape position="1210,0,-10" halfExtents="25,5,5" />                                                <!-- 17 -->
368                                                        <BoxCollisionShape position="1215,0,0" halfExtents="20,5,5" />
369                                                        <BoxCollisionShape position="1220,0,10" halfExtents="15,5,5" />
370                                                        <BoxCollisionShape position="1225,0,20" halfExtents="10,5,5" />
371                                                       
372                                                        <BoxCollisionShape position="1065,0,-10" halfExtents="20,5,5" />                                                <!-- 18 -->
373                                                        <BoxCollisionShape position="1070,0,0" halfExtents="15,5,5" />
374                                                        <BoxCollisionShape position="1075,0,10" halfExtents="10,5,5" />
375                                                        <BoxCollisionShape position="1080,0,20" halfExtents="5,5,5" />
376
377                                                        <BoxCollisionShape position="1125,0,-10" halfExtents="20,5,5" />                                        <!-- 19 -->
378                                                        <BoxCollisionShape position="1120,0,0" halfExtents="15,5,5" />
379                                                        <BoxCollisionShape position="1115,0,10" halfExtents="10,5,5" />
380                                                        <BoxCollisionShape position="1110,0,20" halfExtents="5,5,5" />
381                                                       
382
383
384
385
386                                                </collisionShapes>
387                                        </StaticEntity>
388
389
390
391
392                                        //Boden3
393                                        <Model mesh="Cube2.12.mesh" position="620,0,-30" scale=10 Pitch=90/>
394                                        <Model mesh="Cube2.12.mesh" position="740,0,-30" scale=10 Pitch=90/>
395                                        <Model mesh="Cube2.12.mesh" position="860,0,-30" scale=10 Pitch=90/>
396                                        <Model mesh="Cube2.12.mesh" position="980,0,-30" scale=10 Pitch=90/>
397
398                                        <Model mesh="Cube2.12.mesh" position="1100,0,-30" scale=10 Pitch=90/>
399                                        <Model mesh="Cube2.2.mesh" position="1220,0,-30" scale=10 Pitch=90/>
400                                       
401
402                                        <StaticEntity collisionType="static">
403                                                <collisionShapes>
404                                                        <BoxCollisionShape position="925,0,-20" halfExtents="310,5,5" />
405                                                </collisionShapes>
406                                        </StaticEntity>
407
408                                        //Luft4
409                                        <Model mesh="Cube1.1.mesh" position="1400,0,20" scale=10/>
410                                        <Model mesh="Cube1.1.mesh" position="1410,0,20" scale=10/>
411                                        <Model mesh="Cube1.1.mesh" position="1420,0,20" scale=10/> <!-- ? Block -->
412                                        <Model mesh="Cube1.1.mesh" position="1430,0,20" scale=10/>
413                                        <Model mesh="Dreieck.mesh" position="1270,0,-10" scale=10 Roll=90 Pitch=-90 yaw=90/>    <!-- 20 -->
414
415
416                                        <StaticEntity collisionType="static">
417                                                <collisionShapes>
418                                                        <BoxCollisionShape position="1400,0,20" halfExtents="5,5,5" />
419                                                        <BoxCollisionShape position="1410,0,20" halfExtents="5,5,5" />
420                                                        <BoxCollisionShape position="1420,0,20" halfExtents="5,5,5" />
421                                                        <BoxCollisionShape position="1430,0,20" halfExtents="5,5,5" />
422
423                                                        <BoxCollisionShape position="1285,0,-10" halfExtents="20,5,5" />                                        <!-- 20 -->
424                                                        <BoxCollisionShape position="1280,0,0" halfExtents="15,5,5" />
425                                                        <BoxCollisionShape position="1275,0,10" halfExtents="10,5,5" />
426                                                        <BoxCollisionShape position="1270,0,20" halfExtents="5,5,5" />
427
428
429
430
431                                                </collisionShapes>
432                                        </StaticEntity>
433
434
435
436
437                                       
438
439                                        //Boden4
440                                        <Model mesh="Cube2.12.mesh" position="1270,0,-30" scale=10 Pitch=90/>
441                                        <Model mesh="Cube2.12.mesh" position="1390,0,-30" scale=10 Pitch=90/>
442                                        <Model mesh="Cube2.12.mesh" position="1510,0,-30" scale=10 Pitch=90/>
443                                        <Model mesh="Cube2.12.mesh" position="1630,0,-30" scale=10 Pitch=90/>
444                                        <Model mesh="Cube2.12.mesh" position="1750,0,-30" scale=10 Pitch=90/>
445
446                                        <StaticEntity collisionType="static">
447                                                <collisionShapes>
448                                                        <BoxCollisionShape position="1565,0,-20" halfExtents="300,5,5" />
449                                                </collisionShapes>
450                                        </StaticEntity>
451
452
453
454
455
456
457                                       
458
459
460                                </Scene>
461                        </Level>
Note: See TracBrowser for help on using the repository browser.