[5378] | 1 | <?lua |
---|
[5654] | 2 | include("hudtemplates3.oxo") |
---|
| 3 | include("stats.oxo") |
---|
| 4 | include("templates/spaceship_assff.oxt") |
---|
[7163] | 5 | include("templates/lodinformation.oxt") |
---|
[5378] | 6 | ?> |
---|
| 7 | |
---|
| 8 | <Level |
---|
| 9 | name = "Presentation" |
---|
| 10 | description = "A simple testlevel" |
---|
| 11 | > |
---|
[7163] | 12 | <templates> |
---|
| 13 | <Template link=lodtemplate_default /> |
---|
| 14 | </templates> |
---|
| 15 | |
---|
[7193] | 16 | <NotificationQueue |
---|
| 17 | name = "notification" |
---|
| 18 | position = "0.05, 0.05" |
---|
| 19 | font = "VeraMono" |
---|
| 20 | textsize = 0.020 |
---|
| 21 | length = 3 |
---|
| 22 | width = 50 |
---|
| 23 | /> |
---|
| 24 | |
---|
[5378] | 25 | <Scene |
---|
| 26 | ambientlight = "0.5, 0.5, 0.5" |
---|
| 27 | skybox = "Orxonox/skypanoramagen1" |
---|
| 28 | > |
---|
[5452] | 29 | |
---|
[7193] | 30 | <CommandNotification preMessage="Press '" postMessage="' to fire your primary weapon." command="fire 0"> |
---|
| 31 | <events> |
---|
| 32 | <trigger> |
---|
| 33 | <DistanceTrigger name=trigger position="0,0,-100" distance=10 target="Pawn"> |
---|
| 34 | <attached> |
---|
| 35 | <Billboard position="0,0,0" colour="1.0,1.0,0" material="Examples/Flare" /> |
---|
| 36 | </attached> |
---|
| 37 | </DistanceTrigger> |
---|
| 38 | </trigger> |
---|
| 39 | </events> |
---|
| 40 | </CommandNotification> |
---|
[7163] | 41 | |
---|
[5452] | 42 | <Drone name="meineDrohne" primarythrust="80" auxilarythrust="10" rotationthrust="10" mass= "50" linearDamping = "0.9" angularDamping = "0.7"> |
---|
| 43 | <attached> |
---|
[7163] | 44 | <Model scale="1" mesh="drone.mesh"/> |
---|
[5452] | 45 | </attached> |
---|
| 46 | <collisionShapes> |
---|
| 47 | <BoxCollisionShape position="0,0,0" halfExtents="10, 10, 10" /> |
---|
| 48 | </collisionShapes> |
---|
| 49 | </Drone> |
---|
| 50 | |
---|
[7163] | 51 | <Drone name="meineDrohne" primarythrust="80" auxilarythrust="10" rotationthrust="10" mass= "50" linearDamping = "0.9" angularDamping = "0.7"> |
---|
| 52 | <attached> |
---|
| 53 | <Model scale="1" mesh="rocket.mesh"/> |
---|
| 54 | </attached> |
---|
| 55 | <collisionShapes> |
---|
| 56 | <BoxCollisionShape position="0,0,0" halfExtents="10, 10, 10" /> |
---|
| 57 | </collisionShapes> |
---|
| 58 | </Drone> |
---|
[5452] | 59 | |
---|
[5378] | 60 | <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" /> |
---|
| 61 | |
---|
[7163] | 62 | <Model mesh="hs-w01.mesh" scale=10 position="0,0,-100" /> |
---|
| 63 | <Model mesh="hs-w01s.mesh" scale=10 position="0,0,-100" /> |
---|
[5403] | 64 | |
---|
[7163] | 65 | <?lua |
---|
| 66 | for i = 1, 10, 1 do |
---|
| 67 | ?> |
---|
| 68 | <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 /> |
---|
| 69 | <?lua end ?> |
---|
[5383] | 70 | |
---|
| 71 | <GlobalShader compositor="Bloom" visible=false> |
---|
| 72 | <events> |
---|
| 73 | <visibility> |
---|
| 74 | <DistanceTrigger position="0,0,0" distance=30 target="Spectator" switch=true /> |
---|
| 75 | </visibility> |
---|
| 76 | </events> |
---|
| 77 | </GlobalShader> |
---|
| 78 | <Model position="0,0,0" scale=8 mesh="ast1.mesh" /> |
---|
| 79 | <StaticEntity position="0,0,0" collisionType=static> |
---|
| 80 | <collisionShapes> |
---|
| 81 | <SphereCollisionShape radius="20" /> |
---|
| 82 | </collisionShapes> |
---|
| 83 | </StaticEntity> |
---|
[7163] | 84 | |
---|
[5383] | 85 | <!-- |
---|
[7163] | 86 | <?lua |
---|
| 87 | for i = 1, 70, 1 do |
---|
| 88 | ?> |
---|
| 89 | <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) ?>"> |
---|
| 90 | <attached> |
---|
| 91 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 92 | </attached> |
---|
| 93 | </MovableEntity> |
---|
| 94 | <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) ?>"> |
---|
| 95 | <attached> |
---|
| 96 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 97 | </attached> |
---|
| 98 | </MovableEntity> |
---|
[5383] | 99 | |
---|
[7163] | 100 | <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) ?>"> |
---|
| 101 | <attached> |
---|
| 102 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 103 | </attached> |
---|
| 104 | </MovableEntity> |
---|
| 105 | <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) ?>"> |
---|
| 106 | <attached> |
---|
| 107 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 108 | </attached> |
---|
| 109 | </MovableEntity> |
---|
[5383] | 110 | |
---|
[7163] | 111 | <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) ?>"> |
---|
| 112 | <attached> |
---|
| 113 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 114 | </attached> |
---|
| 115 | </MovableEntity> |
---|
| 116 | <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) ?>"> |
---|
| 117 | <attached> |
---|
| 118 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 119 | </attached> |
---|
| 120 | </MovableEntity> |
---|
| 121 | <?lua end ?> |
---|
[5383] | 122 | --> |
---|
[7163] | 123 | |
---|
[5378] | 124 | </Scene> |
---|
| 125 | </Level> |
---|