[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 | |
---|
| 19 | <Model mesh="can.mesh" scale=10 position="0,0,-100" /> |
---|
| 20 | |
---|
| 21 | |
---|
[5378] | 22 | <?lua |
---|
[5528] | 23 | for i = 1, 10, 1 |
---|
[5378] | 24 | do ?> |
---|
[5520] | 25 | <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 /> |
---|
[5528] | 26 | <?lua |
---|
[5378] | 27 | end |
---|
| 28 | ?> |
---|
[5484] | 29 | <Model position="1,2,3" mesh="cube.mesh" /> |
---|
[5383] | 30 | |
---|
[5484] | 31 | |
---|
[5383] | 32 | <GlobalShader compositor="Bloom" visible=false> |
---|
| 33 | <events> |
---|
| 34 | <visibility> |
---|
| 35 | <DistanceTrigger position="0,0,0" distance=30 target="Spectator" switch=true /> |
---|
| 36 | </visibility> |
---|
| 37 | </events> |
---|
| 38 | </GlobalShader> |
---|
[5502] | 39 | |
---|
[5513] | 40 | |
---|
[5502] | 41 | <?lua |
---|
[5528] | 42 | for i = 1, 50, 1 |
---|
[5502] | 43 | do |
---|
| 44 | j = math.random() |
---|
| 45 | ?> |
---|
[5528] | 46 | |
---|
| 47 | <MovableEntity position="<?lua print(math.random() * 3000-2000) ?>,<?lua print(math.random() * 3000-2000) ?>,<?lua print(math.random() * 3000 - 2000) ?>" collisionType=dynamic linearDamping=0.8 angularDamping=0 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] | 48 | <attached> |
---|
[5521] | 49 | <Model position="0,0,0" scale=<?lua print(j * 10) ?> mass=<?lua print(j * 30) ?> mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> |
---|
[5502] | 50 | </attached> |
---|
[5383] | 51 | <collisionShapes> |
---|
[5502] | 52 | <SphereCollisionShape radius="<?lua print(j * 70) ?>" /> |
---|
[5383] | 53 | </collisionShapes> |
---|
[5502] | 54 | </MovableEntity> |
---|
[5528] | 55 | <?lua |
---|
[5502] | 56 | end |
---|
| 57 | ?> |
---|
| 58 | |
---|
[5464] | 59 | <!-- |
---|
[5383] | 60 | <?lua |
---|
[5528] | 61 | for i = 1, 70, 1 |
---|
[5383] | 62 | do ?> |
---|
| 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> |
---|
| 73 | |
---|
| 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> |
---|
| 84 | |
---|
| 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> |
---|
[5528] | 95 | <?lua |
---|
[5383] | 96 | end |
---|
| 97 | ?> |
---|
[5464] | 98 | --> |
---|
[5378] | 99 | </Scene> |
---|
| 100 | </Level> |
---|