1 | <?lua |
---|
2 | include("stats.oxo") |
---|
3 | include("hudtemplates3.oxo") |
---|
4 | include("templates/lodinformation.oxt") |
---|
5 | include("templates/spaceship_assff.oxt") |
---|
6 | include("templates/spaceship_pirate.oxt") |
---|
7 | ?> |
---|
8 | |
---|
9 | |
---|
10 | <!--*****************************************************************************************************************************************************************************************--> |
---|
11 | <!--Including Template for triggering on player--> |
---|
12 | |
---|
13 | <Template name=spaceshipassffplayer> |
---|
14 | <SpaceShip |
---|
15 | hudtemplate = spaceshiphud |
---|
16 | camerapositiontemplate = spaceshipassffcameras |
---|
17 | engine = spaceshipassffengine |
---|
18 | spawnparticlesource = "Orxonox/fairytwirl" |
---|
19 | spawnparticleduration = 3 |
---|
20 | explosionchunks = 6 |
---|
21 | |
---|
22 | health = 100 |
---|
23 | maxhealth = 200 |
---|
24 | initialhealth = 100 |
---|
25 | |
---|
26 | primaryThrust = 100; |
---|
27 | auxilaryThrust = 30; |
---|
28 | rotationThrust = 25; |
---|
29 | |
---|
30 | collisionType = "dynamic" |
---|
31 | mass = 100 |
---|
32 | linearDamping = 0.7 |
---|
33 | angularDamping = 0.9999999 |
---|
34 | > |
---|
35 | <attached> |
---|
36 | <Model position="0,0,0" yaw=90 pitch=-90 roll=0 scale=4 mesh="assff.mesh" /> |
---|
37 | <BlinkingBillboard position="17,-1.5,0" material="Examples/Flare" colour="1.0, 0.5, 0.3" amplitude=0.1 frequency=0.5 quadratic=1 /> |
---|
38 | <BlinkingBillboard position="-17,-1.5,0" material="Examples/Flare" colour="0.5, 1.0, 0.3" amplitude=0.1 frequency=0.5 phase=180 quadratic=1 /> |
---|
39 | <DistanceTriggerBeacon name="PlayerDistanceTrigger" /> <!--added DistanceTrigger--> |
---|
40 | </attached> |
---|
41 | <collisionShapes> |
---|
42 | <BoxCollisionShape position="0,0,0" halfExtents="10, 3, 5" /> |
---|
43 | <BoxCollisionShape position="13,-1.3,0" halfExtents="3, 1, 2" /> |
---|
44 | <BoxCollisionShape position="-13,-1.3,0" halfExtents="3, 1, 2" /> |
---|
45 | <BoxCollisionShape position="0,0,7" halfExtents="3, 2, 2" /> |
---|
46 | <BoxCollisionShape position="0,0.1,-11" halfExtents="2.2, 1.8, 6" /> |
---|
47 | <BoxCollisionShape position="0,0.1,-19" halfExtents="1.4, 1, 2" /> |
---|
48 | </collisionShapes> |
---|
49 | <?lua |
---|
50 | include("includes/weaponsettings3.oxi") |
---|
51 | ?> |
---|
52 | </SpaceShip> |
---|
53 | </Template> |
---|
54 | |
---|
55 | <!--*****************************************************************************************************************************************************************************************--> |
---|
56 | |
---|
57 | |
---|
58 | |
---|
59 | |
---|
60 | <!--CREATING SPAWNPOINTS______________________________________________________________________________________________________________________________________________________________OK--> |
---|
61 | <Level |
---|
62 | name="The Time Machine" |
---|
63 | description="A simple level. The only goal is to defeat as much enemies as you can." |
---|
64 | gametype=TeamDeathmatch |
---|
65 | > |
---|
66 | <templates> |
---|
67 | <Template link=lodtemplate_default /> |
---|
68 | </templates> |
---|
69 | <Scene |
---|
70 | ambientlight="0.8,0.8,0.8" |
---|
71 | skybox="Orxonox/skypanoramagen2" |
---|
72 | > |
---|
73 | |
---|
74 | <Light type=directional position="0,0,0" direction="0, 0, 0" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 1.0, 0.9" /> |
---|
75 | |
---|
76 | <?lua for i=0,4,1 do |
---|
77 | x=500 |
---|
78 | ?> |
---|
79 | |
---|
80 | <SpawnPoint team=0 position="-4000,0,<?lua print(i*x-1000) ?>" direction="5000,0,<?lua print(i*x-1000) ?>" spawnclass=SpaceShip pawndesign=spaceshipassffplayer /> |
---|
81 | <!--friendly spaceships spawnpoints--> |
---|
82 | <TeamSpawnPoint team=0 position="-4000,0,<?lua print(i*x-1000) ?>" lookat="5000,0,<?lua print(i*x-1000) ?>" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
83 | |
---|
84 | <!--enemy spaceship spawnpoint--> |
---|
85 | <TeamSpawnPoint team=1 position="4000,0,<?lua print(i*x-1000) ?>" lookat="-5000,0,<?lua print(i*x-1000) ?>" spawnclass=SpaceShip pawndesign=spaceshippirate /> |
---|
86 | <?lua end ?> |
---|
87 | |
---|
88 | <!--CREATING SPAWNPOINTS END______________________________________________________________________________________________________________________________________________________________--> |
---|
89 | |
---|
90 | |
---|
91 | <!--TRIGGERS IF THE PLAYERS REACHES THE "TIME MACHINE"--> |
---|
92 | <!---> |
---|
93 | <DistanceTrigger name="LeaveTimeMachine" position="0,0,0" distance="100" target="DistanceTriggerBeacon" targetname="PlayerDistanceTrigger" stayactive="true" activations=1000 invert="true" ><!----> |
---|
94 | <!---> <DistanceTrigger name="EnterTimeMachine" position="0,0,0" distance="100" target="DistanceTriggerBeacon" targetname="PlayerDistanceTrigger" active=false > |
---|
95 | <attached> |
---|
96 | <Billboard position="0,0,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> |
---|
97 | <Billboard position="100,0,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> |
---|
98 | <Billboard position="0,100,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> |
---|
99 | <Billboard position="0,0,100" material="Examples/Flare" colour="0, 0, 1" scale=1/> |
---|
100 | <Billboard position="-100,0,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> |
---|
101 | <Billboard position="0,-100,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> |
---|
102 | <Billboard position="0,0,-100" material="Examples/Flare" colour="0, 0, 1" scale=1/> |
---|
103 | </attached> |
---|
104 | </DistanceTrigger> |
---|
105 | <!---> |
---|
106 | <!----> |
---|
107 | <DistanceTrigger name="EnterTimeMachine" position="0,0,0" distance="100" target="DistanceTriggerBeacon" targetname="PlayerDistanceTrigger" invert=1 > |
---|
108 | <!----> <attached> |
---|
109 | <Billboard position="0,0,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> |
---|
110 | <Billboard position="100,0,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> |
---|
111 | <Billboard position="0,100,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> |
---|
112 | <Billboard position="0,0,100" material="Examples/Flare" colour="0, 0, 1" scale=1/> |
---|
113 | <Billboard position="-100,0,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> |
---|
114 | <Billboard position="0,-100,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> |
---|
115 | <Billboard position="0,0,-100" material="Examples/Flare" colour="0, 0, 1" scale=1/> |
---|
116 | </attached> |
---|
117 | <!----> </DistanceTrigger> |
---|
118 | |
---|
119 | |
---|
120 | |
---|
121 | <!--Creating Spaceships___________________________________________________________________________________________________________________________________________________________________OK--> |
---|
122 | |
---|
123 | <?lua for i=0,5,1 do |
---|
124 | y=math.random(-500,500) |
---|
125 | z=math.random(-500,500) |
---|
126 | y2=math.random(-500,500) |
---|
127 | z2=math.random(-500,500) |
---|
128 | health=230 |
---|
129 | addh=100 |
---|
130 | ?> |
---|
131 | <!-- |
---|
132 | <EventTrigger name="ActivateAll" stayactive=1 > |
---|
133 | <events> |
---|
134 | <trigger> |
---|
135 | <Bot> |
---|
136 | <events> |
---|
137 | <activity> |
---|
138 | <EventListener event="EnterTimeMachine" /> |
---|
139 | </activity> |
---|
140 | </events> |
---|
141 | </Bot> |
---|
142 | </trigger> |
---|
143 | </events> |
---|
144 | </EventTrigger> |
---|
145 | --> |
---|
146 | <EventTrigger name="ActivateAll" > |
---|
147 | <events> |
---|
148 | <trigger> |
---|
149 | <SpaceShip position="-2000,<?lua print(y) ?>,<?lua print(z) ?>" lookat="1000,<?lua print(y) ?>,<?lua print(z) ?>" health=<?lua print(health) ?> maxhealth=<?lua print(health) ?> initialhealth=<?lua print(health) ?> > |
---|
150 | <templates> |
---|
151 | <Template link=spaceshipassff /> |
---|
152 | </templates> |
---|
153 | <controller> |
---|
154 | <WaypointPatrolController alertnessradius=1000 team=0 active=1 > |
---|
155 | <waypoints> |
---|
156 | <Model mesh="cube.mesh" scale=0 position="1000,<?lua print(math.random(-1000,1000)) ?>,<?lua print(math.random(-1000,1000)) ?>" /> |
---|
157 | </waypoints> |
---|
158 | <events> |
---|
159 | <activity> |
---|
160 | <EventListener event="EnterTimeMachine" /> |
---|
161 | <Trigger mode=or > |
---|
162 | <EventTrigger> |
---|
163 | <events> |
---|
164 | <trigger> |
---|
165 | <EventListener event="EnterTimeMachine" /> |
---|
166 | </trigger> |
---|
167 | </events> |
---|
168 | </EventTrigger> |
---|
169 | <EventTrigger> |
---|
170 | <events> |
---|
171 | <trigger> |
---|
172 | <EventListener event="Reactivate" /> |
---|
173 | </trigger> |
---|
174 | </events> |
---|
175 | </EventTrigger> |
---|
176 | </Trigger> |
---|
177 | </activity> |
---|
178 | </events> |
---|
179 | </WaypointPatrolController> |
---|
180 | </controller> |
---|
181 | </SpaceShip> |
---|
182 | </trigger> |
---|
183 | </events> |
---|
184 | </EventTrigger> |
---|
185 | |
---|
186 | |
---|
187 | |
---|
188 | <Trigger mode=and name="Reactivate"> |
---|
189 | <EventTrigger switch=true > |
---|
190 | <events> |
---|
191 | <trigger> |
---|
192 | <EventListener event="ActivateAll" /> |
---|
193 | <EventListener event="ToggleBack" /> |
---|
194 | </trigger> |
---|
195 | </events> |
---|
196 | </EventTrigger> |
---|
197 | <EventTrigger invert=true> |
---|
198 | <events> |
---|
199 | <trigger> |
---|
200 | <EventListener event="EnterTimeMachine" /> |
---|
201 | </trigger> |
---|
202 | </events> |
---|
203 | </EventTrigger> |
---|
204 | </Trigger> |
---|
205 | |
---|
206 | <Trigger mode=and name="ToggleBack" > |
---|
207 | <EventTrigger invert=1 > |
---|
208 | <events> |
---|
209 | <trigger> |
---|
210 | <EventListener event="EnterTimeMachine" /> |
---|
211 | |
---|
212 | </trigger> |
---|
213 | </events> |
---|
214 | </EventTrigger> |
---|
215 | </Trigger> |
---|
216 | |
---|
217 | <!---> |
---|
218 | <Trigger mode=and name="SomeTrigger"> |
---|
219 | <EventTrigger switch=true > |
---|
220 | <events> |
---|
221 | <trigger> |
---|
222 | <EventListener event="trigger1" /> |
---|
223 | <EventListener event="ToggleBack" /> |
---|
224 | </trigger> |
---|
225 | </events> |
---|
226 | </EventTrigger> |
---|
227 | <EventTrigger invert=true> |
---|
228 | <events> |
---|
229 | <trigger> |
---|
230 | <EventListener event="EnterTimeMachine" /> |
---|
231 | </trigger> |
---|
232 | </events> |
---|
233 | </EventTrigger> |
---|
234 | </Trigger> |
---|
235 | |
---|
236 | <Trigger name="trigger1" mode=and> |
---|
237 | <EventTrigger> |
---|
238 | <events> |
---|
239 | <trigger> |
---|
240 | <EventListener event="ActivateAll" /> |
---|
241 | </trigger> |
---|
242 | </events> |
---|
243 | </EventTrigger> |
---|
244 | <EventTrigger invert=true> |
---|
245 | <events> |
---|
246 | <trigger> |
---|
247 | <EventListener event="EnterTimeMachine" /> |
---|
248 | </trigger> |
---|
249 | </events> |
---|
250 | </EventTrigger> |
---|
251 | </Trigger> |
---|
252 | |
---|
253 | <Trigger mode=and name="ToggleBack"> |
---|
254 | <EventTrigger switch=true> |
---|
255 | <events> |
---|
256 | <trigger> |
---|
257 | <EventListener event="trigger1" /> |
---|
258 | <EventListener event="ToggleBack" /> |
---|
259 | </trigger> |
---|
260 | </events> |
---|
261 | </EventTrigger> |
---|
262 | <EventTrigger> |
---|
263 | <events> |
---|
264 | <trigger> |
---|
265 | <EventListener event="EnterTimeMachine" /> |
---|
266 | </trigger> |
---|
267 | </events> |
---|
268 | </EventTrigger> |
---|
269 | </Trigger> |
---|
270 | <!----> |
---|
271 | <!-- |
---|
272 | <EventTrigger name="ActivateAll"> |
---|
273 | <events> |
---|
274 | <trigger> |
---|
275 | <SpaceShip position="2000,<?lua print(y2) ?>,<?lua print(z2) ?>" lookat="-1000,<?lua print(y2) ?>, <?lua print(z2) ?>" health=<?lua print(health+addh) ?> maxhealth=<?lua print(health+addh) ?> initialhealth=<?lua print(health+addh) ?> > |
---|
276 | <templates> |
---|
277 | <Template link=spaceshippirate /> |
---|
278 | </templates> |
---|
279 | <controller> |
---|
280 | <WaypointPatrolController alertnessradius=1000 team=0 active=1 > |
---|
281 | <waypoints> |
---|
282 | <Model mesh="cube.mesh" scale=0 position="-1000,<?lua print(math.random(-1000,1000)) ?>, <?lua print(math.random(-1000,1000)) ?>" /> |
---|
283 | </waypoints> |
---|
284 | <events> |
---|
285 | <activity> |
---|
286 | <Trigger mode=or > |
---|
287 | <EventTrigger> |
---|
288 | <events> |
---|
289 | <trigger> |
---|
290 | <EventListener event="EnterTimeMachine" /> |
---|
291 | </trigger> |
---|
292 | </events> |
---|
293 | </EventTrigger> |
---|
294 | <EventTrigger> |
---|
295 | <events> |
---|
296 | <trigger> |
---|
297 | <EventListener event="SomeTrigger" /> |
---|
298 | </trigger> |
---|
299 | </events> |
---|
300 | </EventTrigger> |
---|
301 | </Trigger> |
---|
302 | </activity> |
---|
303 | </events> |
---|
304 | </WaypointPatrolController> |
---|
305 | </controller> |
---|
306 | </SpaceShip> |
---|
307 | </trigger> |
---|
308 | </events> |
---|
309 | </EventTrigger> |
---|
310 | --> |
---|
311 | |
---|
312 | <?lua end ?> |
---|
313 | <!--Creating Spaceships_____END___________________________________________________________________________________________________________________________________________________________OK--> |
---|
314 | |
---|
315 | <!--BILLBOARD ON THE MIDDLE OF THE BATTLEFIELD--> |
---|
316 | <Billboard position="0,0,0" colour="1.0,1.0,1.0" material="Flares/backlightflare" scale=1 /> |
---|
317 | |
---|
318 | <!--TIME MACHINE____________________________________________________________________________________________________________________________________________________________________________--> |
---|
319 | <StaticEntity> |
---|
320 | <attached> |
---|
321 | <MovableEntity position="0,0,0"> |
---|
322 | <attached> |
---|
323 | <!--MIDDLE--> |
---|
324 | <?lua for i=0,2,1 do ?> |
---|
325 | <MovableEntity position="0,0,0" rotationaxis="1,1,0" rotationrate=<?lua print(-255-i*120) ?> > |
---|
326 | <attached> |
---|
327 | <Billboard position="<?lua print(10+i*10) ?>,<?lua print(-10-i*10) ?>,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
328 | <Billboard position="-10,10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
329 | </attached> |
---|
330 | </MovableEntity> |
---|
331 | |
---|
332 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=<?lua print(-245-i*90) ?> > |
---|
333 | <attached> |
---|
334 | <Billboard position="<?lua print(10+i*20) ?>,<?lua print(-10-i*20) ?>,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
335 | <Billboard position="<?lua print(-10-i*20) ?>,<?lua print(10+i*20) ?>,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
336 | </attached> |
---|
337 | </MovableEntity> |
---|
338 | |
---|
339 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=<?lua print(265+i*110) ?> > |
---|
340 | <attached> |
---|
341 | <Billboard position="<?lua print(10+i*20) ?>,0,<?lua print(-10-i*20) ?>" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
342 | <Billboard position="<?lua print(-10-i*20) ?>,0,<?lua print(10+i*20) ?>" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
343 | </attached> |
---|
344 | </MovableEntity> |
---|
345 | |
---|
346 | <MovableEntity position="0,0,0" rotationaxis="0,1,0" rotationrate=<?lua print(240+i*80) ?> > |
---|
347 | <attached> |
---|
348 | <Billboard position="<?lua print(15+i*30) ?>,0,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
349 | <Billboard position="<?lua print(-15-i*30) ?>,0,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
350 | </attached> |
---|
351 | </MovableEntity> |
---|
352 | |
---|
353 | <MovableEntity position="0,0,0" rotationaxis="1,0,0" rotationrate=<?lua print(232+i*70) ?> > |
---|
354 | <attached> |
---|
355 | <Billboard position="0,<?lua print(15+i*30) ?>,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
356 | <Billboard position="0,<?lua print(-15-i*30) ?>,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
357 | </attached> |
---|
358 | </MovableEntity> |
---|
359 | <?lua end ?> |
---|
360 | |
---|
361 | |
---|
362 | <!--FIRST DISTANT--> |
---|
363 | <?lua for i=0,1,1 do ?> |
---|
364 | <MovableEntity position="0,0,0" rotationaxis="0,1,0" rotationrate=10 > |
---|
365 | <attached> |
---|
366 | <MovableEntity position="<?lua print(1500-3000*i) ?>,0,0"> |
---|
367 | <attached> |
---|
368 | <Billboard position="0,0,0" material="Examples/Flare" colour="1.0,1.0,1.0" scale=0.3/> |
---|
369 | <MovableEntity position="0,0,0" rotationaxis="1,1,0" rotationrate=-255 > |
---|
370 | <attached> |
---|
371 | <Billboard position="10,-10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
372 | <Billboard position="-10,10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
373 | </attached> |
---|
374 | </MovableEntity> |
---|
375 | |
---|
376 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=-245 > |
---|
377 | <attached> |
---|
378 | <Billboard position="10,-10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
379 | <Billboard position="-10,10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
380 | </attached> |
---|
381 | </MovableEntity> |
---|
382 | |
---|
383 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=265 > |
---|
384 | <attached> |
---|
385 | <Billboard position="10,0,-10" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
386 | <Billboard position="-10,0,10" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
387 | </attached> |
---|
388 | </MovableEntity> |
---|
389 | |
---|
390 | <MovableEntity position="0,0,0" rotationaxis="0,1,0" rotationrate=240 > |
---|
391 | <attached> |
---|
392 | <Billboard position="15,0,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
393 | <Billboard position="-15,0,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
394 | </attached> |
---|
395 | </MovableEntity> |
---|
396 | |
---|
397 | <MovableEntity position="0,0,0" rotationaxis="1,0,0" rotationrate=232 > |
---|
398 | <attached> |
---|
399 | <Billboard position="0,15,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
400 | <Billboard position="0,-15,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
401 | </attached> |
---|
402 | </MovableEntity> |
---|
403 | |
---|
404 | </attached> |
---|
405 | </MovableEntity> |
---|
406 | </attached> |
---|
407 | </MovableEntity> |
---|
408 | <?lua end ?> |
---|
409 | <!--SECOND DISTANT--> |
---|
410 | <?lua for i=0,1,1 do ?> |
---|
411 | <MovableEntity position="0,0,0" rotationaxis="1,0,0" rotationrate=8 > |
---|
412 | <attached> |
---|
413 | <MovableEntity position="0,<?lua print(1500-3000*i) ?>,0"> |
---|
414 | <attached> |
---|
415 | <Billboard position="0,0,0" material="Examples/Flare" colour="1.0,1.0,1.0" scale=0.3/> |
---|
416 | <MovableEntity position="0,0,0" rotationaxis="1,1,0" rotationrate=-255 > |
---|
417 | <attached> |
---|
418 | <Billboard position="10,-10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
419 | <Billboard position="-10,10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
420 | </attached> |
---|
421 | </MovableEntity> |
---|
422 | |
---|
423 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=-245 > |
---|
424 | <attached> |
---|
425 | <Billboard position="10,-10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
426 | <Billboard position="-10,10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
427 | </attached> |
---|
428 | </MovableEntity> |
---|
429 | |
---|
430 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=265 > |
---|
431 | <attached> |
---|
432 | <Billboard position="10,0,-10" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
433 | <Billboard position="-10,0,10" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
434 | </attached> |
---|
435 | </MovableEntity> |
---|
436 | |
---|
437 | <MovableEntity position="0,0,0" rotationaxis="0,1,0" rotationrate=240 > |
---|
438 | <attached> |
---|
439 | <Billboard position="15,0,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
440 | <Billboard position="-15,0,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
441 | </attached> |
---|
442 | </MovableEntity> |
---|
443 | |
---|
444 | <MovableEntity position="0,0,0" rotationaxis="1,0,0" rotationrate=232 > |
---|
445 | <attached> |
---|
446 | <Billboard position="0,15,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
447 | <Billboard position="0,-15,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
448 | </attached> |
---|
449 | </MovableEntity> |
---|
450 | |
---|
451 | </attached> |
---|
452 | </MovableEntity> |
---|
453 | </attached> |
---|
454 | </MovableEntity> |
---|
455 | <?lua end ?> |
---|
456 | <!--THIRD DISTANT--> |
---|
457 | <?lua for i=0,1,1 do ?> |
---|
458 | <MovableEntity position="0,0,0" rotationaxis="1,1,0" rotationrate=9 > |
---|
459 | <attached> |
---|
460 | <MovableEntity position="<?lua print(1000-2000*i) ?>,<?lua print(-1000+2000*i) ?>,0"> |
---|
461 | <attached> |
---|
462 | <Billboard position="0,0,0" material="Examples/Flare" colour="1.0,1.0,1.0" scale=0.3/> |
---|
463 | <MovableEntity position="0,0,0" rotationaxis="1,1,0" rotationrate=-255 > |
---|
464 | <attached> |
---|
465 | <Billboard position="10,-10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
466 | <Billboard position="-10,10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
467 | </attached> |
---|
468 | </MovableEntity> |
---|
469 | |
---|
470 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=-245 > |
---|
471 | <attached> |
---|
472 | <Billboard position="10,-10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
473 | <Billboard position="-10,10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
474 | </attached> |
---|
475 | </MovableEntity> |
---|
476 | |
---|
477 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=265 > |
---|
478 | <attached> |
---|
479 | <Billboard position="10,0,-10" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
480 | <Billboard position="-10,0,10" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
481 | </attached> |
---|
482 | </MovableEntity> |
---|
483 | |
---|
484 | <MovableEntity position="0,0,0" rotationaxis="0,1,0" rotationrate=240 > |
---|
485 | <attached> |
---|
486 | <Billboard position="15,0,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
487 | <Billboard position="-15,0,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
488 | </attached> |
---|
489 | </MovableEntity> |
---|
490 | |
---|
491 | <MovableEntity position="0,0,0" rotationaxis="1,0,0" rotationrate=232 > |
---|
492 | <attached> |
---|
493 | <Billboard position="0,15,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
494 | <Billboard position="0,-15,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
495 | </attached> |
---|
496 | </MovableEntity> |
---|
497 | |
---|
498 | </attached> |
---|
499 | </MovableEntity> |
---|
500 | </attached> |
---|
501 | </MovableEntity> |
---|
502 | <?lua end ?> |
---|
503 | <!--FOURTH DISTANT--> |
---|
504 | <?lua for i=0,1,1 do ?> |
---|
505 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=12 > |
---|
506 | <attached> |
---|
507 | <MovableEntity position="<?lua print(1000-2000*i) ?>,<?lua print(-1000+2000*i) ?>,0"> |
---|
508 | <attached> |
---|
509 | <Billboard position="0,0,0" material="Examples/Flare" colour="1.0,1.0,1.0" scale=0.3/> |
---|
510 | <MovableEntity position="0,0,0" rotationaxis="1,1,0" rotationrate=-255 > |
---|
511 | <attached> |
---|
512 | <Billboard position="10,-10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
513 | <Billboard position="-10,10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
514 | </attached> |
---|
515 | </MovableEntity> |
---|
516 | |
---|
517 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=-245 > |
---|
518 | <attached> |
---|
519 | <Billboard position="10,-10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
520 | <Billboard position="-10,10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
521 | </attached> |
---|
522 | </MovableEntity> |
---|
523 | |
---|
524 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=265 > |
---|
525 | <attached> |
---|
526 | <Billboard position="10,0,-10" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
527 | <Billboard position="-10,0,10" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
528 | </attached> |
---|
529 | </MovableEntity> |
---|
530 | |
---|
531 | <MovableEntity position="0,0,0" rotationaxis="0,1,0" rotationrate=240 > |
---|
532 | <attached> |
---|
533 | <Billboard position="15,0,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
534 | <Billboard position="-15,0,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
535 | </attached> |
---|
536 | </MovableEntity> |
---|
537 | |
---|
538 | <MovableEntity position="0,0,0" rotationaxis="1,0,0" rotationrate=232 > |
---|
539 | <attached> |
---|
540 | <Billboard position="0,15,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
541 | <Billboard position="0,-15,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
542 | </attached> |
---|
543 | </MovableEntity> |
---|
544 | |
---|
545 | </attached> |
---|
546 | </MovableEntity> |
---|
547 | </attached> |
---|
548 | </MovableEntity> |
---|
549 | <?lua end ?> |
---|
550 | <!--FIFTH DISTANT--> |
---|
551 | <?lua for i=0,1,1 do ?> |
---|
552 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=11 > |
---|
553 | <attached> |
---|
554 | <MovableEntity position="<?lua print(1000-2000*i) ?>,0,<?lua print(-1000+2000*i) ?>"> |
---|
555 | <attached> |
---|
556 | <Billboard position="0,0,0" material="Examples/Flare" colour="1.0,1.0,1.0" scale=0.3/> |
---|
557 | <MovableEntity position="0,0,0" rotationaxis="1,1,0" rotationrate=-255 > |
---|
558 | <attached> |
---|
559 | <Billboard position="10,-10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
560 | <Billboard position="-10,10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
561 | </attached> |
---|
562 | </MovableEntity> |
---|
563 | |
---|
564 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=-245 > |
---|
565 | <attached> |
---|
566 | <Billboard position="10,-10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
567 | <Billboard position="-10,10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
568 | </attached> |
---|
569 | </MovableEntity> |
---|
570 | |
---|
571 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=265 > |
---|
572 | <attached> |
---|
573 | <Billboard position="10,0,-10" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
574 | <Billboard position="-10,0,10" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
575 | </attached> |
---|
576 | </MovableEntity> |
---|
577 | |
---|
578 | <MovableEntity position="0,0,0" rotationaxis="0,1,0" rotationrate=240 > |
---|
579 | <attached> |
---|
580 | <Billboard position="15,0,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
581 | <Billboard position="-15,0,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
582 | </attached> |
---|
583 | </MovableEntity> |
---|
584 | |
---|
585 | <MovableEntity position="0,0,0" rotationaxis="1,0,0" rotationrate=232 > |
---|
586 | <attached> |
---|
587 | <Billboard position="0,15,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
588 | <Billboard position="0,-15,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
589 | </attached> |
---|
590 | </MovableEntity> |
---|
591 | |
---|
592 | </attached> |
---|
593 | </MovableEntity> |
---|
594 | </attached> |
---|
595 | </MovableEntity> |
---|
596 | <?lua end ?> |
---|
597 | |
---|
598 | |
---|
599 | |
---|
600 | </attached> |
---|
601 | </MovableEntity> |
---|
602 | <!--<DistanceTrigger>--> |
---|
603 | </attached> |
---|
604 | </StaticEntity> |
---|
605 | |
---|
606 | <!--TIME MACHINE END____________________________________________________________________________________________________________________________________________________________________--> |
---|
607 | |
---|
608 | <!--Forcefields_________________________________________________________________________________________________________________________________________________________________________--> |
---|
609 | |
---|
610 | <!--NO 1-> |
---|
611 | <ForceField position="-2500,0,800" direction="1,0,0" diameter=500 velocity=5000 length=1000 /> |
---|
612 | <MovableEntity position="-2500,0,800"> |
---|
613 | <attached> |
---|
614 | <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.5,0,0" scale=2/> |
---|
615 | <?lua for i=0,20,1 do ?> |
---|
616 | <Billboard position="<?lua print(i*200) ?>,0,-100" material="Examples/Flare" colour="0.5,0,0" scale=1/> |
---|
617 | <Billboard position="<?lua print(i*200) ?>,0,100" material="Examples/Flare" colour="0.5,0,0" scale=1/> |
---|
618 | <?lua end ?> |
---|
619 | </attached> |
---|
620 | </MovableEntity> |
---|
621 | <!--NO 2-> |
---|
622 | <ForceField position="2500,0,-800" direction="-1,0,0" diameter=500 velocity=5000 length=1000 /> |
---|
623 | <MovableEntity position="2500,0,-800"> |
---|
624 | <attached> |
---|
625 | <Billboard position="0,0,0" material="Flares/ringflare2" colour="0,0.5,0" scale=2/> |
---|
626 | <?lua for i=0,20,1 do ?> |
---|
627 | <Billboard position="<?lua print(-i*200) ?>,0,-100" material="Examples/Flare" colour="0,0.5,0" scale=1/> |
---|
628 | <Billboard position="<?lua print(-i*200) ?>,0,100" material="Examples/Flare" colour="0,0.5,0" scale=1/> |
---|
629 | <?lua end ?> |
---|
630 | </attached> |
---|
631 | </MovableEntity> |
---|
632 | |
---|
633 | <!--NO 3-> |
---|
634 | <ForceField position="-2500,0,-600" direction="0.75,0.5,1" diameter=500 velocity=5000 length=1000 /> |
---|
635 | <MovableEntity position="-2500,0,-600"> |
---|
636 | <attached> |
---|
637 | <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.5,0,0.5" scale=2/> |
---|
638 | <?lua for i=0,20,1 do ?> |
---|
639 | <Billboard position="<?lua print(i*115-100) ?>,<?lua print(i*75) ?>,<?lua print(i*150) ?>" material="Examples/Flare" colour="0.5,0,0.5" scale=1/> |
---|
640 | <Billboard position="<?lua print(i*115+100) ?>,<?lua print(i*75) ?>,<?lua print(i*150) ?>" material="Examples/Flare" colour="0.5,0,0.5" scale=1/> |
---|
641 | <?lua end ?> |
---|
642 | </attached> |
---|
643 | </MovableEntity> |
---|
644 | <!----> |
---|
645 | <!--NO 4-> |
---|
646 | <ForceField position="2500,0,600" direction="-0.75,-0.5,-1" diameter=500 velocity=5000 length=1000 /> |
---|
647 | <MovableEntity position="2500,0,600"> |
---|
648 | <attached> |
---|
649 | <Billboard position="0,0,0" material="Flares/ringflare2" colour="0,0.5,0.5" scale=2/> |
---|
650 | <?lua for i=0,20,1 do ?> |
---|
651 | <Billboard position="<?lua print(i*(-115)-100) ?>,<?lua print(i*(-75)) ?>,<?lua print(i*(-150)) ?>" material="Examples/Flare" colour="0,0.5,0.5" scale=1/> |
---|
652 | <Billboard position="<?lua print(i*(-115)+100) ?>,<?lua print(i*-(75)) ?>,<?lua print(i*(-150)) ?>" material="Examples/Flare" colour="0,0.5,0.5" scale=1/> |
---|
653 | <?lua end ?> |
---|
654 | </attached> |
---|
655 | </MovableEntity> |
---|
656 | <!----> |
---|
657 | |
---|
658 | <!--NO 5 (samller)-> |
---|
659 | <ForceField position="0,-500,500" direction="0,1,0" diameter=500 velocity=3000 length=1000 /> |
---|
660 | <MovableEntity position="0,-500,500"> |
---|
661 | <attached> |
---|
662 | <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.5,0.5,0" scale=2/> |
---|
663 | <?lua for i=0,15,1 do ?> |
---|
664 | <Billboard position="0,<?lua print(i*100) ?>,0" material="Examples/Flare" colour="0.5,0.5,0" scale=1/> |
---|
665 | <?lua end ?> |
---|
666 | </attached> |
---|
667 | </MovableEntity> |
---|
668 | <!----> |
---|
669 | |
---|
670 | <!--No 6 (smaller)-> |
---|
671 | <ForceField position="0,500,-500" direction="0,-1,0" diameter=500 velocity=3000 length=1000 /> |
---|
672 | <MovableEntity position="0,500,-500"> |
---|
673 | <attached> |
---|
674 | <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.5,0.3,0.2" scale=2/> |
---|
675 | <?lua for i=0,15,1 do ?> |
---|
676 | <Billboard position="0,<?lua print(i*(-100)) ?>,0" material="Examples/Flare" colour="0.5,0.3,0.2" scale=1/> |
---|
677 | <?lua end ?> |
---|
678 | </attached> |
---|
679 | </MovableEntity> |
---|
680 | <!----> |
---|
681 | |
---|
682 | <!--No 7 (smaller)-> |
---|
683 | <ForceField position="500,0,-500" direction="0,0,1" diameter=500 velocity=2500 length=750 /> |
---|
684 | <MovableEntity position="500,0,-500"> |
---|
685 | <attached> |
---|
686 | <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.5,0.4,0.6" scale=2/> |
---|
687 | <?lua for i=0,8,1 do ?> |
---|
688 | <Billboard position="0,0,<?lua print(i*(100)) ?>" material="Examples/Flare" colour="0.5,0.4,0.6" scale=1/> |
---|
689 | <?lua end ?> |
---|
690 | </attached> |
---|
691 | </MovableEntity> |
---|
692 | <!----> |
---|
693 | |
---|
694 | <!--No 8 (smaller)-> |
---|
695 | <ForceField position="-500,0,500" direction="0,0,-1" diameter=500 velocity=2500 length=750 /> |
---|
696 | <MovableEntity position="-500,0,500"> |
---|
697 | <attached> |
---|
698 | <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=2/> |
---|
699 | <?lua for i=0,8,1 do ?> |
---|
700 | <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/> |
---|
701 | <?lua end ?> |
---|
702 | </attached> |
---|
703 | </MovableEntity> |
---|
704 | <!----> |
---|
705 | |
---|
706 | <!--Invisible Forcefield (immediatly sends you to the time machine)--> |
---|
707 | <ForceField position="-2500,2500,800" direction="1,-1,-0.32" diameter=200 velocity=10000 length=880 /> |
---|
708 | <Billboard position="-2500,2500,800" material="Examples/Flare" colour="1,1,1" /> |
---|
709 | |
---|
710 | <!----> |
---|
711 | |
---|
712 | </Scene> |
---|
713 | </Level> |
---|
714 | |
---|
715 | |
---|
716 | |
---|
717 | |
---|
718 | |
---|
719 | |
---|
720 | |
---|
721 | |
---|
722 | |
---|
723 | |
---|
724 | |
---|
725 | |
---|
726 | |
---|
727 | |
---|
728 | |
---|
729 | |
---|