Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

Added jetpack, rotation of player, Questionmark-blocks and Hitlistener for the QBlocks. Made description for David in XML file for usage of hittable blocks

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