Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

Added mushrooms and deadzone

File size: 11.3 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">
119                                                <attached>
120                                                        <Model mesh="Cube1.1.mesh" position="120,0,20" scale=10/>
121                                                        <Model mesh="Cube2.12.mesh" position="120,0,20" scale=10 visible="false"/>
122                                                </attached>
123                                                <collisionShapes>
124                                                        <BoxCollisionShape position="120,0,20" halfExtents="5,5,5" /><!-- 1 -->
125                                                </collisionShapes>
126                                        </SOBQBlock>
127
128
129
130<SOBMushroom collisionType="dynamic" speed=30>
131                                                <attached>
132                                                        <Model mesh="Cube1.1.mesh" position="0,0,20" scale=10/>
133                                                       
134                                                </attached>
135                                                <collisionShapes>
136                                                        <BoxCollisionShape position="0,0,20" halfExtents="5,5,5" /><!-- 1 -->
137                                                </collisionShapes>
138                                        </SOBMushroom>
139
140
141
142
143<!--                                    <Model mesh="Cube1.1.mesh" position="120,0,20" scale=10/><!-- ? Block -->               <!-- 1 -->
144                                        <Model mesh="Cube1.1.mesh" position="160,0,20" scale=10 />                                              <!-- 2 -->
145                                        <Model mesh="Cube1.1.mesh" position="170,0,20" scale=10 /><!-- Item Block -->   <!-- 3 -->
146                                        <Model mesh="Cube1.1.mesh" position="180,0,20" scale=10/>                                               <!-- 4 -->
147                                        <Model mesh="Cube1.1.mesh" position="180,0,60" scale=10 /><!-- ? Block -->              <!-- 5 -->
148                                        <Model mesh="Cube1.1.mesh" position="190,0,20" scale=10/><!-- ? Block -->               <!-- 6 -->
149                                        <Model mesh="Cube1.1.mesh" position="200,0,20" scale=10/>                                               <!-- 7 -->
150
151                                        <StaticEntity collisionType="static">
152                                                <collisionShapes>
153                                                        <!--<BoxCollisionShape position="120,0,20" halfExtents="5,5,5" /><!-- 1 -->
154                                                        <BoxCollisionShape position="160,0,20" halfExtents="5,5,5" /><!-- 2 -->
155                                                        <BoxCollisionShape position="170,0,20" halfExtents="5,5,5" /><!-- 3 -->
156                                                        <BoxCollisionShape position="180,0,20" halfExtents="5,5,5" /><!-- 4 -->
157                                                        <BoxCollisionShape position="180,0,60" halfExtents="5,5,5" /><!-- 5 -->
158                                                        <BoxCollisionShape position="190,0,20" halfExtents="5,5,5" /><!-- 6 -->
159                                                        <BoxCollisionShape position="200,0,20" halfExtents="5,5,5" /><!-- 7 -->
160
161
162                                                </collisionShapes>
163                                        </StaticEntity>
164
165
166
167
168                                        //Boden2
169                                        <Model mesh="Cube2.12.mesh" position="440,0,-30" scale=10 Pitch=90/>
170                                        <Model mesh="Cube2.2.mesh" position="560,0,-30" scale=10 Pitch=90/>
171
172                                        <StaticEntity collisionType="static">
173                                                <collisionShapes>
174                                                        <BoxCollisionShape position="505,0,-20" halfExtents="70,5,5" />
175                                                </collisionShapes>
176                                        </StaticEntity>
177
178
179
180
181
182                                        //Luft2
183                                        <Model mesh="Cube1.1.mesh" position="500,0,20" scale=10/>
184                                        <Model mesh="Cube1.1.mesh" position="510,0,20" scale=10/><!-- Item Block -->
185                                        <Model mesh="Cube1.1.mesh" position="520,0,20" scale=10/>
186                                        <Model mesh="Cube1.6.mesh" position="530,0,60" scale=10/>
187                                        <Model mesh="Cube1.1.mesh" position="590,0,60" scale=10/>
188                                        <Model mesh="Cube1.1.mesh" position="600,0,60" scale=10/>
189
190                                        <StaticEntity collisionType="static">
191                                                <collisionShapes>
192                                                        <BoxCollisionShape position="500,0,20" halfExtents="5,5,5" />
193                                                        <BoxCollisionShape position="510,0,20" halfExtents="5,5,5" />
194                                                        <BoxCollisionShape position="520,0,20" halfExtents="5,5,5" />
195                                                        <BoxCollisionShape position="570,0,60" halfExtents="40,5,5" />
196
197
198
199
200                                                </collisionShapes>
201                                        </StaticEntity>
202                                       
203
204                                        //Luft3
205                                        <Model mesh="Cube1.3.mesh" position="640,0,60" scale=10/>                                                       <!-- 1 -->
206                                        <Model mesh="Cube1.1.mesh" position="670,0,20" scale=10/><!-- 10er Block -->            <!-- 2 -->
207                                        <Model mesh="Cube1.1.mesh" position="670,0,60" scale=10/><!-- ? Block -->                       <!-- 3 -->
208                                       
209                                        <Model mesh="Cube1.1.mesh" position="720,0,20" scale=10/>                                                       <!-- 4 -->
210                                        <Model mesh="Cube1.1.mesh" position="730,0,20" scale=10/><!-- Stern Block -->           <!-- 5 -->
211                                        <Model mesh="Cube1.1.mesh" position="780,0,20" scale=10/><!-- ? Block -->                       <!-- 6 -->
212                                        <Model mesh="Cube1.1.mesh" position="800,0,20" scale=10/><!-- ? Block -->                       <!-- 7 -->
213                                        <Model mesh="Cube1.1.mesh" position="800,0,60" scale=10/><!-- Item Block -->            <!-- 8 -->
214                                        <Model mesh="Cube1.1.mesh" position="820,0,20" scale=10/><!-- ? Block -->                       <!-- 9 -->
215                                       
216                                        <Model mesh="Cube1.1.mesh" position="890,0,20" scale=10/>                                                       <!-- 10 -->
217                                        <Model mesh="Cube1.3.mesh" position="920,0,60" scale=10/>                                                       <!-- 11 -->
218                                        <Model mesh="Cube1.1.mesh" position="990,0,60" scale=10/>                                                       <!-- 12 -->
219                                        <Model mesh="Cube1.1.mesh" position="1020,0,60" scale=10/>                                                      <!-- 13 -->
220                                        <Model mesh="Cube1.1.mesh" position="1000,0,20" scale=10/>                                                      <!-- 14 -->
221                                        <Model mesh="Cube1.1.mesh" position="1010,0,20" scale=10/>                                                      <!-- 14 -->
222                                        <Model mesh="Cube1.1.mesh" position="1000,0,60" scale=10/><!-- ? Block -->                      <!-- 15 -->
223                                        <Model mesh="Cube1.1.mesh" position="1010,0,60" scale=10/><!-- ? Block -->                      <!-- 16 -->
224                                        <Model mesh="Dreieck+1.mesh" position="1220,0,-10" scale=10 Roll=90 Pitch=90 yaw=90/>
225                                        <Model mesh="Dreieck.mesh" position="1080,0,-10" scale=10 Roll=90 Pitch=90 yaw=90/>
226                                        <Model mesh="Dreieck.mesh" position="1110,0,-10" scale=10 Roll=90 Pitch=-90 yaw=90/>
227
228                                        //Dreieckklein 1050
229                                        //Dreieckklein 1110
230                                        //Dreickklein+1 1190
231
232
233                                        <StaticEntity collisionType="static">
234                                                <collisionShapes>
235                                                        <BoxCollisionShape position="645,0,60" halfExtents="15,5,5" />                                                  <!-- 1 -->
236                                                        <BoxCollisionShape position="670,0,20" halfExtents="5,5,5" />                                                   <!-- 2 -->
237                                                        <BoxCollisionShape position="670,0,60" halfExtents="5,5,5" />                                                   <!-- 3 -->
238
239                                                        <BoxCollisionShape position="720,0,20" halfExtents="5,5,5" />                                                   <!-- 4 -->
240                                                        <BoxCollisionShape position="730,0,20" halfExtents="5,5,5" />                                                   <!-- 5 -->
241                                                        <BoxCollisionShape position="780,0,20" halfExtents="5,5,5" />                                                   <!-- 6 -->
242                                                        <BoxCollisionShape position="800,0,20" halfExtents="5,5,5" />                                                   <!-- 7 -->
243                                                        <BoxCollisionShape position="800,0,60" halfExtents="5,5,5" />                                                   <!-- 8 -->
244                                                        <BoxCollisionShape position="820,0,20" halfExtents="5,5,5" />                                                   <!-- 9 -->
245
246                                                        <BoxCollisionShape position="890,0,20" halfExtents="5,5,5" />                                                   <!-- 10 -->
247                                                        <BoxCollisionShape position="930,0,60" halfExtents="15,5,5" />                                                  <!-- 11 -->
248                                                        <BoxCollisionShape position="990,0,60" halfExtents="5,5,5" />                                                   <!-- 12 -->
249                                                        <BoxCollisionShape position="1020,0,60" halfExtents="5,5,5" />                                                  <!-- 13 -->
250                                                        <BoxCollisionShape position="1005,0,20" halfExtents="10,5,5" />                                                 <!-- 14 -->
251                                                        <BoxCollisionShape position="1000,0,60" halfExtents="5,5,5" />                                                  <!-- 15 -->
252                                                        <BoxCollisionShape position="1010,0,60" halfExtents="5,5,5" />                                                  <!-- 16 -->
253
254
255
256
257                                                </collisionShapes>
258                                        </StaticEntity>
259
260
261
262
263                                        //Boden3
264                                        <Model mesh="Cube2.12.mesh" position="620,0,-30" scale=10 Pitch=90/>
265                                        <Model mesh="Cube2.12.mesh" position="740,0,-30" scale=10 Pitch=90/>
266                                        <Model mesh="Cube2.12.mesh" position="860,0,-30" scale=10 Pitch=90/>
267                                        <Model mesh="Cube2.12.mesh" position="980,0,-30" scale=10 Pitch=90/>
268
269                                        <Model mesh="Cube2.12.mesh" position="1100,0,-30" scale=10 Pitch=90/>
270                                        <Model mesh="Cube2.2.mesh" position="1220,0,-30" scale=10 Pitch=90/>
271                                       
272
273                                        <StaticEntity collisionType="static">
274                                                <collisionShapes>
275                                                        <BoxCollisionShape position="925,0,-20" halfExtents="310,5,5" />
276                                                </collisionShapes>
277                                        </StaticEntity>
278
279                                        //Luft4
280                                        <Model mesh="Cube1.1.mesh" position="1400,0,20" scale=10/>
281                                        <Model mesh="Cube1.1.mesh" position="1410,0,20" scale=10/>
282                                        <Model mesh="Cube1.1.mesh" position="1420,0,20" scale=10/> <!-- ? Block -->
283                                        <Model mesh="Cube1.1.mesh" position="1430,0,20" scale=10/>
284                                        <Model mesh="Dreieck.mesh" position="1270,0,-10" scale=10 Roll=90 Pitch=-90 yaw=90/>
285
286
287                                        <StaticEntity collisionType="static">
288                                                <collisionShapes>
289                                                        <BoxCollisionShape position="1400,0,20" halfExtents="5,5,5" />
290                                                        <BoxCollisionShape position="1410,0,20" halfExtents="5,5,5" />
291                                                        <BoxCollisionShape position="1420,0,20" halfExtents="5,5,5" />
292                                                        <BoxCollisionShape position="1430,0,20" halfExtents="5,5,5" />
293
294
295
296
297                                                </collisionShapes>
298                                        </StaticEntity>
299
300
301
302
303                                       
304
305                                        //Boden4
306                                        <Model mesh="Cube2.12.mesh" position="1270,0,-30" scale=10 Pitch=90/>
307                                        <Model mesh="Cube2.12.mesh" position="1390,0,-30" scale=10 Pitch=90/>
308                                        <Model mesh="Cube2.12.mesh" position="1510,0,-30" scale=10 Pitch=90/>
309                                        <Model mesh="Cube2.12.mesh" position="1630,0,-30" scale=10 Pitch=90/>
310                                        <Model mesh="Cube2.12.mesh" position="1750,0,-30" scale=10 Pitch=90/>
311
312                                        <StaticEntity collisionType="static">
313                                                <collisionShapes>
314                                                        <BoxCollisionShape position="1565,0,-20" halfExtents="300,5,5" />
315                                                </collisionShapes>
316                                        </StaticEntity>
317
318
319
320
321
322
323                                       
324
325
326                                </Scene>
327                        </Level>
Note: See TracBrowser for help on using the repository browser.