Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/kicklib2/data/levels/lastTeamStandingII.oxw @ 8759

Last change on this file since 8759 was 8311, checked in by rgrieder, 14 years ago

svn:eol-style "native" for all text based files.
Also removed the executable property from planets.oxw.

  • Property svn:eol-style set to native
File size: 19.9 KB
Line 
1<LevelInfo
2 name = "On the fly"
3 description = "Survive as a team."
4 tags = ""
5/>
6<?lua
7  include("stats.oxo")
8  include("HUDTemplates3.oxo")
9  include("templates/lodInformation.oxt")
10  include("lastTeamStandingHUD.oxo")
11  include("templates/spaceshipAssff.oxt")
12  include("templates/spaceshipPirate.oxt")
13  include("templates/pickupRepresentationTemplates.oxt")
14?>
15
16<Level
17 name         = "On the fly"
18 description  = "testmap for gametype last team standing"
19 gametype     =  "LastTeamStanding"
20>
21  <templates>
22    <Template link=lodtemplate_default />
23  </templates>
24
25  <Scene
26    ambientlight = "0.8, 0.8, 0.8"
27    skybox       = "Orxonox/skypanoramagen1"
28  >
29<!-- TODO:
301. make collisionshapes bulletproof: -> attach movable entity with dynamic collisionshape within a static collisionshape
312. add forcefields -> there should be several "streams" through the level
323. add teamspawnpoints (different spaceships?) (where should the spawnpoints be placed?)
33-->
34<!--Bot / -->
35
36<!-------------------- Box: TopLayer + BottomLayer + 4 invisible Walls --------------------->
37   <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000 >
38       <attached>
39           <Model position="0,-400,0" mesh="cube_orange.mesh" scale3D="1000,10,1000" />
40           <Model position="0,-420,0" mesh="cube_orange.mesh" scale3D="1000,10,1000" /><!-- Second Model in order to avoid graphic errors-->
41       </attached>
42       <collisionShapes>
43           <BoxCollisionShape position="0,-400,0" halfExtents="1500,10,1500" />
44       </collisionShapes>
45   </StaticEntity>
46
47   <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000 >
48       <attached>
49           <Model position="0,400,0" mesh="cube_orange.mesh" scale3D="1000,10,1000" />
50           <Model position="0,420,0" mesh="cube_orange.mesh" scale3D="1000,10,1000" />
51       </attached>
52       <collisionShapes>
53           <BoxCollisionShape position="0,400,0" halfExtents="1000,10,1000" />
54       </collisionShapes>
55   </StaticEntity>
56
57   <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000 >
58       <attached>
59           <!--Model position="1000,0,0" mesh="cube_green.mesh" scale3D="10,400,1000" /-->
60       </attached>
61       <collisionShapes>
62           <BoxCollisionShape position="1000,0,0" halfExtents="10,400,1000" />
63       </collisionShapes>
64   </StaticEntity>
65
66
67   <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000 >
68       <attached>
69           <!-- Model position="-1000,0,0" mesh="cube_green.mesh" scale3D="10,400,1000" / -->
70       </attached>
71       <collisionShapes>
72           <BoxCollisionShape position="-1000,0,0" halfExtents="10,400,1000" />
73       </collisionShapes>
74   </StaticEntity>
75
76
77   <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000 >
78       <attached>
79           <Model position="0,0,1000" mesh="cube_green.mesh" scale3D="1000,400,10" />
80       </attached>
81       <collisionShapes>
82           <BoxCollisionShape position="0,0,1000" halfExtents="1000,400,10" />
83       </collisionShapes>
84   </StaticEntity>
85
86
87   <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000 >
88       <attached>
89           <Model position="0,0,-1000" mesh="cube_green.mesh" scale3D="1000,400,10" />
90       </attached>
91       <collisionShapes>
92           <BoxCollisionShape position="0,0,-1000" halfExtents="1000,400,10" />
93       </collisionShapes>
94   </StaticEntity>
95<!-- END of CUBE-->
96<!-------------- Centered Thin Gate -------------->
97
98   <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000 >
99       <attached>
100           <Model position="0,-1200,0" mesh="hs-w01.mesh" scale3D="300,400,900" pitch="90" roll="0" yaw="0"/>
101           <!--Model position="121,0,-80" mesh="cube.mesh" scale3D="18,400,18" />
102           <Model position="-121,0,-80" mesh="cube.mesh" scale3D="18,400,18" /-->
103           <Model position="0,0,-80" scale=150 mesh="sphere.mesh" />
104       </attached>
105       <collisionShapes>
106           <BoxCollisionShape position="121,0,-80" halfExtents="18,400,18" />
107           <BoxCollisionShape position="-121,0,-80" halfExtents="18,400,18" />
108           <SphereCollisionShape position="0,0,-80" radius="150" />
109       </collisionShapes>
110   </StaticEntity>
111
112   <ForceField position="0,270,-80" direction="-3,-4,-3" diameter=150 velocity=2000 length=900 />
113   <MovableEntity position="0,270,-80" direction="-3,-4,-3">
114       <attached>
115           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
116           <?lua for i=0,4,1 do ?>
117               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
118           <?lua end ?>
119       </attached>
120   </MovableEntity>
121<!-- to bulk gate, left -->
122   <ForceField position="0,-275,-80" direction="3,0,2" diameter=150 velocity=2000 length=900 />
123   <MovableEntity position="0,-275,-80" direction="3,0,2">
124       <attached>
125           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
126           <?lua for i=0,4,1 do ?>
127               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
128           <?lua end ?>
129       </attached>
130   </MovableEntity>
131
132
133<!-------------- Bulk Gate -------------->
134   <StaticEntity position="300,0,500" direction="0,0,0" collisionType=static mass=100000 >
135       <attached>
136           <Model position="0,-100,0" mesh="hs-w01.mesh" scale3D="500,400,600" pitch="270" roll="0" yaw="0"/>
137           <!--Model position="205,-105,20" mesh="cube.mesh" scale3D="135,280,60" />
138           <Model position="-205,-105,20" mesh="cube.mesh" scale3D="135,280,60" />
139           <Model position="0,235,0" mesh="cube.mesh" scale3D="180,35,35" />
140           <Model position="0,-344,-18" mesh="cube.mesh" scale3D="210,38,36" /-->
141       </attached>
142       <collisionShapes>
143           <BoxCollisionShape position="205,-105,20" halfExtents="135,280,60" />
144           <BoxCollisionShape position="-205,-105,20" halfExtents="135,280,60" />
145           <BoxCollisionShape position="0,235,0" halfExtents="180,35,35" />
146           <BoxCollisionShape position="0,-344,-18" halfExtents="210,38,36" />
147       </collisionShapes>
148   </StaticEntity>
149<!-- back to thin gate -->
150   <ForceField position="300,0,650" direction="1,1.5,-4" diameter=150 velocity=2000 length=900 />
151   <MovableEntity position="300,0,650" direction="1,1.5,-4">
152       <attached>
153           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
154           <?lua for i=0,4,1 do ?>
155               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
156           <?lua end ?>
157       </attached>
158   </MovableEntity>
159<!-- to thin gate -->
160   <ForceField position="300,300,500" direction="-1,0,-2" diameter=100 velocity=1500 length=900 />
161   <MovableEntity position="300,300,500" direction="-1,0,-2">
162       <attached>
163           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
164           <?lua for i=0,4,1 do ?>
165               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
166           <?lua end ?>
167       </attached>
168   </MovableEntity>
169<!-- alternative stream -->
170   <ForceField position="830,-300,830" direction="-1,0,0" diameter=150 velocity=2000 length=900 />
171   <MovableEntity position="830,-300,830" direction="-1,0,0">
172       <attached>
173           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.5,0,0" scale=1/>
174           <?lua for i=0,4,1 do ?>
175               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.5,0,0" scale=1/>
176           <?lua end ?>
177       </attached>
178   </MovableEntity>
179<!-- alternative stream II-->
180   <ForceField position="830,350,830" direction="0,0,-1" diameter=150 velocity=2000 length=900 />
181   <MovableEntity position="830,350,830" direction="0,0,-1">
182       <attached>
183           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0,0,0.5" scale=1/>
184           <?lua for i=0,4,1 do ?>
185               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0,0,0.5" scale=1/>
186           <?lua end ?>
187       </attached>
188   </MovableEntity>
189
190
191<!-------------- Bar -------------->
192   <StaticEntity position="-495,0,-495" direction="0,0,0" collisionType=static mass=100000 >
193       <attached>
194           <Model position="0,0,0" mesh="CuboidBody.mesh" scale3D="20,720,20" pitch="90" roll="45" yaw="0"/>
195           <!--Model position="0,0,0" mesh="cube.mesh" scale3D="19,719,19" pitch="90" roll="45" yaw="0"/-->
196       </attached>
197
198       <collisionShapes>
199           <BoxCollisionShape position="0,0,0" halfExtents="20,720,20" pitch="90" roll="45" yaw="0"/>
200       </collisionShapes>
201   </StaticEntity>
202<!-- "lift" -->
203   <ForceField position="-700,-300,-700" direction="0,1,0" diameter=100 velocity=2000 length=400 />
204   <MovableEntity position="-700,-300,-700" direction="0,1,0">
205       <attached>
206           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
207           <?lua for i=0,4,1 do ?>
208               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
209           <?lua end ?>
210       </attached>
211   </MovableEntity>
212<!-- to thin gate, low -->
213   <ForceField position="0,60,-830" direction="0,-1,2" diameter=150 velocity=2000 length=900 />
214   <MovableEntity position="0,60,-830" direction="0,-1,2">
215       <attached>
216           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
217           <?lua for i=0,4,1 do ?>
218               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
219           <?lua end ?>
220       </attached>
221   </MovableEntity>
222<!-- alternative stream -->
223   <ForceField position="-830,-350,-830" direction="2,0,0" diameter=100 velocity=2000 length=900 />
224   <MovableEntity position="-830,-350,-830" direction="2,0,0">
225       <attached>
226           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.5,0,0" scale=1/>
227           <?lua for i=0,4,1 do ?>
228               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.5,0,0" scale=1/>
229           <?lua end ?>
230       </attached>
231   </MovableEntity>
232<!-- alternative stream II-->
233   <ForceField position="-870,350,-830" direction="0,0,1" diameter=150 velocity=2000 length=900 />
234   <MovableEntity position="-870,350,-830" direction="0,0,1">
235       <attached>
236           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0,0,0.5" scale=1/>
237           <?lua for i=0,4,1 do ?>
238               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0,0,0.5" scale=1/>
239           <?lua end ?>
240       </attached>
241   </MovableEntity>
242
243<!-------------- 2 Side-Bars -------------->
244   <StaticEntity position="0,0,-1000" direction="0,0,0" collisionType=static mass=100000 >
245       <attached>
246           <Model position="0,0,0" mesh="CuboidBody.mesh" scale3D="20,405,20" pitch="0" roll="10" yaw="0"/>
247       </attached>
248       <collisionShapes>
249           <BoxCollisionShape position="0,0,0" halfExtents="20,400,20" pitch="0" roll="0" yaw="0"/>
250       </collisionShapes>
251   </StaticEntity>
252   <StaticEntity position="-1000,0,0" direction="0,0,0" collisionType=static mass=100000 >
253       <attached>
254           <Model position="0,0,0" mesh="CuboidBody.mesh" scale3D="20,405,20" pitch="7" roll="0" yaw="0"/>
255       </attached>
256       <collisionShapes>
257           <BoxCollisionShape position="0,0,0" halfExtents="20,400,20" pitch="0" roll="0" yaw="0"/>
258       </collisionShapes>
259   </StaticEntity>
260<!-- to solar panels -->
261   <ForceField position="-850,-300,-200" direction="1,0,2" diameter=150 velocity=2000 length=900 />
262   <MovableEntity position="-850,-300,-200" direction="1,0,2">
263       <attached>
264           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
265           <?lua for i=0,4,1 do ?>
266               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
267           <?lua end ?>
268       </attached>
269   </MovableEntity>
270<!-- along the bar -->
271   <ForceField position="-900,50,-100" direction="1,0,-1" diameter=150 velocity=2000 length=900 />
272   <MovableEntity position="-900,50,-100" direction="1,0,-1">
273       <attached>
274           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
275           <?lua for i=0,4,1 do ?>
276               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
277           <?lua end ?>
278       </attached>
279   </MovableEntity>
280
281<!-------------- 3 Solar Panels --------------->
282
283<?lua
284for i = 1, 3, 1
285do
286    x = i/4*1000
287    z = i/4*500
288?>
289   <StaticEntity position="<?lua print(-1000+x) ?>,-310,<?lua print(z) ?>" direction="0,0,0" collisionType=static mass=100000 >
290       <attached>
291           <Model position="0,0,0" mesh="SolarPanel.mesh" scale3D="60,80,30" pitch="0" roll="0" yaw="120"/>
292       </attached>
293       <collisionShapes>
294           <BoxCollisionShape position="0,300,0" halfExtents="155,460,3" pitch="0" roll="0" yaw="120"/>
295       </collisionShapes>
296   </StaticEntity>
297<?lua end ?>
298
299   <ForceField position="-600,100,400" direction="0,-1,-3" diameter=100 velocity=2000 length=900 />
300   <MovableEntity position="-600,100,400" direction="0,-1,-3">
301       <attached>
302           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
303           <?lua for i=0,4,1 do ?>
304               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
305           <?lua end ?>
306       </attached>
307   </MovableEntity>
308<!-- alternative stream -->
309   <ForceField position="-830,-100,830" direction="0,0,-1" diameter=100 velocity=2000 length=900 />
310   <MovableEntity position="-830,-100,830" direction="0,0,-1">
311       <attached>
312           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.5,0,0" scale=1/>
313           <?lua for i=0,4,1 do ?>
314               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.5,0,0" scale=1/>
315           <?lua end ?>
316       </attached>
317   </MovableEntity>
318<!-- alternative stream II -->
319   <ForceField position="-830,350,830" direction="1,0,0" diameter=100 velocity=2000 length=900 />
320   <MovableEntity position="-830,350,830" direction="1,0,0">
321       <attached>
322           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0,0,0.5" scale=1/>
323           <?lua for i=0,4,1 do ?>
324               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0,0,0.5" scale=1/>
325           <?lua end ?>
326       </attached>
327   </MovableEntity>
328<!-- along the panels -->
329   <ForceField position="-830,250,250" direction="3,0,2" diameter=100 velocity=2000 length=900 />
330   <MovableEntity position="-830,250,250" direction="3,0,2">
331       <attached>
332           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
333           <?lua for i=0,4,1 do ?>
334               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
335           <?lua end ?>
336       </attached>
337   </MovableEntity>
338
339<!-------------- Thin Gate -------------->
340
341   <StaticEntity position="500,0,-500" direction="1,0,-1" collisionType=static mass=100000 >
342       <attached>
343           <Model position="0,-1200,0" mesh="hs-w01.mesh" scale3D="300,400,900" pitch="90" roll="0" yaw="0"/>
344           <Model position="0,100,-80" scale=150 mesh="sphere.mesh" />
345       </attached>
346       <collisionShapes>
347           <BoxCollisionShape position="121,0,-80" halfExtents="18,400,18" />
348           <BoxCollisionShape position="-121,0,-80" halfExtents="18,400,18" />
349           <SphereCollisionShape position="0,100,-80" radius="150" />
350       </collisionShapes>
351   </StaticEntity>
352<!-- to thin gate middle -->
353   <ForceField position="550,350,-550" direction="-3.3,0,3" diameter=100 velocity=2000 length=900 />
354   <MovableEntity position="550,350,-550" direction="-3.3,0,3">
355       <attached>
356           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
357           <?lua for i=0,4,1 do ?>
358               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
359           <?lua end ?>
360       </attached>
361   </MovableEntity>
362<!-- across the field -->
363   <ForceField position="550,-350,-550" direction="-3,0,1" diameter=100 velocity=2000 length=900 />
364   <MovableEntity position="550,-350,-550" direction="-3,0,1">
365       <attached>
366           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=1/>
367           <?lua for i=0,4,1 do ?>
368               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/>
369           <?lua end ?>
370       </attached>
371   </MovableEntity>
372<!-- alternative stream -->
373   <ForceField position="830,-350,-830" direction="0,0,1" diameter=100 velocity=2000 length=900 />
374   <MovableEntity position="830,-350,-830" direction="0,0,1">
375       <attached>
376           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.5,0,0" scale=1/>
377           <?lua for i=0,4,1 do ?>
378               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.5,0,0" scale=1/>
379           <?lua end ?>
380       </attached>
381   </MovableEntity>
382<!-- alternative stream II -->
383   <ForceField position="830,350,-830" direction="-1,0,0" diameter=100 velocity=2000 length=900 />
384   <MovableEntity position="830,350,-830" direction="-1,0,0">
385       <attached>
386           <Billboard position="0,0,0" material="Flares/ringflare2" colour="0,0,0.5" scale=1/>
387           <?lua for i=0,4,1 do ?>
388               <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0,0,0.5" scale=1/>
389           <?lua end ?>
390       </attached>
391   </MovableEntity>
392
393<!---------------- Spawnpoints ------------------>
394    <TeamSpawnPoint team=0 position="845,350,-835" direction="-1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
395    <TeamSpawnPoint team=0 position="845,-350,-835" direction="0,0,1" spawnclass=SpaceShip pawndesign=spaceshipassff />
396    <TeamSpawnPoint team=0 position="835,350,-845" direction="-1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
397    <TeamSpawnPoint team=0 position="835,-350,-845" direction="0,0,1" spawnclass=SpaceShip pawndesign=spaceshipassff />
398
399    <TeamSpawnPoint team=1 position="-845,350,835" direction="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
400    <TeamSpawnPoint team=1 position="-845,-100,835" direction="0,0,-1" spawnclass=SpaceShip pawndesign=spaceshipassff />
401    <TeamSpawnPoint team=1 position="-835,350,845" direction="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
402    <TeamSpawnPoint team=1 position="-835,-100,845" direction="0,0,-1" spawnclass=SpaceShip pawndesign=spaceshipassff />
403
404    <TeamSpawnPoint team=2 position="-870,350,-835" direction="0,0,1" spawnclass=SpaceShip pawndesign=spaceshipassff />
405    <TeamSpawnPoint team=2 position="-840,-350,-835" direction="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
406    <TeamSpawnPoint team=2 position="-865,350,-840" direction="0,0,1" spawnclass=SpaceShip pawndesign=spaceshipassff />
407    <TeamSpawnPoint team=2 position="-835,-350,-840" direction="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
408
409    <TeamSpawnPoint team=3 position="835,350,845" direction="0,0,-1" spawnclass=SpaceShip pawndesign=spaceshipassff />
410    <TeamSpawnPoint team=3 position="835,-300,845" direction="-1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
411    <TeamSpawnPoint team=3 position="845,350,835" direction="0,0,-1" spawnclass=SpaceShip pawndesign=spaceshipassff />
412    <TeamSpawnPoint team=3 position="845,-300,835" direction="-1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
413<Bot />
414
415  </Scene>
416</Level>
417
Note: See TracBrowser for help on using the repository browser.