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