[5378] | 1 | <?lua |
---|
[5528] | 2 | include("overlay/hudtemplates3.oxo") |
---|
[5381] | 3 | include("overlay/stats.oxo") |
---|
[5528] | 4 | include("levels/templates/spaceship_assff.oxt") |
---|
| 5 | include("levels/templates/spaceship_H2.oxt") |
---|
[5378] | 6 | ?> |
---|
| 7 | |
---|
| 8 | <Level |
---|
| 9 | name = "Presentation" |
---|
| 10 | description = "A simple testlevel" |
---|
| 11 | > |
---|
| 12 | <Scene |
---|
| 13 | ambientlight = "0.5, 0.5, 0.5" |
---|
| 14 | skybox = "Orxonox/skypanoramagen1" |
---|
| 15 | > |
---|
| 16 | <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" /> |
---|
| 17 | |
---|
[5519] | 18 | |
---|
[5378] | 19 | <?lua |
---|
[5550] | 20 | for i = 1, 10, 1 |
---|
[5378] | 21 | do ?> |
---|
[5520] | 22 | <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 /> |
---|
[5550] | 23 | <?lua |
---|
[5378] | 24 | end |
---|
| 25 | ?> |
---|
[5383] | 26 | |
---|
| 27 | <GlobalShader compositor="Bloom" visible=false> |
---|
| 28 | <events> |
---|
| 29 | <visibility> |
---|
| 30 | <DistanceTrigger position="0,0,0" distance=30 target="Spectator" switch=true /> |
---|
| 31 | </visibility> |
---|
| 32 | </events> |
---|
| 33 | </GlobalShader> |
---|
[5502] | 34 | |
---|
[5513] | 35 | |
---|
[5502] | 36 | <?lua |
---|
[5550] | 37 | for i = 1, 100, 1 |
---|
[5502] | 38 | do |
---|
| 39 | j = math.random() |
---|
| 40 | ?> |
---|
[5550] | 41 | |
---|
| 42 | <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) ?>"> |
---|
[5502] | 43 | <attached> |
---|
[5550] | 44 | <Model position="0,0,0" scale=<?lua print(j * 10) ?> mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> |
---|
[5502] | 45 | </attached> |
---|
[5383] | 46 | <collisionShapes> |
---|
[5502] | 47 | <SphereCollisionShape radius="<?lua print(j * 70) ?>" /> |
---|
[5383] | 48 | </collisionShapes> |
---|
[5502] | 49 | </MovableEntity> |
---|
[5550] | 50 | <?lua |
---|
[5502] | 51 | end |
---|
| 52 | ?> |
---|
| 53 | |
---|
[5464] | 54 | <!-- |
---|
[5383] | 55 | <?lua |
---|
[5528] | 56 | for i = 1, 70, 1 |
---|
[5383] | 57 | do ?> |
---|
| 58 | <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) ?>"> |
---|
| 59 | <attached> |
---|
| 60 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 61 | </attached> |
---|
| 62 | </MovableEntity> |
---|
| 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 | |
---|
| 69 | <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) ?>"> |
---|
| 70 | <attached> |
---|
| 71 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 72 | </attached> |
---|
| 73 | </MovableEntity> |
---|
| 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 | |
---|
| 80 | <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) ?>"> |
---|
| 81 | <attached> |
---|
| 82 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 83 | </attached> |
---|
| 84 | </MovableEntity> |
---|
| 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> |
---|
[5528] | 90 | <?lua |
---|
[5383] | 91 | end |
---|
| 92 | ?> |
---|
[5464] | 93 | --> |
---|
[5378] | 94 | </Scene> |
---|
| 95 | </Level> |
---|