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 |
---|
44 | do ?> |
---|
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 |
---|
47 | end |
---|
48 | ?> |
---|
49 | |
---|
50 | <GlobalShader compositor="Bloom" visible=false> |
---|
51 | <events> |
---|
52 | <visibility> |
---|
53 | <DistanceTrigger position="0,0,0" distance=30 target="Spectator" switch=true /> |
---|
54 | </visibility> |
---|
55 | </events> |
---|
56 | </GlobalShader> |
---|
57 | <Model position="0,0,0" scale=8 mesh="ast1.mesh" /> |
---|
58 | <StaticEntity position="0,0,0" collisionType=static> |
---|
59 | <collisionShapes> |
---|
60 | <SphereCollisionShape radius="20" /> |
---|
61 | </collisionShapes> |
---|
62 | </StaticEntity> |
---|
63 | <!-- |
---|
64 | <?lua |
---|
65 | for i = 1, 70, 1 |
---|
66 | do ?> |
---|
67 | <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) ?>"> |
---|
68 | <attached> |
---|
69 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
70 | </attached> |
---|
71 | </MovableEntity> |
---|
72 | <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) ?>"> |
---|
73 | <attached> |
---|
74 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
75 | </attached> |
---|
76 | </MovableEntity> |
---|
77 | |
---|
78 | <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) ?>"> |
---|
79 | <attached> |
---|
80 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
81 | </attached> |
---|
82 | </MovableEntity> |
---|
83 | <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) ?>"> |
---|
84 | <attached> |
---|
85 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
86 | </attached> |
---|
87 | </MovableEntity> |
---|
88 | |
---|
89 | <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) ?>"> |
---|
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() * -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) ?>"> |
---|
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> |
---|
99 | <?lua |
---|
100 | end |
---|
101 | ?> |
---|
102 | --> |
---|
103 | </Scene> |
---|
104 | </Level> |
---|