[5378] | 1 | <?lua |
---|
| 2 | include("levels/hudtemplates3.oxw") |
---|
[5381] | 3 | include("overlay/stats.oxo") |
---|
[5378] | 4 | include("levels/spaceshiptemplates_presentation.oxw") |
---|
| 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 | |
---|
| 25 | |
---|
[5378] | 26 | <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" /> |
---|
| 27 | |
---|
[5403] | 28 | |
---|
[5378] | 29 | <?lua |
---|
| 30 | for i = 1, 10, 1 |
---|
| 31 | do ?> |
---|
| 32 | <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 /> |
---|
| 33 | <?lua |
---|
| 34 | end |
---|
| 35 | ?> |
---|
[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> |
---|
| 44 | <Model position="0,0,0" scale=8 mesh="ast1.mesh" /> |
---|
| 45 | <StaticEntity position="0,0,0" collisionType=static> |
---|
| 46 | <collisionShapes> |
---|
| 47 | <SphereCollisionShape radius="20" /> |
---|
| 48 | </collisionShapes> |
---|
| 49 | </StaticEntity> |
---|
| 50 | <!-- |
---|
| 51 | <?lua |
---|
| 52 | for i = 1, 70, 1 |
---|
| 53 | do ?> |
---|
| 54 | <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) ?>"> |
---|
| 55 | <attached> |
---|
| 56 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 57 | </attached> |
---|
| 58 | </MovableEntity> |
---|
| 59 | <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) ?>"> |
---|
| 60 | <attached> |
---|
| 61 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 62 | </attached> |
---|
| 63 | </MovableEntity> |
---|
| 64 | |
---|
| 65 | <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) ?>"> |
---|
| 66 | <attached> |
---|
| 67 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 68 | </attached> |
---|
| 69 | </MovableEntity> |
---|
| 70 | <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) ?>"> |
---|
| 71 | <attached> |
---|
| 72 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 73 | </attached> |
---|
| 74 | </MovableEntity> |
---|
| 75 | |
---|
| 76 | <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) ?>"> |
---|
| 77 | <attached> |
---|
| 78 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 79 | </attached> |
---|
| 80 | </MovableEntity> |
---|
| 81 | <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) ?>"> |
---|
| 82 | <attached> |
---|
| 83 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 84 | </attached> |
---|
| 85 | </MovableEntity> |
---|
| 86 | <?lua |
---|
| 87 | end |
---|
| 88 | ?> |
---|
| 89 | --> |
---|
[5378] | 90 | </Scene> |
---|
| 91 | </Level> |
---|