Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/SuperOrxoBros_FS17/data/levels/SOB_Level2.oxw @ 11410

Last change on this file since 11410 was 11410, checked in by davidf, 7 years ago

new level and level1 finished

File size: 10.8 KB
Line 
1<LevelInfo
2        name = "SOB Level2"
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="Pilz.mesh" position="0,0,21" scale=3 pitch=90/>
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                        <SOBMushroom collisionType="dynamic" speed=30>
93                                                <attached>
94                                                        <Model mesh="Pilz.mesh" position="0,0,21" scale=3 pitch=90/>
95                                                       
96                                                </attached>
97                                                <collisionShapes>
98                                                        <BoxCollisionShape position="0,0,20" halfExtents="5,5,5" />                                             <!-- ?????? -->
99                                                </collisionShapes>
100                                        </SOBMushroom>
101
102
103
104
105
106                        <!-- <?lua
107                                                for i = 0, 100, 1
108                                                do
109                                                j = math.random()
110                                                ?>
111                       
112                                                <SOBItem position="<?lua print(i*10) ?>,0,-20" collisionType="static">
113                                                        <attached>
114                                                                <Model  mesh="MarioCube.mesh" scale="10" />
115                                                        </attached>
116                       
117                                                </SOBItem>
118                       
119                                                <?lua
120                                                end
121                                                ?>
122                                        -->
123
124
125                                        //erster Boden 
126
127                                       
128
129
130                                       
131                                        <Model mesh="Cube2.6.mesh" position="-60,0,-30" scale=10 Pitch=90/>
132                                        <Model mesh="Cube2.12.mesh" position="0,0,-30" scale=10 Pitch=90/>                                     
133                                        <Model mesh="Cube2.12.mesh" position="120,0,-30" scale=10 Pitch=90/>
134
135
136                                        <Model mesh="Cube2.12.mesh" position="-60,10,-30" scale=10 Pitch=90/>
137                                        <Model mesh="Cube1.1.mesh" position="60,10,-20" scale=10 Pitch=90/>
138                                        <Model mesh="Cube1.6.mesh" position="-40,20,-20" scale=10 Pitch=90/>
139                                        <Model mesh="Cube1.6.mesh" position="-40,30,-20" scale=10 Pitch=90/>
140                                        <Model mesh="Cube1.1.mesh" position="40,20,-20" scale=10 Pitch=90/>
141                                        <Model mesh="Cube1.1.mesh" position="40,30,-20" scale=10 Pitch=90/>
142                                        <Model mesh="Cube1.1.mesh" position="30,40,-20" scale=10 Pitch=90/>
143                                        <Model mesh="Cube1.1.mesh" position="30,50,-20" scale=10 Pitch=90/>
144
145                                        <Model mesh="Cube1.6.mesh" position="-30,40,-20" scale=10 Pitch=90/>
146                                        <Model mesh="Cube1.6.mesh" position="-30,50,-20" scale=10 Pitch=90/>
147                                        <Model mesh="Cube1.3.mesh" position="-10,60,-20" scale=10 Pitch=90/>
148                                        <Model mesh="Cube1.3.mesh" position="10,20,-20" scale=10 Pitch=90/>
149                                        <Model mesh="Cube1.3.mesh" position="10,30,-20" scale=10 Pitch=90/>                             
150
151
152
153                                        <StaticEntity collisionType="static">
154                                                <collisionShapes>
155                                                        <BoxCollisionShape position="85,0,-20" halfExtents="150,5,5" />
156                                                </collisionShapes>
157                                        </StaticEntity>
158
159                                        //Luft1
160
161                                        <Model mesh="Schloss.mesh" position="0,40,60" scale=12 pitch=90/>
162                                        <Model mesh="Rohr.mesh" position="125,5,-35" scale=10 pitch=90 />                                                               
163                                        <Model mesh="Rohr.mesh" position="195,5,-25" scale=10 pitch=90 />
164
165
166                                        //Boden2
167
168                                        <Model mesh="Cube2.12.mesh" position="270,0,-30" scale=10 Pitch=90/>                                   
169                                        <Model mesh="Cube2.12.mesh" position="390,0,-30" scale=10 Pitch=90/>
170                                        <Model mesh="Cube2.12.mesh" position="510,0,-30" scale=10 Pitch=90/>                                   
171                                        <Model mesh="Cube2.12.mesh" position="630,0,-30" scale=10 Pitch=90/>
172                                        <Model mesh="Cube2.12.mesh" position="750,0,-30" scale=10 Pitch=90/>                                   
173                                        <Model mesh="Cube2.12.mesh" position="870,0,-30" scale=10 Pitch=90/>
174                                        <Model mesh="Cube2.3.mesh" position="990,0,-30" scale=10 Pitch=90/>
175
176
177                                        <StaticEntity collisionType="static">
178                                                <collisionShapes>
179                                                        <BoxCollisionShape position="645,0,-20" halfExtents="375,5,5" />
180                                                </collisionShapes>
181                                        </StaticEntity>
182
183                               
184
185
186
187
188
189
190                                        //Luft2
191
192                                        <SOBQBlock collisionType="static" type="Mushroom" position="320,0,20">                                                                  <!-- L1.1 -->
193                                                <attached>
194                                                        <Model mesh="QCube.mesh" scale=10 pitch=90 />
195                                                </attached>
196                                                <collisionShapes>
197                                                        <BoxCollisionShape position="0,0,0" halfExtents="5,5,5" />
198                                                </collisionShapes>
199                                        </SOBQBlock>
200
201                                        <SOBQBlock collisionType="static" type="Mushroom" position="330,0,20">                                                                  <!-- L1.1 -->
202                                                <attached>
203                                                        <Model mesh="QCube.mesh" scale=10 pitch=90 />
204                                                </attached>
205                                                <collisionShapes>
206                                                        <BoxCollisionShape position="0,0,0" halfExtents="5,5,5" />
207                                                </collisionShapes>
208                                        </SOBQBlock>
209
210                                        <SOBQBlock collisionType="static" type="Mushroom" position="340,0,20">                                                                  <!-- L1.1 -->
211                                                <attached>
212                                                        <Model mesh="QCube.mesh" scale=10 pitch=90 />
213                                                </attached>
214                                                <collisionShapes>
215                                                        <BoxCollisionShape position="0,0,0" halfExtents="5,5,5" />
216                                                </collisionShapes>
217                                        </SOBQBlock>
218
219                                        <SOBQBlock collisionType="static" type="Mushroom" position="350,0,20">                                                                  <!-- L1.1 -->
220                                                <attached>
221                                                        <Model mesh="QCube.mesh" scale=10 pitch=90 />
222                                                </attached>
223                                                <collisionShapes>
224                                                        <BoxCollisionShape position="0,0,0" halfExtents="5,5,5" />
225                                                </collisionShapes>
226                                        </SOBQBlock>
227
228                                        <SOBQBlock collisionType="static" type="Mushroom" position="360,0,20">                                                                  <!-- L1.1 -->
229                                                <attached>
230                                                        <Model mesh="QCube.mesh" scale=10 pitch=90 />
231                                                </attached>
232                                                <collisionShapes>
233                                                        <BoxCollisionShape position="0,0,0" halfExtents="5,5,5" />
234                                                </collisionShapes>
235                                        </SOBQBlock>
236
237
238                                        <Model mesh="Cube1.1.mesh" position="390,0,-10" scale=10 Pitch=90/>
239
240                                        <Model mesh="Cube1.1.mesh" position="410,0,-10" scale=10 Pitch=90/>
241                                        <Model mesh="Cube1.1.mesh" position="410,0,0" scale=10 Pitch=90/>
242
243                                        <Model mesh="Cube1.3.mesh" position="430,0,-10" scale=10 yaw=-90/>
244
245                                        <Model mesh="Cube1.1.mesh" position="450,0,-10" scale=10 Pitch=90/>
246                                        <Model mesh="Cube1.3.mesh" position="450,0,0" scale=10 yaw=-90/>
247
248                                        <Model mesh="Cube1.1.mesh" position="470,0,-10" scale=10 Pitch=90/>
249                                        <Model mesh="Cube1.3.mesh" position="470,0,0" scale=10 yaw=-90/>
250
251                                        <Model mesh="Cube1.3.mesh" position="490,0,-10" scale=10 yaw=-90/>
252
253                                        <Model mesh="Cube1.3.mesh" position="530,0,-10" scale=10 yaw=-90/>
254
255                                        <Model mesh="Cube1.1.mesh" position="550,0,-10" scale=10 Pitch=90/>
256                                        <Model mesh="Cube1.1.mesh" position="550,0,0" scale=10 Pitch=90/>
257
258                                        <SOBQBlock collisionType="static" type="Mushroom" position="510,0,30">                                                                  <!-- L1.1 -->
259                                                <attached>
260                                                        <Model mesh="QCube.mesh" scale=10 pitch=90 />
261                                                </attached>
262                                                <collisionShapes>
263                                                        <BoxCollisionShape position="0,0,0" halfExtents="5,5,5" />
264                                                </collisionShapes>
265                                        </SOBQBlock>
266
267
268
269                                        <Model mesh="Cube1.3.mesh" position="610,0,20" scale=10 yaw=-90/>
270                                        <Model mesh="Cube1.1.mesh" position="620,0,20" scale=10 Pitch=90/>
271                                        <Model mesh="Cube1.3.mesh" position="630,0,20" scale=10 yaw=-90/>
272                                        <Model mesh="Cube1.1.mesh" position="640,0,40" scale=10 Pitch=90/>
273                                        <Model mesh="Cube1.1.mesh" position="650,0,40" scale=10 Pitch=90/>
274                                        <Model mesh="Cube1.3.mesh" position="660,0,20" scale=10 yaw=-90/>
275                                        <Model mesh="Cube1.1.mesh" position="670,0,20" scale=10 Pitch=90/>
276                                        <Model mesh="Cube1.3.mesh" position="680,0,20" scale=10 yaw=-90/>
277
278                                        <SOBQBlock collisionType="static" type="Mushroom" position="680,0,50">                                                                  <!-- L1.1 -->
279                                                <attached>
280                                                        <Model mesh="QCube.mesh" scale=10 pitch=90 />
281                                                </attached>
282                                                <collisionShapes>
283                                                        <BoxCollisionShape position="0,0,0" halfExtents="5,5,5" />
284                                                </collisionShapes>
285                                        </SOBQBlock>
286
287
288
289                                        <Model mesh="Cube2.6.mesh" position="740,0,20" scale=10 yaw=-90 Pitch=-90/>
290                                        <Model mesh="Cube2.3.mesh" position="760,0,0" scale=10 yaw=-90 Pitch=-90/>
291                                        <Model mesh="Cube2.3.mesh" position="760,0,80" scale=10 yaw=-90 Pitch=-90/>
292                                       
293
294
295
296                                        <Model mesh="Cube1.6.mesh" position="800,0,20" scale=10 />
297                                        <Model mesh="Cube2.3.mesh" position="800,0,80" scale=10 Pitch=-90/>
298                                        <Model mesh="Cube2.6.mesh" position="840,0,30" scale=10 yaw=-90 Pitch=-90/>
299                                        <Model mesh="Cube2.2.mesh" position="880,0,80" scale=10 Pitch=-90/>
300                                        <Model mesh="Cube2.2.mesh" position="900,0,80" scale=10 Pitch=-90/>
301
302                                        <Model mesh="Cube2.2.mesh" position="980,0,80" scale=10 Pitch=-90/>
303                                        <Model mesh="Cube2.2.mesh" position="1000,0,80" scale=10 Pitch=-90/>
304
305                                        <Model mesh="Cube2.6.mesh" position="940,0,20" scale=10 Pitch=-90 yaw=-90/>
306                                        <Model mesh="Cube1.3.mesh" position="980,0,20" scale=10 Pitch=-90/>
307                                        <Model mesh="Cube1.1.mesh" position="1010,0,20" scale=10 Pitch=-90/>
308
309
310                                        //Boden3
311
312                                        <Model mesh="Cube2.12.mesh" position="1050,0,-30" scale=10 Pitch=90/>                                   
313                                        <Model mesh="Cube2.12.mesh" position="1170,0,-30" scale=10 Pitch=90/>
314                                        <Model mesh="Cube2.12.mesh" position="1290,0,-30" scale=10 Pitch=90/>
315                                        <Model mesh="Cube2.2.mesh" position="1410,0,-30" scale=10 Pitch=90/>
316
317                                        //Boden4
318                                        <Model mesh="Cube2.2.mesh" position="1430,0,-30" scale=10 Pitch=90/>
319
320                                        //Boden5
321                                        <Model mesh="Cube2.12.mesh" position="1450,0,-30" scale=10 Pitch=90/>
322
323                                        //Boden6
324                                        <Model mesh="Cube2.6.mesh" position="1640,0,-30" scale=10 Pitch=90/>
325                                        <Model mesh="Cube2.2.mesh" position="1700,0,-30" scale=10 Pitch=90/>
326
327                                        //Boden7
328                                        <Model mesh="Cube2.12.mesh" position="1790,0,-30" scale=10 Pitch=90/>
329                                        <Model mesh="Cube2.12.mesh" position="1910,0,-30" scale=10 Pitch=90/>
330                                        <Model mesh="Cube2.12.mesh" position="2030,0,-30" scale=10 Pitch=90/>
331
332
333
334
335
336                                       
337
338
339
340                                       
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371                                       
372                                       
373                                       
374
375
376
377
378                                       
379
380
381
382
383
384
385
386                                       
387
388
389                                </Scene>
390                        </Level>
Note: See TracBrowser for help on using the repository browser.