[5378] | 1 | <?lua |
---|
[5654] | 2 | include("hudtemplates3.oxo") |
---|
| 3 | include("stats.oxo") |
---|
| 4 | include("templates/spaceship_assff.oxt") |
---|
[5378] | 5 | ?> |
---|
| 6 | |
---|
| 7 | <Level |
---|
| 8 | name = "Presentation" |
---|
| 9 | description = "A simple testlevel" |
---|
| 10 | > |
---|
| 11 | <Scene |
---|
| 12 | ambientlight = "0.5, 0.5, 0.5" |
---|
| 13 | skybox = "Orxonox/skypanoramagen1" |
---|
| 14 | > |
---|
[5452] | 15 | |
---|
| 16 | <Drone name="meineDrohne" primarythrust="80" auxilarythrust="10" rotationthrust="10" mass= "50" linearDamping = "0.9" angularDamping = "0.7"> |
---|
| 17 | <attached> |
---|
| 18 | <Model scale="10" mesh="drone.mesh"/> |
---|
| 19 | </attached> |
---|
| 20 | <collisionShapes> |
---|
| 21 | <BoxCollisionShape position="0,0,0" halfExtents="10, 10, 10" /> |
---|
| 22 | </collisionShapes> |
---|
| 23 | </Drone> |
---|
| 24 | |
---|
[6779] | 25 | <Drone name="meineDrohne" primarythrust="80" auxilarythrust="10" rotationthrust="10" mass= "50" linearDamping = "0.9" angularDamping = "0.7"> |
---|
| 26 | <attached> |
---|
| 27 | <Model scale="10" mesh="rocket.mesh"/> |
---|
| 28 | </attached> |
---|
| 29 | <collisionShapes> |
---|
| 30 | <BoxCollisionShape position="0,0,0" halfExtents="10, 10, 10" /> |
---|
| 31 | </collisionShapes> |
---|
| 32 | </Drone> |
---|
[5452] | 33 | |
---|
[5378] | 34 | <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" /> |
---|
| 35 | |
---|
[5519] | 36 | <Model mesh="hs-w01.mesh" scale=10 position="0,0,-100" /> |
---|
| 37 | <Model mesh="hs-w01s.mesh" scale=10 position="0,0,-100" /> |
---|
[5403] | 38 | |
---|
[5378] | 39 | <?lua |
---|
[5528] | 40 | for i = 1, 10, 1 |
---|
[5378] | 41 | do ?> |
---|
| 42 | <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] | 43 | <?lua |
---|
[5378] | 44 | end |
---|
| 45 | ?> |
---|
[5383] | 46 | |
---|
| 47 | <GlobalShader compositor="Bloom" visible=false> |
---|
| 48 | <events> |
---|
| 49 | <visibility> |
---|
| 50 | <DistanceTrigger position="0,0,0" distance=30 target="Spectator" switch=true /> |
---|
| 51 | </visibility> |
---|
| 52 | </events> |
---|
| 53 | </GlobalShader> |
---|
| 54 | <Model position="0,0,0" scale=8 mesh="ast1.mesh" /> |
---|
| 55 | <StaticEntity position="0,0,0" collisionType=static> |
---|
| 56 | <collisionShapes> |
---|
| 57 | <SphereCollisionShape radius="20" /> |
---|
| 58 | </collisionShapes> |
---|
| 59 | </StaticEntity> |
---|
| 60 | <!-- |
---|
| 61 | <?lua |
---|
[5528] | 62 | for i = 1, 70, 1 |
---|
[5383] | 63 | do ?> |
---|
| 64 | <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) ?>"> |
---|
| 65 | <attached> |
---|
| 66 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 67 | </attached> |
---|
| 68 | </MovableEntity> |
---|
| 69 | <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) ?>"> |
---|
| 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 | |
---|
| 75 | <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) ?>"> |
---|
| 76 | <attached> |
---|
| 77 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 78 | </attached> |
---|
| 79 | </MovableEntity> |
---|
| 80 | <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) ?>"> |
---|
| 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 | |
---|
| 86 | <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) ?>"> |
---|
| 87 | <attached> |
---|
| 88 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 89 | </attached> |
---|
| 90 | </MovableEntity> |
---|
| 91 | <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) ?>"> |
---|
| 92 | <attached> |
---|
| 93 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 94 | </attached> |
---|
| 95 | </MovableEntity> |
---|
[5528] | 96 | <?lua |
---|
[5383] | 97 | end |
---|
| 98 | ?> |
---|
| 99 | --> |
---|
[5378] | 100 | </Scene> |
---|
| 101 | </Level> |
---|