[7648] | 1 | <LevelInfo |
---|
| 2 | name = "Presentation DM" |
---|
| 3 | description = "Presentation Level" |
---|
| 4 | tags = "presentation" |
---|
| 5 | /> |
---|
| 6 | |
---|
[5378] | 7 | <?lua |
---|
[7679] | 8 | include("HUDTemplates3.oxo") |
---|
[5654] | 9 | include("stats.oxo") |
---|
[7679] | 10 | include("templates/spaceshipAssff.oxt") |
---|
| 11 | include("templates/spaceshipH2.oxt") |
---|
| 12 | include("templates/lodInformation.oxt") |
---|
[5378] | 13 | ?> |
---|
| 14 | |
---|
| 15 | <Level |
---|
| 16 | name = "Presentation" |
---|
| 17 | description = "A simple testlevel" |
---|
| 18 | > |
---|
[7163] | 19 | <templates> |
---|
| 20 | <Template link=lodtemplate_default /> |
---|
| 21 | </templates> |
---|
[8636] | 22 | <?lua include("includes/notifications.oxi") ?> |
---|
[7163] | 23 | |
---|
[5378] | 24 | <Scene |
---|
| 25 | ambientlight = "0.5, 0.5, 0.5" |
---|
| 26 | skybox = "Orxonox/skypanoramagen1" |
---|
| 27 | > |
---|
| 28 | <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" /> |
---|
| 29 | |
---|
[5519] | 30 | |
---|
[7163] | 31 | <?lua |
---|
| 32 | for i = 1, 10, 1 do |
---|
| 33 | ?> |
---|
| 34 | <SpawnPoint position="<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
| 35 | <?lua end ?> |
---|
[5383] | 36 | |
---|
| 37 | <GlobalShader compositor="Bloom" visible=false> |
---|
| 38 | <events> |
---|
| 39 | <visibility> |
---|
| 40 | <DistanceTrigger position="0,0,0" distance=30 target="Spectator" switch=true /> |
---|
| 41 | </visibility> |
---|
| 42 | </events> |
---|
| 43 | </GlobalShader> |
---|
[5502] | 44 | |
---|
[7163] | 45 | <?lua |
---|
| 46 | for i = 1, 100, 1 do |
---|
| 47 | j = math.random() |
---|
| 48 | ?> |
---|
[8079] | 49 | <MovableEntity position="<?lua print(math.random() * 5000-2000) ?>,<?lua print(math.random() * 5000-2000) ?>,<?lua print(math.random() * 5000 - 2000) ?>" collisionType=dynamic linearDamping=0.8 angularDamping=0 mass="<?lua print(j * 50) ?>" scale="<?lua print(j * 5) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>"> |
---|
[7163] | 50 | <attached> |
---|
[8079] | 51 | <Model position="0,0,0" scale="<?lua print(j * 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> |
---|
[7163] | 52 | </attached> |
---|
| 53 | <collisionShapes> |
---|
| 54 | <SphereCollisionShape radius="<?lua print(j * 70) ?>" /> |
---|
| 55 | </collisionShapes> |
---|
| 56 | </MovableEntity> |
---|
| 57 | <?lua end ?> |
---|
[5513] | 58 | |
---|
[5464] | 59 | <!-- |
---|
[7163] | 60 | <?lua |
---|
| 61 | for i = 1, 70, 1 do |
---|
| 62 | ?> |
---|
| 63 | <MovableEntity position="<?lua print(math.random() * 6000 - 3000)?>, <?lua print(math.random() * 6000 - 3000) ?>, <?lua print(math.random() * 1000 + 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>"> |
---|
| 64 | <attached> |
---|
| 65 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 66 | </attached> |
---|
| 67 | </MovableEntity> |
---|
| 68 | <MovableEntity position="<?lua print(math.random() * 6000 - 3000)?>, <?lua print(math.random() * 6000 - 3000) ?>, <?lua print(math.random() * -1000 - 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>"> |
---|
| 69 | <attached> |
---|
| 70 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 71 | </attached> |
---|
| 72 | </MovableEntity> |
---|
[5383] | 73 | |
---|
[7163] | 74 | <MovableEntity position="<?lua print(math.random() * 6000 - 3000)?>, <?lua print(math.random() * 1000 + 3000) ?>, <?lua print(math.random() * 6000 - 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>"> |
---|
| 75 | <attached> |
---|
| 76 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 77 | </attached> |
---|
| 78 | </MovableEntity> |
---|
| 79 | <MovableEntity position="<?lua print(math.random() * 6000 - 3000)?>, <?lua print(math.random() * -1000 - 3000) ?>, <?lua print(math.random() * 6000 - 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>"> |
---|
| 80 | <attached> |
---|
| 81 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 82 | </attached> |
---|
| 83 | </MovableEntity> |
---|
[5383] | 84 | |
---|
[7163] | 85 | <MovableEntity position="<?lua print(math.random() * 1000 + 3000)?>, <?lua print(math.random() * 6000 - 3000) ?>, <?lua print(math.random() * 6000 - 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>"> |
---|
| 86 | <attached> |
---|
| 87 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 88 | </attached> |
---|
| 89 | </MovableEntity> |
---|
| 90 | <MovableEntity position="<?lua print(math.random() * -1000 - 3000)?>, <?lua print(math.random() * 6000 - 3000) ?>, <?lua print(math.random() * 6000 - 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>"> |
---|
| 91 | <attached> |
---|
| 92 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 93 | </attached> |
---|
| 94 | </MovableEntity> |
---|
| 95 | <?lua end ?> |
---|
[5464] | 96 | --> |
---|
[7163] | 97 | |
---|
[5378] | 98 | </Scene> |
---|
| 99 | </Level> |
---|