[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 | > |
---|
| 15 | <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" /> |
---|
| 16 | |
---|
[5403] | 17 | |
---|
[5378] | 18 | <?lua |
---|
| 19 | for i = 1, 10, 1 |
---|
| 20 | do ?> |
---|
| 21 | <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 /> |
---|
| 22 | <?lua |
---|
| 23 | end |
---|
| 24 | ?> |
---|
[5383] | 25 | |
---|
| 26 | <GlobalShader compositor="Bloom" visible=false> |
---|
| 27 | <events> |
---|
| 28 | <visibility> |
---|
| 29 | <DistanceTrigger position="0,0,0" distance=30 target="Spectator" switch=true /> |
---|
| 30 | </visibility> |
---|
| 31 | </events> |
---|
| 32 | </GlobalShader> |
---|
| 33 | <Model position="0,0,0" scale=8 mesh="ast1.mesh" /> |
---|
| 34 | <StaticEntity position="0,0,0" collisionType=static> |
---|
| 35 | <collisionShapes> |
---|
| 36 | <SphereCollisionShape radius="20" /> |
---|
| 37 | </collisionShapes> |
---|
| 38 | </StaticEntity> |
---|
| 39 | <!-- |
---|
| 40 | <?lua |
---|
| 41 | for i = 1, 70, 1 |
---|
| 42 | do ?> |
---|
| 43 | <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) ?>"> |
---|
| 44 | <attached> |
---|
| 45 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 46 | </attached> |
---|
| 47 | </MovableEntity> |
---|
| 48 | <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) ?>"> |
---|
| 49 | <attached> |
---|
| 50 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 51 | </attached> |
---|
| 52 | </MovableEntity> |
---|
| 53 | |
---|
| 54 | <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) ?>"> |
---|
| 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() * -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) ?>"> |
---|
| 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() * 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) ?>"> |
---|
| 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() * -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) ?>"> |
---|
| 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 | <?lua |
---|
| 76 | end |
---|
| 77 | ?> |
---|
| 78 | --> |
---|
[5378] | 79 | </Scene> |
---|
| 80 | </Level> |
---|