Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 11403 was 11403, checked in by davidf, 7 years ago
File size: 14.8 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                                        <Model mesh="Cube2.12.mesh" position="0,0,-30" scale=10 Pitch=90/>
102                                        <Model mesh="Cube2.12.mesh" position="120,0,-30" scale=10 Pitch=90/>
103                                        <Model mesh="Cube2.12.mesh" position="240,0,-30" scale=10 Pitch=90/>
104                                        <Model mesh="Cube2.6.mesh" position="360,0,-30" scale=10 Pitch=90/>
105
106                                        <StaticEntity collisionType="static">
107                                                <collisionShapes>
108                                                        <BoxCollisionShape position="205,0,-20" halfExtents="210,5,5" />
109                                                </collisionShapes>
110                                        </StaticEntity>
111
112                                        //Luft1
113
114
115
116<!--                                    BLOCK 1 in der LUFT - alle analog wie diesen :) -->
117<!-- 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. -->
118                                        <SOBQBlock collisionType="static">                                                                                              <!-- 1 -->
119                                                <attached>
120                                                        <Model mesh="Cube1.1.mesh" position="120,0,20" scale=10/>
121                                                        <Model mesh="Cube1.1.mesh" position="120,0,30" scale=10 visible="false"/>
122                                                </attached>
123                                                <collisionShapes>
124                                                        <BoxCollisionShape position="120,0,20" halfExtents="5,5,5" />
125                                                </collisionShapes>
126                                        </SOBQBlock>
127
128
129                                        <Model mesh="Cube1.1.mesh" position="160,0,20" scale=10 />                                              <!-- 2 -->
130                                       
131                                        <SOBQBlock collisionType="static"><!--ITEM-->
132                                                <attached>
133                                                        <Model mesh="Cube1.1.mesh" position="170,0,20" scale=10/>                               <!-- 3 -->
134                                                        <Model mesh="Cube1.1.mesh" position="170,0,30" scale=10 visible="false"/>
135                                                </attached>
136                                                <collisionShapes>
137                                                        <BoxCollisionShape position="170,0,20" halfExtents="5,5,5" /><!-- 3 -->
138                                                </collisionShapes>
139                                        </SOBQBlock>
140
141                                <SOBMushroom collisionType="dynamic" speed=30>
142                                                <attached>
143                                                        <Model mesh="Cube1.1.mesh" position="0,0,20" scale=10/>
144                                                       
145                                                </attached>
146                                                <collisionShapes>
147                                                        <BoxCollisionShape position="0,0,20" halfExtents="5,5,5" /><!-- 1 -->
148                                                </collisionShapes>
149                                        </SOBMushroom>
150
151
152                                        <Model mesh="Cube1.1.mesh" position="180,0,20" scale=10/>                                               <!-- 4 -->
153                                        <Model mesh="Cube1.1.mesh" position="200,0,20" scale=10/>                                               <!-- 7 -->
154
155                                        <SOBQBlock collisionType="static"><!-- ? Block -->
156                                                <attached>
157                                                        <Model mesh="Cube1.1.mesh" position="180,0,60" scale=10/>                               <!-- 5 -->
158                                                        <Model mesh="Cube1.1.mesh" position="180,0,70" scale=10 visible="false"/>
159                                                </attached>
160                                                <collisionShapes>
161                                                        <BoxCollisionShape position="180,0,60" halfExtents="5,5,5" />                   
162                                                </collisionShapes>
163                                        </SOBQBlock>
164
165                                         
166
167
168
169                                         <SOBQBlock collisionType="static"><!-- ? Block -->
170                                                <attached>
171                                                        <Model mesh="Cube1.1.mesh" position="190,0,20" scale=10/>                               <!-- 6 -->
172                                                        <Model mesh="Cube1.1.mesh" position="190,0,30" scale=10 visible="false"/>
173                                                </attached>
174                                                <collisionShapes>
175                                                        <BoxCollisionShape position="190,0,20" halfExtents="5,5,5" />
176                                                </collisionShapes>
177                                        </SOBQBlock>
178
179
180                                        <StaticEntity collisionType="static"><!-- ? Block -->
181                                                <collisionShapes><!-- ?/S Block has his own collisionShape(1,3,5,6) -->
182                                                       
183                                                        <BoxCollisionShape position="160,0,20" halfExtents="5,5,5" /><!-- 2 -->
184                                                        <BoxCollisionShape position="180,0,20" halfExtents="5,5,5" /><!-- 4 -->
185                                                        <BoxCollisionShape position="200,0,20" halfExtents="5,5,5" /><!-- 7 -->
186                                                        <!--<BoxCollisionShape position="120,0,20" halfExtents="5,5,5" /><!-- 1 -->
187                                                        <!--<BoxCollisionShape position="170,0,20" halfExtents="5,5,5" /><!-- 3 -->
188                                                        <!--<BoxCollisionShape position="180,0,60" halfExtents="5,5,5" /><!-- 5 -->
189                                                        <!--<BoxCollisionShape position="190,0,20" halfExtents="5,5,5" /><!-- 6 -->
190
191
192                                                </collisionShapes>
193                                        </StaticEntity>
194
195
196
197
198                                        //Boden2
199                                        <Model mesh="Cube2.12.mesh" position="440,0,-30" scale=10 Pitch=90/>
200                                        <Model mesh="Cube2.2.mesh" position="560,0,-30" scale=10 Pitch=90/>
201
202                                        <StaticEntity collisionType="static">
203                                                <collisionShapes>
204                                                        <BoxCollisionShape position="505,0,-20" halfExtents="70,5,5" />
205                                                </collisionShapes>
206                                        </StaticEntity>
207
208
209
210
211
212                                        //Luft2
213                                        <Model mesh="Cube1.1.mesh" position="500,0,20" scale=10/>
214                                        <SOBQBlock collisionType="static"><!--ITEM-->
215                                                <attached>
216                                                        <Model mesh="Cube1.1.mesh" position="510,0,20" scale=10/>
217                                                        <Model mesh="Cube1.1.mesh" position="510,0,30" scale=10 visible="false"/>
218                                                </attached>
219                                                <collisionShapes>
220                                                        <BoxCollisionShape position="510,0,20" halfExtents="5,5,5" />
221                                                </collisionShapes>
222                                        </SOBQBlock>
223                                        <Model mesh="Cube1.1.mesh" position="520,0,20" scale=10/>
224                                        <Model mesh="Cube1.6.mesh" position="530,0,60" scale=10/>
225                                        <Model mesh="Cube1.1.mesh" position="590,0,60" scale=10/>
226                                        <Model mesh="Cube1.1.mesh" position="600,0,60" scale=10/>
227
228                                        <StaticEntity collisionType="static">
229                                                <collisionShapes>
230                                                        <BoxCollisionShape position="500,0,20" halfExtents="5,5,5" />
231                                                        <!--<BoxCollisionShape position="510,0,20" halfExtents="5,5,5" />-->
232                                                        <BoxCollisionShape position="520,0,20" halfExtents="5,5,5" />
233                                                        <BoxCollisionShape position="570,0,60" halfExtents="40,5,5" />
234
235
236
237
238                                                </collisionShapes>
239                                        </StaticEntity>
240                                       
241
242                                        //Luft3
243                                        <Model mesh="Cube1.3.mesh" position="640,0,60" scale=10/>                                                       <!-- 1 -->
244                                        <Model mesh="Cube1.1.mesh" position="720,0,20" scale=10/>                                                       <!-- 4 -->
245                                        <Model mesh="Cube1.1.mesh" position="890,0,20" scale=10/>                                                       <!-- 10 -->
246                                        <Model mesh="Cube1.3.mesh" position="920,0,60" scale=10/>                                                       <!-- 11 -->
247                                        <Model mesh="Cube1.1.mesh" position="990,0,60" scale=10/>                                                       <!-- 12 -->
248                                        <Model mesh="Cube1.1.mesh" position="1020,0,60" scale=10/>                                                      <!-- 13 -->
249                                        <Model mesh="Cube1.1.mesh" position="1000,0,20" scale=10/>                                                      <!-- 14 --> <!-- only one Collision for 1000 and 1010 -->
250                                        <Model mesh="Cube1.1.mesh" position="1010,0,20" scale=10/>                                                      <!-- 14 -->
251                                       
252
253                                       
254                                               
255                                        <SOBQBlock collisionType="static"> <!-- 10er Block -->                                                          <!-- 2 -->
256                                                <attached>
257                                                        <Model mesh="Cube1.1.mesh" position="670,0,20" scale=10/>
258                                                        <Model mesh="Cube1.1.mesh" position="670,0,30" scale=10 visible="false"/>
259                                                </attached>
260                                                <collisionShapes>
261                                                        <BoxCollisionShape position="670,0,20" halfExtents="5,5,5" />
262                                                </collisionShapes>
263                                        </SOBQBlock>
264
265                                        <SOBQBlock collisionType="static"> <!-- ? Block -->                                                             <!-- 3 -->
266                                                <attached>
267                                                        <Model mesh="Cube1.1.mesh" position="670,0,60" scale=10/>
268                                                        <Model mesh="Cube1.1.mesh" position="670,0,70" scale=10 visible="false"/>
269                                                </attached>
270                                                <collisionShapes>
271                                                        <BoxCollisionShape position="670,0,60" halfExtents="5,5,5" />
272                                                </collisionShapes>
273                                        </SOBQBlock>
274
275                                        <SOBQBlock collisionType="static"> <!-- Stern Block -->                                                         <!-- 5 -->
276                                                <attached>
277                                                        <Model mesh="Cube1.1.mesh" position="730,0,20" scale=10/>
278                                                        <Model mesh="Cube1.1.mesh" position="730,0,30" scale=10 visible="false"/>
279                                                </attached>
280                                                <collisionShapes>
281                                                        <BoxCollisionShape position="730,0,20" halfExtents="5,5,5" />
282                                                </collisionShapes>
283                                        </SOBQBlock>
284                                        <SOBQBlock collisionType="static"> <!-- ? Block -->                                                             <!-- 6 -->
285                                                <attached>
286                                                        <Model mesh="Cube1.1.mesh" position="780,0,20" scale=10/>
287                                                        <Model mesh="Cube1.1.mesh" position="780,0,30" scale=10 visible="false"/>
288                                                </attached>
289                                                <collisionShapes>
290                                                        <BoxCollisionShape position="780,0,20" halfExtents="5,5,5" />
291                                                </collisionShapes>
292                                        </SOBQBlock>
293                                        <SOBQBlock collisionType="static"> <!-- ? Block -->                                                             <!-- 7 -->
294                                                <attached>
295                                                        <Model mesh="Cube1.1.mesh" position="800,0,20" scale=10/>
296                                                        <Model mesh="Cube1.1.mesh" position="800,0,30" scale=10 visible="false"/>
297                                                </attached>
298                                                <collisionShapes>
299                                                        <BoxCollisionShape position="800,0,20" halfExtents="5,5,5" />
300                                                </collisionShapes>
301                                        </SOBQBlock>
302                                        <SOBQBlock collisionType="static"> <!-- Item Block -->                                                          <!-- 8 -->
303                                                <attached>
304                                                        <Model mesh="Cube1.1.mesh" position="800,0,60" scale=10/>
305                                                        <Model mesh="Cube1.1.mesh" position="800,0,70" scale=10 visible="false"/>
306                                                </attached>
307                                                <collisionShapes>
308                                                        <BoxCollisionShape position="800,0,60" halfExtents="5,5,5" />
309                                                </collisionShapes>
310                                        </SOBQBlock>
311                                        <SOBQBlock collisionType="static"> <!-- ? Block -->                                                             <!-- 9 -->
312                                                <attached>
313                                                        <Model mesh="Cube1.1.mesh" position="820,0,20" scale=10/>
314                                                        <Model mesh="Cube1.1.mesh" position="820,0,30" scale=10 visible="false"/>
315                                                </attached>
316                                                <collisionShapes>
317                                                        <BoxCollisionShape position="820,0,20" halfExtents="5,5,5" />
318                                                </collisionShapes>
319                                        </SOBQBlock>                                   
320                                        <SOBQBlock collisionType="static"> <!-- ? Block -->                                                             <!-- 15 -->
321                                                <attached>
322                                                        <Model mesh="Cube1.1.mesh" position="1000,0,60" scale=10/>
323                                                        <Model mesh="Cube1.1.mesh" position="1000,0,70" scale=10 visible="false"/>
324                                                </attached>
325                                                <collisionShapes>
326                                                        <BoxCollisionShape position="1000,0,60" halfExtents="5,5,5" />
327                                                </collisionShapes>
328                                        </SOBQBlock>
329                                        <SOBQBlock collisionType="static"> <!-- ? Block -->                                                             <!-- 16 -->
330                                                <attached>
331                                                        <Model mesh="Cube1.1.mesh" position="1010,0,60" scale=10/>
332                                                        <Model mesh="Cube1.1.mesh" position="1010,0,70" scale=10 visible="false"/>
333                                                </attached>
334                                                <collisionShapes>
335                                                        <BoxCollisionShape position="1010,0,60" halfExtents="5,5,5" />
336                                                </collisionShapes>
337                                        </SOBQBlock>
338                                       
339
340
341
342                                        <Model mesh="Dreieck+1.mesh" position="1220,0,-10" scale=10 Roll=90 Pitch=90 yaw=90/>   <!-- 17 --> <!--collisionshape??-->
343                                        <Model mesh="Dreieck.mesh" position="1080,0,-10" scale=10 Roll=90 Pitch=90 yaw=90/>     <!-- 18 --> <!--collisionshape??-->
344                                        <Model mesh="Dreieck.mesh" position="1110,0,-10" scale=10 Roll=90 Pitch=-90 yaw=90/>    <!-- 19 --> <!--collisionshape??-->
345
346                                       
347
348
349                                        <StaticEntity collisionType="static">
350                                                <collisionShapes>
351                                                        <BoxCollisionShape position="645,0,60" halfExtents="15,5,5" />                                                  <!-- 1 -->
352
353                                                        <BoxCollisionShape position="720,0,20" halfExtents="5,5,5" />                                                   <!-- 4 -->
354                                               
355
356                                                        <BoxCollisionShape position="890,0,20" halfExtents="5,5,5" />                                                   <!-- 10 -->
357                                                        <BoxCollisionShape position="930,0,60" halfExtents="15,5,5" />                                                  <!-- 11 -->
358                                                        <BoxCollisionShape position="990,0,60" halfExtents="5,5,5" />                                                   <!-- 12 -->
359                                                        <BoxCollisionShape position="1020,0,60" halfExtents="5,5,5" />                                                  <!-- 13 -->
360                                                        <BoxCollisionShape position="1005,0,20" halfExtents="10,5,5" />                                                 <!-- 14 -->
361                                                       
362
363                                                        <BoxCollisionShape position="1210,0,-10" halfExtents="25,5,5" />                                                <!-- 17 -->
364                                                        <BoxCollisionShape position="1065,0,-10" halfExtents="20,5,5" />                                                <!-- 18 -->
365                                                        <!--<BoxCollisionShape position="1105,0,-10" halfExtents="15,5,5" />            -->                             <!-- 19 -->
366                                                       
367
368
369
370
371                                                </collisionShapes>
372                                        </StaticEntity>
373
374
375
376
377                                        //Boden3
378                                        <Model mesh="Cube2.12.mesh" position="620,0,-30" scale=10 Pitch=90/>
379                                        <Model mesh="Cube2.12.mesh" position="740,0,-30" scale=10 Pitch=90/>
380                                        <Model mesh="Cube2.12.mesh" position="860,0,-30" scale=10 Pitch=90/>
381                                        <Model mesh="Cube2.12.mesh" position="980,0,-30" scale=10 Pitch=90/>
382
383                                        <Model mesh="Cube2.12.mesh" position="1100,0,-30" scale=10 Pitch=90/>
384                                        <Model mesh="Cube2.2.mesh" position="1220,0,-30" scale=10 Pitch=90/>
385                                       
386
387                                        <StaticEntity collisionType="static">
388                                                <collisionShapes>
389                                                        <BoxCollisionShape position="925,0,-20" halfExtents="310,5,5" />
390                                                </collisionShapes>
391                                        </StaticEntity>
392
393                                        //Luft4
394                                        <Model mesh="Cube1.1.mesh" position="1400,0,20" scale=10/>
395                                        <Model mesh="Cube1.1.mesh" position="1410,0,20" scale=10/>
396                                        <Model mesh="Cube1.1.mesh" position="1420,0,20" scale=10/> <!-- ? Block -->
397                                        <Model mesh="Cube1.1.mesh" position="1430,0,20" scale=10/>
398                                        <Model mesh="Dreieck.mesh" position="1270,0,-10" scale=10 Roll=90 Pitch=-90 yaw=90/>
399
400
401                                        <StaticEntity collisionType="static">
402                                                <collisionShapes>
403                                                        <BoxCollisionShape position="1400,0,20" halfExtents="5,5,5" />
404                                                        <BoxCollisionShape position="1410,0,20" halfExtents="5,5,5" />
405                                                        <BoxCollisionShape position="1420,0,20" halfExtents="5,5,5" />
406                                                        <BoxCollisionShape position="1430,0,20" halfExtents="5,5,5" />
407
408
409
410
411                                                </collisionShapes>
412                                        </StaticEntity>
413
414
415
416
417                                       
418
419                                        //Boden4
420                                        <Model mesh="Cube2.12.mesh" position="1270,0,-30" scale=10 Pitch=90/>
421                                        <Model mesh="Cube2.12.mesh" position="1390,0,-30" scale=10 Pitch=90/>
422                                        <Model mesh="Cube2.12.mesh" position="1510,0,-30" scale=10 Pitch=90/>
423                                        <Model mesh="Cube2.12.mesh" position="1630,0,-30" scale=10 Pitch=90/>
424                                        <Model mesh="Cube2.12.mesh" position="1750,0,-30" scale=10 Pitch=90/>
425
426                                        <StaticEntity collisionType="static">
427                                                <collisionShapes>
428                                                        <BoxCollisionShape position="1565,0,-20" halfExtents="300,5,5" />
429                                                </collisionShapes>
430                                        </StaticEntity>
431
432
433
434
435
436
437                                       
438
439
440                                </Scene>
441                        </Level>
Note: See TracBrowser for help on using the repository browser.