[5453] | 1 | <?lua |
---|
[7679] | 2 | include("HUDTemplates3.oxo") |
---|
[5654] | 3 | include("stats.oxo") |
---|
[7679] | 4 | include("templates/spaceshipAssff.oxt") |
---|
| 5 | include("templates/lodInformation.oxt") |
---|
[5453] | 6 | ?> |
---|
| 7 | |
---|
| 8 | <Level |
---|
| 9 | name = "Asteroids Race" |
---|
[5475] | 10 | description = "testmap for gametype asteroid race" |
---|
[5540] | 11 | gametype = Asteroids |
---|
[5453] | 12 | > |
---|
[7163] | 13 | <templates> |
---|
| 14 | <Template link=lodtemplate_default /> |
---|
| 15 | </templates> |
---|
[5453] | 16 | |
---|
[7163] | 17 | <Scene |
---|
| 18 | ambientlight = "0.5, 0.5, 0.5" |
---|
| 19 | skybox = "Orxonox/Starbox" |
---|
| 20 | > |
---|
[5453] | 21 | |
---|
[7163] | 22 | <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" /> |
---|
[5453] | 23 | |
---|
[7163] | 24 | <SpawnPoint position="-300,300,0" name="playerstart" direction="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
[5453] | 25 | |
---|
[7163] | 26 | <?lua |
---|
| 27 | for i = 1, 250, 1 |
---|
| 28 | do |
---|
| 29 | j = math.random() |
---|
| 30 | ?> |
---|
[5453] | 31 | |
---|
[6417] | 32 | <MovableEntity |
---|
[7163] | 33 | position = "<?lua print(math.random()* 15000 - 1000) ?>,<?lua print(math.random() * 12000 - 4000) ?>,<?lua print(math.random() * 12000 - 4000) ?>" |
---|
| 34 | collisionType = dynamic |
---|
| 35 | linearDamping = 0.8 |
---|
| 36 | angularDamping = 0 |
---|
| 37 | scale = <?lua print(j * 150)?> |
---|
| 38 | collisiondamage = 1 |
---|
| 39 | enablecollisiondamage = true |
---|
| 40 | > |
---|
[5521] | 41 | <attached> |
---|
[5556] | 42 | <Model mass=<?lua print(j * 1000) ?> mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> |
---|
[5521] | 43 | </attached> |
---|
| 44 | <collisionShapes> |
---|
[5540] | 45 | <SphereCollisionShape radius="<?lua print(j * 350) ?>" /> |
---|
[5521] | 46 | </collisionShapes> |
---|
| 47 | </MovableEntity> |
---|
[5453] | 48 | |
---|
[7163] | 49 | <?lua |
---|
| 50 | end |
---|
| 51 | ?> |
---|
| 52 | |
---|
[5540] | 53 | <!-- |
---|
[7163] | 54 | <MovableEntity position="0,0,0" collisionType=dynamic scale=5 linearDamping=0.8 angularDamping=0 collisiondamage=0.005 enablecollisiondamage=true> |
---|
| 55 | <attached> |
---|
| 56 | <Model mass=100 mesh="ast1.mesh" /> |
---|
| 57 | </attached> |
---|
| 58 | <collisionShapes> |
---|
| 59 | <SphereCollisionShape radius=11.75 /> |
---|
| 60 | </collisionShapes> |
---|
| 61 | </MovableEntity> |
---|
[5453] | 62 | |
---|
[5540] | 63 | |
---|
[7163] | 64 | <MovableEntity position="0,300,0" scale=10 collisionType=dynamic linearDamping=0.8 angularDamping=0 collisiondamage=0.005 enablecollisiondamage=true> |
---|
| 65 | <attached> |
---|
| 66 | <Model mass=100 mesh="ast1.mesh" /> |
---|
| 67 | </attached> |
---|
| 68 | <collisionShapes> |
---|
| 69 | <SphereCollisionShape radius=22.5 /> |
---|
| 70 | </collisionShapes> |
---|
| 71 | </MovableEntity> |
---|
[5453] | 72 | |
---|
[5521] | 73 | |
---|
[7163] | 74 | <MovableEntity position="0,600,0" scale=34 collisionType=dynamic linearDamping=0.8 angularDamping=0 collisiondamage=0.005 enablecollisiondamage=true> |
---|
| 75 | <attached> |
---|
| 76 | <Model mass=100 mesh="ast1.mesh" /> |
---|
| 77 | </attached> |
---|
| 78 | <collisionShapes> |
---|
| 79 | <SphereCollisionShape radius=76.5 /> |
---|
| 80 | </collisionShapes> |
---|
| 81 | </MovableEntity> |
---|
[5540] | 82 | |
---|
[7163] | 83 | <MovableEntity position="0,1200,0" scale=80 collisionType=dynamic linearDamping=0.8 angularDamping=0 collisiondamage=0.005 enablecollisiondamage=true> |
---|
| 84 | <attached> |
---|
| 85 | <Model mass=100 mesh="ast1.mesh" /> |
---|
| 86 | </attached> |
---|
| 87 | <collisionShapes> |
---|
| 88 | <SphereCollisionShape radius=200 /> |
---|
| 89 | </collisionShapes> |
---|
| 90 | </MovableEntity> |
---|
[5540] | 91 | --> |
---|
| 92 | |
---|
[7163] | 93 | <SpaceShip position="2000,200,0" lookat="0,0,0" > |
---|
| 94 | <templates> |
---|
| 95 | <Template link=spaceshipassff /> |
---|
| 96 | </templates> |
---|
| 97 | <controller> |
---|
| 98 | <AIController /> |
---|
| 99 | </controller> |
---|
| 100 | </SpaceShip> |
---|
[5556] | 101 | |
---|
[7163] | 102 | <SpaceShip position="8000,300,700" lookat="0,0,0" > |
---|
| 103 | <templates> |
---|
| 104 | <Template link=spaceshipassff /> |
---|
| 105 | </templates> |
---|
| 106 | <controller> |
---|
| 107 | <AIController /> |
---|
| 108 | </controller> |
---|
| 109 | </SpaceShip> |
---|
[5556] | 110 | |
---|
[7163] | 111 | <SpaceShip position="10200,400,-600" lookat="0,0,0" > |
---|
| 112 | <templates> |
---|
| 113 | <Template link=spaceshipassff /> |
---|
| 114 | </templates> |
---|
| 115 | <controller> |
---|
| 116 | <AIController /> |
---|
| 117 | </controller> |
---|
| 118 | </SpaceShip> |
---|
[5556] | 119 | |
---|
[7163] | 120 | <ForceField position="200,300,-500" direction="0,0,1" diameter=500 velocity=120> |
---|
| 121 | <attached> |
---|
| 122 | <ParticleEmitter source="Orxonox/ForceFieldPurpleSmall" startdelay=0 /> |
---|
| 123 | </attached> |
---|
| 124 | </ForceField> |
---|
[5521] | 125 | |
---|
[7163] | 126 | <ForceField position="2200,-300,1200" direction="1,0.3,-0.7" diameter=800 velocity=200> |
---|
| 127 | <attached> |
---|
| 128 | <ParticleEmitter source="Orxonox/ForceFieldBlueBig" startdelay=0 /> |
---|
| 129 | </attached> |
---|
| 130 | </ForceField> |
---|
[5528] | 131 | |
---|
[7163] | 132 | <ForceField position="8600,1400,500" direction="-1,-1,-1" diameter=500 velocity=400> |
---|
| 133 | <attached> |
---|
| 134 | <ParticleEmitter source="Orxonox/ForceFieldGreenSmall" startdelay=0 /> |
---|
| 135 | </attached> |
---|
| 136 | </ForceField> |
---|
[5528] | 137 | |
---|
[7163] | 138 | <ForceField position="11800,500,-2600" direction="-1,0,1" diameter=900 velocity=300> |
---|
| 139 | <attached> |
---|
| 140 | <ParticleEmitter source="Orxonox/ForceFieldPurpleBig" startdelay=0 /> |
---|
| 141 | </attached> |
---|
| 142 | </ForceField> |
---|
[5488] | 143 | |
---|
| 144 | |
---|
[8009] | 145 | <CheckPoint name=trigger1 position="-300,300,0" scale=1 isdestination=false isfirst=true stayactive=true distance=10 addtime=30 /> |
---|
[5488] | 146 | |
---|
[5497] | 147 | |
---|
[8009] | 148 | <CheckPoint name=trigger2 position="2200,600,0" scale=3 isdestination=false stayactive=true distance=100 addtime=17> |
---|
[5516] | 149 | <events> |
---|
[7163] | 150 | <activity> |
---|
| 151 | <EventListener event=trigger1 /> |
---|
| 152 | </activity> |
---|
[5516] | 153 | </events> |
---|
[7163] | 154 | <attached> |
---|
| 155 | <Billboard material="Flares/lensflare" colour="1,0,0"> |
---|
| 156 | <events> |
---|
| 157 | <visibility> |
---|
| 158 | <EventTrigger invert=true> |
---|
| 159 | <events> |
---|
| 160 | <trigger> |
---|
| 161 | <EventListener event=trigger1 /> |
---|
| 162 | </trigger> |
---|
| 163 | </events> |
---|
| 164 | </EventTrigger> |
---|
| 165 | </visibility> |
---|
| 166 | </events> |
---|
| 167 | </Billboard> |
---|
| 168 | <BlinkingBillboard frequency=0.2 amplitude=1 material="Flares/lensflare" colour="1,1,0"> |
---|
| 169 | <events> |
---|
| 170 | <visibility> |
---|
| 171 | <EventTrigger> |
---|
| 172 | <events> |
---|
| 173 | <trigger> |
---|
| 174 | <EventListener event=trigger1 /> |
---|
| 175 | </trigger> |
---|
| 176 | </events> |
---|
| 177 | <EventTrigger invert=true> |
---|
| 178 | <events> |
---|
| 179 | <trigger> |
---|
| 180 | <EventListener event=trigger2 /> |
---|
| 181 | </trigger> |
---|
| 182 | </events> |
---|
| 183 | </EventTrigger> |
---|
| 184 | </EventTrigger> |
---|
| 185 | </visibility> |
---|
| 186 | </events> |
---|
| 187 | </BlinkingBillboard> |
---|
| 188 | <Billboard material="Flares/lensflare" colour="0,1,0"> |
---|
| 189 | <events> |
---|
| 190 | <visibility> |
---|
| 191 | <EventListener event=trigger2 /> |
---|
| 192 | </visibility> |
---|
| 193 | </events> |
---|
| 194 | </Billboard> |
---|
| 195 | </attached> |
---|
| 196 | </CheckPoint> |
---|
| 197 | |
---|
| 198 | |
---|
[8009] | 199 | <CheckPoint name=trigger3 position="4100,0,400" scale=3 isdestination=false stayactive=true distance=100 addtime=16> |
---|
[5521] | 200 | <events> |
---|
[7163] | 201 | <activity> |
---|
[5516] | 202 | <EventListener event=trigger2 /> |
---|
[7163] | 203 | </activity> |
---|
[5516] | 204 | </events> |
---|
[7163] | 205 | <attached> |
---|
| 206 | <Billboard material="Flares/lensflare" colour="1,0,0"> |
---|
| 207 | <events> |
---|
| 208 | <visibility> |
---|
| 209 | <EventTrigger invert=true> |
---|
| 210 | <events> |
---|
| 211 | <trigger> |
---|
| 212 | <EventListener event=trigger2 /> |
---|
| 213 | </trigger> |
---|
| 214 | </events> |
---|
| 215 | </EventTrigger> |
---|
| 216 | </visibility> |
---|
| 217 | </events> |
---|
| 218 | </Billboard> |
---|
| 219 | <BlinkingBillboard frequency=0.2 amplitude=1 material="Flares/lensflare" colour="1,1,0"> |
---|
| 220 | <events> |
---|
| 221 | <visibility> |
---|
| 222 | <EventTrigger> |
---|
| 223 | <events> |
---|
| 224 | <trigger> |
---|
| 225 | <EventListener event=trigger2 /> |
---|
| 226 | </trigger> |
---|
| 227 | </events> |
---|
| 228 | <EventTrigger invert=true> |
---|
| 229 | <events> |
---|
| 230 | <trigger> |
---|
| 231 | <EventListener event=trigger3 /> |
---|
| 232 | </trigger> |
---|
| 233 | </events> |
---|
| 234 | </EventTrigger> |
---|
| 235 | </EventTrigger> |
---|
| 236 | </visibility> |
---|
| 237 | </events> |
---|
| 238 | </BlinkingBillboard> |
---|
| 239 | <Billboard material="Flares/lensflare" colour="0,1,0"> |
---|
| 240 | <events> |
---|
| 241 | <visibility> |
---|
| 242 | <EventListener event=trigger3 /> |
---|
| 243 | </visibility> |
---|
| 244 | </events> |
---|
| 245 | </Billboard> |
---|
| 246 | </attached> |
---|
| 247 | </CheckPoint> |
---|
[5497] | 248 | |
---|
[5516] | 249 | |
---|
[8009] | 250 | <CheckPoint name=trigger4 position="5600,400,0" scale=3 isdestination=false stayactive=true distance=100 addtime=17> |
---|
[5516] | 251 | <events> |
---|
[7163] | 252 | <activity> |
---|
[5521] | 253 | <EventListener event=trigger3 /> |
---|
[7163] | 254 | </activity> |
---|
[5521] | 255 | </events> |
---|
[7163] | 256 | <attached> |
---|
| 257 | <Billboard material="Flares/lensflare" colour="1,0,0"> |
---|
| 258 | <events> |
---|
| 259 | <visibility> |
---|
| 260 | <EventTrigger invert=true> |
---|
| 261 | <events> |
---|
| 262 | <trigger> |
---|
| 263 | <EventListener event=trigger3 /> |
---|
| 264 | </trigger> |
---|
| 265 | </events> |
---|
| 266 | </EventTrigger> |
---|
| 267 | </visibility> |
---|
| 268 | </events> |
---|
| 269 | </Billboard> |
---|
| 270 | <BlinkingBillboard frequency=0.2 amplitude=1 material="Flares/lensflare" colour="1,1,0"> |
---|
| 271 | <events> |
---|
| 272 | <visibility> |
---|
| 273 | <EventTrigger> |
---|
| 274 | <events> |
---|
| 275 | <trigger> |
---|
| 276 | <EventListener event=trigger3 /> |
---|
| 277 | </trigger> |
---|
| 278 | </events> |
---|
| 279 | <EventTrigger invert=true> |
---|
| 280 | <events> |
---|
| 281 | <trigger> |
---|
| 282 | <EventListener event=trigger4 /> |
---|
| 283 | </trigger> |
---|
| 284 | </events> |
---|
| 285 | </EventTrigger> |
---|
| 286 | </EventTrigger> |
---|
| 287 | </visibility> |
---|
| 288 | </events> |
---|
| 289 | </BlinkingBillboard> |
---|
| 290 | <Billboard material="Flares/lensflare" colour="0,1,0"> |
---|
| 291 | <events> |
---|
| 292 | <visibility> |
---|
| 293 | <EventListener event=trigger4 /> |
---|
| 294 | </visibility> |
---|
| 295 | </events> |
---|
| 296 | </Billboard> |
---|
| 297 | </attached> |
---|
| 298 | </CheckPoint> |
---|
[5516] | 299 | |
---|
| 300 | |
---|
[8009] | 301 | <CheckPoint name=trigger5 position="7200,600,-200" scale=3 isdestination=false stayactive=true distance=100 addtime=16> |
---|
[5521] | 302 | <events> |
---|
[7163] | 303 | <activity> |
---|
[5521] | 304 | <EventListener event=trigger4 /> |
---|
[7163] | 305 | </activity> |
---|
[5521] | 306 | </events> |
---|
[7163] | 307 | <attached> |
---|
| 308 | <Billboard material="Flares/lensflare" colour="1,0,0"> |
---|
| 309 | <events> |
---|
| 310 | <visibility> |
---|
| 311 | <EventTrigger invert=true> |
---|
| 312 | <events> |
---|
| 313 | <trigger> |
---|
| 314 | <EventListener event=trigger4 /> |
---|
| 315 | </trigger> |
---|
| 316 | </events> |
---|
| 317 | </EventTrigger> |
---|
| 318 | </visibility> |
---|
| 319 | </events> |
---|
| 320 | </Billboard> |
---|
| 321 | <BlinkingBillboard frequency=0.2 amplitude=1 material="Flares/lensflare" colour="1,1,0"> |
---|
| 322 | <events> |
---|
| 323 | <visibility> |
---|
| 324 | <EventTrigger> |
---|
| 325 | <events> |
---|
| 326 | <trigger> |
---|
| 327 | <EventListener event=trigger4 /> |
---|
| 328 | </trigger> |
---|
| 329 | </events> |
---|
| 330 | <EventTrigger invert=true> |
---|
| 331 | <events> |
---|
| 332 | <trigger> |
---|
| 333 | <EventListener event=trigger5 /> |
---|
| 334 | </trigger> |
---|
| 335 | </events> |
---|
| 336 | </EventTrigger> |
---|
| 337 | </EventTrigger> |
---|
| 338 | </visibility> |
---|
| 339 | </events> |
---|
| 340 | </BlinkingBillboard> |
---|
| 341 | <Billboard material="Flares/lensflare" colour="0,1,0"> |
---|
| 342 | <events> |
---|
| 343 | <visibility> |
---|
| 344 | <EventListener event=trigger5 /> |
---|
| 345 | </visibility> |
---|
| 346 | </events> |
---|
| 347 | </Billboard> |
---|
| 348 | </attached> |
---|
| 349 | </CheckPoint> |
---|
[5453] | 350 | |
---|
[5475] | 351 | |
---|
[8009] | 352 | <CheckPoint name=trigger6 position="9200, 800,-800" scale=3 isdestination=false stayactive=true distance=100 addtime=22> |
---|
[5521] | 353 | <events> |
---|
[7163] | 354 | <activity> |
---|
[5521] | 355 | <EventListener event=trigger5 /> |
---|
[7163] | 356 | </activity> |
---|
[5521] | 357 | </events> |
---|
[7163] | 358 | <attached> |
---|
| 359 | <Billboard material="Flares/lensflare" colour="1,0,0"> |
---|
| 360 | <events> |
---|
| 361 | <visibility> |
---|
| 362 | <EventTrigger invert=true> |
---|
| 363 | <events> |
---|
| 364 | <trigger> |
---|
| 365 | <EventListener event=trigger5 /> |
---|
| 366 | </trigger> |
---|
| 367 | </events> |
---|
| 368 | </EventTrigger> |
---|
| 369 | </visibility> |
---|
| 370 | </events> |
---|
| 371 | </Billboard> |
---|
| 372 | <BlinkingBillboard frequency=0.2 amplitude=1 material="Flares/lensflare" colour="1,1,0"> |
---|
| 373 | <events> |
---|
| 374 | <visibility> |
---|
| 375 | <EventTrigger> |
---|
| 376 | <events> |
---|
| 377 | <trigger> |
---|
| 378 | <EventListener event=trigger5 /> |
---|
| 379 | </trigger> |
---|
| 380 | </events> |
---|
| 381 | <EventTrigger invert=true> |
---|
| 382 | <events> |
---|
| 383 | <trigger> |
---|
| 384 | <EventListener event=trigger6 /> |
---|
| 385 | </trigger> |
---|
| 386 | </events> |
---|
| 387 | </EventTrigger> |
---|
| 388 | </EventTrigger> |
---|
| 389 | </visibility> |
---|
| 390 | </events> |
---|
| 391 | </BlinkingBillboard> |
---|
| 392 | <Billboard material="Flares/lensflare" colour="0,1,0"> |
---|
| 393 | <events> |
---|
| 394 | <visibility> |
---|
| 395 | <EventListener event=trigger6 /> |
---|
| 396 | </visibility> |
---|
| 397 | </events> |
---|
| 398 | </Billboard> |
---|
| 399 | </attached> |
---|
| 400 | </CheckPoint> |
---|
[5453] | 401 | |
---|
[5505] | 402 | |
---|
[7163] | 403 | <Model position="11200,400,-1800" scale=10 pitch=-90 mesh="Carrier.mesh"> |
---|
| 404 | <attached> |
---|
| 405 | <CheckPoint position="-10,0,0" name=trigger7 scale=0.6 isdestination=true stayactive=true distance=100> |
---|
| 406 | <events> |
---|
| 407 | <activity> |
---|
| 408 | <EventListener event=trigger6 /> |
---|
| 409 | </activity> |
---|
| 410 | </events> |
---|
| 411 | <attached> |
---|
| 412 | <Billboard material="Flares/lensflare" colour="1,0,0"> |
---|
[5521] | 413 | <events> |
---|
[7163] | 414 | <visibility> |
---|
| 415 | <EventTrigger invert=true> |
---|
| 416 | <events> |
---|
| 417 | <trigger> |
---|
| 418 | <EventListener event=trigger6 /> |
---|
| 419 | </trigger> |
---|
| 420 | </events> |
---|
| 421 | </EventTrigger> |
---|
| 422 | </visibility> |
---|
[5521] | 423 | </events> |
---|
[7163] | 424 | </Billboard> |
---|
| 425 | <BlinkingBillboard frequency=0.2 amplitude=1 material="Flares/lensflare" colour="1,1,0"> |
---|
[5521] | 426 | <events> |
---|
[7163] | 427 | <visibility> |
---|
| 428 | <EventTrigger> |
---|
| 429 | <events> |
---|
| 430 | <trigger> |
---|
| 431 | <EventListener event=trigger6 /> |
---|
| 432 | </trigger> |
---|
| 433 | </events> |
---|
| 434 | <EventTrigger invert=true> |
---|
| 435 | <events> |
---|
| 436 | <trigger> |
---|
| 437 | <EventListener event=trigger7 /> |
---|
| 438 | </trigger> |
---|
| 439 | </events> |
---|
| 440 | </EventTrigger> |
---|
| 441 | </EventTrigger> |
---|
| 442 | </visibility> |
---|
| 443 | </events> |
---|
| 444 | </BlinkingBillboard> |
---|
| 445 | <Billboard material="Flares/lensflare" colour="0,1,0"> |
---|
| 446 | <events> |
---|
| 447 | <visibility> |
---|
[5521] | 448 | <EventListener event=trigger7 /> |
---|
[7163] | 449 | </visibility> |
---|
[5521] | 450 | </events> |
---|
[7163] | 451 | </Billboard> |
---|
| 452 | </attached> |
---|
| 453 | </CheckPoint> |
---|
| 454 | </attached> |
---|
| 455 | </Model> |
---|
[5505] | 456 | |
---|
[5453] | 457 | </Scene> |
---|
| 458 | </Level> |
---|