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