[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 | |
---|
| 17 | <?lua |
---|
| 18 | for i = 1, 10, 1 |
---|
| 19 | do ?> |
---|
| 20 | <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 /> |
---|
| 21 | <?lua |
---|
| 22 | end |
---|
| 23 | ?> |
---|
[5484] | 24 | <Model position="1,2,3" mesh="cube.mesh" /> |
---|
[5383] | 25 | |
---|
[5484] | 26 | |
---|
[5383] | 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> |
---|
| 34 | <Model position="0,0,0" scale=8 mesh="ast1.mesh" /> |
---|
| 35 | <StaticEntity position="0,0,0" collisionType=static> |
---|
| 36 | <collisionShapes> |
---|
| 37 | <SphereCollisionShape radius="20" /> |
---|
| 38 | </collisionShapes> |
---|
| 39 | </StaticEntity> |
---|
[5464] | 40 | <!-- |
---|
[5383] | 41 | <?lua |
---|
| 42 | for i = 1, 70, 1 |
---|
| 43 | do ?> |
---|
| 44 | <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) ?>"> |
---|
| 45 | <attached> |
---|
| 46 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 47 | </attached> |
---|
| 48 | </MovableEntity> |
---|
| 49 | <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) ?>"> |
---|
| 50 | <attached> |
---|
| 51 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 52 | </attached> |
---|
| 53 | </MovableEntity> |
---|
| 54 | |
---|
| 55 | <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) ?>"> |
---|
| 56 | <attached> |
---|
| 57 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 58 | </attached> |
---|
| 59 | </MovableEntity> |
---|
| 60 | <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) ?>"> |
---|
| 61 | <attached> |
---|
| 62 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 63 | </attached> |
---|
| 64 | </MovableEntity> |
---|
| 65 | |
---|
| 66 | <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) ?>"> |
---|
| 67 | <attached> |
---|
| 68 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 69 | </attached> |
---|
| 70 | </MovableEntity> |
---|
| 71 | <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) ?>"> |
---|
| 72 | <attached> |
---|
| 73 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 74 | </attached> |
---|
| 75 | </MovableEntity> |
---|
| 76 | <?lua |
---|
| 77 | end |
---|
| 78 | ?> |
---|
[5464] | 79 | --> |
---|
[5378] | 80 | </Scene> |
---|
| 81 | </Level> |
---|