[9035] | 1 | <LevelInfo |
---|
[9036] | 2 | name = "Surface Race" |
---|
[9107] | 3 | description = "in progress..." |
---|
[9035] | 4 | screenshot = "emptylevel.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") |
---|
[9107] | 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" |
---|
[9162] | 30 | gravity = "0,-90,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> |
---|
| 41 | <checkpoints> |
---|
[9162] | 42 | <RaceCheckPoint name="checkpoint1" position="0,8050,-1000" direction="0,1,0" collisionType="static" scale="4" distance="120" checkpointindex="0" islast="false" nextcheckpoints="1,-1,-1"> |
---|
[9071] | 43 | <attached> |
---|
| 44 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
[9150] | 45 | |
---|
[9162] | 46 | <!-- |
---|
[9150] | 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" /> |
---|
[9107] | 51 | |
---|
[9150] | 52 | --> |
---|
[9107] | 53 | |
---|
[9150] | 54 | |
---|
[9071] | 55 | </attached> |
---|
[9107] | 56 | |
---|
[9150] | 57 | |
---|
| 58 | |
---|
[9107] | 59 | <collisionShapes> |
---|
| 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 | |
---|
| 67 | |
---|
[9107] | 68 | </collisionShapes> |
---|
| 69 | |
---|
[9150] | 70 | |
---|
| 71 | |
---|
[9107] | 72 | |
---|
| 73 | </RaceCheckPoint> |
---|
| 74 | |
---|
[9162] | 75 | <RaceCheckPoint name="checkpoint2" position="1000,8050,-4000" direction="0,1,0" roll="45" collisionType="static" scale="4" distance="120" checkpointindex="1" islast="false" nextcheckpoints="2,-1,-1"> |
---|
[9107] | 76 | <attached> |
---|
| 77 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
| 78 | </attached> |
---|
[9162] | 79 | |
---|
[9107] | 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" /> |
---|
| 87 | |
---|
[9071] | 88 | </collisionShapes> |
---|
[9107] | 89 | </RaceCheckPoint> |
---|
[9071] | 90 | |
---|
| 91 | |
---|
| 92 | |
---|
[9162] | 93 | <RaceCheckPoint name="checkpoint3" position="3000,8050,-4000" direction="0,1,0" roll="-45" collisionType="static" scale="4" distance="120" 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 | |
---|
| 105 | |
---|
[9107] | 106 | </collisionShapes> |
---|
[9162] | 107 | |
---|
[9107] | 108 | </RaceCheckPoint> |
---|
| 109 | |
---|
| 110 | |
---|
[9162] | 111 | <RaceCheckPoint name="checkpoint4" position="4000,8050,-1000" direction="0,1,0" roll="0" collisionType="static" scale="4" distance="120" 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 | |
---|
[9162] | 123 | |
---|
[9107] | 124 | </collisionShapes> |
---|
| 125 | |
---|
| 126 | </RaceCheckPoint> |
---|
| 127 | |
---|
| 128 | |
---|
[9162] | 129 | <RaceCheckPoint name="checkpoint5" position="4000,8050,0" direction="0,1,0" roll="0" collisionType="static" scale="4" distance="120" 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 | |
---|
[9162] | 141 | |
---|
| 142 | </collisionShapes> |
---|
[9120] | 143 | |
---|
| 144 | </RaceCheckPoint> |
---|
| 145 | |
---|
| 146 | |
---|
[9162] | 147 | <RaceCheckPoint name="checkpoint6" position="3000,8050,1000" direction="0,1,0" roll="45" collisionType="static" scale="4" distance="120" 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 | |
---|
[9162] | 159 | |
---|
[9120] | 160 | </collisionShapes> |
---|
| 161 | </RaceCheckPoint> |
---|
| 162 | |
---|
| 163 | |
---|
[9162] | 164 | |
---|
| 165 | <RaceCheckPoint name="checkpoint7" position="0,8050,2000" direction="0,1,0" roll="90" collisionType="static" scale="4" distance="120" 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 | |
---|
[9162] | 177 | |
---|
[9130] | 178 | </collisionShapes> |
---|
[9162] | 179 | |
---|
[9130] | 180 | </RaceCheckPoint> |
---|
| 181 | |
---|
| 182 | |
---|
| 183 | |
---|
[9162] | 184 | <RaceCheckPoint name="checkpoint8" position="-4000,8050,3000" direction="0,1,0" roll="45" collisionType="static" scale="4" distance="120" 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" /> |
---|
| 194 | |
---|
[9130] | 195 | </collisionShapes> |
---|
| 196 | </RaceCheckPoint> |
---|
| 197 | |
---|
[9162] | 198 | |
---|
| 199 | <RaceCheckPoint name="checkpoint9" position="-4000,8050,5000" direction="0,1,0" roll="-45" collisionType="static" scale="4" distance="120" 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 | |
---|
[9162] | 211 | |
---|
[9130] | 212 | </collisionShapes> |
---|
[9162] | 213 | |
---|
[9130] | 214 | </RaceCheckPoint> |
---|
| 215 | |
---|
[9162] | 216 | |
---|
| 217 | <RaceCheckPoint name="checkpoint10" position="-3000,8050,6000" direction="0,1,0" roll="90" collisionType="static" scale="4" distance="120" 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 | |
---|
[9162] | 229 | |
---|
| 230 | </collisionShapes> |
---|
[9130] | 231 | |
---|
| 232 | </RaceCheckPoint> |
---|
| 233 | |
---|
| 234 | |
---|
| 235 | |
---|
[9162] | 236 | <RaceCheckPoint name="checkpoint11" position="6000,8050,6000" direction="0,1,0" roll="90" collisionType="static" scale="4" distance="120" checkpointindex="10" islast="true"> |
---|
[9130] | 237 | <attached> |
---|
| 238 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
| 239 | </attached> |
---|
[9162] | 240 | <collisionShapes> |
---|
[9120] | 241 | |
---|
[9162] | 242 | |
---|
| 243 | <BoxCollisionShape position="0,0,220" halfExtents="220, 40, 40" /> |
---|
| 244 | <BoxCollisionShape position="0,0,-220" halfExtents="220, 40, 40" /> |
---|
| 245 | <BoxCollisionShape position="220,0,0" halfExtents="40, 40, 220" /> |
---|
| 246 | <BoxCollisionShape position="-220,0,0" halfExtents="40, 40, 220" /> |
---|
| 247 | |
---|
| 248 | |
---|
[9120] | 249 | </collisionShapes> |
---|
[9162] | 250 | |
---|
[9120] | 251 | </RaceCheckPoint> |
---|
| 252 | |
---|
| 253 | |
---|
[9107] | 254 | </checkpoints> |
---|
| 255 | </SpaceRaceManager> |
---|
| 256 | |
---|
[9120] | 257 | <SpawnPoint team=0 position="0,8050,0" lookat="0,8000,-8000" spawnclass=SpaceShip pawndesign=spaceshipRace /> |
---|
[9107] | 258 | |
---|
| 259 | |
---|
| 260 | <!-- -----------------------Zylinder---------------------------- |
---|
| 261 | <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000 friction=0.01 > |
---|
| 262 | <attached> |
---|
| 263 | <Model position="0,5100,-1300" mesh="cylinder.mesh" scale3D="100,100,100" /> |
---|
| 264 | </attached> |
---|
| 265 | </StaticEntity> |
---|
| 266 | --> |
---|
| 267 | |
---|
| 268 | <!-- ------------------Boden----------------- --> |
---|
[9071] | 269 | <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000 friction=0.01> |
---|
[9070] | 270 | <attached> |
---|
[9130] | 271 | <Model position="0,0,0" mesh="CubeGround.mesh" scale3D="8000,8000,8000" /> |
---|
[9056] | 272 | </attached> |
---|
| 273 | <collisionShapes> |
---|
[9120] | 274 | <BoxCollisionShape position="0,50,0" halfExtents="8000,8000,8000" /> |
---|
[9071] | 275 | </collisionShapes> |
---|
[9107] | 276 | </StaticEntity> |
---|
[9070] | 277 | |
---|
[9162] | 278 | |
---|
| 279 | |
---|
| 280 | <PickupSpawner position="0,8050,-200" triggerDistance="10" respawnTime="10" maxSpawnedItems="99"> |
---|
| 281 | <pickup> |
---|
| 282 | <SpeedPickup template=smallspeedpickup /> |
---|
| 283 | </pickup> |
---|
| 284 | </PickupSpawner> |
---|
| 285 | |
---|
| 286 | <PickupSpawner position="0,8050,-400" triggerDistance="10" respawnTime="10" maxSpawnedItems="99"> |
---|
| 287 | <pickup> |
---|
| 288 | <SpeedPickup template=mediumspeedpickup /> |
---|
| 289 | </pickup> |
---|
| 290 | </PickupSpawner> |
---|
| 291 | |
---|
| 292 | <PickupSpawner position="0,8050,-600" triggerDistance="10" respawnTime="10" maxSpawnedItems="99"> |
---|
| 293 | <pickup> |
---|
| 294 | <SpeedPickup template=hugespeedpickup /> |
---|
| 295 | </pickup> |
---|
| 296 | </PickupSpawner> |
---|
| 297 | |
---|
| 298 | |
---|
| 299 | |
---|
| 300 | <!-- ---------------asteroid ellipse----------------- --> |
---|
| 301 | |
---|
| 302 | <?lua |
---|
| 303 | max = 20 |
---|
| 304 | for i = 0, max, 1 |
---|
| 305 | do |
---|
| 306 | x=-12000 |
---|
| 307 | y=9000 |
---|
| 308 | z=-12000 |
---|
| 309 | |
---|
| 310 | ?> |
---|
| 311 | <?lua |
---|
| 312 | for k = 1, 15, 1 |
---|
| 313 | do |
---|
| 314 | j = math.random() |
---|
| 315 | ?> |
---|
| 316 | |
---|
| 317 | <MovableEntity |
---|
| 318 | position = "<?lua print(x + math.random() * 20000) ?>,<?lua print(y + math.random() * 5000) ?>,<?lua print(z + math.random() * 20000) ?>" |
---|
| 319 | collisionType = "dynamic" |
---|
| 320 | linearDamping = "0.5" |
---|
| 321 | angularDamping = "0.5" |
---|
| 322 | collisiondamage = "1" |
---|
| 323 | enablecollisiondamage = "true" |
---|
| 324 | scale="<?lua print(j * 5) ?>" > |
---|
| 325 | <attached> |
---|
| 326 | <Model position="0,0,0" scale="<?lua print(j * 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh"> |
---|
| 327 | <?lua if k == 0 then ?><attached><!-- ---------asteroid fog----- --> |
---|
| 328 | <ParticleEmitter position="0,0,0" source="Orxonox/Steam" /> |
---|
| 329 | </attached> <?lua end ?> |
---|
| 330 | </Model> |
---|
| 331 | </attached> |
---|
| 332 | <collisionShapes> |
---|
| 333 | <SphereCollisionShape radius="<?lua print(j * 80) ?>" /> |
---|
| 334 | </collisionShapes> |
---|
| 335 | </MovableEntity> |
---|
| 336 | <?lua |
---|
| 337 | end |
---|
| 338 | ?> |
---|
| 339 | <?lua end ?> |
---|
| 340 | |
---|
[9035] | 341 | </Scene> |
---|
| 342 | </Level> |
---|
| 343 | |
---|