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
RevLine 
[11379]1<LevelInfo
[11397]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        />
[11379]7
[11397]8        <?lua
9        include("HUDTemplates3.oxo") 
10        include("jumpHUD.oxo")
11        include("stats.oxo")
12        include("templates/lodInformation.oxt")
13        ?>
[11379]14
[11397]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>
[11379]22
23
24
25
[11396]26
[11397]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/>
[11400]31                                <ParticleSpawner source="Orxonox/fire4" startdelay=0  position="-4,0,0" visible="false"/>
[11397]32                        </attached>
[11381]33
[11397]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>
[11381]38
[11392]39
[11397]40                </SOBFigure>
41        </Template>
[11381]42
[11397]43        <Level
44                plugins = "superorxobros"
45                gametype = "SOB"
46                >-
[11381]47
48
[11397]49                <templates>
50                        <Template link=lodtemplate_default />
51                </templates>
52                <?lua include("includes/notifications.oxi") ?>
[11381]53
[11397]54                <WorldAmbientSound source="Ganymede.ogg" looping="true" playOnLoad="true"/>
[11381]55
[11379]56
[11397]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" />
[11379]60
[11381]61
62
[11379]63
64
65
66
[11397]67                        <MovableEntity >
68                                <attached>
69                                        <SOBCenterpoint name=jumpcenter cameraOffset="10" figureTemplate=sobFigureTemplate>
70                                                <attached> 
71                                                </attached>
72                                        </SOBCenterpoint>
[11379]73
[11397]74                                </attached>
75                        </MovableEntity>
[11379]76
[11381]77
78
[11392]79
80
[11397]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                                        -->
[11392]98
99
[11397]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/>
[11392]105
[11398]106                                        <StaticEntity collisionType="static">
107                                                <collisionShapes>
108                                                        <BoxCollisionShape position="205,0,-20" halfExtents="210,5,5" />
109                                                </collisionShapes>
110                                        </StaticEntity>
111
[11397]112                                        //Luft1
[11400]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 -->
[11398]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 -->
[11392]142
[11400]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 -->
[11398]152
153
[11400]154                                                </collisionShapes>
155                                        </StaticEntity>
[11398]156
157
158
159
[11397]160                                        //Boden2
[11398]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/>
[11397]163
[11398]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
[11397]174                                        //Luft2
[11398]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/>
[11397]181
[11400]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" />
[11398]188
189
190
191
[11400]192                                                </collisionShapes>
193                                        </StaticEntity>
[11398]194                                       
195
[11397]196                                        //Luft3
[11398]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/>
[11397]219
[11398]220                                        //Dreieckklein 1050
221                                        //Dreieckklein 1110
222                                        //Dreickklein+1 1190
[11397]223
224
[11400]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 -->
[11397]230
[11400]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 -->
[11398]237
[11400]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 -->
[11398]245
246
247
248
[11400]249                                                </collisionShapes>
250                                        </StaticEntity>
[11398]251
252
253
254
[11397]255                                        //Boden3
[11398]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/>
[11397]260
[11398]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                                       
[11397]264
[11398]265                                        <StaticEntity collisionType="static">
266                                                <collisionShapes>
267                                                        <BoxCollisionShape position="925,0,-20" halfExtents="310,5,5" />
268                                                </collisionShapes>
269                                        </StaticEntity>
[11397]270
271                                        //Luft4
[11398]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/>
[11397]277
278
[11400]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" />
[11397]285
286
287
288
[11400]289                                                </collisionShapes>
290                                        </StaticEntity>
[11397]291
[11398]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
[11397]304                                        <StaticEntity collisionType="static">
305                                                <collisionShapes>
[11398]306                                                        <BoxCollisionShape position="1565,0,-20" halfExtents="300,5,5" />
[11397]307                                                </collisionShapes>
308                                        </StaticEntity>
309
310
[11398]311
312
313
314
315                                       
316
317
[11397]318                                </Scene>
319                        </Level>
Note: See TracBrowser for help on using the repository browser.