Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 11405 was 11405, checked in by jkindle, 7 years ago

Added a HUD and type to QBlocks

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