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