[9035] | 1 | <LevelInfo |
---|
[9036] | 2 | name = "Surface Race" |
---|
[9187] | 3 | description = "just awesome" |
---|
| 4 | screenshot = "surfaceRace.png" |
---|
[9162] | 5 | tags = "gametype" |
---|
[9035] | 6 | /> |
---|
| 7 | |
---|
| 8 | <?lua |
---|
[9107] | 9 | include("stats.oxo") |
---|
[9056] | 10 | include("HUDTemplates3.oxo") |
---|
[9107] | 11 | include("templates/lodInformation.oxt") |
---|
[9056] | 12 | include("templates/spaceshipRace.oxt") |
---|
[9162] | 13 | include("templates/pickupRepresentationTemplates.oxt") |
---|
[9272] | 14 | |
---|
[9035] | 15 | ?> |
---|
| 16 | |
---|
[9071] | 17 | |
---|
| 18 | <Level |
---|
[9107] | 19 | gametype = SpaceRace |
---|
[9071] | 20 | > |
---|
| 21 | |
---|
[9035] | 22 | <templates> |
---|
| 23 | <Template link=lodtemplate_default /> |
---|
| 24 | </templates> |
---|
| 25 | <?lua include("includes/notifications.oxi") ?> |
---|
| 26 | |
---|
| 27 | <Scene |
---|
[9037] | 28 | ambientlight = "2.0, 2.0, 2.0" |
---|
[9041] | 29 | skybox = "Orxonox/skyBoxClouds" |
---|
[9171] | 30 | gravity = "0,-75,0" |
---|
[9056] | 31 | negativeWorldRange = "-100000, -100000, -100000" |
---|
| 32 | positiveWorldRange = " 100000, 100000, 100000" |
---|
| 33 | hasPhysics = true |
---|
[9035] | 34 | > |
---|
| 35 | |
---|
[9056] | 36 | <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"/> |
---|
| 37 | |
---|
[9107] | 38 | |
---|
| 39 | |
---|
| 40 | <SpaceRaceManager> |
---|
[9272] | 41 | <checkpoints> |
---|
| 42 | <RaceCheckPoint name="checkpoint1" position="0,8050,-1000" direction="0,1,0" collisionType="static" scale="4" distance="150" checkpointindex="0" islast="false" nextcheckpoints="1,-1,-1"> |
---|
[9071] | 43 | <attached> |
---|
| 44 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
[9107] | 45 | |
---|
[9272] | 46 | <!-- |
---|
| 47 | <Model position="0,0,55" mesh="testcube.mesh" scale3D="110,20,20" /> |
---|
| 48 | <Model position="0,0,-55" mesh="testcube.mesh" scale3D="110,20,20" /> |
---|
| 49 | <Model position="55,0,0" mesh="testcube.mesh" scale3D="20,20,110" /> |
---|
| 50 | <Model position="-55,0,0" mesh="testcube.mesh" scale3D="20,20,110" /> |
---|
| 51 | |
---|
[9150] | 52 | --> |
---|
[9107] | 53 | |
---|
[9150] | 54 | |
---|
[9071] | 55 | </attached> |
---|
[9107] | 56 | |
---|
[9150] | 57 | |
---|
| 58 | |
---|
[9272] | 59 | <collisionShapes> |
---|
[9107] | 60 | |
---|
| 61 | |
---|
[9162] | 62 | <BoxCollisionShape position="0,0,220" halfExtents="220, 40, 40" /> |
---|
[9150] | 63 | <BoxCollisionShape position="0,0,-220" halfExtents="220, 40, 40" /> |
---|
| 64 | <BoxCollisionShape position="220,0,0" halfExtents="40, 40, 220" /> |
---|
| 65 | <BoxCollisionShape position="-220,0,0" halfExtents="40, 40, 220" /> |
---|
| 66 | |
---|
[9272] | 67 | |
---|
[9107] | 68 | </collisionShapes> |
---|
| 69 | |
---|
[9150] | 70 | |
---|
| 71 | |
---|
[9272] | 72 | |
---|
[9107] | 73 | </RaceCheckPoint> |
---|
| 74 | |
---|
[9171] | 75 | <RaceCheckPoint name="checkpoint2" position="1000,8050,-4000" direction="0,1,0" roll="45" collisionType="static" scale="4" distance="150" checkpointindex="1" islast="false" nextcheckpoints="2,-1,-1"> |
---|
[9107] | 76 | <attached> |
---|
| 77 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
| 78 | </attached> |
---|
| 79 | |
---|
[9272] | 80 | |
---|
[9162] | 81 | <collisionShapes> |
---|
[9071] | 82 | |
---|
[9162] | 83 | <BoxCollisionShape position="0,0,220" halfExtents="220, 40, 40" /> |
---|
| 84 | <BoxCollisionShape position="0,0,-220" halfExtents="220, 40, 40" /> |
---|
| 85 | <BoxCollisionShape position="220,0,0" halfExtents="40, 40, 220" /> |
---|
| 86 | <BoxCollisionShape position="-220,0,0" halfExtents="40, 40, 220" /> |
---|
[9272] | 87 | |
---|
[9071] | 88 | </collisionShapes> |
---|
[9107] | 89 | </RaceCheckPoint> |
---|
[9071] | 90 | |
---|
| 91 | |
---|
| 92 | |
---|
[9171] | 93 | <RaceCheckPoint name="checkpoint3" position="3000,8050,-4000" direction="0,1,0" roll="-45" collisionType="static" scale="4" distance="150" checkpointindex="2" islast="false" nextcheckpoints="3,-1,-1"> |
---|
[9107] | 94 | <attached> |
---|
| 95 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
| 96 | </attached> |
---|
[9162] | 97 | <collisionShapes> |
---|
[9107] | 98 | |
---|
[9162] | 99 | |
---|
| 100 | <BoxCollisionShape position="0,0,220" halfExtents="220, 40, 40" /> |
---|
| 101 | <BoxCollisionShape position="0,0,-220" halfExtents="220, 40, 40" /> |
---|
| 102 | <BoxCollisionShape position="220,0,0" halfExtents="40, 40, 220" /> |
---|
| 103 | <BoxCollisionShape position="-220,0,0" halfExtents="40, 40, 220" /> |
---|
| 104 | |
---|
[9272] | 105 | |
---|
[9107] | 106 | </collisionShapes> |
---|
[9162] | 107 | |
---|
[9107] | 108 | </RaceCheckPoint> |
---|
| 109 | |
---|
| 110 | |
---|
[9171] | 111 | <RaceCheckPoint name="checkpoint4" position="4000,8050,-1000" direction="0,1,0" roll="0" collisionType="static" scale="4" distance="150" checkpointindex="3" islast="false" nextcheckpoints="4,-1,-1"> |
---|
[9107] | 112 | <attached> |
---|
| 113 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
| 114 | </attached> |
---|
| 115 | <collisionShapes> |
---|
| 116 | |
---|
| 117 | |
---|
[9162] | 118 | <BoxCollisionShape position="0,0,220" halfExtents="220, 40, 40" /> |
---|
| 119 | <BoxCollisionShape position="0,0,-220" halfExtents="220, 40, 40" /> |
---|
| 120 | <BoxCollisionShape position="220,0,0" halfExtents="40, 40, 220" /> |
---|
| 121 | <BoxCollisionShape position="-220,0,0" halfExtents="40, 40, 220" /> |
---|
[9107] | 122 | |
---|
[9272] | 123 | |
---|
[9107] | 124 | </collisionShapes> |
---|
| 125 | |
---|
| 126 | </RaceCheckPoint> |
---|
| 127 | |
---|
| 128 | |
---|
[9171] | 129 | <RaceCheckPoint name="checkpoint5" position="4000,8050,0" direction="0,1,0" roll="0" collisionType="static" scale="4" distance="150" checkpointindex="4" islast="false" nextcheckpoints="5,-1,-1"> |
---|
[9107] | 130 | <attached> |
---|
| 131 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
| 132 | </attached> |
---|
| 133 | <collisionShapes> |
---|
| 134 | |
---|
| 135 | |
---|
[9162] | 136 | <BoxCollisionShape position="0,0,220" halfExtents="220, 40, 40" /> |
---|
| 137 | <BoxCollisionShape position="0,0,-220" halfExtents="220, 40, 40" /> |
---|
| 138 | <BoxCollisionShape position="220,0,0" halfExtents="40, 40, 220" /> |
---|
| 139 | <BoxCollisionShape position="-220,0,0" halfExtents="40, 40, 220" /> |
---|
[9120] | 140 | |
---|
[9272] | 141 | |
---|
[9162] | 142 | </collisionShapes> |
---|
[9120] | 143 | |
---|
| 144 | </RaceCheckPoint> |
---|
| 145 | |
---|
| 146 | |
---|
[9171] | 147 | <RaceCheckPoint name="checkpoint6" position="3000,8050,1000" direction="0,1,0" roll="45" collisionType="static" scale="4" distance="150" checkpointindex="5" islast="false" nextcheckpoints="6,-1,-1"> |
---|
[9120] | 148 | <attached> |
---|
| 149 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
| 150 | </attached> |
---|
[9162] | 151 | <collisionShapes> |
---|
[9120] | 152 | |
---|
| 153 | |
---|
[9162] | 154 | <BoxCollisionShape position="0,0,220" halfExtents="220, 40, 40" /> |
---|
| 155 | <BoxCollisionShape position="0,0,-220" halfExtents="220, 40, 40" /> |
---|
| 156 | <BoxCollisionShape position="220,0,0" halfExtents="40, 40, 220" /> |
---|
| 157 | <BoxCollisionShape position="-220,0,0" halfExtents="40, 40, 220" /> |
---|
[9120] | 158 | |
---|
[9272] | 159 | |
---|
[9120] | 160 | </collisionShapes> |
---|
| 161 | </RaceCheckPoint> |
---|
| 162 | |
---|
| 163 | |
---|
[9162] | 164 | |
---|
[9171] | 165 | <RaceCheckPoint name="checkpoint7" position="0,8050,2000" direction="0,1,0" roll="90" collisionType="static" scale="4" distance="150" checkpointindex="6" islast="false" nextcheckpoints="7,-1,-1"> |
---|
[9130] | 166 | <attached> |
---|
| 167 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
| 168 | </attached> |
---|
[9162] | 169 | <collisionShapes> |
---|
[9121] | 170 | |
---|
| 171 | |
---|
[9162] | 172 | <BoxCollisionShape position="0,0,220" halfExtents="220, 40, 40" /> |
---|
| 173 | <BoxCollisionShape position="0,0,-220" halfExtents="220, 40, 40" /> |
---|
| 174 | <BoxCollisionShape position="220,0,0" halfExtents="40, 40, 220" /> |
---|
| 175 | <BoxCollisionShape position="-220,0,0" halfExtents="40, 40, 220" /> |
---|
[9130] | 176 | |
---|
[9272] | 177 | |
---|
[9130] | 178 | </collisionShapes> |
---|
[9162] | 179 | |
---|
[9130] | 180 | </RaceCheckPoint> |
---|
| 181 | |
---|
| 182 | |
---|
| 183 | |
---|
[9171] | 184 | <RaceCheckPoint name="checkpoint8" position="-4000,8050,3000" direction="0,1,0" roll="45" collisionType="static" scale="4" distance="150" checkpointindex="7" islast="false" nextcheckpoints="8,-1,-1"> |
---|
[9130] | 185 | <attached> |
---|
| 186 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
| 187 | </attached> |
---|
[9162] | 188 | <collisionShapes> |
---|
[9130] | 189 | |
---|
[9162] | 190 | <BoxCollisionShape position="0,0,220" halfExtents="220, 40, 40" /> |
---|
| 191 | <BoxCollisionShape position="0,0,-220" halfExtents="220, 40, 40" /> |
---|
| 192 | <BoxCollisionShape position="220,0,0" halfExtents="40, 40, 220" /> |
---|
| 193 | <BoxCollisionShape position="-220,0,0" halfExtents="40, 40, 220" /> |
---|
[9272] | 194 | |
---|
[9130] | 195 | </collisionShapes> |
---|
| 196 | </RaceCheckPoint> |
---|
| 197 | |
---|
[9162] | 198 | |
---|
[9171] | 199 | <RaceCheckPoint name="checkpoint9" position="-4000,8050,5000" direction="0,1,0" roll="-45" collisionType="static" scale="4" distance="150" checkpointindex="8" islast="false" nextcheckpoints="9,-1,-1"> |
---|
[9130] | 200 | <attached> |
---|
| 201 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
| 202 | </attached> |
---|
[9162] | 203 | <collisionShapes> |
---|
[9130] | 204 | |
---|
| 205 | |
---|
[9162] | 206 | <BoxCollisionShape position="0,0,220" halfExtents="220, 40, 40" /> |
---|
| 207 | <BoxCollisionShape position="0,0,-220" halfExtents="220, 40, 40" /> |
---|
| 208 | <BoxCollisionShape position="220,0,0" halfExtents="40, 40, 220" /> |
---|
| 209 | <BoxCollisionShape position="-220,0,0" halfExtents="40, 40, 220" /> |
---|
[9130] | 210 | |
---|
[9272] | 211 | |
---|
[9130] | 212 | </collisionShapes> |
---|
[9162] | 213 | |
---|
[9130] | 214 | </RaceCheckPoint> |
---|
| 215 | |
---|
[9162] | 216 | |
---|
[9171] | 217 | <RaceCheckPoint name="checkpoint10" position="-3000,8050,6000" direction="0,1,0" roll="90" collisionType="static" scale="4" distance="150" checkpointindex="9" islast="false" nextcheckpoints="10,-1,-1"> |
---|
[9130] | 218 | <attached> |
---|
| 219 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
| 220 | </attached> |
---|
[9162] | 221 | <collisionShapes> |
---|
[9130] | 222 | |
---|
| 223 | |
---|
[9162] | 224 | <BoxCollisionShape position="0,0,220" halfExtents="220, 40, 40" /> |
---|
| 225 | <BoxCollisionShape position="0,0,-220" halfExtents="220, 40, 40" /> |
---|
| 226 | <BoxCollisionShape position="220,0,0" halfExtents="40, 40, 220" /> |
---|
| 227 | <BoxCollisionShape position="-220,0,0" halfExtents="40, 40, 220" /> |
---|
[9130] | 228 | |
---|
[9272] | 229 | |
---|
[9162] | 230 | </collisionShapes> |
---|
[9130] | 231 | |
---|
| 232 | </RaceCheckPoint> |
---|
| 233 | |
---|
[9171] | 234 | <RaceCheckPoint name="checkpoint11" position="0,8050,6000" direction="0,1,0" roll="90" collisionType="static" scale="4" distance="120" checkpointindex="10" islast="false" nextcheckpoints="11,-1,-1"> |
---|
[9169] | 235 | <attached> |
---|
| 236 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
| 237 | </attached> |
---|
| 238 | <collisionShapes> |
---|
[9130] | 239 | |
---|
| 240 | |
---|
[9169] | 241 | <BoxCollisionShape position="0,0,220" halfExtents="220, 40, 40" /> |
---|
| 242 | <BoxCollisionShape position="0,0,-220" halfExtents="220, 40, 40" /> |
---|
| 243 | <BoxCollisionShape position="220,0,0" halfExtents="40, 40, 220" /> |
---|
| 244 | <BoxCollisionShape position="-220,0,0" halfExtents="40, 40, 220" /> |
---|
| 245 | |
---|
[9272] | 246 | |
---|
[9169] | 247 | </collisionShapes> |
---|
| 248 | |
---|
| 249 | </RaceCheckPoint> |
---|
| 250 | |
---|
[9171] | 251 | <RaceCheckPoint name="checkpoint12" position="6000,8050,6000" direction="0,1,0" roll="45" collisionType="static" scale="4" distance="150" checkpointindex="11" islast="false" nextcheckpoints="12,-1,-1"> |
---|
[9130] | 252 | <attached> |
---|
| 253 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
| 254 | </attached> |
---|
[9162] | 255 | <collisionShapes> |
---|
[9120] | 256 | |
---|
[9162] | 257 | |
---|
| 258 | <BoxCollisionShape position="0,0,220" halfExtents="220, 40, 40" /> |
---|
| 259 | <BoxCollisionShape position="0,0,-220" halfExtents="220, 40, 40" /> |
---|
| 260 | <BoxCollisionShape position="220,0,0" halfExtents="40, 40, 220" /> |
---|
| 261 | <BoxCollisionShape position="-220,0,0" halfExtents="40, 40, 220" /> |
---|
| 262 | |
---|
[9272] | 263 | |
---|
[9120] | 264 | </collisionShapes> |
---|
[9162] | 265 | |
---|
[9120] | 266 | </RaceCheckPoint> |
---|
| 267 | |
---|
| 268 | |
---|
[9171] | 269 | |
---|
| 270 | <RaceCheckPoint name="checkpoint13" position="5500,8050,3000" direction="0,1,0" roll="0" collisionType="static" scale="4" distance="150" checkpointindex="12" islast="false" nextcheckpoints="13,-1,-1"> |
---|
| 271 | <attached> |
---|
| 272 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
| 273 | </attached> |
---|
| 274 | <collisionShapes> |
---|
| 275 | |
---|
| 276 | <BoxCollisionShape position="0,0,220" halfExtents="220, 40, 40" /> |
---|
| 277 | <BoxCollisionShape position="0,0,-220" halfExtents="220, 40, 40" /> |
---|
| 278 | <BoxCollisionShape position="220,0,0" halfExtents="40, 40, 220" /> |
---|
| 279 | <BoxCollisionShape position="-220,0,0" halfExtents="40, 40, 220" /> |
---|
[9272] | 280 | |
---|
[9171] | 281 | </collisionShapes> |
---|
| 282 | </RaceCheckPoint> |
---|
| 283 | |
---|
| 284 | |
---|
| 285 | <RaceCheckPoint name="checkpoint14" position="6000,8050,-5000" direction="0,1,0" roll="0" collisionType="static" scale="4" distance="150" checkpointindex="13" islast="true" > |
---|
| 286 | <attached> |
---|
| 287 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
| 288 | </attached> |
---|
| 289 | <collisionShapes> |
---|
| 290 | |
---|
| 291 | <BoxCollisionShape position="0,0,220" halfExtents="220, 40, 40" /> |
---|
| 292 | <BoxCollisionShape position="0,0,-220" halfExtents="220, 40, 40" /> |
---|
| 293 | <BoxCollisionShape position="220,0,0" halfExtents="40, 40, 220" /> |
---|
| 294 | <BoxCollisionShape position="-220,0,0" halfExtents="40, 40, 220" /> |
---|
[9272] | 295 | |
---|
[9171] | 296 | </collisionShapes> |
---|
| 297 | </RaceCheckPoint> |
---|
| 298 | |
---|
| 299 | |
---|
[9107] | 300 | </checkpoints> |
---|
| 301 | </SpaceRaceManager> |
---|
| 302 | |
---|
[9120] | 303 | <SpawnPoint team=0 position="0,8050,0" lookat="0,8000,-8000" spawnclass=SpaceShip pawndesign=spaceshipRace /> |
---|
[9107] | 304 | |
---|
[9272] | 305 | |
---|
| 306 | <!-- -----------------------Zylinder---------------------------- --> |
---|
[9169] | 307 | <StaticEntity position="2750,8050,6000" direction="1,0,0" roll="90" scale="4" collisionType=static mass=100000 friction=0.01 > |
---|
[9107] | 308 | <attached> |
---|
[9272] | 309 | <Model position="0,0,0" mesh="cylinder.mesh" scale3D="100,100,400" /> |
---|
| 310 | <!-- |
---|
| 311 | <Model position="0,80,600" mesh="testcube.mesh" scale3D="90,18,-600" /> |
---|
| 312 | <Model position="0,-80,600" mesh="testcube.mesh" scale3D="90,18,-600" /> |
---|
| 313 | <Model position="80,0,600" mesh="testcube.mesh" scale3D="18,90,-600" /> |
---|
| 314 | <Model position="-80,0,600" mesh="testcube.mesh" scale3D="18,09,-600" /> |
---|
| 315 | --> |
---|
[9169] | 316 | |
---|
[9107] | 317 | </attached> |
---|
[9169] | 318 | |
---|
| 319 | |
---|
[9272] | 320 | <collisionShapes> |
---|
[9169] | 321 | |
---|
[9272] | 322 | |
---|
| 323 | <BoxCollisionShape position="0,320,2400" halfExtents="360,72,2400" /> |
---|
| 324 | <BoxCollisionShape position="0,-320,2400" halfExtents="360,72,2400" /> |
---|
| 325 | <BoxCollisionShape position="320,0,2400" halfExtents="72,360,2400" /> |
---|
| 326 | <BoxCollisionShape position="-320,0,2400" halfExtents="72,360,2400" /> |
---|
| 327 | |
---|
| 328 | |
---|
| 329 | |
---|
[9169] | 330 | </collisionShapes> |
---|
| 331 | |
---|
[9107] | 332 | </StaticEntity> |
---|
| 333 | |
---|
[9174] | 334 | <!-- ------------------Cube between gate 4 and 5----------------- --> |
---|
| 335 | <StaticEntity position="4465,8050,-500" direction="0,0,0" scale="1" collisionType=static mass=100000 friction=0.01 > |
---|
| 336 | <attached> |
---|
[9272] | 337 | <Model position="0,0,0" mesh="blackcube.mesh" scale3D="450,600,50" /> |
---|
[9174] | 338 | <!-- |
---|
[9272] | 339 | <Model position="0,0,0" mesh="testcube.mesh" scale3D="450,600,50" /> |
---|
| 340 | --> |
---|
[9169] | 341 | |
---|
[9174] | 342 | </attached> |
---|
| 343 | |
---|
| 344 | |
---|
[9272] | 345 | <collisionShapes> |
---|
[9174] | 346 | |
---|
[9272] | 347 | |
---|
| 348 | <BoxCollisionShape position="0,0,0" halfExtents="450,600,50" /> |
---|
| 349 | |
---|
[9174] | 350 | </collisionShapes> |
---|
| 351 | |
---|
| 352 | </StaticEntity> |
---|
| 353 | |
---|
| 354 | <StaticEntity position="3535,8050,-500" direction="0,0,0" scale="1" collisionType=static mass=100000 friction=0.01 > |
---|
| 355 | <attached> |
---|
[9272] | 356 | <Model position="0,0,0" mesh="blackcube.mesh" scale3D="450,600,50" /> |
---|
[9174] | 357 | <!-- |
---|
[9272] | 358 | <Model position="0,0,0" mesh="testcube.mesh" scale3D="450,600,50" /> |
---|
| 359 | --> |
---|
[9174] | 360 | |
---|
| 361 | </attached> |
---|
| 362 | |
---|
| 363 | |
---|
[9272] | 364 | <collisionShapes> |
---|
[9174] | 365 | |
---|
[9272] | 366 | |
---|
| 367 | <BoxCollisionShape position="0,0,0" halfExtents="450,600,50" /> |
---|
| 368 | |
---|
[9174] | 369 | </collisionShapes> |
---|
| 370 | |
---|
| 371 | </StaticEntity> |
---|
| 372 | |
---|
| 373 | |
---|
| 374 | |
---|
| 375 | |
---|
[9272] | 376 | <!-- ------------------Boden----------------- --> |
---|
[9071] | 377 | <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000 friction=0.01> |
---|
[9070] | 378 | <attached> |
---|
[9130] | 379 | <Model position="0,0,0" mesh="CubeGround.mesh" scale3D="8000,8000,8000" /> |
---|
[9056] | 380 | </attached> |
---|
| 381 | <collisionShapes> |
---|
[9169] | 382 | <BoxCollisionShape position="0,50,0" halfExtents="8000,8000,8000" />um j?:P"{ |
---|
| 383 | |
---|
[9272] | 384 | </collisionShapes> |
---|
[9107] | 385 | </StaticEntity> |
---|
[9070] | 386 | |
---|
[9162] | 387 | |
---|
[9171] | 388 | <!-- ---------------------PickUp---------------------- --> |
---|
[9162] | 389 | |
---|
[9171] | 390 | |
---|
[9187] | 391 | <PickupSpawner position="4000,8050,0" triggerDistance="40" respawnTime="10" maxSpawnedItems="99" scale="8"> |
---|
[9162] | 392 | <pickup> |
---|
| 393 | <SpeedPickup template=smallspeedpickup /> |
---|
| 394 | </pickup> |
---|
| 395 | </PickupSpawner> |
---|
| 396 | |
---|
[9171] | 397 | <PickupSpawner position="5500,8100,2000" triggerDistance="40" respawnTime="10" maxSpawnedItems="99" scale="8"> |
---|
[9162] | 398 | <pickup> |
---|
| 399 | <SpeedPickup template=mediumspeedpickup /> |
---|
| 400 | </pickup> |
---|
| 401 | </PickupSpawner> |
---|
| 402 | |
---|
[9187] | 403 | <PickupSpawner position="3000,8050,-4000" triggerDistance="40" respawnTime="60" maxSpawnedItems="5" scale="8"> |
---|
[9162] | 404 | <pickup> |
---|
[9171] | 405 | <ShrinkPickup template ="mediumshrinkpickup"/> |
---|
[9162] | 406 | </pickup> |
---|
[9171] | 407 | </PickupSpawner>> |
---|
[9162] | 408 | |
---|
| 409 | |
---|
| 410 | |
---|
[9171] | 411 | |
---|
[9162] | 412 | <!-- ---------------asteroid ellipse----------------- --> |
---|
| 413 | |
---|
| 414 | <?lua |
---|
[9171] | 415 | max = 15 |
---|
[9162] | 416 | for i = 0, max, 1 |
---|
| 417 | do |
---|
[9272] | 418 | x=-12000 |
---|
| 419 | y=10000 |
---|
| 420 | z=-12000 |
---|
| 421 | |
---|
[9162] | 422 | ?> |
---|
| 423 | <?lua |
---|
| 424 | for k = 1, 15, 1 |
---|
| 425 | do |
---|
| 426 | j = math.random() |
---|
| 427 | ?> |
---|
| 428 | |
---|
| 429 | <MovableEntity |
---|
| 430 | position = "<?lua print(x + math.random() * 20000) ?>,<?lua print(y + math.random() * 5000) ?>,<?lua print(z + math.random() * 20000) ?>" |
---|
| 431 | collisionType = "dynamic" |
---|
| 432 | linearDamping = "0.5" |
---|
| 433 | angularDamping = "0.5" |
---|
[9171] | 434 | collisiondamage = "100" |
---|
[9162] | 435 | enablecollisiondamage = "true" |
---|
| 436 | scale="<?lua print(j * 5) ?>" > |
---|
| 437 | <attached> |
---|
| 438 | <Model position="0,0,0" scale="<?lua print(j * 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh"> |
---|
| 439 | <?lua if k == 0 then ?><attached><!-- ---------asteroid fog----- --> |
---|
| 440 | <ParticleEmitter position="0,0,0" source="Orxonox/Steam" /> |
---|
| 441 | </attached> <?lua end ?> |
---|
| 442 | </Model> |
---|
| 443 | </attached> |
---|
| 444 | <collisionShapes> |
---|
| 445 | <SphereCollisionShape radius="<?lua print(j * 80) ?>" /> |
---|
| 446 | </collisionShapes> |
---|
| 447 | </MovableEntity> |
---|
| 448 | <?lua |
---|
| 449 | end |
---|
| 450 | ?> |
---|
| 451 | <?lua end ?> |
---|
| 452 | |
---|
[9035] | 453 | </Scene> |
---|
| 454 | </Level> |
---|
| 455 | |
---|