1 | <LevelInfo |
---|
2 | name = "Hover level" |
---|
3 | description = "Level for Minigame Hover" |
---|
4 | tags = "minigame" |
---|
5 | screenshot = "emptylevel.png" |
---|
6 | /> |
---|
7 | |
---|
8 | <?lua |
---|
9 | include("stats.oxo") |
---|
10 | include("HUDTemplates3.oxo") |
---|
11 | include("templates/lodInformation.oxt") |
---|
12 | ?> |
---|
13 | |
---|
14 | <?lua |
---|
15 | include("templates/spaceshipHover.oxt") |
---|
16 | include("templates/spaceshipzombie.oxt") |
---|
17 | ?> |
---|
18 | |
---|
19 | |
---|
20 | <?lua |
---|
21 | MAZE_NUM_CELLS = 10 |
---|
22 | MAZE_CELL_SIZE = 100 |
---|
23 | MAZE_CELL_HEIGHT = 400000 |
---|
24 | MAZE_SIZE = MAZE_NUM_CELLS*MAZE_CELL_SIZE |
---|
25 | ?> |
---|
26 | |
---|
27 | <Level |
---|
28 | plugins = hover |
---|
29 | gametype = Hover |
---|
30 | > |
---|
31 | <templates> |
---|
32 | <Template link=lodtemplate_default /> |
---|
33 | </templates> |
---|
34 | <?lua include("includes/notifications.oxi") ?> |
---|
35 | |
---|
36 | <Scene |
---|
37 | ambientlight = "0.8, 0.8, 0.8" |
---|
38 | skybox = "Orxonox/Starbox" |
---|
39 | gravity = "0, -80, 0" |
---|
40 | > |
---|
41 | |
---|
42 | <StaticEntity position="0,0,0" collisionType="static"> |
---|
43 | <attached> |
---|
44 | <HoverOrigin |
---|
45 | numCells="<?lua print(MAZE_NUM_CELLS)?>" |
---|
46 | cellSize="<?lua print(MAZE_CELL_SIZE)?>" |
---|
47 | cellHeight="<?lua print(MAZE_CELL_HEIGHT)?>" |
---|
48 | /> |
---|
49 | <Model |
---|
50 | position="<?lua print(MAZE_SIZE/2)?>,-16,<?lua print(MAZE_SIZE/2)?>" |
---|
51 | scale3D="<?lua print(MAZE_SIZE/2)?>,16,<?lua print(MAZE_SIZE/2)?>" |
---|
52 | mesh="CubeGround.mesh" |
---|
53 | /> |
---|
54 | </attached> |
---|
55 | <collisionShapes> |
---|
56 | <BoxCollisionShape |
---|
57 | position="<?lua print(MAZE_SIZE/2)?>,<?lua print(MAZE_CELL_HEIGHT+1)?>,<?lua print(MAZE_SIZE/2)?>" |
---|
58 | halfExtents="<?lua print(MAZE_SIZE/2)?>,1,<?lua print(MAZE_SIZE/2)?>" |
---|
59 | /> |
---|
60 | <BoxCollisionShape |
---|
61 | position="<?lua print(MAZE_SIZE/2)?>,-1,<?lua print(MAZE_SIZE/2)?>" |
---|
62 | halfExtents="<?lua print(MAZE_SIZE/2)?>,1,<?lua print(MAZE_SIZE/2)?>" |
---|
63 | /> |
---|
64 | </collisionShapes> |
---|
65 | </StaticEntity> |
---|
66 | |
---|
67 | <Light |
---|
68 | type=directional |
---|
69 | position="-50,500,-50" |
---|
70 | direction="0.577, -0.577, 0.577" |
---|
71 | diffuse="1.0, 0.9, 0.9, 1.0" |
---|
72 | specular="1.0, 0.9, 0.9, 1.0" |
---|
73 | /> |
---|
74 | |
---|
75 | <SpawnPoint |
---|
76 | team=0 |
---|
77 | position="500,20,50" |
---|
78 | lookat="100,20,100" |
---|
79 | spawnclass=HoverShip |
---|
80 | pawndesign=spaceshiphover |
---|
81 | /> |
---|
82 | |
---|
83 | <SpaceShip position="400,20,300" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
84 | <templates> |
---|
85 | <Template link=spaceshipzombie /> |
---|
86 | </templates> |
---|
87 | <sleep seconds="10"/> |
---|
88 | </SpaceShip> |
---|
89 | |
---|
90 | <SpaceShip position="400,200,300" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
91 | <templates> |
---|
92 | <Template link=spaceshipzombie /> |
---|
93 | </templates> |
---|
94 | <sleep seconds="10"/> |
---|
95 | </SpaceShip> |
---|
96 | |
---|
97 | <SpaceShip position="400,800,300" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
98 | <templates> |
---|
99 | <Template link=spaceshipzombie /> |
---|
100 | </templates> |
---|
101 | <sleep seconds="10"/> |
---|
102 | </SpaceShip> |
---|
103 | |
---|
104 | <SpaceShip position="400,1000,300" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
105 | <templates> |
---|
106 | <Template link=spaceshipzombie /> |
---|
107 | </templates> |
---|
108 | <sleep seconds="10"/> |
---|
109 | </SpaceShip> |
---|
110 | |
---|
111 | <SpaceShip position="400,1200,300" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
112 | <templates> |
---|
113 | <Template link=spaceshipzombie /> |
---|
114 | </templates> |
---|
115 | <sleep seconds="10"/> |
---|
116 | </SpaceShip> |
---|
117 | |
---|
118 | |
---|
119 | <SpaceShip position="300,3000,400" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
120 | <templates> |
---|
121 | <Template link=spaceshipzombie /> |
---|
122 | </templates> |
---|
123 | </SpaceShip> |
---|
124 | |
---|
125 | <SpaceShip position="300,4000,300" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
126 | <templates> |
---|
127 | <Template link=spaceshipzombie /> |
---|
128 | </templates> |
---|
129 | <sleep seconds="10"/> |
---|
130 | </SpaceShip> |
---|
131 | |
---|
132 | <SpaceShip position="300,4000,300" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
133 | <templates> |
---|
134 | <Template link=spaceshipzombie /> |
---|
135 | </templates> |
---|
136 | <sleep seconds="10"/> |
---|
137 | </SpaceShip> |
---|
138 | |
---|
139 | <SpaceShip position="300,5000,300" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
140 | <templates> |
---|
141 | <Template link=spaceshipzombie /> |
---|
142 | </templates> |
---|
143 | <sleep seconds="10"/> |
---|
144 | </SpaceShip> |
---|
145 | |
---|
146 | <SpaceShip position="300,6000,300" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
147 | <templates> |
---|
148 | <Template link=spaceshipzombie /> |
---|
149 | </templates> |
---|
150 | <sleep seconds="10"/> |
---|
151 | </SpaceShip> |
---|
152 | |
---|
153 | <SpaceShip position="300,6050,300" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
154 | <templates> |
---|
155 | <Template link=spaceshipzombie /> |
---|
156 | </templates> |
---|
157 | <sleep seconds="10"/> |
---|
158 | </SpaceShip> |
---|
159 | |
---|
160 | <SpaceShip position="300,6100,300" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
161 | <templates> |
---|
162 | <Template link=spaceshipzombie /> |
---|
163 | </templates> |
---|
164 | <sleep seconds="10"/> |
---|
165 | </SpaceShip> |
---|
166 | |
---|
167 | <SpaceShip position="300,6200,300" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
168 | <templates> |
---|
169 | <Template link=spaceshipzombie /> |
---|
170 | </templates> |
---|
171 | <sleep seconds="10"/> |
---|
172 | </SpaceShip> |
---|
173 | |
---|
174 | <SpaceShip position="300,6300,300" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
175 | <templates> |
---|
176 | <Template link=spaceshipzombie /> |
---|
177 | </templates> |
---|
178 | <sleep seconds="10"/> |
---|
179 | </SpaceShip> |
---|
180 | |
---|
181 | <SpaceShip position="300,6400,300" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
182 | <templates> |
---|
183 | <Template link=spaceshipzombie /> |
---|
184 | </templates> |
---|
185 | <sleep seconds="10"/> |
---|
186 | </SpaceShip> |
---|
187 | |
---|
188 | <SpaceShip position="300,10000,300" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
189 | <templates> |
---|
190 | <Template link=spaceshipzombie /> |
---|
191 | </templates> |
---|
192 | <sleep seconds="10"/> |
---|
193 | </SpaceShip> |
---|
194 | <SpaceShip position="300,10000,300" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
195 | <templates> |
---|
196 | <Template link=spaceshipzombie /> |
---|
197 | </templates> |
---|
198 | <sleep seconds="10"/> |
---|
199 | </SpaceShip> |
---|
200 | <SpaceShip position="300,10000,300" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
201 | <templates> |
---|
202 | <Template link=spaceshipzombie /> |
---|
203 | </templates> |
---|
204 | <sleep seconds="10"/> |
---|
205 | </SpaceShip> |
---|
206 | <SpaceShip position="300,10000,300" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
207 | <templates> |
---|
208 | <Template link=spaceshipzombie /> |
---|
209 | </templates> |
---|
210 | <sleep seconds="10"/> |
---|
211 | </SpaceShip> |
---|
212 | <SpaceShip position="300,10000,300" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
213 | <templates> |
---|
214 | <Template link=spaceshipzombie /> |
---|
215 | </templates> |
---|
216 | <sleep seconds="10"/> |
---|
217 | </SpaceShip> |
---|
218 | <SpaceShip position="300,10000,300" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
219 | <templates> |
---|
220 | <Template link=spaceshipzombie /> |
---|
221 | </templates> |
---|
222 | <sleep seconds="10"/> |
---|
223 | </SpaceShip> |
---|
224 | <SpaceShip position="300,10000,300" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
225 | <templates> |
---|
226 | <Template link=spaceshipzombie /> |
---|
227 | </templates> |
---|
228 | <sleep seconds="10"/> |
---|
229 | </SpaceShip> |
---|
230 | <SpaceShip position="300,10000,300" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
231 | <templates> |
---|
232 | <Template link=spaceshipzombie /> |
---|
233 | </templates> |
---|
234 | <sleep seconds="10"/> |
---|
235 | </SpaceShip> |
---|
236 | |
---|
237 | <SpaceShip position="400,30000,400" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
238 | <templates> |
---|
239 | <Template link=spaceshipzombie /> |
---|
240 | </templates> |
---|
241 | <sleep seconds="10"/> |
---|
242 | </SpaceShip> |
---|
243 | |
---|
244 | <SpaceShip position="400,40000,300" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
245 | <templates> |
---|
246 | <Template link=spaceshipzombie /> |
---|
247 | </templates> |
---|
248 | <sleep seconds="10"/> |
---|
249 | </SpaceShip> |
---|
250 | |
---|
251 | <SpaceShip position="300,50000,400" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
252 | <templates> |
---|
253 | <Template link=spaceshipzombie /> |
---|
254 | </templates> |
---|
255 | <sleep seconds="10"/> |
---|
256 | </SpaceShip> |
---|
257 | |
---|
258 | <SpaceShip position="300,60000,300" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
259 | <templates> |
---|
260 | <Template link=spaceshipzombie /> |
---|
261 | </templates> |
---|
262 | <sleep seconds="10"/> |
---|
263 | </SpaceShip> |
---|
264 | |
---|
265 | <SpaceShip position="400,70000,400" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
266 | <templates> |
---|
267 | <Template link=spaceshipzombie /> |
---|
268 | </templates> |
---|
269 | <sleep seconds="10"/> |
---|
270 | </SpaceShip> |
---|
271 | |
---|
272 | <SpaceShip position="200,80000,500" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
273 | <templates> |
---|
274 | <Template link=spaceshipzombie /> |
---|
275 | </templates> |
---|
276 | <sleep seconds="10"/> |
---|
277 | </SpaceShip> |
---|
278 | |
---|
279 | <SpaceShip position="300,90000,300" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
280 | <templates> |
---|
281 | <Template link=spaceshipzombie /> |
---|
282 | </templates> |
---|
283 | <sleep seconds="10"/> |
---|
284 | </SpaceShip> |
---|
285 | |
---|
286 | <SpaceShip position="400,90000,400" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
287 | <templates> |
---|
288 | <Template link=spaceshipzombie /> |
---|
289 | </templates> |
---|
290 | <sleep seconds="10"/> |
---|
291 | </SpaceShip> |
---|
292 | |
---|
293 | <SpaceShip position="400,90000,300" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
294 | <templates> |
---|
295 | <Template link=spaceshipzombie /> |
---|
296 | </templates> |
---|
297 | <sleep seconds="10"/> |
---|
298 | </SpaceShip> |
---|
299 | |
---|
300 | <SpaceShip position="300,90000,400" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
301 | <templates> |
---|
302 | <Template link=spaceshipzombie /> |
---|
303 | </templates> |
---|
304 | <sleep seconds="10"/> |
---|
305 | </SpaceShip> |
---|
306 | |
---|
307 | <SpaceShip position="300,90000,300" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
308 | <templates> |
---|
309 | <Template link=spaceshipzombie /> |
---|
310 | </templates> |
---|
311 | <sleep seconds="10"/> |
---|
312 | </SpaceShip> |
---|
313 | |
---|
314 | <SpaceShip position="400,90000,400" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
315 | <templates> |
---|
316 | <Template link=spaceshipzombie /> |
---|
317 | </templates> |
---|
318 | <sleep seconds="10"/> |
---|
319 | </SpaceShip> |
---|
320 | |
---|
321 | <SpaceShip position="400,90000,300" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
322 | <templates> |
---|
323 | <Template link=spaceshipzombie /> |
---|
324 | </templates> |
---|
325 | <sleep seconds="10"/> |
---|
326 | </SpaceShip> |
---|
327 | |
---|
328 | <SpaceShip position="300,90000,400" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
329 | <templates> |
---|
330 | <Template link=spaceshipzombie /> |
---|
331 | </templates> |
---|
332 | <sleep seconds="10"/> |
---|
333 | </SpaceShip> |
---|
334 | |
---|
335 | <SpaceShip position="300,90000,300" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
336 | <templates> |
---|
337 | <Template link=spaceshipzombie /> |
---|
338 | </templates> |
---|
339 | <sleep seconds="10"/> |
---|
340 | </SpaceShip> |
---|
341 | |
---|
342 | <SpaceShip position="400,90000,400" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
343 | <templates> |
---|
344 | <Template link=spaceshipzombie /> |
---|
345 | </templates> |
---|
346 | <sleep seconds="10"/> |
---|
347 | </SpaceShip> |
---|
348 | |
---|
349 | <SpaceShip position="400,90000,300" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
350 | <templates> |
---|
351 | <Template link=spaceshipzombie /> |
---|
352 | </templates> |
---|
353 | <sleep seconds="10"/> |
---|
354 | </SpaceShip> |
---|
355 | |
---|
356 | <SpaceShip position="300,90000,400" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
357 | <templates> |
---|
358 | <Template link=spaceshipzombie /> |
---|
359 | </templates> |
---|
360 | <sleep seconds="10"/> |
---|
361 | </SpaceShip> |
---|
362 | |
---|
363 | <SpaceShip position="300,90000,300" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
364 | <templates> |
---|
365 | <Template link=spaceshipzombie /> |
---|
366 | </templates> |
---|
367 | <sleep seconds="10"/> |
---|
368 | </SpaceShip> |
---|
369 | |
---|
370 | <SpaceShip position="400,90000,400" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
371 | <templates> |
---|
372 | <Template link=spaceshipzombie /> |
---|
373 | </templates> |
---|
374 | <sleep seconds="10"/> |
---|
375 | </SpaceShip> |
---|
376 | |
---|
377 | <SpaceShip position="400,90000,300" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
378 | <templates> |
---|
379 | <Template link=spaceshipzombie /> |
---|
380 | </templates> |
---|
381 | <sleep seconds="10"/> |
---|
382 | </SpaceShip> |
---|
383 | |
---|
384 | <SpaceShip position="300,90000,400" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="60" > |
---|
385 | <templates> |
---|
386 | <Template link=spaceshipzombie /> |
---|
387 | </templates> |
---|
388 | <sleep seconds="10"/> |
---|
389 | </SpaceShip> |
---|
390 | |
---|
391 | |
---|
392 | |
---|
393 | |
---|
394 | </Scene> |
---|
395 | </Level> |
---|