1 | <!-- --> |
---|
2 | |
---|
3 | <!--Basic-----------------------------------------------------------------------------------------------------------------------------------------------------------------------> |
---|
4 | <!--Basic Infos--> |
---|
5 | |
---|
6 | <LevelInfo |
---|
7 | name = "Escape the bastards" |
---|
8 | description = "You destroyed their Base, you accomplished the mission. Now get out of there, and get rid of the haunters" |
---|
9 | tags = "mission" |
---|
10 | screenshot = "emptylevel.png" |
---|
11 | /> |
---|
12 | |
---|
13 | <?lua |
---|
14 | include("stats.oxo") |
---|
15 | include("HUDTemplates3.oxo") |
---|
16 | include("templates/lodInformation.oxt") |
---|
17 | ?> |
---|
18 | |
---|
19 | <?lua |
---|
20 | include("templates/pickupRepresentationTemplates.oxt") |
---|
21 | include("templates/spaceshipAssff.oxt") |
---|
22 | include("templates/spaceshipPirate.oxt") |
---|
23 | include("templates/spaceshipEscort.oxt") |
---|
24 | include("templates/spaceshipCollateralDamage.oxt") |
---|
25 | ?> |
---|
26 | |
---|
27 | <NotificationQueueCEGUI |
---|
28 | name="narrative" |
---|
29 | targets="simpleNotification" |
---|
30 | size=3 |
---|
31 | displayTime=4 |
---|
32 | position="0.2, 0, 0.1, 0" |
---|
33 | fontSize="23" |
---|
34 | fontColor="0, 0.5, 1, 0.9" |
---|
35 | alignment="HorzCentred" |
---|
36 | displaySize="0.6, 0, 0, 0" |
---|
37 | /> |
---|
38 | |
---|
39 | <Level |
---|
40 | name = "Escape the bastards" |
---|
41 | description = "You destroyed their Base, you accomplished the mission. Now get out of there, and get rid of the haunters" |
---|
42 | gametype=Mission |
---|
43 | > |
---|
44 | <templates> |
---|
45 | <Template link=lodtemplate_default /> |
---|
46 | </templates> |
---|
47 | <?lua include("includes/notifications.oxi") ?> |
---|
48 | |
---|
49 | <Scene |
---|
50 | ambientlight = "0.8, 0.8, 0.8" |
---|
51 | skybox = "Orxonox/skyBoxMoreNebula" |
---|
52 | > |
---|
53 | |
---|
54 | <?lua |
---|
55 | include("includes/pickups.oxi") |
---|
56 | ?> |
---|
57 | |
---|
58 | <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"/> |
---|
59 | |
---|
60 | |
---|
61 | |
---|
62 | <!-- SpawnPoint team=0 position="-1000,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff / --> |
---|
63 | |
---|
64 | <!-- Pickups --> |
---|
65 | |
---|
66 | <PickupSpawner pickup=dronepickup position="-5000,-1300,-209" triggerDistance="10" respawnTime="30" maxSpawnedItems="10" /> |
---|
67 | |
---|
68 | <PickupSpawner pickup=crazyhealthpickup position="0,-4,-940" triggerDistance="10" respawnTime="10" maxSpawnedItems="99" visible="true"> |
---|
69 | <events> |
---|
70 | <visibility> |
---|
71 | <EventListener event="boxtrigger" /> |
---|
72 | </visibility> |
---|
73 | </events> |
---|
74 | </PickupSpawner> |
---|
75 | <PickupSpawner pickup=mediumspeedpickup position="0,4,-940" triggerDistance="10" respawnTime="10" maxSpawnedItems="99" visible="true"> |
---|
76 | <events> |
---|
77 | <visibility> |
---|
78 | <EventListener event="boxtrigger" /> |
---|
79 | </visibility> |
---|
80 | </events> |
---|
81 | </PickupSpawner> |
---|
82 | |
---|
83 | <!-- Pickups heal the box, so one cant destroy the box --> |
---|
84 | |
---|
85 | <!-- Pickups END --> |
---|
86 | <!--Basic Infos end--> |
---|
87 | |
---|
88 | <!--Story-----------------------------------------------------------------------------------------------------------------------------------------------------------------------> |
---|
89 | |
---|
90 | |
---|
91 | <!--Quests (Fly to the Ally)--> |
---|
92 | <EventMultiTrigger name=spawntrigger> |
---|
93 | <events> |
---|
94 | <trigger> |
---|
95 | |
---|
96 | <TeamSpawnPoint team=0 position="-46950,-30000,30000" direction="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipcollateraldamage> |
---|
97 | <!-- Spawnpoint aendern zu -8050,0,0 nachher direction="1,0.3,0.2"--> |
---|
98 | <!-- Spawnpoint aendern zu 3000,12000,-5500 nachher direction="0.3,1.2,-5.5" Fuer homeplanet--> |
---|
99 | <!-- Spawnpoint aendern zu -46950,-30000,30000 nachher direction="1,0,0" Fuer inBox--> |
---|
100 | <EventTrigger invert=true> |
---|
101 | <events> |
---|
102 | <trigger> |
---|
103 | <EventListener event="missionfinish" /> |
---|
104 | </trigger> |
---|
105 | </events> |
---|
106 | </EventTrigger> |
---|
107 | </TeamSpawnPoint> |
---|
108 | </trigger> |
---|
109 | </events> |
---|
110 | </EventMultiTrigger> |
---|
111 | |
---|
112 | |
---|
113 | <TeamSpawnPoint team=0 position="0,-2500,0" direction="0,-1,0" spawnclass=SpaceShip pawndesign=spaceshipcollateraldamage active =false> |
---|
114 | <events> |
---|
115 | <activity> |
---|
116 | <EventListener event="reachedally" /> |
---|
117 | </activity> |
---|
118 | </events> |
---|
119 | </TeamSpawnPoint> |
---|
120 | |
---|
121 | <TeamSpawnPoint team=0 position="-46950,-30000,30000" direction="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipcollateraldamage active =false> |
---|
122 | <events> |
---|
123 | <activity> |
---|
124 | <EventListener event="reachedhomeplanet" /> |
---|
125 | </activity> |
---|
126 | </events> |
---|
127 | </TeamSpawnPoint> |
---|
128 | |
---|
129 | |
---|
130 | |
---|
131 | |
---|
132 | <QuestEffectBeacon times=1> |
---|
133 | <effects> |
---|
134 | <AddQuest questId="Helpisontheway.1" /> |
---|
135 | </effects> |
---|
136 | <events> |
---|
137 | <execute> |
---|
138 | <EventListener event=spawntrigger /> |
---|
139 | </execute> |
---|
140 | </events> |
---|
141 | </QuestEffectBeacon> |
---|
142 | |
---|
143 | <QuestEffectBeacon times=1> |
---|
144 | <effects> |
---|
145 | <CompleteQuest questId="Helpisontheway.1" /> |
---|
146 | </effects> |
---|
147 | <events> |
---|
148 | <execute> |
---|
149 | <EventListener event="missionfinish" /> |
---|
150 | </execute> |
---|
151 | </events> |
---|
152 | </QuestEffectBeacon> |
---|
153 | |
---|
154 | |
---|
155 | <QuestEffectBeacon times=1 > |
---|
156 | <effects> |
---|
157 | <CompleteQuest questId="defend.2" /> |
---|
158 | </effects> |
---|
159 | <events> |
---|
160 | <execute> |
---|
161 | <EventListener event="Boxdestroyed" /> |
---|
162 | </execute> |
---|
163 | </events> |
---|
164 | </QuestEffectBeacon> |
---|
165 | |
---|
166 | <QuestEffectBeacon times=1 > |
---|
167 | <effects> |
---|
168 | <CompleteQuest questId="leave.3" /> |
---|
169 | </effects> |
---|
170 | <events> |
---|
171 | <execute> |
---|
172 | <EventListener event="reachedhomeplanet" /> |
---|
173 | </execute> |
---|
174 | </events> |
---|
175 | </QuestEffectBeacon> |
---|
176 | |
---|
177 | <QuestEffectBeacon times=1 > |
---|
178 | <effects> |
---|
179 | <CompleteQuest questId="wayhome.4" /> |
---|
180 | </effects> |
---|
181 | <events> |
---|
182 | <execute> |
---|
183 | <EventListener event="reachedend" /> |
---|
184 | </execute> |
---|
185 | </events> |
---|
186 | </QuestEffectBeacon> |
---|
187 | |
---|
188 | <!-- END OF GAME --> |
---|
189 | <SimpleNotification message="Well done, you've finished"> |
---|
190 | <events> |
---|
191 | <trigger> |
---|
192 | <EventListener event=reachedend /> |
---|
193 | </trigger> |
---|
194 | </events> |
---|
195 | </SimpleNotification> |
---|
196 | |
---|
197 | |
---|
198 | <Script code="Mission endMission true" onLoad="false"> |
---|
199 | <events> |
---|
200 | <trigger> |
---|
201 | <EventListener event="reachedend" /> |
---|
202 | </trigger> |
---|
203 | </events> |
---|
204 | </Script> |
---|
205 | <!-- END OF GAME END --> |
---|
206 | |
---|
207 | |
---|
208 | <DistanceTrigger name="missionfinish" position="-120,0,0" target="Pawn" distance=60 stayActive="true" delay=1> |
---|
209 | </DistanceTrigger> |
---|
210 | <DistanceTrigger name="reachedally" position="-120,0,0" target="Pawn" distance=60 stayActive="true" delay=2> |
---|
211 | </DistanceTrigger> |
---|
212 | <DistanceTrigger name="reachedhomeplanet" position="-3000,12000,-6990" target="Pawn" distance=60 stayActive="true" delay=2> |
---|
213 | </DistanceTrigger> |
---|
214 | <DistanceTrigger name="reachedend" position="-41000,-30000,33800" target="Pawn" distance=60 stayActive="true" delay=2> |
---|
215 | </DistanceTrigger> |
---|
216 | |
---|
217 | <EventTrigger name="boxtrigger" activations="1" stayactive="true" delay=0.1> |
---|
218 | <events> |
---|
219 | <trigger> |
---|
220 | <EventListener event="box" /> |
---|
221 | </trigger> |
---|
222 | </events> |
---|
223 | </EventTrigger> |
---|
224 | |
---|
225 | |
---|
226 | <!-- Billboard Allyplanet --> |
---|
227 | |
---|
228 | <BlinkingBillboard position="-120,0,0" frequency=0.4 amplitude=3 material="Flares/lensflare" colour="1,1,0.05"> |
---|
229 | <events> |
---|
230 | <visibility> |
---|
231 | <EventTrigger invert=true> |
---|
232 | <events> |
---|
233 | <trigger> |
---|
234 | <EventListener event="missionfinish" /> |
---|
235 | </trigger> |
---|
236 | </events> |
---|
237 | </EventTrigger> |
---|
238 | </visibility> |
---|
239 | </events> |
---|
240 | </BlinkingBillboard> |
---|
241 | |
---|
242 | <Billboard position="-120,0,0" amplitude=1 material="Flares/lensflare" colour="0,0.8,0.1"> |
---|
243 | <events> |
---|
244 | <visibility> |
---|
245 | <EventTrigger> |
---|
246 | <events> |
---|
247 | <trigger> |
---|
248 | <EventListener event="missionfinish" /> |
---|
249 | </trigger> |
---|
250 | </events> |
---|
251 | </EventTrigger> |
---|
252 | </visibility> |
---|
253 | </events> |
---|
254 | </Billboard> |
---|
255 | |
---|
256 | <!-- Billboard Allyplanet END--> |
---|
257 | |
---|
258 | |
---|
259 | <!-- Box with Pickups --> |
---|
260 | <Pawn team=1 health=30 position="0,0,-900" direction="0,-1,0" collisionType=dynamic mass=100000 name=box radarname = "Something" > |
---|
261 | <events> |
---|
262 | <visibility> |
---|
263 | <EventListener event="target3" /> |
---|
264 | </visibility> |
---|
265 | </events> |
---|
266 | <attached> |
---|
267 | <Model position="0,0,0" mesh="crate.mesh" scale3D="5,5,5" /> |
---|
268 | </attached> |
---|
269 | <collisionShapes> |
---|
270 | <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" /> |
---|
271 | </collisionShapes> |
---|
272 | <controller> |
---|
273 | <WaypointController team=1> |
---|
274 | </WaypointController> |
---|
275 | </controller> |
---|
276 | </Pawn> |
---|
277 | |
---|
278 | <Billboard position="0,0,-940" amplitude=1 material="Flares/lensflare" colour="0,0.8,0.1"> |
---|
279 | <events> |
---|
280 | <visibility> |
---|
281 | <EventTrigger> |
---|
282 | <events> |
---|
283 | <trigger> |
---|
284 | <EventListener event="boxtrigger" /> |
---|
285 | </trigger> |
---|
286 | </events> |
---|
287 | </EventTrigger> |
---|
288 | </visibility> |
---|
289 | </events> |
---|
290 | </Billboard> |
---|
291 | <!-- Box with Pickups END --> |
---|
292 | |
---|
293 | <!-- Billboard Homeplanet --> |
---|
294 | |
---|
295 | <!-- evt Blinking light before landing on planet, Entfernen nach architektur--> |
---|
296 | <BlinkingBillboard position="-3000,12000,-6990" frequency=0.4 amplitude=3 material="Flares/lensflare" colour="1,1,0.05"> |
---|
297 | <events> |
---|
298 | <visibility> |
---|
299 | <EventTrigger> |
---|
300 | <events> |
---|
301 | <trigger> |
---|
302 | <EventListener event="boxtrigger"/> <!-- reachedhomeplanet--> |
---|
303 | </trigger> |
---|
304 | </events> |
---|
305 | </EventTrigger> |
---|
306 | </visibility> |
---|
307 | </events> |
---|
308 | </BlinkingBillboard> |
---|
309 | |
---|
310 | |
---|
311 | <!-- Billboard Homeplanet END--> |
---|
312 | |
---|
313 | |
---|
314 | <!--Quests (Fly to the Ally) END--> |
---|
315 | |
---|
316 | <!--Quests (Fight Enemies)--> |
---|
317 | |
---|
318 | |
---|
319 | <SpaceShip position="1000,0,0" lookat="0,0,1" name="attacker" radarname="Fighter1" visible="true"> |
---|
320 | <events> |
---|
321 | <visibility> |
---|
322 | <EventListener event="missionfinish" /> |
---|
323 | </visibility> |
---|
324 | </events> |
---|
325 | |
---|
326 | <templates> |
---|
327 | <Template link=spaceshippirate /> |
---|
328 | </templates> |
---|
329 | <controller> |
---|
330 | <WaypointPatrolController alertnessradius=750 team=1 active=false> |
---|
331 | <waypoints> |
---|
332 | <Model mesh="cube.mesh" scale=0 position="1000,0,0"/> |
---|
333 | <Model mesh="cube.mesh" scale=0 position="500,500,0"/> |
---|
334 | <Model mesh="cube.mesh" scale=0 position="0,1000,0"/> |
---|
335 | <Model mesh="cube.mesh" scale=0 position="-500,500,0"/> |
---|
336 | <Model mesh="cube.mesh" scale=0 position="-1000,0,0"/> |
---|
337 | <Model mesh="cube.mesh" scale=0 position="-500,-500,0"/> |
---|
338 | <Model mesh="cube.mesh" scale=0 position="0,-1000,0"/> |
---|
339 | <Model mesh="cube.mesh" scale=0 position="500,-500,0"/> |
---|
340 | </waypoints> |
---|
341 | <events> |
---|
342 | <activity> |
---|
343 | <EventListener event="reachedally" /> |
---|
344 | </activity> |
---|
345 | </events> |
---|
346 | </WaypointPatrolController> |
---|
347 | </controller> |
---|
348 | </SpaceShip> |
---|
349 | |
---|
350 | <SpaceShip position="0,1000,0" lookat="1,0,0" name="attacker" radarname="Fighter2" visible="true"> |
---|
351 | <events> |
---|
352 | <visibility> |
---|
353 | <EventListener event="missionfinish" /> |
---|
354 | </visibility> |
---|
355 | </events> |
---|
356 | <templates> |
---|
357 | <Template link=spaceshippirate /> |
---|
358 | </templates> |
---|
359 | <controller> |
---|
360 | <WaypointPatrolController alertnessradius=750 team=1 active=false> |
---|
361 | <waypoints> |
---|
362 | <Model mesh="cube.mesh" scale=0 position="0,1000,0"/> |
---|
363 | <Model mesh="cube.mesh" scale=0 position="0,500,500"/> |
---|
364 | <Model mesh="cube.mesh" scale=0 position="0,0,1000"/> |
---|
365 | <Model mesh="cube.mesh" scale=0 position="0,-500,500"/> |
---|
366 | <Model mesh="cube.mesh" scale=0 position="0,-1000,0"/> |
---|
367 | <Model mesh="cube.mesh" scale=0 position="0,-500,-500"/> |
---|
368 | <Model mesh="cube.mesh" scale=0 position="0,0,-1000"/> |
---|
369 | <Model mesh="cube.mesh" scale=0 position="0,500,-500"/> |
---|
370 | </waypoints> |
---|
371 | <events> |
---|
372 | <activity> |
---|
373 | <EventListener event="reachedally" /> |
---|
374 | </activity> |
---|
375 | </events> |
---|
376 | </WaypointPatrolController> |
---|
377 | </controller> |
---|
378 | </SpaceShip> |
---|
379 | |
---|
380 | <SpaceShip position="0,0,1000" lookat="0,1,0" name="attacker" radarname="Fighter3" visible="true"> |
---|
381 | <events> |
---|
382 | <visibility> |
---|
383 | <EventListener event="missionfinish" /> |
---|
384 | </visibility> |
---|
385 | </events> |
---|
386 | <templates> |
---|
387 | <Template link=spaceshippirate /> |
---|
388 | </templates> |
---|
389 | <controller> |
---|
390 | <WaypointPatrolController alertnessradius=750 team=1 active=false> |
---|
391 | <waypoints> |
---|
392 | <Model mesh="cube.mesh" scale=0 position="1000,0,0"/> |
---|
393 | <Model mesh="cube.mesh" scale=0 position="500,0,500"/> |
---|
394 | <Model mesh="cube.mesh" scale=0 position="0,0,1000"/> |
---|
395 | <Model mesh="cube.mesh" scale=0 position="-500,0,500"/> |
---|
396 | <Model mesh="cube.mesh" scale=0 position="-1000,0,0"/> |
---|
397 | <Model mesh="cube.mesh" scale=0 position="-500,0,-500"/> |
---|
398 | <Model mesh="cube.mesh" scale=0 position="0,0,-1000"/> |
---|
399 | <Model mesh="cube.mesh" scale=0 position="500,0,-500"/> |
---|
400 | </waypoints> |
---|
401 | <events> |
---|
402 | <activity> |
---|
403 | <EventListener event="reachedally" /> |
---|
404 | </activity> |
---|
405 | </events> |
---|
406 | </WaypointPatrolController> |
---|
407 | </controller> |
---|
408 | </SpaceShip> |
---|
409 | |
---|
410 | <!-- @Triggers: Attakers, Fight one by one --> |
---|
411 | |
---|
412 | <EventTrigger name="target3" activations="1" stayactive="true" delay=0.1> |
---|
413 | <events> |
---|
414 | <trigger> |
---|
415 | <EventListener event="attacker" /> |
---|
416 | </trigger> |
---|
417 | </events> |
---|
418 | <EventTrigger name="target2" activations="1" stayactive="true" delay=0.1> |
---|
419 | <events> |
---|
420 | <trigger> |
---|
421 | <EventListener event="attacker" /> |
---|
422 | </trigger> |
---|
423 | </events> |
---|
424 | <EventTrigger name="target1" activations="1" stayactive="true" delay=0.1> |
---|
425 | <events> |
---|
426 | <trigger> |
---|
427 | <EventListener event="attacker" /> |
---|
428 | </trigger> |
---|
429 | </events> |
---|
430 | </EventTrigger> |
---|
431 | </EventTrigger> |
---|
432 | </EventTrigger> |
---|
433 | |
---|
434 | |
---|
435 | <SimpleNotification message="Wow, That's an explosion." broadcast="true"> |
---|
436 | <events> |
---|
437 | <trigger> |
---|
438 | <EventListener event="target1" /> |
---|
439 | </trigger> |
---|
440 | </events> |
---|
441 | </SimpleNotification> |
---|
442 | |
---|
443 | <SimpleNotification message="Booom, you got him!" broadcast="true"> |
---|
444 | <events> |
---|
445 | <trigger> |
---|
446 | <EventListener event="target2" /> |
---|
447 | </trigger> |
---|
448 | </events> |
---|
449 | </SimpleNotification> |
---|
450 | |
---|
451 | |
---|
452 | <SimpleNotification message="No Mercy!! .. What's that?" broadcast="true"> |
---|
453 | <events> |
---|
454 | <trigger> |
---|
455 | <EventListener event="target3" /> |
---|
456 | </trigger> |
---|
457 | </events> |
---|
458 | </SimpleNotification> |
---|
459 | |
---|
460 | |
---|
461 | |
---|
462 | |
---|
463 | <!-- @Triggers: Attakers, Fight one by one END --> |
---|
464 | |
---|
465 | |
---|
466 | <!--Quests (Fight Enemies) END--> |
---|
467 | |
---|
468 | |
---|
469 | <!-- LocalQuests --> |
---|
470 | <LocalQuest id="Helpisontheway.1"> |
---|
471 | <QuestDescription title="Help is on the way" description="An allied pilot is cast away on a planet behind you. Fight the enemies and get him out of there. |
---|
472 | |
---|
473 | He will blink with his lamp |
---|
474 | |
---|
475 | PS: Remind the gravitation field" |
---|
476 | |
---|
477 | |
---|
478 | failmessage="Well, you sucked" completeMessage="Well done, You're a hero" /> |
---|
479 | <complete-effects> |
---|
480 | <AddQuest questId="defend.2" /> |
---|
481 | </complete-effects> |
---|
482 | </LocalQuest> |
---|
483 | |
---|
484 | |
---|
485 | <LocalQuest id="defend.2"> |
---|
486 | <QuestDescription title="Defend the Planet" description="You've picked up you're mate. He's wounded and you have to reach your base as fast as you can. Defend this place, and try to get him home. Perhaps you can find something usefull around here. |
---|
487 | |
---|
488 | Try to stay on the planet. It's easier to fight!" |
---|
489 | failmessage="Well, you sucked" completeMessage="Well done, You're a hero" /> |
---|
490 | <complete-effects> |
---|
491 | <AddQuest questId="leave.3" /> |
---|
492 | </complete-effects> |
---|
493 | </LocalQuest> |
---|
494 | |
---|
495 | |
---|
496 | |
---|
497 | <LocalQuest id="leave.3"> |
---|
498 | <QuestDescription title="Leave the Place" description="You've blown their minds. Let's go home. Follow the Big blue planet to reach your home." failmessage="" completeMessage="" /> |
---|
499 | <complete-effects> |
---|
500 | <AddQuest questId="wayhome.4" /> |
---|
501 | </complete-effects> |
---|
502 | </LocalQuest> |
---|
503 | |
---|
504 | <LocalQuest id="wayhome.4"> |
---|
505 | <QuestDescription title="Let's go home" description="You've reached your planet. The radar is broke. You have to find the Base, cause you arent able to see from the air" failmessage="" completeMessage="" /> |
---|
506 | <complete-effects> |
---|
507 | <AddQuest questId="end.5" /> |
---|
508 | </complete-effects> |
---|
509 | </LocalQuest> |
---|
510 | |
---|
511 | <!-- LocalQuests END --> |
---|
512 | |
---|
513 | <!-- Message Triggers --> |
---|
514 | <DistanceTrigger name="StartofMission" position="-8050,0,0" target="Pawn" distance=10 stayActive="true" delay=2/> |
---|
515 | <SimpleNotification message="Hi, I'm the Commander."> |
---|
516 | <events> |
---|
517 | <trigger> |
---|
518 | <EventListener event="StartofMission" /> |
---|
519 | </trigger> |
---|
520 | </events> |
---|
521 | </SimpleNotification> |
---|
522 | |
---|
523 | <DistanceTrigger name="Introduction1" position="-8050,0,0" target="Pawn" distance=30 stayActive="true" delay=6.4/> |
---|
524 | <SimpleNotification message="An allied pilot had to make a forced landing"> |
---|
525 | <events> |
---|
526 | <trigger> |
---|
527 | <EventListener event="Introduction1" /> |
---|
528 | </trigger> |
---|
529 | </events> |
---|
530 | </SimpleNotification> |
---|
531 | |
---|
532 | <DistanceTrigger name="Introduction2" position="-8050,0,0" target="Pawn" distance=30 stayActive="true" delay=10.8/> |
---|
533 | <SimpleNotification message="He needs your help. Get him out of there"> |
---|
534 | <events> |
---|
535 | <trigger> |
---|
536 | <EventListener event="Introduction2" /> |
---|
537 | </trigger> |
---|
538 | </events> |
---|
539 | </SimpleNotification> |
---|
540 | |
---|
541 | <DistanceTrigger name="PickedUpAlly" position="-120,0,0" target="Pawn" distance=30 stayActive="true" delay=0.1/> |
---|
542 | <SimpleNotification message="Hi .... are you an enemy?"> |
---|
543 | <events> |
---|
544 | <trigger> |
---|
545 | <EventListener event="PickedUpAlly" /> |
---|
546 | </trigger> |
---|
547 | </events> |
---|
548 | </SimpleNotification> |
---|
549 | |
---|
550 | <DistanceTrigger name="PickedUpAlly2" position="-120,0,0" target="Pawn" distance=30 stayActive="true" delay=4.4/> |
---|
551 | <SimpleNotification message="Shoot the enemies staying on the planet"> |
---|
552 | <events> |
---|
553 | <trigger> |
---|
554 | <EventListener event="PickedUpAlly2" /> |
---|
555 | </trigger> |
---|
556 | </events> |
---|
557 | </SimpleNotification> |
---|
558 | |
---|
559 | |
---|
560 | <SimpleNotification message="Pickups! Pick them up ;-)" broadcast="true"> |
---|
561 | <events> |
---|
562 | <trigger> |
---|
563 | <EventListener event="boxtrigger" /> |
---|
564 | </trigger> |
---|
565 | </events> |
---|
566 | </SimpleNotification> |
---|
567 | |
---|
568 | <DistanceTrigger name="Boxdestroyed" position="0,0,-940" target="SpaceShip" distance=30 stayActive="true" delay=0.1 /> |
---|
569 | <SimpleNotification message="Now aim the blue planet"> |
---|
570 | <events> |
---|
571 | <trigger> |
---|
572 | <EventListener event="Boxdestroyed" /> |
---|
573 | </trigger> |
---|
574 | </events> |
---|
575 | </SimpleNotification> |
---|
576 | |
---|
577 | <DistanceTrigger name="Boxdestroyed2" position="2200,1000,-600" target="SpaceShip" distance=30 stayActive="true" delay=4.4 /> |
---|
578 | <SimpleNotification message="Land near the blinking light!"> |
---|
579 | <events> |
---|
580 | <trigger> |
---|
581 | <EventListener event="Boxdestroyed2" /> |
---|
582 | </trigger> |
---|
583 | </events> |
---|
584 | </SimpleNotification> |
---|
585 | |
---|
586 | <SimpleNotification message="You're almost there"> |
---|
587 | <events> |
---|
588 | <trigger> |
---|
589 | <EventListener event="reachedhomeplanet" /> |
---|
590 | </trigger> |
---|
591 | </events> |
---|
592 | </SimpleNotification> |
---|
593 | |
---|
594 | <DistanceTrigger name="cave1" position="-46300,-30000,30000" target="SpaceShip" distance=30 stayActive="true" delay=0.1 /> |
---|
595 | <SimpleNotification message="You reached the cave, you're safe!!"> |
---|
596 | <events> |
---|
597 | <trigger> |
---|
598 | <EventListener event="cave1" /> |
---|
599 | </trigger> |
---|
600 | </events> |
---|
601 | </SimpleNotification> |
---|
602 | |
---|
603 | <DistanceTrigger name="cave2" position="-46300,-30000,30000" target="SpaceShip" distance=30 stayActive="true" delay=4.4 /> |
---|
604 | <SimpleNotification message="... wait it's a trap"> |
---|
605 | <events> |
---|
606 | <trigger> |
---|
607 | <EventListener event="cave2" /> |
---|
608 | </trigger> |
---|
609 | </events> |
---|
610 | </SimpleNotification> |
---|
611 | |
---|
612 | <!-- Message Triggers END --> |
---|
613 | |
---|
614 | <!--Quests____END--> |
---|
615 | |
---|
616 | |
---|
617 | |
---|
618 | <!--Enviroment--------------------------------------------------------------------------------------------------------------------------------------------------------------------> |
---|
619 | |
---|
620 | <!--Asteroids Field--> |
---|
621 | |
---|
622 | <?lua for i=0,750,1 do |
---|
623 | x=math.random(-8000,-1000) |
---|
624 | y=math.random(-2345,2345) |
---|
625 | z=math.random(-2500,2500) |
---|
626 | scale=math.random(20,70) |
---|
627 | ?> |
---|
628 | <MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=0 mass="<?lua print(scale * 5) ?>" position="<?lua print(x) ?>,<?lua print(y) ?>,<?lua print(z) ?>" rotationaxis="<?lua print(math.random()) ?>,<?lua print(math.random()) ?>,<?lua print(math.random()) ?>" rotationrate="<?lua print(math.random()*15) ?>" collisiondamage = 0.01 |
---|
629 | enablecollisiondamage = true > |
---|
630 | <attached> |
---|
631 | <Model scale="<?lua print(scale) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false/> |
---|
632 | </attached> |
---|
633 | <collisionShapes> |
---|
634 | <SphereCollisionShape radius="<?lua print(scale * 3) ?>" /> |
---|
635 | </collisionShapes> |
---|
636 | </MovableEntity> |
---|
637 | <?lua end ?> |
---|
638 | |
---|
639 | <!--Asteroids Field end --> |
---|
640 | |
---|
641 | |
---|
642 | <!--Asteroids Random |
---|
643 | |
---|
644 | "The game lags, when you're flying far away" |
---|
645 | |
---|
646 | |
---|
647 | <?lua for i=0,300,1 do |
---|
648 | x=math.random(-12000,4000) |
---|
649 | y=math.random(-8000,8000) |
---|
650 | z=math.random(-8000,8000) |
---|
651 | ?> |
---|
652 | <MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=0 mass="<?lua print(scale * 5) ?>" position="<?lua print(x) ?>,<?lua print(y) ?>,<?lua print(z) ?>" rotationaxis="<?lua print(math.random()) ?>,<?lua print(math.random()) ?>,<?lua print(math.random()) ?>" rotationrate="<?lua print(math.random()*15) ?>" collisiondamage = 0.01 |
---|
653 | enablecollisiondamage = true > |
---|
654 | <attached> |
---|
655 | <Model scale="<?lua print(math.random(20,70)) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false/> |
---|
656 | </attached> |
---|
657 | <collisionShapes> |
---|
658 | <SphereCollisionShape radius="<?lua print(scale * 3) ?>" /> |
---|
659 | </collisionShapes> |
---|
660 | </MovableEntity> |
---|
661 | <?lua end ?> |
---|
662 | --> |
---|
663 | <!--Asteroids Random end--> |
---|
664 | |
---|
665 | <!--Asteroid Elipse--> |
---|
666 | <!-- LAAAGS :-( |
---|
667 | |
---|
668 | "The game lags, when you're flying far away" |
---|
669 | |
---|
670 | <?lua |
---|
671 | dofile("includes/asteroidField.lua") |
---|
672 | asteroidBelt(-3000,12000,-10000, 30, 0, 30, 30, 50, 7190, 7800, 250, 1) |
---|
673 | ?> |
---|
674 | |
---|
675 | <?lua |
---|
676 | dofile("includes/asteroidField.lua") |
---|
677 | asteroidBelt(-3000,12000,-10000, 30, 0, 30, 30, 50, 14000, 15000, 350, 1) |
---|
678 | ?> |
---|
679 | --> |
---|
680 | |
---|
681 | |
---|
682 | <?lua |
---|
683 | max = 20 |
---|
684 | for i = 0, max, 1 |
---|
685 | do |
---|
686 | y = math.sin(i/max*6)*2000 |
---|
687 | z = math.cos(i/max*6)*2500 |
---|
688 | x = 0 |
---|
689 | ?> |
---|
690 | <?lua |
---|
691 | for k = 1, 15, 1 |
---|
692 | do |
---|
693 | j = math.random() |
---|
694 | ?> |
---|
695 | |
---|
696 | <MovableEntity |
---|
697 | position = "<?lua print(x + math.random() * 500) ?>,<?lua print(y + math.random() * 500) ?>,<?lua print(z + math.random() * 1000) ?>" |
---|
698 | collisionType = "dynamic" |
---|
699 | linearDamping = "0.5" |
---|
700 | angularDamping = "0.01" |
---|
701 | collisiondamage = "0.01" |
---|
702 | enablecollisiondamage = "true" |
---|
703 | scale="<?lua print(j * 5) ?>" > |
---|
704 | <attached> |
---|
705 | <Model position="0,0,0" scale="<?lua print(j * 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh"> |
---|
706 | <?lua if k == 5 then ?><attached> <!--asteroid fog--> |
---|
707 | <ParticleEmitter position="0,0,0" source="Orxonox/Steam" /> |
---|
708 | </attached> <?lua end ?> |
---|
709 | </Model> |
---|
710 | </attached> |
---|
711 | <collisionShapes> |
---|
712 | <SphereCollisionShape radius="<?lua print(j * 80) ?>" /> |
---|
713 | </collisionShapes> |
---|
714 | </MovableEntity> |
---|
715 | <?lua |
---|
716 | end |
---|
717 | ?> |
---|
718 | <?lua end ?> |
---|
719 | <!--Asteroid Elipse end--> |
---|
720 | |
---|
721 | <!--Planet sun--> |
---|
722 | <Planet position="15000,0,0" scale=1500 pitch=-90 mesh="planets/sol.mesh" atmosphere="atmosphere1" rotationaxis="8,1,0" rotationrate="1" atmospheresize=0 imagesize=1024.0f /> |
---|
723 | <StaticEntity position="2600,0,0" collisionType=static> |
---|
724 | <collisionShapes> |
---|
725 | <SphereCollisionShape radius="399" /> |
---|
726 | </collisionShapes> |
---|
727 | </StaticEntity> |
---|
728 | <Billboard position="15100,0,0" material="Flares/backlightflare" colour="0.7,0.4,0.1" scale=600 /> |
---|
729 | <!--Planet END--> |
---|
730 | |
---|
731 | <!--Planet with Ally--> |
---|
732 | <Planet |
---|
733 | position="0,0,0" |
---|
734 | scale="100" |
---|
735 | collisionType="dynamic" |
---|
736 | linearDamping="0.8" |
---|
737 | angularDamping="0" |
---|
738 | mass="5000000" |
---|
739 | pitch="0" |
---|
740 | mesh="planets/muunilinst.mesh" |
---|
741 | atmosphere="atmosphere1" |
---|
742 | rotationaxis="1,0,0" |
---|
743 | rotationrate="1.0" |
---|
744 | atmospheresize="80.0f" |
---|
745 | imagesize="1024.0f" |
---|
746 | > |
---|
747 | <attached> |
---|
748 | <ForceField position="0,0,0" mode="sphere" diameter="1000" velocity="-500" /> |
---|
749 | </attached> |
---|
750 | <collisionShapes> |
---|
751 | <SphereCollisionShape radius="100" position="0,0,0" /> |
---|
752 | </collisionShapes> |
---|
753 | </Planet> |
---|
754 | <!-- Planet with Ally END--> |
---|
755 | |
---|
756 | |
---|
757 | <!-- Homeplanet --> |
---|
758 | <Planet |
---|
759 | position="-3000,12000,-10000" |
---|
760 | scale="3000" |
---|
761 | collisionType="dynamic" |
---|
762 | linearDamping="0.8" |
---|
763 | angularDamping="0" |
---|
764 | mass="5000000000000" |
---|
765 | pitch="0" |
---|
766 | mesh="iceplanet.mesh" |
---|
767 | atmosphere="atmosphere1" |
---|
768 | rotationaxis="0,0,0" |
---|
769 | rotationrate="0.0" |
---|
770 | atmospheresize="80.0f" |
---|
771 | imagesize="1024.0f" |
---|
772 | > |
---|
773 | <attached> |
---|
774 | <ForceField position="0,0,0" mode="sphere" diameter="10000" velocity="-900" /> |
---|
775 | </attached> |
---|
776 | <collisionShapes> |
---|
777 | <SphereCollisionShape radius="3000" position="0,0,0" /> |
---|
778 | </collisionShapes> |
---|
779 | </Planet> |
---|
780 | <!-- Homeplanet END--> |
---|
781 | |
---|
782 | <!-- Planet around the cave--> |
---|
783 | |
---|
784 | <Planet position="-43500,-30000,31900" scale=5000 pitch=-90 mesh="planets/moon.mesh" atmosphere="atmosphere1" rotationaxis="8,1,0" rotationrate="1" atmospheresize=0 imagesize=1024.0f /> |
---|
785 | |
---|
786 | <!-- Planet around the cave END--> |
---|
787 | |
---|
788 | <!-- Anotherplanet --> |
---|
789 | <Planet |
---|
790 | position="-20000,6000,7000" |
---|
791 | scale="3000" |
---|
792 | collisionType="dynamic" |
---|
793 | linearDamping="0.8" |
---|
794 | angularDamping="0" |
---|
795 | mass="5000000000000" |
---|
796 | pitch="0" |
---|
797 | mesh="planets/ganymede.mesh" |
---|
798 | atmosphere="atmosphere1" |
---|
799 | rotationaxis="0,0,0" |
---|
800 | rotationrate="0.0" |
---|
801 | atmospheresize="80.0f" |
---|
802 | imagesize="1024.0f" |
---|
803 | > |
---|
804 | <collisionShapes> |
---|
805 | <SphereCollisionShape radius="3000" position="0,0,0" /> |
---|
806 | </collisionShapes> |
---|
807 | </Planet> |
---|
808 | <!-- LAAAGS :-( |
---|
809 | |
---|
810 | "The game lags, when you're flying far away" |
---|
811 | |
---|
812 | <?lua |
---|
813 | dofile("includes/asteroidField.lua") |
---|
814 | asteroidBelt(-20000,6000,7000, 30, 0, 30, 30, 50, 7190, 7800, 250, 1) |
---|
815 | ?> |
---|
816 | --> |
---|
817 | <!-- Anotherplanet END--> |
---|
818 | |
---|
819 | <!-- Homeplanet Architecture--> |
---|
820 | <!-- -3000,12000,-6990 = Billboard position--> |
---|
821 | |
---|
822 | <!-- <Model position="-3070,12070,-6990" yaw="90" pitch="-90" roll="0" scale="70" mesh="asteroid_ice.mesh" > |
---|
823 | <collisionShapes> |
---|
824 | <SphereCollisionShape radius="70" position="0,0,0" /> |
---|
825 | </collisionShapes> |
---|
826 | </Model> |
---|
827 | --> |
---|
828 | |
---|
829 | <MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=0 mass="500" pitch="90" roll="86" yaw="12" position="-2900,12080,-6990" rotationaxis="0,0,0" rotationrate="0" collisiondamage = 0.01 enablecollisiondamage = true > |
---|
830 | <attached> |
---|
831 | <Model scale="70" mesh="asteroid_ice.mesh" shadow=false/> |
---|
832 | </attached> |
---|
833 | <collisionShapes> |
---|
834 | <SphereCollisionShape radius="70" /> |
---|
835 | </collisionShapes> |
---|
836 | </MovableEntity> |
---|
837 | |
---|
838 | <MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=5 mass="500" pitch="30" roll="11" yaw="51" position="-3200,11950,-6990" rotationaxis="0,0,0" rotationrate="0" collisiondamage = 0.01 enablecollisiondamage = true > |
---|
839 | <attached> |
---|
840 | <Model scale="90" mesh="asteroid_ice.mesh" shadow=false/> |
---|
841 | </attached> |
---|
842 | <collisionShapes> |
---|
843 | <SphereCollisionShape radius="90" /> |
---|
844 | </collisionShapes> |
---|
845 | </MovableEntity> |
---|
846 | |
---|
847 | <MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=5 mass="500" pitch="0" roll="12" yaw="81" position="-2800,12150,-6990" rotationaxis="0,0,0" rotationrate="0" collisiondamage = 0.01 enablecollisiondamage = true > |
---|
848 | <attached> |
---|
849 | <Model scale="90" mesh="asteroid_ice.mesh" shadow=false/> |
---|
850 | </attached> |
---|
851 | <collisionShapes> |
---|
852 | <SphereCollisionShape radius="90" /> |
---|
853 | </collisionShapes> |
---|
854 | </MovableEntity> |
---|
855 | |
---|
856 | <MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=5 mass="500" pitch="0" roll="0" yaw="0" position="-3300,11800,-6990" rotationaxis="0,0,0" rotationrate="0" collisiondamage = 0.01 enablecollisiondamage = true > |
---|
857 | <attached> |
---|
858 | <Model scale="155" mesh="asteroid_ice.mesh" shadow=false/> |
---|
859 | </attached> |
---|
860 | <collisionShapes> |
---|
861 | <SphereCollisionShape radius="155" /> |
---|
862 | </collisionShapes> |
---|
863 | </MovableEntity> |
---|
864 | |
---|
865 | |
---|
866 | <MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=5 mass="500" pitch="0" roll="0" yaw="12" position="-3230,12300,-6990" rotationaxis="0,0,0" rotationrate="0" collisiondamage = 0.01 enablecollisiondamage = true > |
---|
867 | <attached> |
---|
868 | <Model scale="150" mesh="asteroid_ice.mesh" shadow=false/> |
---|
869 | </attached> |
---|
870 | <collisionShapes> |
---|
871 | <SphereCollisionShape radius="150" /> |
---|
872 | </collisionShapes> |
---|
873 | </MovableEntity> |
---|
874 | |
---|
875 | <MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=5 mass="500" pitch="13" roll="23"yaw="120" position="-3000,12000,-6820" rotationaxis="0,0,0" rotationrate="0" collisiondamage = 0.01 enablecollisiondamage = true > |
---|
876 | <attached> |
---|
877 | <Model scale="100" mesh="asteroid_ice.mesh" shadow=false/> |
---|
878 | </attached> |
---|
879 | <collisionShapes> |
---|
880 | <SphereCollisionShape radius="100" /> |
---|
881 | </collisionShapes> |
---|
882 | </MovableEntity> |
---|
883 | |
---|
884 | <MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=5 mass="500" pitch="2" roll="12" yaw="43" position="-3250,12100,-6850" rotationaxis="0,0,0" rotationrate="0" collisiondamage = 0.01 enablecollisiondamage = true > |
---|
885 | <attached> |
---|
886 | <Model scale="70" mesh="asteroid_ice.mesh" shadow=false/> |
---|
887 | </attached> |
---|
888 | <collisionShapes> |
---|
889 | <SphereCollisionShape radius="70" /> |
---|
890 | </collisionShapes> |
---|
891 | </MovableEntity> |
---|
892 | |
---|
893 | <MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=5 mass="500" pitch="0" roll="0" yaw="0" position="-3230,11800,-6990" rotationaxis="0,0,0" rotationrate="0" collisiondamage = 0.01 enablecollisiondamage = true > |
---|
894 | <attached> |
---|
895 | <Model scale="85" mesh="asteroid_ice.mesh" shadow=false/> |
---|
896 | </attached> |
---|
897 | <collisionShapes> |
---|
898 | <SphereCollisionShape radius="85" /> |
---|
899 | </collisionShapes> |
---|
900 | </MovableEntity> |
---|
901 | |
---|
902 | <!-- Homeplanet Architecture END--> |
---|
903 | |
---|
904 | |
---|
905 | <!-- Portal--> |
---|
906 | <Template name=PortalDefault> |
---|
907 | <PortalEndPoint> |
---|
908 | <attached> |
---|
909 | <Model mesh="Spacegate.mesh" yaw="90"/> |
---|
910 | </attached> |
---|
911 | </PortalEndPoint> |
---|
912 | </Template> |
---|
913 | |
---|
914 | <PortalEndPoint position="-3000,12000,-6990" id="1" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0"/> |
---|
915 | <PortalEndPoint position="-47000,-30000,30000" id="2" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0" pitch = "180"/> |
---|
916 | <PortalLink fromID="1" toID="2" /> |
---|
917 | |
---|
918 | |
---|
919 | <!-- Portal END--> |
---|
920 | |
---|
921 | |
---|
922 | <!-- The Cave--> |
---|
923 | <!-- verhaeltniss Cube.mesh <-> Crate.mesh 1:5 --> |
---|
924 | |
---|
925 | <!-- 15 Boxes forward--> |
---|
926 | <?lua |
---|
927 | max = 15 |
---|
928 | for i = 0, max, 1 |
---|
929 | do |
---|
930 | y=(i*200)-47200 |
---|
931 | |
---|
932 | ?> |
---|
933 | |
---|
934 | <?lua |
---|
935 | for j = 0, 2, 1 |
---|
936 | do |
---|
937 | z =30200-(j*200) |
---|
938 | ?> |
---|
939 | |
---|
940 | <?lua |
---|
941 | for k = 0, 1, 1 |
---|
942 | do |
---|
943 | x =-30200+(k*400) |
---|
944 | ?> |
---|
945 | |
---|
946 | |
---|
947 | |
---|
948 | |
---|
949 | <StaticEntity position="<?lua print(y) ?>,<?lua print(x) ?>,<?lua print(z) ?>" direction="0,0,0" collisionType=static mass=100000 friction=0.01> |
---|
950 | <attached> |
---|
951 | <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" /> |
---|
952 | </attached> |
---|
953 | <collisionShapes> |
---|
954 | <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" /> |
---|
955 | |
---|
956 | </collisionShapes> |
---|
957 | </StaticEntity> |
---|
958 | |
---|
959 | |
---|
960 | <?lua end ?> |
---|
961 | <?lua end ?> |
---|
962 | <?lua end ?> |
---|
963 | |
---|
964 | <?lua |
---|
965 | max = 15 |
---|
966 | for i = 0, max, 1 |
---|
967 | do |
---|
968 | y=(i*200)-47200 |
---|
969 | |
---|
970 | ?> |
---|
971 | <?lua |
---|
972 | for j = 0, 1, 1 |
---|
973 | do |
---|
974 | z =30200-(j*400) |
---|
975 | ?> |
---|
976 | <StaticEntity position="<?lua print(y) ?>,-30000,<?lua print(z) ?>" direction="0,0,0" collisionType=static mass=100000 friction=0.01> |
---|
977 | <attached> |
---|
978 | <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" /> |
---|
979 | </attached> |
---|
980 | <collisionShapes> |
---|
981 | <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" /> |
---|
982 | |
---|
983 | </collisionShapes> |
---|
984 | </StaticEntity> |
---|
985 | <?lua end ?> |
---|
986 | <?lua end ?> |
---|
987 | |
---|
988 | <StaticEntity position="-47200,-30000,30000" direction="0,0,0" collisionType=static mass=100000 friction=0.01> |
---|
989 | <attached> |
---|
990 | <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" /> |
---|
991 | </attached> |
---|
992 | <collisionShapes> |
---|
993 | <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" /> |
---|
994 | |
---|
995 | </collisionShapes> |
---|
996 | </StaticEntity> |
---|
997 | |
---|
998 | <!-- 15 Boxes forward END --> |
---|
999 | <!-- 18 Boxes right--> |
---|
1000 | |
---|
1001 | <?lua |
---|
1002 | max = 18 |
---|
1003 | for i = 0, max, 1 |
---|
1004 | do |
---|
1005 | z=29800+(i*200) |
---|
1006 | |
---|
1007 | ?> |
---|
1008 | |
---|
1009 | <?lua |
---|
1010 | for j = 0, 2, 1 |
---|
1011 | do |
---|
1012 | y = (j*200)-44000 |
---|
1013 | ?> |
---|
1014 | |
---|
1015 | <?lua |
---|
1016 | for k = 0, 1, 1 |
---|
1017 | do |
---|
1018 | x =-30200+(k*400) |
---|
1019 | ?> |
---|
1020 | |
---|
1021 | |
---|
1022 | |
---|
1023 | |
---|
1024 | <StaticEntity position="<?lua print(y) ?>,<?lua print(x) ?>,<?lua print(z) ?>" direction="0,0,0" collisionType=static mass=100000 friction=0.01> |
---|
1025 | <attached> |
---|
1026 | <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" /> |
---|
1027 | </attached> |
---|
1028 | <collisionShapes> |
---|
1029 | <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" /> |
---|
1030 | |
---|
1031 | </collisionShapes> |
---|
1032 | </StaticEntity> |
---|
1033 | |
---|
1034 | |
---|
1035 | <?lua end ?> |
---|
1036 | <?lua end ?> |
---|
1037 | <?lua end ?> |
---|
1038 | |
---|
1039 | <?lua |
---|
1040 | max = 16 |
---|
1041 | for i = 0, max, 1 |
---|
1042 | do |
---|
1043 | z = 30200+(i*200) |
---|
1044 | |
---|
1045 | ?> |
---|
1046 | <?lua |
---|
1047 | for j = 0, 1, 1 |
---|
1048 | do |
---|
1049 | y = (j*400)-44000 |
---|
1050 | ?> |
---|
1051 | <StaticEntity position="<?lua print(y) ?>,-30000,<?lua print(z) ?>" direction="0,0,0" collisionType=static mass=100000 friction=0.01> |
---|
1052 | <attached> |
---|
1053 | <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" /> |
---|
1054 | </attached> |
---|
1055 | <collisionShapes> |
---|
1056 | <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" /> |
---|
1057 | |
---|
1058 | </collisionShapes> |
---|
1059 | </StaticEntity> |
---|
1060 | <?lua end ?> |
---|
1061 | <?lua end ?> |
---|
1062 | |
---|
1063 | <StaticEntity position="-43600,-30000,30000" direction="0,0,0" collisionType=static mass=100000 friction=0.01> |
---|
1064 | <attached> |
---|
1065 | <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" /> |
---|
1066 | </attached> |
---|
1067 | <collisionShapes> |
---|
1068 | <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" /> |
---|
1069 | |
---|
1070 | </collisionShapes> |
---|
1071 | </StaticEntity> |
---|
1072 | |
---|
1073 | <?lua |
---|
1074 | for i = 0, 2, 1 |
---|
1075 | do |
---|
1076 | y = -44000+(i*200) |
---|
1077 | |
---|
1078 | ?> |
---|
1079 | <StaticEntity position="<?lua print(y) ?>,-30000,29800" direction="0,0,0" collisionType=static mass=100000 friction=0.01> |
---|
1080 | <attached> |
---|
1081 | <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" /> |
---|
1082 | </attached> |
---|
1083 | <collisionShapes> |
---|
1084 | <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" /> |
---|
1085 | |
---|
1086 | </collisionShapes> |
---|
1087 | </StaticEntity> |
---|
1088 | |
---|
1089 | <?lua end ?> |
---|
1090 | |
---|
1091 | <!-- 18 Boxes right END--> |
---|
1092 | <!-- 17 Boxes forward--> |
---|
1093 | <?lua |
---|
1094 | max = 17 |
---|
1095 | for i = 0, max, 1 |
---|
1096 | do |
---|
1097 | y=(i*200)-44000 |
---|
1098 | |
---|
1099 | ?> |
---|
1100 | |
---|
1101 | <?lua |
---|
1102 | for j = 0, 2, 1 |
---|
1103 | do |
---|
1104 | z =34000 - (j*200) |
---|
1105 | ?> |
---|
1106 | |
---|
1107 | <?lua |
---|
1108 | for k = 0, 1, 1 |
---|
1109 | do |
---|
1110 | x =-30200+(k*400) |
---|
1111 | ?> |
---|
1112 | |
---|
1113 | |
---|
1114 | |
---|
1115 | |
---|
1116 | <StaticEntity position="<?lua print(y) ?>,<?lua print(x) ?>,<?lua print(z) ?>" direction="0,0,0" collisionType=static mass=100000 friction=0.01> |
---|
1117 | <attached> |
---|
1118 | <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" /> |
---|
1119 | </attached> |
---|
1120 | <collisionShapes> |
---|
1121 | <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" /> |
---|
1122 | |
---|
1123 | </collisionShapes> |
---|
1124 | </StaticEntity> |
---|
1125 | |
---|
1126 | |
---|
1127 | <?lua end ?> |
---|
1128 | <?lua end ?> |
---|
1129 | <?lua end ?> |
---|
1130 | |
---|
1131 | <?lua |
---|
1132 | max = 15 |
---|
1133 | for i = 0, max, 1 |
---|
1134 | do |
---|
1135 | y=(i*200)-43600 |
---|
1136 | |
---|
1137 | ?> |
---|
1138 | |
---|
1139 | <?lua |
---|
1140 | for j = 0, 0, 1 |
---|
1141 | do |
---|
1142 | z =34000 - (i*5.5) |
---|
1143 | ?> |
---|
1144 | |
---|
1145 | <StaticEntity position="<?lua print(y) ?>,-30000,<?lua print(z) ?>" direction="0,0,0" collisionType=static mass=100000 friction=0.01> |
---|
1146 | <attached> |
---|
1147 | <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" /> |
---|
1148 | </attached> |
---|
1149 | <collisionShapes> |
---|
1150 | <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" /> |
---|
1151 | |
---|
1152 | </collisionShapes> |
---|
1153 | </StaticEntity> |
---|
1154 | |
---|
1155 | <?lua end ?> |
---|
1156 | <?lua end ?> |
---|
1157 | <?lua |
---|
1158 | max = 15 |
---|
1159 | for i = 0, max, 1 |
---|
1160 | do |
---|
1161 | y=(i*200)-43600 |
---|
1162 | |
---|
1163 | ?> |
---|
1164 | |
---|
1165 | <?lua |
---|
1166 | for j = 0, 0, 1 |
---|
1167 | do |
---|
1168 | z =33600 + (i*5.5) |
---|
1169 | ?> |
---|
1170 | |
---|
1171 | <StaticEntity position="<?lua print(y) ?>,-30000,<?lua print(z) ?>" direction="0,0,0" collisionType=static mass=100000 friction=0.01> |
---|
1172 | <attached> |
---|
1173 | <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" /> |
---|
1174 | </attached> |
---|
1175 | <collisionShapes> |
---|
1176 | <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" /> |
---|
1177 | |
---|
1178 | </collisionShapes> |
---|
1179 | </StaticEntity> |
---|
1180 | <?lua end ?> |
---|
1181 | <?lua end ?> |
---|
1182 | |
---|
1183 | |
---|
1184 | <?lua |
---|
1185 | for i = 0, 1, 1 |
---|
1186 | do |
---|
1187 | y = -44000+(i*200) |
---|
1188 | |
---|
1189 | ?> |
---|
1190 | <StaticEntity position="<?lua print(y) ?>,-30000,34000" direction="0,0,0" collisionType=static mass=100000 friction=0.01> |
---|
1191 | <attached> |
---|
1192 | <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" /> |
---|
1193 | </attached> |
---|
1194 | <collisionShapes> |
---|
1195 | <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" /> |
---|
1196 | |
---|
1197 | </collisionShapes> |
---|
1198 | </StaticEntity> |
---|
1199 | |
---|
1200 | <?lua end ?> |
---|
1201 | |
---|
1202 | <StaticEntity position="-44000,-30000,33800" direction="0,0,0" collisionType=static mass=100000 friction=0.01> |
---|
1203 | <attached> |
---|
1204 | <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" /> |
---|
1205 | </attached> |
---|
1206 | <collisionShapes> |
---|
1207 | <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" /> |
---|
1208 | |
---|
1209 | </collisionShapes> |
---|
1210 | </StaticEntity> |
---|
1211 | |
---|
1212 | <StaticEntity position="-44000,-30000,33600" direction="0,0,0" collisionType=static mass=100000 friction=0.01> |
---|
1213 | <attached> |
---|
1214 | <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" /> |
---|
1215 | </attached> |
---|
1216 | <collisionShapes> |
---|
1217 | <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" /> |
---|
1218 | |
---|
1219 | </collisionShapes> |
---|
1220 | </StaticEntity> |
---|
1221 | <!-- 17 Boxes forward END--> |
---|
1222 | <Billboard position="-41000,-30000,33800" material="Flares/backlightflare" colour="0,1.4,2.1" scale=15 /> |
---|
1223 | |
---|
1224 | <StaticEntity position="-40400,-30000,33800" direction="0,0,0" collisionType=static mass=100000 friction=0.01> |
---|
1225 | <attached> |
---|
1226 | <Model position="0,0,0" mesh="cube_green.mesh" scale3D="100,100,100" /> |
---|
1227 | </attached> |
---|
1228 | <collisionShapes> |
---|
1229 | <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" /> |
---|
1230 | </collisionShapes> |
---|
1231 | </StaticEntity> |
---|
1232 | |
---|
1233 | <!-- FORCEFIELD --> |
---|
1234 | <ForceField position="-47000,-30000,30000" direction="1,0,0" diameter=2000 velocity=2000 length=2000 /> |
---|
1235 | |
---|
1236 | |
---|
1237 | <!-- The Cave END--> |
---|
1238 | |
---|
1239 | <!-- Planet around the cave--> |
---|
1240 | |
---|
1241 | </Scene> |
---|
1242 | </Level> |
---|
1243 | |
---|
1244 | |
---|
1245 | |
---|