1 | <?lua |
---|
2 | include("overlay/hudtemplates3.oxo") |
---|
3 | include("overlay/stats.oxo") |
---|
4 | include("levels/templates/spaceship_assff.oxt") |
---|
5 | include("levels/templates/spaceship_pirate.oxt") |
---|
6 | ?> |
---|
7 | |
---|
8 | <Level |
---|
9 | name = "Presentation" |
---|
10 | description = "A simple testlevel" |
---|
11 | gametype = TeamBaseMatch |
---|
12 | > |
---|
13 | <Scene |
---|
14 | ambientlight = "0.5, 0.5, 0.5" |
---|
15 | skybox = "Orxonox/skypanoramagen1" |
---|
16 | > |
---|
17 | <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" /> |
---|
18 | |
---|
19 | <TeamSpawnPoint team=0 position=" 900,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
20 | <TeamSpawnPoint team=1 position="-900,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshippirate /> |
---|
21 | |
---|
22 | <TeamBaseMatchBase |
---|
23 | name = "base 1" |
---|
24 | position = "1200, 0, 0" |
---|
25 | pitch = -90 |
---|
26 | |
---|
27 | health = 100 |
---|
28 | maxhealth = 100 |
---|
29 | initialhealth = 100 |
---|
30 | |
---|
31 | collisionType = "dynamic" |
---|
32 | mass = 10000 |
---|
33 | linearDamping = 0.9 |
---|
34 | angularDamping = 0.99999 |
---|
35 | > |
---|
36 | <attached> |
---|
37 | <Model scale=10 mesh="DuBall1.mesh" position = "-100,0,0"/> |
---|
38 | <Model scale=10 mesh="DuBall2.mesh" position = "100,0,0"/> |
---|
39 | <Billboard scale=7 material="Examples/Flare" colour="0.5,0.5,0.5" position = "-100,0,0"/> |
---|
40 | <Billboard scale=7 material="Examples/Flare" colour="0.5,0.5,0.5" position = "100,0,0"/> |
---|
41 | <?lua |
---|
42 | for i = 1, 10, 1 |
---|
43 | do ?> |
---|
44 | <ParticleSpawner position="<?lua print(math.random() * 400 - 200) ?>,<?lua print(math.random() * 200 - 100) ?>,<?lua print(math.random() * 200 - 100) ?>" startdelay=<?lua print(math.random()) ?> source="Orxonox/BigExplosion1part1" lifetime=2.0 loop=0 autostart=0> |
---|
45 | <events><spawn><EventListener event="base 1" /></spawn></events> |
---|
46 | </ParticleSpawner> |
---|
47 | <?lua |
---|
48 | end |
---|
49 | ?> |
---|
50 | </attached> |
---|
51 | <collisionShapes> |
---|
52 | <SphereCollisionShape radius="80" position = "-100,0,0" /> |
---|
53 | <SphereCollisionShape radius="120" position = "100,0,0" /> |
---|
54 | <BoxCollisionShape halfExtents="90,25,45" position = "-155,0,40" /> |
---|
55 | </collisionShapes> |
---|
56 | </TeamBaseMatchBase> |
---|
57 | |
---|
58 | |
---|
59 | <TeamBaseMatchBase |
---|
60 | name = "base 2" |
---|
61 | position = "-1200, 0, 0" |
---|
62 | pitch = -90 |
---|
63 | |
---|
64 | health = 100 |
---|
65 | maxhealth = 100 |
---|
66 | initialhealth = 100 |
---|
67 | |
---|
68 | collisionType = "dynamic" |
---|
69 | mass = 10000 |
---|
70 | linearDamping = 0.9 |
---|
71 | angularDamping = 0.99999 |
---|
72 | > |
---|
73 | <attached> |
---|
74 | <Model scale=10 mesh="DuBall1.mesh" position = "-100,0,0"/> |
---|
75 | <Model scale=10 mesh="DuBall2.mesh" position = "100,0,0"/> |
---|
76 | <Billboard scale=7 material="Examples/Flare" colour="0.5,0.5,0.5" position = "-100,0,0"/> |
---|
77 | <Billboard scale=7 material="Examples/Flare" colour="0.5,0.5,0.5" position = "100,0,0"/> |
---|
78 | <?lua |
---|
79 | for i = 1, 10, 1 |
---|
80 | do ?> |
---|
81 | <ParticleSpawner position="<?lua print(math.random() * 400 - 200) ?>,<?lua print(math.random() * 200 - 100) ?>,<?lua print(math.random() * 200 - 100) ?>" startdelay=<?lua print(math.random()) ?> source="Orxonox/BigExplosion1part1" lifetime=2.0 loop=0 autostart=0> |
---|
82 | <events><spawn><EventListener event="base 2" /></spawn></events> |
---|
83 | </ParticleSpawner> |
---|
84 | <?lua |
---|
85 | end |
---|
86 | ?> |
---|
87 | </attached> |
---|
88 | <collisionShapes> |
---|
89 | <SphereCollisionShape radius="80" position = "-100,0,0" /> |
---|
90 | <SphereCollisionShape radius="120" position = "100,0,0" /> |
---|
91 | <BoxCollisionShape halfExtents="90,25,45" position = "-155,0,40" /> |
---|
92 | </collisionShapes> |
---|
93 | </TeamBaseMatchBase> |
---|
94 | |
---|
95 | |
---|
96 | <TeamBaseMatchBase |
---|
97 | name = "base 3" |
---|
98 | position = "0, 0, 1200" |
---|
99 | pitch = -90 |
---|
100 | |
---|
101 | health = 100 |
---|
102 | maxhealth = 100 |
---|
103 | initialhealth = 100 |
---|
104 | |
---|
105 | collisionType = "dynamic" |
---|
106 | mass = 10000 |
---|
107 | linearDamping = 0.9 |
---|
108 | angularDamping = 0.99999 |
---|
109 | > |
---|
110 | <attached> |
---|
111 | <Model scale=10 mesh="DuBall1.mesh" position = "-100,0,0"/> |
---|
112 | <Model scale=10 mesh="DuBall2.mesh" position = "100,0,0"/> |
---|
113 | <Billboard scale=7 material="Examples/Flare" colour="0.5,0.5,0.5" position = "-100,0,0"/> |
---|
114 | <Billboard scale=7 material="Examples/Flare" colour="0.5,0.5,0.5" position = "100,0,0"/> |
---|
115 | <?lua |
---|
116 | for i = 1, 10, 1 |
---|
117 | do ?> |
---|
118 | <ParticleSpawner position="<?lua print(math.random() * 400 - 200) ?>,<?lua print(math.random() * 200 - 100) ?>,<?lua print(math.random() * 200 - 100) ?>" startdelay=<?lua print(math.random()) ?> source="Orxonox/BigExplosion1part1" lifetime=2.0 loop=0 autostart=0> |
---|
119 | <events><spawn><EventListener event="base 3" /></spawn></events> |
---|
120 | </ParticleSpawner> |
---|
121 | <?lua |
---|
122 | end |
---|
123 | ?> |
---|
124 | </attached> |
---|
125 | <collisionShapes> |
---|
126 | <SphereCollisionShape radius="80" position = "-100,0,0" /> |
---|
127 | <SphereCollisionShape radius="120" position = "100,0,0" /> |
---|
128 | <BoxCollisionShape halfExtents="90,25,45" position = "-155,0,40" /> |
---|
129 | </collisionShapes> |
---|
130 | </TeamBaseMatchBase> |
---|
131 | |
---|
132 | <TeamBaseMatchBase |
---|
133 | name = "base 4" |
---|
134 | position = "0, 0, -1200" |
---|
135 | |
---|
136 | health = 100 |
---|
137 | maxhealth = 100 |
---|
138 | initialhealth = 100 |
---|
139 | pitch = -90 |
---|
140 | |
---|
141 | collisionType = "dynamic" |
---|
142 | mass = 10000 |
---|
143 | linearDamping = 0.9 |
---|
144 | angularDamping = 0.99999 |
---|
145 | > |
---|
146 | <attached> |
---|
147 | <Model scale=10 mesh="DuBall1.mesh" position = "-100,0,0"/> |
---|
148 | <Model scale=10 mesh="DuBall2.mesh" position = "100,0,0"/> |
---|
149 | <Billboard scale=7 material="Examples/Flare" colour="0.5,0.5,0.5" position = "-100,0,0"/> |
---|
150 | <Billboard scale=7 material="Examples/Flare" colour="0.5,0.5,0.5" position = "100,0,0"/> |
---|
151 | <?lua |
---|
152 | for i = 1, 10, 1 |
---|
153 | do ?> |
---|
154 | <ParticleSpawner position="<?lua print(math.random() * 400 - 200) ?>,<?lua print(math.random() * 200 - 100) ?>,<?lua print(math.random() * 200 - 100) ?>" startdelay=<?lua print(math.random()) ?> source="Orxonox/BigExplosion1part1" lifetime=2.0 loop=0 autostart=0> |
---|
155 | <events><spawn><EventListener event="base 4" /></spawn></events> |
---|
156 | </ParticleSpawner> |
---|
157 | <?lua |
---|
158 | end |
---|
159 | ?> |
---|
160 | </attached> |
---|
161 | <collisionShapes> |
---|
162 | <SphereCollisionShape radius="80" position = "-100,0,0" /> |
---|
163 | <SphereCollisionShape radius="120" position = "100,0,0" /> |
---|
164 | <BoxCollisionShape halfExtents="90,25,45" position = "-155,0,40" /> |
---|
165 | </collisionShapes> |
---|
166 | </TeamBaseMatchBase> |
---|
167 | |
---|
168 | |
---|
169 | <TeamBaseMatchBase |
---|
170 | name = "base 5" |
---|
171 | position = "0, 0, 0" |
---|
172 | pitch = -90 |
---|
173 | |
---|
174 | health = 100 |
---|
175 | maxhealth = 100 |
---|
176 | initialhealth = 100 |
---|
177 | |
---|
178 | collisionType = "dynamic" |
---|
179 | mass = 10000 |
---|
180 | linearDamping = 0.9 |
---|
181 | angularDamping = 0.99999 |
---|
182 | > |
---|
183 | <attached> |
---|
184 | <Model scale=10 mesh="DuBall1.mesh" position = "-100,0,0"/> |
---|
185 | <Model scale=10 mesh="DuBall2.mesh" position = "100,0,0"/> |
---|
186 | <Billboard scale=7 material="Examples/Flare" colour="0.5,0.5,0.5" position = "-100,0,0"/> |
---|
187 | <Billboard scale=7 material="Examples/Flare" colour="0.5,0.5,0.5" position = "100,0,0"/> |
---|
188 | <?lua |
---|
189 | for i = 1, 10, 1 |
---|
190 | do ?> |
---|
191 | <ParticleSpawner position="<?lua print(math.random() * 400 - 200) ?>,<?lua print(math.random() * 200 - 100) ?>,<?lua print(math.random() * 200 - 100) ?>" startdelay=<?lua print(math.random()) ?> source="Orxonox/BigExplosion1part1" lifetime=2.0 loop=0 autostart=0> |
---|
192 | <events><spawn><EventListener event="base 5" /></spawn></events> |
---|
193 | </ParticleSpawner> |
---|
194 | <?lua |
---|
195 | end |
---|
196 | ?> |
---|
197 | </attached> |
---|
198 | <collisionShapes> |
---|
199 | <SphereCollisionShape radius="80" position = "-100,0,0" /> |
---|
200 | <SphereCollisionShape radius="120" position = "100,0,0" /> |
---|
201 | <BoxCollisionShape halfExtents="90,25,45" position = "-155,0,40" /> |
---|
202 | </collisionShapes> |
---|
203 | </TeamBaseMatchBase> |
---|
204 | |
---|
205 | |
---|
206 | |
---|
207 | <!--Model position="0,0,0" scale=8 mesh="ast1.mesh" /> |
---|
208 | <StaticEntity position="0,0,0" collisionType=static> |
---|
209 | <collisionShapes> |
---|
210 | <SphereCollisionShape radius="20" /> |
---|
211 | </collisionShapes> |
---|
212 | </StaticEntity--> |
---|
213 | </Scene> |
---|
214 | </Level> |
---|