Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/SuperOrxoBros_HS18/data/levels/SOBlevels/SOB5.oxw @ 12177

Last change on this file since 12177 was 12177, checked in by siramesh, 5 years ago

Super Orxo Bros Final (Sidharth Ramesh, Nisa Balta, Jeff Ren)

File size: 13.5 KB
Line 
1<LevelInfo
2        name = "SOB5"
3        description = "The retro-game Super Mario Bros. in Orxonox."
4        screenshot = "SOB.png"
5        />
6
7        <?lua
8        include("stats.oxo")
9        include("templates/lodInformation.oxt")
10        include("overlays/SOBHUD.oxo")
11        ?>
12
13
14
15        <Template name=mushroom defaults=0>
16                <SOBMushroom collisionType="dynamic" speed=30>
17                        <attached>
18                                <Model mesh="Pilz.mesh" position="0,0,21" scale=3 pitch=90/>
19                        </attached>
20                        <collisionShapes>
21                                <BoxCollisionShape position="0,0,20" halfExtents="5,5,5" />
22                        </collisionShapes>
23                </SOBMushroom>
24        </Template>
25
26        <Template name=coin defaults=0 >
27                <SOBCoin speed = 15 lifetime = 0.7>
28                        <attached>
29                                <Model mesh="Coin.mesh" position="0,0,11" scale=3 pitch=-90 roll=90/>
30                        </attached>
31                       
32                </SOBCoin>
33        </Template>
34
35
36
37        <Template name=sobfigurecameras defaults=0>
38                <SOBFigure>
39                        <camerapositions>
40                                <CameraPosition position="0,-250,30" absolute=true mouselook=false drag=false direction="0,1,0"/>
41                        </camerapositions>
42                </SOBFigure>
43        </Template>
44
45
46
47
48        <Template name=sobFigureTemplate>
49                <SOBFigure camerapositiontemplate=sobfigurecameras collisionType="dynamic" position="0,0,30">
50                        <attached>
51                                <Model  mesh="orxo.mesh" position = "0,0,12" scale=2.5 pitch=0 roll=90 yaw=90/>
52                                <ParticleSpawner source="Orxonox/fire4" startdelay=0  position="-4,0,0" visible="false"/>
53                        </attached>
54
55                        <collisionShapes>
56                                <BoxCollisionShape position="0,0,2" halfExtents="3,1,10" />
57                        </collisionShapes>
58
59
60                </SOBFigure>
61        </Template>
62
63
64        <Template name=fireball>
65                <SOBFireball collisionType="dynamic" speed=90>
66                        <attached>
67                                <Model mesh="planets/DDDDsol.mesh" position="0,0,0" scale=3 pitch=90/>
68
69                                <ParticleSpawner source="Orxonox/fire4" startdelay=0  position="-4,0,0" visible="false"/>
70                               
71                        </attached>
72                        <collisionShapes>
73                                <SphereCollisionShape position="0,0,0" radius="3" />                   
74                        </collisionShapes>
75                </SOBFireball>
76        </Template>
77
78        <Template name=gumbaShootable>
79                <SOBGumba collisionType="dynamic" speed=60>
80                        <attached>
81                                <Model mesh="Goomba.mesh" position="0,0,1" scale=3 pitch=90/>                           
82                        </attached>
83                        <collisionShapes>
84                                <BoxCollisionShape position="0,0,0" halfExtents="5,5,3" />                     
85                        </collisionShapes>
86                </SOBGumba>
87        </Template>
88
89
90        <Level
91                plugins = "superorxobros"
92                gametype = "SOB"
93                >-
94
95
96                <templates>
97                        <Template link=lodtemplate_default />
98                </templates>
99                <?lua include("includes/notifications.oxi") ?>
100
101                <WorldAmbientSound source="Ganymede.ogg" looping="true" playOnLoad="true"/>
102
103
104                <Scene ambientlight="1.0, 1.0, 1.0" skybox="Orxonox/skyBoxBasic">
105                        <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" />
106                        <SpawnPoint position="1984,-5,88 " orientation="0.534038, 0.563456, 0.212168, 0.593553" />
107
108
109
110                        <MovableEntity >
111                                <attached>
112                                        <SOBCenterpoint name=jumpcenter cameraOffset="10" figureTemplate=sobFigureTemplate>
113                                                <attached> 
114                                                </attached>
115                                        </SOBCenterpoint>
116
117                                </attached>
118                        </MovableEntity>
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                        <StaticEntity collisionType="static" mass='-1'>
123                                                <collisionShapes>
124                                                        <BoxCollisionShape position="115,0,-20" halfExtents="120,5,5" />
125                                                </collisionShapes>
126                                        </StaticEntity>
127
128
129                        <Model mesh="Cube1.1.mesh" position="340,0,-10" scale=10 Pitch=90/>
130                        <StaticEntity collisionType="static" mass='-1'>
131                                                <collisionShapes>
132                                                        <BoxCollisionShape position="340,0,-10" halfExtents="5,5,5" />
133                                                </collisionShapes>
134                                        </StaticEntity>
135
136
137                        <Model mesh="Cube1.1.mesh" position="450,0,-60" scale=10 Pitch=90/>
138                        <StaticEntity collisionType="static" mass='-1'>
139                                                <collisionShapes>
140                                                        <BoxCollisionShape position="450,0,-60" halfExtents="5,5,5" />
141                                                </collisionShapes>
142                                        </StaticEntity>
143
144                        <Model mesh="Cube1.1.mesh" position="540,0,-40" scale=10 Pitch=90/>
145                        <StaticEntity collisionType="static" mass='-1'>
146                                                <collisionShapes>
147                                                        <BoxCollisionShape position="540,0,-40" halfExtents="5,5,5" />
148                                                </collisionShapes>
149                                        </StaticEntity>
150                       
151                        <Model mesh="Cube1.1.mesh" position="600,0,-40" scale=10 Pitch=90/>
152                        <StaticEntity collisionType="static" mass='-1'>
153                                                <collisionShapes>
154                                                        <BoxCollisionShape position="600,0,-40" halfExtents="5,5,5" />
155                                                </collisionShapes>
156                                        </StaticEntity>
157
158                        <Model mesh="Cube1.1.mesh" position="680,0,-30" scale=10 Pitch=90/>
159                        <StaticEntity collisionType="static" mass='-1'>
160                                                <collisionShapes>
161                                                        <BoxCollisionShape position="680,0,-30" halfExtents="5,5,5" />
162                                                </collisionShapes>
163                                        </StaticEntity>
164
165                        <Model mesh="Cube1.1.mesh" position="770,0,-20" scale=10 Pitch=90/>
166                        <StaticEntity collisionType="static" mass='-1'>
167                                                <collisionShapes>
168                                                        <BoxCollisionShape position="770,0,-20" halfExtents="5,5,5" />
169                                                </collisionShapes>
170                                        </StaticEntity>
171
172                        <Model mesh="Cube2.12.mesh" position="840,0,-20" scale=10 Pitch=90/>
173                                                <StaticEntity collisionType="static" mass='-1'>
174                                                                        <collisionShapes>
175                                                                                <BoxCollisionShape position="900,0,-10" halfExtents="60,5,5" />
176                                                                        </collisionShapes>
177                                                                </StaticEntity>
178
179                        <Model mesh="Cube1.1.mesh" position="1000,0,-30" scale=10 Pitch=90/>
180                        <StaticEntity collisionType="static" mass='-1'>
181                                                <collisionShapes>
182                                                        <BoxCollisionShape position="1000,0,-30" halfExtents="5,5,5" />
183                                                </collisionShapes>
184                                        </StaticEntity>
185
186                        <Model mesh="Cube1.1.mesh" position="1100,0,-40" scale=10 Pitch=90/>
187                        <StaticEntity collisionType="static" mass='-1'>
188                                                <collisionShapes>
189                                                        <BoxCollisionShape position="1100,0,-40" halfExtents="5,5,5" />
190                                                </collisionShapes>
191                                        </StaticEntity>
192                       
193                        <Model mesh="Cube1.1.mesh" position="1180,0,-20" scale=10 Pitch=90/>
194                        <StaticEntity collisionType="static" mass='-1'>
195                                                <collisionShapes>
196                                                        <BoxCollisionShape position="1180,0,-20" halfExtents="5,5,5" />
197                                                </collisionShapes>
198                                        </StaticEntity>
199
200                        <SOBTube collisionType="dynamic" cool=1 position="1300,0,-50" mass='10000'>
201                                <attached>
202                                                                                       
203                                        <Model mesh="Rohr.mesh" position="0,0,-10" scale=10 roll=90 yaw=90 pitch=-90/> 
204                                </attached>
205                        </SOBTube>
206
207                        <Model mesh="Cube1.1.mesh" position="1360,0,-30" scale=10 Pitch=90/>
208                        <StaticEntity collisionType="static" mass='-1'>
209                                                <collisionShapes>
210                                                        <BoxCollisionShape position="1360,0,-30" halfExtents="5,5,5" />
211                                                </collisionShapes>
212                                        </StaticEntity>
213                       
214                        <Model mesh="Cube2.12.mesh" position="1440,0,-30" scale=10 Pitch=90/>
215                        <StaticEntity collisionType="static" mass='-1'>
216                                                <collisionShapes>
217                                                        <BoxCollisionShape position="1500,0,-20" halfExtents="120,5,5" />
218                                                </collisionShapes>
219                                        </StaticEntity>
220
221
222
223                                                        <!-- Luft4 (BossAbschnitt)-->
224                        <Model mesh="Dreieck.mesh" position="1560,0,-10" scale=10 Roll=90 Pitch=-90 yaw=90/>                    <!-- L4.1 -->
225
226                        <Model mesh="Rohr.mesh" position="1645,5,-35" scale=10  roll=90 yaw=90 pitch=-90 />                     <!-- L4.2 -->
227                        <Model mesh="Rohr.mesh" position="1805,5,-35" scale=10  roll=90 yaw=90 pitch=-90 />                     <!-- L4.7 -->
228                        <Model mesh="Dreieckgross.mesh" position="1850,0,-10" scale=10 pitch=90 />                                              <!-- L4.8 -->
229
230
231
232
233                        <Model mesh="Schloss.mesh" position="2050,40,80" scale=15 pitch=90/>                                    <!-- L4.12 -->
234                        <Model mesh="Fahne.mesh" position="1984,-5,88" scale=10 pitch=90/>                                              <!-- L4.11 -->
235                        <Model mesh="Fahnenstange.mesh" position="1990,0,95" pitch=90 scale=3/>                                 <!-- L4.10 -->
236                        <Model mesh="Fundament.mesh" position="1990,0,-10" scale=10 yaw=180/>                                   <!-- L4.9 -->
237
238
239
240                       
241                        <!-- FLAG -->
242                        <SOBFlagstone points = 100  position="1990,0,10" collisionType="static">
243                                <collisionShapes>
244                                        <BoxCollisionShape position="0,0,0" halfExtents="5,5,5" />
245                                </collisionShapes>
246                        </SOBFlagstone>
247                        <SOBFlagstone points = 200  position="1990,0,20" collisionType="static">
248                                <collisionShapes>
249                                        <BoxCollisionShape position="0,0,0" halfExtents="5,5,5" />
250                                </collisionShapes>
251                        </SOBFlagstone>
252                        <SOBFlagstone points = 400  position="1990,0,30" collisionType="static">
253                                <collisionShapes>
254                                        <BoxCollisionShape position="0,0,0" halfExtents="5,5,5" />
255                                </collisionShapes>
256                        </SOBFlagstone>
257                        <SOBFlagstone points = 800  position="1990,0,40" collisionType="static">
258                                <collisionShapes>
259                                        <BoxCollisionShape position="0,0,0" halfExtents="5,5,5" />
260                                </collisionShapes>
261                        </SOBFlagstone>
262                        <SOBFlagstone points = 1600  position="1990,0,50" collisionType="static">
263                                <collisionShapes>
264                                        <BoxCollisionShape position="0,0,0" halfExtents="5,5,5" />
265                                </collisionShapes>
266                        </SOBFlagstone>
267                        <SOBFlagstone points = 2200  position="1990,0,60" collisionType="static">
268                                <collisionShapes>
269                                        <BoxCollisionShape position="0,0,0" halfExtents="5,5,5" />
270                                </collisionShapes>
271                        </SOBFlagstone>
272                        <SOBFlagstone points = 2700  position="1990,0,70" collisionType="static">
273                                <collisionShapes>
274                                        <BoxCollisionShape position="0,0,0" halfExtents="5,5,5" />
275                                </collisionShapes>
276                        </SOBFlagstone>
277                        <SOBFlagstone points = 3400  position="1990,0,80" collisionType="static">
278                                <collisionShapes>
279                                        <BoxCollisionShape position="0,0,0" halfExtents="5,5,5" />
280                                </collisionShapes>
281                        </SOBFlagstone>
282                        <SOBFlagstone points = 4000  position="1990,0,90" collisionType="static">
283                                <collisionShapes>
284                                        <BoxCollisionShape position="0,0,0" halfExtents="5,5,5" />
285                                </collisionShapes>
286                        </SOBFlagstone>
287
288
289                        <!-- Castlestone -->
290                        <SOBCastlestone position="2060,0,-10" collisionType="static">
291                                <collisionShapes>
292                                        <BoxCollisionShape position="0,0,0" halfExtents="5,5,5" />
293                                </collisionShapes>
294                        </SOBCastlestone>
295
296                        <SOBCastlestone position="2050,40,-10" collisionType="static">
297                                <collisionShapes>
298                                        <BoxCollisionShape position="0,0,0" halfExtents="5,5,5" />
299                                </collisionShapes>
300                        </SOBCastlestone>
301                        <StaticEntity collisionType="static" mass='-1'>
302                                <collisionShapes>
303                                        <BoxCollisionShape position="2050,20,-20" halfExtents="5,20,5" />
304                                </collisionShapes>
305                        </StaticEntity>
306
307
308
309                        <StaticEntity collisionType="static">
310                                <collisionShapes>
311
312                                        <BoxCollisionShape position="1575,0,-10" halfExtents="20,5,5" />                                        <!-- 4.1-->
313                                        <BoxCollisionShape position="1570,0,0" halfExtents="15,5,5" />
314                                        <BoxCollisionShape position="1565,0,10" halfExtents="10,5,5" />
315                                        <BoxCollisionShape position="1560,0,20" halfExtents="5,5,5" />
316
317                                        <BoxCollisionShape position="1645,0,-4" halfExtents="12,5,12" />                                        <!-- 4.2 -->
318
319
320                                        <BoxCollisionShape position="1805,0,-4" halfExtents="12,5,12" />                                        <!-- 4.7 -->
321
322                                        <BoxCollisionShape position="1860,0,-10" halfExtents="45,5,5" />                                        <!-- 4.8 -->
323                                        <BoxCollisionShape position="1865,0,0" halfExtents="40,5,5" />
324                                        <BoxCollisionShape position="1870,0,10" halfExtents="35,5,5" />
325                                        <BoxCollisionShape position="1875,0,20" halfExtents="30,5,5" />
326                                        <BoxCollisionShape position="1880,0,30" halfExtents="25,5,5" />
327                                        <BoxCollisionShape position="1885,0,40" halfExtents="20,5,5" />
328                                        <BoxCollisionShape position="1890,0,50" halfExtents="15,5,5" />
329                                        <BoxCollisionShape position="1895,0,60" halfExtents="10,5,5" />
330                                        <BoxCollisionShape position="1990,0,125" halfExtents="5,5,30" />
331                                        <BoxCollisionShape position="1940,0,150" halfExtents="45,5,5" />
332                                       
333
334
335                                </collisionShapes>
336                        </StaticEntity>
337
338
339
340                        //Boden4
341                        <Model mesh="Cube2.12.mesh" position="1560,0,-30" scale=10 Pitch=90/>
342                        <Model mesh="Cube2.12.mesh" position="1680,0,-30" scale=10 Pitch=90/>
343                        <Model mesh="Cube2.12.mesh" position="1800,0,-30" scale=10 Pitch=90/>
344                        <Model mesh="Cube2.12.mesh" position="1920,0,-30" scale=10 Pitch=90/>
345                        <Model mesh="Cube2.12.mesh" position="2040,0,-30" scale=10 Pitch=90/>
346
347
348                       
349                        <Model mesh="Cube1.3.mesh" position="1990,10,-20" scale=10 Pitch=90/>
350                        <Model mesh="Cube1.3.mesh" position="1990,20,-20" scale=10 Pitch=90/>
351                        <Model mesh="Cube1.3.mesh" position="1990,30,-20" scale=10 Pitch=90/>
352                        <Model mesh="Cube1.3.mesh" position="1990,40,-20" scale=10 Pitch=90/>
353                        <Model mesh="Cube1.3.mesh" position="1960,10,-20" scale=10 Pitch=90/>
354                        <Model mesh="Cube1.1.mesh" position="1980,20,-20" scale=10 Pitch=90/>
355                        <Model mesh="Cube1.1.mesh" position="1970,20,-20" scale=10 Pitch=90/>
356                        <Model mesh="Cube1.1.mesh" position="1980,30,-20" scale=10 Pitch=90/>
357
358                        <Model mesh="Cube1.1.mesh" position="2000,50,-20" scale=10 Pitch=90/>
359                        <Model mesh="Cube1.1.mesh" position="2010,50,-20" scale=10 Pitch=90/>
360                        <Model mesh="Cube1.1.mesh" position="2010,60,-20" scale=10 Pitch=90/>
361                       
362
363                        <Model mesh="Cube1.6.mesh" position="2020,10,-20" scale=10 Pitch=90/>
364                        <Model mesh="Cube1.6.mesh" position="2020,20,-20" scale=10 Pitch=90/>
365                        <Model mesh="Cube1.6.mesh" position="2020,30,-20" scale=10 Pitch=90/>
366                        <Model mesh="Cube1.6.mesh" position="2020,40,-20" scale=10 Pitch=90/>
367                        <Model mesh="Cube1.6.mesh" position="2020,50,-20" scale=10 Pitch=90/>
368                        <Model mesh="Cube1.6.mesh" position="2020,60,-20" scale=10 Pitch=90/>
369                        <Model mesh="Cube1.6.mesh" position="2020,70,-20" scale=10 Pitch=90/>
370                        <Model mesh="Cube1.6.mesh" position="2080,10,-20" scale=10 Pitch=90/>
371                        <Model mesh="Cube1.6.mesh" position="2080,20,-20" scale=10 Pitch=90/>
372                        <Model mesh="Cube1.6.mesh" position="2080,30,-20" scale=10 Pitch=90/>
373                        <Model mesh="Cube1.6.mesh" position="2080,40,-20" scale=10 Pitch=90/>
374                        <Model mesh="Cube1.6.mesh" position="2080,50,-20" scale=10 Pitch=90/>
375                        <Model mesh="Cube1.3.mesh" position="2080,60,-20" scale=10 Pitch=90/>
376                        <Model mesh="Cube1.1.mesh" position="2110,60,-20" scale=10 Pitch=90/>
377                        <Model mesh="Cube1.3.mesh" position="2080,70,-20" scale=10 Pitch=90/>
378
379                       
380
381                        <StaticEntity collisionType="static" mass='-1'>
382                                <collisionShapes>
383                                        <BoxCollisionShape position="1855,0,-20" halfExtents="300,5,5" />
384                                </collisionShapes>
385                        </StaticEntity>
386
387
388
389
390                </Scene>
391        </Level>
392
393
Note: See TracBrowser for help on using the repository browser.