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