[12175] | 1 | <LevelInfo |
---|
| 2 | name = "Super Orxo Bros Sidhu" |
---|
| 3 | description = "The retro-game Super Mario Bros. in Orxonox." |
---|
| 4 | tags = "minigame" |
---|
| 5 | screenshot = "SOB.png" |
---|
| 6 | /> |
---|
| 7 | |
---|
| 8 | <?lua |
---|
| 9 | include("stats.oxo") |
---|
| 10 | include("templates/lodInformation.oxt") |
---|
| 11 | include("overlays/SOBHUD.oxo") |
---|
| 12 | ?> |
---|
| 13 | |
---|
| 14 | |
---|
| 15 | <Template name=sobfigurecameras defaults=0> |
---|
| 16 | <SOBFigure> |
---|
| 17 | <camerapositions> |
---|
| 18 | <CameraPosition position="0,-250,30" absolute=true mouselook=false drag=false direction="0,1,0"/> |
---|
| 19 | </camerapositions> |
---|
| 20 | </SOBFigure> |
---|
| 21 | </Template> |
---|
| 22 | |
---|
| 23 | |
---|
| 24 | <Template name=sobFigureTemplate> |
---|
| 25 | <SOBFigure camerapositiontemplate=sobfigurecameras collisionType="dynamic" position="0,0,30"> |
---|
| 26 | <attached> |
---|
| 27 | <Model mesh="orxo.mesh" position = "0,0,12" scale=2.5 pitch=0 roll=90 yaw=90/> |
---|
| 28 | <ParticleSpawner source="Orxonox/fire4" startdelay=0 position="-4,0,0" visible="false"/> |
---|
| 29 | </attached> |
---|
| 30 | |
---|
| 31 | <collisionShapes> |
---|
| 32 | <BoxCollisionShape position="0,0,2" halfExtents="3,1,10" /> |
---|
| 33 | </collisionShapes> |
---|
| 34 | |
---|
| 35 | |
---|
| 36 | </SOBFigure> |
---|
| 37 | </Template> |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | <Template name=fireball> |
---|
| 41 | <SOBFireball collisionType="dynamic" speed=90> |
---|
| 42 | <attached> |
---|
| 43 | <Model mesh="planets/sol.mesh" position="0,0,0" scale=3 pitch=90/> |
---|
| 44 | |
---|
| 45 | <ParticleSpawner source="Orxonox/fire4" startdelay=0 position="-4,0,0" visible="false"/> |
---|
| 46 | |
---|
| 47 | </attached> |
---|
| 48 | <collisionShapes> |
---|
| 49 | <SphereCollisionShape position="0,0,0" radius="3" /> |
---|
| 50 | </collisionShapes> |
---|
| 51 | </SOBFireball> |
---|
| 52 | </Template> |
---|
| 53 | |
---|
| 54 | |
---|
| 55 | <Level |
---|
| 56 | plugins = "superorxobros" |
---|
| 57 | gametype = "SOB" |
---|
| 58 | >- |
---|
| 59 | |
---|
| 60 | |
---|
| 61 | <templates> |
---|
| 62 | <Template link=lodtemplate_default /> |
---|
| 63 | </templates> |
---|
| 64 | <?lua include("includes/notifications.oxi") ?> |
---|
| 65 | |
---|
| 66 | <WorldAmbientSound source="Ganymede.ogg" looping="true" playOnLoad="true"/> |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | <Scene ambientlight="1.0, 1.0, 1.0" skybox="Orxonox/skyBoxBasic"> |
---|
| 70 | <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" /> |
---|
| 71 | <SpawnPoint position="1984,-5,88 " orientation="0.534038, 0.563456, 0.212168, 0.593553" /> |
---|
| 72 | |
---|
| 73 | |
---|
| 74 | |
---|
| 75 | <MovableEntity > |
---|
| 76 | <attached> |
---|
| 77 | <SOBCenterpoint name=jumpcenter cameraOffset="10" figureTemplate=sobFigureTemplate> |
---|
| 78 | <attached> |
---|
| 79 | </attached> |
---|
| 80 | </SOBCenterpoint> |
---|
| 81 | |
---|
| 82 | </attached> |
---|
| 83 | </MovableEntity> |
---|
| 84 | |
---|
| 85 | |
---|
| 86 | |
---|
| 87 | |
---|
| 88 | <!-- Starting ground (Base-----Ground 1)--> |
---|
| 89 | <Model mesh="Cube2.12.mesh" position="0,0,-30" scale=10 Pitch=90/> <!-- B1.11 --> |
---|
| 90 | <Model mesh="Cube2.12.mesh" position="120,0,-30" scale=10 Pitch=90/> <!-- B1.12--> |
---|
| 91 | |
---|
| 92 | |
---|
| 93 | <StaticEntity collisionType="static" mass='-1'> |
---|
| 94 | <collisionShapes> |
---|
| 95 | <BoxCollisionShape position="120,0,-20" halfExtents="120,5,5" /> |
---|
| 96 | </collisionShapes> |
---|
| 97 | </StaticEntity> |
---|
| 98 | |
---|
| 99 | <!-- small landing platform (Base-----Ground 2)--> |
---|
| 100 | <Model mesh="Cube2.3.mesh" position="310,0,-30" scale=10 Pitch=90/> <!-- B1.21 --> |
---|
| 101 | |
---|
| 102 | |
---|
| 103 | <StaticEntity collisionType="static" mass='-1'> |
---|
| 104 | <collisionShapes> |
---|
| 105 | <BoxCollisionShape position="325,0,-20" halfExtents="15,5,5" /> |
---|
| 106 | </collisionShapes> |
---|
| 107 | </StaticEntity> |
---|
| 108 | |
---|
| 109 | |
---|
| 110 | <!-- loot platform (Base-----Ground 3)--> |
---|
| 111 | <Model mesh="Cube2.12.mesh" position="450,0,-30" scale=10 Pitch=90/> <!-- B1.31 --> |
---|
| 112 | |
---|
| 113 | |
---|
| 114 | <StaticEntity collisionType="static" mass='-1'> |
---|
| 115 | <collisionShapes> |
---|
| 116 | <BoxCollisionShape position="510,0,-20" halfExtents="60,5,5" /> |
---|
| 117 | </collisionShapes> |
---|
| 118 | </StaticEntity> |
---|
| 119 | |
---|
| 120 | |
---|
| 121 | <!-- second chance (Underground-----Ground 1)--> |
---|
| 122 | <Model mesh="Cube2.12.mesh" position="410,0,-130" scale=10 Pitch=90/> <!-- B0.11 --> |
---|
| 123 | <Model mesh="Cube2.12.mesh" position="530,0,-130" scale=10 Pitch=90/> <!-- B0.12 --> |
---|
| 124 | |
---|
| 125 | <StaticEntity collisionType="static" mass='-1'> |
---|
| 126 | <collisionShapes> |
---|
| 127 | <BoxCollisionShape position="530,0,-20" halfExtents="120,5,5" /> |
---|
| 128 | </collisionShapes> |
---|
| 129 | </StaticEntity> |
---|
| 130 | |
---|
| 131 | <!-- Stairway to Base (Underground-----Dreieck 1)--> |
---|
| 132 | <Model mesh="Dreieck_links+1.mesh" position="600,0,-110" scale=10 Roll=90 Pitch=90 yaw=90/> <!-- D0.11 --> |
---|
| 133 | |
---|
| 134 | <StaticEntity collisionType="static"> |
---|
| 135 | <collisionShapes> |
---|
| 136 | <BoxCollisionShape position="590,0,-10" halfExtents="25,5,5" /> |
---|
| 137 | <BoxCollisionShape position="595,0,0" halfExtents="20,5,5" /> |
---|
| 138 | <BoxCollisionShape position="600,0,10" halfExtents="15,5,5" /> |
---|
| 139 | <BoxCollisionShape position="610,0,20" halfExtents="10,5,5" /> |
---|
| 140 | </collisionShapes> |
---|
| 141 | </StaticEntity> |
---|
| 142 | |
---|
| 143 | <!-- loot pyramid (Base-----Pyramid 1)--> |
---|
| 144 | <Model mesh="Cube1.1.mesh" position="40,0,20" scale=10 Pitch=90/> <!-- P1.11 --> |
---|
| 145 | |
---|
| 146 | <StaticEntity collisionType="static"> |
---|
| 147 | <collisionShapes> |
---|
| 148 | <BoxCollisionShape position="40,0,20" halfExtents="5,5,5" /> |
---|
| 149 | </collisionShapes> |
---|
| 150 | </StaticEntity> |
---|
| 151 | |
---|
| 152 | <Model mesh="Cube1.1.mesh" position="60,0,20" scale=10 Pitch=90/> <!-- P1.13 --> |
---|
| 153 | |
---|
| 154 | <StaticEntity collisionType="static"> |
---|
| 155 | <collisionShapes> |
---|
| 156 | <BoxCollisionShape position="60,0,20" halfExtents="5,5,5" /> |
---|
| 157 | </collisionShapes> |
---|
| 158 | </StaticEntity> |
---|
| 159 | |
---|
| 160 | <Model mesh="Cube1.1.mesh" position="80,0,20" scale=10 Pitch=90/> <!-- P1.15 --> |
---|
| 161 | |
---|
| 162 | <StaticEntity collisionType="static"> |
---|
| 163 | <collisionShapes> |
---|
| 164 | <BoxCollisionShape position="80,0,20" halfExtents="5,5,5" /> |
---|
| 165 | </collisionShapes> |
---|
| 166 | </StaticEntity> |
---|
| 167 | |
---|
| 168 | <Model mesh="Cube1.1.mesh" position="50,0,60" scale=10 Pitch=90/> <!-- P1.21 --> |
---|
| 169 | |
---|
| 170 | <StaticEntity collisionType="static"> |
---|
| 171 | <collisionShapes> |
---|
| 172 | <BoxCollisionShape position="50,0,60" halfExtents="5,5,5" /> |
---|
| 173 | </collisionShapes> |
---|
| 174 | </StaticEntity> |
---|
| 175 | |
---|
| 176 | <Model mesh="Cube1.1.mesh" position="70,0,60" scale=10 Pitch=90/> <!-- P1.23 --> |
---|
| 177 | |
---|
| 178 | <StaticEntity collisionType="static"> |
---|
| 179 | <collisionShapes> |
---|
| 180 | <BoxCollisionShape position="70,0,60" halfExtents="5,5,5" /> |
---|
| 181 | </collisionShapes> |
---|
| 182 | </StaticEntity> |
---|
| 183 | |
---|
| 184 | |
---|
| 185 | <SOBQBlock collisionType="static" type="Coin" position="50,0,20" mass='-1'> <!-- P1.12 --> |
---|
| 186 | <attached> |
---|
| 187 | <Model mesh="QCube.mesh" scale=10 pitch=90 /> |
---|
| 188 | <Model mesh="QCube-grey.mesh" scale=10 pitch=90 visible=false/> |
---|
| 189 | </attached> |
---|
| 190 | <collisionShapes> |
---|
| 191 | <BoxCollisionShape position="0,0,0" halfExtents="5,5,5" /> |
---|
| 192 | </collisionShapes> |
---|
| 193 | </SOBQBlock> |
---|
| 194 | <SOBQBlock collisionType="static" type="Coin" position="70,0,20" mass='-1'> <!-- P1.14 --> |
---|
| 195 | <attached> |
---|
| 196 | <Model mesh="QCube.mesh" scale=10 pitch=90 /> |
---|
| 197 | <Model mesh="QCube-grey.mesh" scale=10 pitch=90 visible=false/> |
---|
| 198 | </attached> |
---|
| 199 | <collisionShapes> |
---|
| 200 | <BoxCollisionShape position="0,0,0" halfExtents="5,5,5" /> |
---|
| 201 | </collisionShapes> |
---|
| 202 | </SOBQBlock> |
---|
| 203 | <SOBQBlock collisionType="static" type="Coin" position="60,0,60" mass='-1'> <!-- P1.22 --> |
---|
| 204 | <attached> |
---|
| 205 | <Model mesh="QCube.mesh" scale=10 pitch=90 /> |
---|
| 206 | <Model mesh="QCube-grey.mesh" scale=10 pitch=90 visible=false/> |
---|
| 207 | </attached> |
---|
| 208 | <collisionShapes> |
---|
| 209 | <BoxCollisionShape position="0,0,0" halfExtents="5,5,5" /> |
---|
| 210 | </collisionShapes> |
---|
| 211 | </SOBQBlock> |
---|
| 212 | <SOBQBlock collisionType="static" type="Mushroom" position="60,0,100" mass='-1'> <!-- P1.31 --> |
---|
| 213 | <attached> |
---|
| 214 | <Model mesh="QCube.mesh" scale=10 pitch=90 /> |
---|
| 215 | <Model mesh="QCube-grey.mesh" scale=10 pitch=90 visible=false/> |
---|
| 216 | </attached> |
---|
| 217 | <collisionShapes> |
---|
| 218 | <BoxCollisionShape position="0,0,0" halfExtents="5,5,5" /> |
---|
| 219 | </collisionShapes> |
---|
| 220 | </SOBQBlock> |
---|
| 221 | |
---|
| 222 | |
---|
| 223 | |
---|
| 224 | <!-- loot pyramid (Base-----Pyramid 2)--> |
---|
| 225 | <SOBQBlock collisionType="static" type="Coin" position="490,0,20" mass='-1'> <!-- P2.11 --> |
---|
| 226 | <attached> |
---|
| 227 | <Model mesh="QCube.mesh" scale=10 pitch=90 /> |
---|
| 228 | <Model mesh="QCube-grey.mesh" scale=10 pitch=90 visible=false/> |
---|
| 229 | </attached> |
---|
| 230 | <collisionShapes> |
---|
| 231 | <BoxCollisionShape position="0,0,0" halfExtents="5,5,5" /> |
---|
| 232 | </collisionShapes> |
---|
| 233 | </SOBQBlock> |
---|
| 234 | <SOBQBlock collisionType="static" type="Coin" position="510,0,20" mass='-1'> <!-- P2.12 --> |
---|
| 235 | <attached> |
---|
| 236 | <Model mesh="QCube.mesh" scale=10 pitch=90 /> |
---|
| 237 | <Model mesh="QCube-grey.mesh" scale=10 pitch=90 visible=false/> |
---|
| 238 | </attached> |
---|
| 239 | <collisionShapes> |
---|
| 240 | <BoxCollisionShape position="0,0,0" halfExtents="5,5,5" /> |
---|
| 241 | </collisionShapes> |
---|
| 242 | </SOBQBlock> |
---|
| 243 | <SOBQBlock collisionType="static" type="Coin" position="530,0,20" mass='-1'> <!-- P2.13 --> |
---|
| 244 | <attached> |
---|
| 245 | <Model mesh="QCube.mesh" scale=10 pitch=90 /> |
---|
| 246 | <Model mesh="QCube-grey.mesh" scale=10 pitch=90 visible=false/> |
---|
| 247 | </attached> |
---|
| 248 | <collisionShapes> |
---|
| 249 | <BoxCollisionShape position="0,0,0" halfExtents="5,5,5" /> |
---|
| 250 | </collisionShapes> |
---|
| 251 | </SOBQBlock> |
---|
| 252 | <SOBQBlock collisionType="static" type="Coin" position="500,0,60" mass='-1'> <!-- P2.21 --> |
---|
| 253 | <attached> |
---|
| 254 | <Model mesh="QCube.mesh" scale=10 pitch=90 /> |
---|
| 255 | <Model mesh="QCube-grey.mesh" scale=10 pitch=90 visible=false/> |
---|
| 256 | </attached> |
---|
| 257 | <collisionShapes> |
---|
| 258 | <BoxCollisionShape position="0,0,0" halfExtents="5,5,5" /> |
---|
| 259 | </collisionShapes> |
---|
| 260 | </SOBQBlock> |
---|
| 261 | <SOBQBlock collisionType="static" type="Coin" position="520,0,60" mass='-1'> <!-- P2.22 --> |
---|
| 262 | <attached> |
---|
| 263 | <Model mesh="QCube.mesh" scale=10 pitch=90 /> |
---|
| 264 | <Model mesh="QCube-grey.mesh" scale=10 pitch=90 visible=false/> |
---|
| 265 | </attached> |
---|
| 266 | <collisionShapes> |
---|
| 267 | <BoxCollisionShape position="0,0,0" halfExtents="5,5,5" /> |
---|
| 268 | </collisionShapes> |
---|
| 269 | </SOBQBlock> |
---|
| 270 | <SOBQBlock collisionType="static" type="Mushroom" position="510,0,100" mass='-1'> <!-- P2.31 --> |
---|
| 271 | <attached> |
---|
| 272 | <Model mesh="QCube.mesh" scale=10 pitch=90 /> |
---|
| 273 | <Model mesh="QCube-grey.mesh" scale=10 pitch=90 visible=false/> |
---|
| 274 | </attached> |
---|
| 275 | <collisionShapes> |
---|
| 276 | <BoxCollisionShape position="0,0,0" halfExtents="5,5,5" /> |
---|
| 277 | </collisionShapes> |
---|
| 278 | </SOBQBlock> |
---|
| 279 | |
---|
| 280 | |
---|
| 281 | <!-- landing platform (Base-----Ground 4)--> |
---|
| 282 | <Model mesh="Cube1.3.mesh" position="630,0,-30" scale=10 Pitch=90/> <!-- B1.41 --> |
---|
| 283 | |
---|
| 284 | <StaticEntity collisionType="static"> |
---|
| 285 | <collisionShapes> |
---|
| 286 | <BoxCollisionShape position="640,0,-30" halfExtents="15,5,5" /> |
---|
| 287 | </collisionShapes> |
---|
| 288 | </StaticEntity> |
---|
| 289 | |
---|
| 290 | |
---|
| 291 | <!-- platform (Base-----Ground 5)--> |
---|
| 292 | <Model mesh="Cube2.12.mesh" position="690,0,-30" scale=10 Pitch=90/> <!-- B1.51 --> |
---|
| 293 | |
---|
| 294 | <StaticEntity collisionType="static" mass='-1'> |
---|
| 295 | <collisionShapes> |
---|
| 296 | <BoxCollisionShape position="750,0,-20" halfExtents="60,5,5" /> |
---|
| 297 | </collisionShapes> |
---|
| 298 | </StaticEntity> |
---|
| 299 | |
---|
| 300 | |
---|
| 301 | <!-- jump to base cube (Underground-----Ground 2)--> |
---|
| 302 | <Model mesh="Cube1.1.mesh" position="660,0,-40" scale=10 Pitch=90/> <!-- B0.21 --> |
---|
| 303 | |
---|
| 304 | <StaticEntity collisionType="static"> |
---|
| 305 | <collisionShapes> |
---|
| 306 | <BoxCollisionShape position="660,0,-40" halfExtents="5,5,5" /> |
---|
| 307 | </collisionShapes> |
---|
| 308 | </StaticEntity> |
---|