1 | <!-- --> |
---|
2 | <LevelInfo |
---|
3 | name = "FPS Level HS14" |
---|
4 | description = "Entering a Space Station & finde a way through it." |
---|
5 | tags = "test" |
---|
6 | screenshot = "emptylevel.png" |
---|
7 | /> |
---|
8 | |
---|
9 | <?lua |
---|
10 | include("stats.oxo") |
---|
11 | include("HUDTemplates3.oxo") |
---|
12 | include("templates/lodInformation.oxt") |
---|
13 | include("templates/pickupRepresentationTemplates.oxt") |
---|
14 | ?> |
---|
15 | |
---|
16 | <?lua |
---|
17 | include("templates/spaceshipAssff.oxt") |
---|
18 | include("templates/spaceshipPirate.oxt") |
---|
19 | include("templates/spaceshipEscort.oxt") |
---|
20 | include("templates/bigship.oxt") |
---|
21 | include("templates/spaceshipTurret.oxt") |
---|
22 | include("templates/spaceshipCollateralDamage.oxt") |
---|
23 | include("templates/FPS.oxt") |
---|
24 | include("templates/HeavyCruiser.oxt") |
---|
25 | ?> |
---|
26 | |
---|
27 | <Level |
---|
28 | gametype = Deathmatch |
---|
29 | > |
---|
30 | <templates> |
---|
31 | <Template link=lodtemplate_default /> |
---|
32 | </templates> |
---|
33 | |
---|
34 | <Scene |
---|
35 | ambientlight = "0.5, 0.5, 0.5" |
---|
36 | skybox = "Orxonox/skyBoxMoreNebula" |
---|
37 | negativeWorldRange = "-100000, -100000, -100000" |
---|
38 | positiveWorldRange = " 100000, 100000, 100000" |
---|
39 | gravity = "0,0,0" |
---|
40 | hasPhysics = true |
---|
41 | > |
---|
42 | |
---|
43 | <?lua |
---|
44 | include("includes/pickups.oxi") |
---|
45 | ?> |
---|
46 | |
---|
47 | <!-- my ships --> |
---|
48 | |
---|
49 | <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0,1.0,1.0,0.5" specular="1.0, 0.9, 0.9, 1.0"/> |
---|
50 | |
---|
51 | <SpawnPoint team=1 position="3000,0,0" lookat="4000,-1000,-1000" spawnclass=SpaceShip pawndesign=spaceshipescort /> |
---|
52 | <!--6000,2000,500--> |
---|
53 | |
---|
54 | <SpaceShip |
---|
55 | template = "spaceshipassff" |
---|
56 | team = "1" |
---|
57 | position = "2830,20,50" |
---|
58 | orientation = "1,200,0,0" |
---|
59 | health = "200" |
---|
60 | initialhealth = "200" |
---|
61 | maxhealth = "200" |
---|
62 | shieldhealth = "50" |
---|
63 | initialshieldhealth = "50" |
---|
64 | maxshieldhealth = "50" |
---|
65 | shieldabsorption = "0.8" |
---|
66 | reloadrate = "1" |
---|
67 | reloadwaittime = "1" |
---|
68 | name = "Tanis1" |
---|
69 | radarname = "Light-Destroyer" > |
---|
70 | <attached> |
---|
71 | <DockingTarget name="spaceShip" /> |
---|
72 | <DistanceTriggerBeacon name="bcnSpaceShip" /> |
---|
73 | </attached> |
---|
74 | </SpaceShip> |
---|
75 | |
---|
76 | |
---|
77 | |
---|
78 | <StaticEntity position = "2800,0,0" mass=10000 collisionType=static > |
---|
79 | <attached> |
---|
80 | <Model mesh="HydroHarvester.mesh" mass=10 position="0,0,0" scale=50 /> |
---|
81 | </attached> |
---|
82 | <collisionShapes> |
---|
83 | <BoxCollisionShape position="-560,0,0" halfExtents="115,100,245" /><!-- Three lower boxes --> |
---|
84 | <BoxCollisionShape position="290,0,-480" halfExtents="115,100,245" yaw=-120 /> |
---|
85 | <BoxCollisionShape position="290,0,480" halfExtents="115,100,245" yaw=-240 /> |
---|
86 | <BoxCollisionShape position="-280,0,0" halfExtents="163,50,50" /><!-- Three lower connections --> |
---|
87 | <BoxCollisionShape position="140,0,-240" halfExtents="163,50,50" yaw=-120 /> |
---|
88 | <BoxCollisionShape position="140,0,240" halfExtents="163,50,50" yaw=-240 /> |
---|
89 | <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" /><!-- Upper Tower --> |
---|
90 | <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" yaw=-120 /> |
---|
91 | <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" yaw=-240 /> |
---|
92 | <BoxCollisionShape position="0,400,0" halfExtents="43,110,26" yaw=-30 /><!-- Middle one--> |
---|
93 | <BoxCollisionShape position="-200,100,0" halfExtents="26,50,43" /><!--Three lower legs --> |
---|
94 | <BoxCollisionShape position="100,100,-173" halfExtents="43,50,26" yaw=-30 /> |
---|
95 | <BoxCollisionShape position="100,100,-173" halfExtents="43,50,26" yaw=30 /> |
---|
96 | <BoxCollisionShape position="-100,264,0" halfExtents="26,105,43" roll=-49 /><!--Three upper legs --> |
---|
97 | <BoxCollisionShape position="50,264,-87" halfExtents="26,105,43" roll=-49 yaw=-120 /> |
---|
98 | <BoxCollisionShape position="50,264,87" halfExtents="26,105,43" roll=-49 yaw=-240 /> |
---|
99 | </collisionShapes> |
---|
100 | </StaticEntity> |
---|
101 | |
---|
102 | <!-- Docking --> |
---|
103 | <Dock position="2830,20,50" roll=0 yaw=0 > |
---|
104 | <animations> |
---|
105 | <MoveToDockingTarget target="fistperson" /> |
---|
106 | </animations> |
---|
107 | <effects> |
---|
108 | <DockToShip target="fistperson" /> |
---|
109 | </effects> |
---|
110 | <events> |
---|
111 | <execute> |
---|
112 | <EventListener event="dockMe" /> |
---|
113 | </execute> |
---|
114 | |
---|
115 | <undocking> |
---|
116 | <EventListener event="undockMe" /> |
---|
117 | </undocking> |
---|
118 | |
---|
119 | </events> |
---|
120 | <attached> |
---|
121 | <!-- Trigger for docking with billboard --> |
---|
122 | <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.2,0.4,0.8" scale=1 /> |
---|
123 | <DistanceTrigger position="0,0,0" distance="200" target="Pawn" |
---|
124 | beaconMode="exclude" targetname="bcnDestroyer" name="dockMe" |
---|
125 | /> |
---|
126 | <!-- Trigger for undocking with billboard --> |
---|
127 | <Billboard position="-2800,-20055,-700" material="Flares/ringflare2" colour="0.2,0.4,0.8" scale=1 /> |
---|
128 | <DistanceTrigger position="-2800,-20055,-700" distance="150" target="Pawn" |
---|
129 | beaconMode="identify" targetname="bcnDestroyer" name="undockMe" |
---|
130 | /> |
---|
131 | </attached> |
---|
132 | |
---|
133 | </Dock> |
---|
134 | |
---|
135 | <!-- FPS Player as destination of the dock --> |
---|
136 | <FpsPlayer template = "fps" radarname = "First Person Player" position = "172,-20000,-676" > |
---|
137 | <attached> |
---|
138 | <DistanceTriggerBeacon name="bcnDestroyer" /> |
---|
139 | <DockingTarget name="fistperson" /> |
---|
140 | </attached> |
---|
141 | </FpsPlayer> |
---|
142 | |
---|
143 | |
---|
144 | |
---|
145 | |
---|
146 | <!-- Docking II --> |
---|
147 | <Dock position="-840,-20055,1.8" roll=0 yaw=0 > |
---|
148 | <animations> |
---|
149 | <MoveToDockingTarget target="spaceShip" /> |
---|
150 | </animations> |
---|
151 | <effects> |
---|
152 | <DockToShip target="spaceShip" /> |
---|
153 | </effects> |
---|
154 | <events> |
---|
155 | <execute> |
---|
156 | <EventListener event="dockMe" /> |
---|
157 | </execute> |
---|
158 | |
---|
159 | <undocking> |
---|
160 | <EventListener event="undockMe" /> |
---|
161 | </undocking> |
---|
162 | |
---|
163 | </events> |
---|
164 | <attached> |
---|
165 | |
---|
166 | <!-- Trigger for docking with billboard --> |
---|
167 | <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.3,0.4,0.5" scale=1 /> |
---|
168 | <DistanceTrigger position="0,0,0" distance="200" target="Pawn" |
---|
169 | beaconMode="exclude" targetname="bcnSpaceShip" name="dockMe" |
---|
170 | /> |
---|
171 | <!-- Trigger for undocking with billboard --> |
---|
172 | <Billboard position="4140,20055,-295" material="Flares/ringflare2" colour="0.3,0.4,0.5" scale=1 /> |
---|
173 | <DistanceTrigger position="4140,20055,-295" distance="300" target="Pawn" |
---|
174 | beaconMode="identify" targetname="bcnSpaceShip" name="undockMe" |
---|
175 | /> |
---|
176 | </attached> |
---|
177 | |
---|
178 | </Dock> |
---|
179 | |
---|
180 | <!-- Enemy ships --> |
---|
181 | |
---|
182 | <SpaceShip |
---|
183 | template = "HeavyCruiser" |
---|
184 | team = "0" |
---|
185 | position = "5800,-200,-1200" |
---|
186 | orientation = "1,200,0,0" |
---|
187 | health = "2000" |
---|
188 | initialhealth = "2000" |
---|
189 | maxhealth = "2000" |
---|
190 | shieldhealth = "200" |
---|
191 | initialshieldhealth = "200" |
---|
192 | maxshieldhealth = "200" |
---|
193 | shieldabsorption = "0.8" |
---|
194 | reloadrate = "1" |
---|
195 | reloadwaittime = "1" |
---|
196 | name = "Tanis1" |
---|
197 | radarname = "Tanis Cruiser" > |
---|
198 | </SpaceShip> |
---|
199 | |
---|
200 | |
---|
201 | <!-- <SpaceShip |
---|
202 | template = "spaceshippirate" |
---|
203 | team = "0" |
---|
204 | position = "4800,-200,-1200" |
---|
205 | orientation = "1,200,0,0" |
---|
206 | health = "200" |
---|
207 | initialhealth = "200" |
---|
208 | maxhealth = "200" |
---|
209 | shieldhealth = "50" |
---|
210 | initialshieldhealth = "50" |
---|
211 | maxshieldhealth = "50" |
---|
212 | shieldabsorption = "0.8" |
---|
213 | reloadrate = "1" |
---|
214 | reloadwaittime = "1" |
---|
215 | name = "Tanis1" |
---|
216 | radarname = "Pirate1" > |
---|
217 | |
---|
218 | <controller> |
---|
219 | <AIController team=0/> |
---|
220 | </controller> |
---|
221 | |
---|
222 | </SpaceShip> |
---|
223 | |
---|
224 | <SpaceShip |
---|
225 | template = "spaceshippirate" |
---|
226 | team = "0" |
---|
227 | position = "4800,-220,-1200" |
---|
228 | orientation = "1,200,0,0" |
---|
229 | health = "200" |
---|
230 | initialhealth = "200" |
---|
231 | maxhealth = "200" |
---|
232 | shieldhealth = "50" |
---|
233 | initialshieldhealth = "50" |
---|
234 | maxshieldhealth = "50" |
---|
235 | shieldabsorption = "0.8" |
---|
236 | reloadrate = "1" |
---|
237 | reloadwaittime = "1" |
---|
238 | name = "Tanis1" |
---|
239 | radarname = "Pirate2" > |
---|
240 | |
---|
241 | <controller> |
---|
242 | <AIController team=0/> |
---|
243 | </controller> |
---|
244 | |
---|
245 | </SpaceShip> |
---|
246 | --> |
---|
247 | |
---|
248 | <!-- SpaceStation |
---|
249 | |
---|
250 | The station can either be hidden outside of the skybox, within the hull of the space station if it is big enough or within a planet. |
---|
251 | Complex spacestations can be placed very far away from the spaceship so it is rendered at low resolution while the player uses the space ship. |
---|
252 | |
---|
253 | --> |
---|
254 | <StaticEntity position="2800,-500,0" direction="0,-1,0" collisionType=static mass=100000 friction=0.01 pitch=-90> |
---|
255 | <attached> |
---|
256 | |
---|
257 | <Model position="0,0,0" mesh="cube.mesh" scale3D="50,50,50" /> |
---|
258 | |
---|
259 | </attached> |
---|
260 | </StaticEntity> |
---|
261 | |
---|
262 | <Model position="0,0,0" mesh="cube.mesh" scale3D="10000,10,10" /> |
---|
263 | <Model position="0,0,0" mesh="cube.mesh" scale3D="10,10000,10" /> |
---|
264 | <Model position="0,0,0" mesh="cube.mesh" scale3D="10,10,10000" /> |
---|
265 | |
---|
266 | |
---|
267 | <StaticEntity position="0,-20000,0" direction="0,-1,0" collisionType=static mass=100000 friction=0.01 pitch=-90> |
---|
268 | <attached> |
---|
269 | <Model position="0,0,0" mesh="ss_tube.mesh" scale3D="100,100,100" /> |
---|
270 | <Model position="500,0,0" mesh="ss_tube.mesh" scale3D="100,100,100" /> |
---|
271 | <Model position="1200,0,0" mesh="ss_tube_x.mesh" scale3D="100,100,100" /> |
---|
272 | <Model position="1900,0,0" mesh="ss_curve.mesh" scale3D="100,100,100" /> |
---|
273 | <Model position="1200,0,703.5" mesh="ss_curve.mesh" scale3D="100,100,100" /> |
---|
274 | <Model position="1805.0,0,-800" mesh="ss_curve.mesh" scale3D="100,100,100" yaw=90 /> |
---|
275 | <Model position="1010.0,0,-700.0" mesh="ss_curve.mesh" scale3D="100,100,100" yaw=-180 /> |
---|
276 | |
---|
277 | |
---|
278 | <Model position="750,-16,703.5" pitch=-90 mesh="ss_flag_room.mesh" scale3D="100,100,100" /> |
---|
279 | <Model position="-250,-16,0" pitch=-90 mesh="ss_flag_room.mesh" scale3D="100,100,100" /> |
---|
280 | <Model position="1200,100,-100" roll=180 mesh="ss_machine.mesh" scale3D="0.15,0.15,0.15" /> |
---|
281 | <Model position="-100,100,0" roll=180 mesh="ss_table.mesh" scale3D="25,25,25" /> |
---|
282 | <Model position="-300,100,0" roll=180 mesh="ss_table_cracked.mesh" scale3D="25,25,25" /> |
---|
283 | <Model position="600,75,0" roll=180 mesh="ss_cylinder.mesh" scale3D="25,25,25" /> |
---|
284 | <Model position="300,50,0" roll=180 pitch=20 mesh="ss_chair.mesh" scale3D="20,20,20" /> |
---|
285 | <Model position="1000,50,0" roll=180 mesh="ss_wall.mesh" scale3D="20,20,20" /> |
---|
286 | <Model position="-830,20,0" roll=180 mesh="ss_flag_aean.mesh" scale3D="40,40,40" /> |
---|
287 | |
---|
288 | <!--Model mesh="cube.mesh" mass=10 position="0,-100,0" scale3D="5000,0.5,1000" yaw=0 /> |
---|
289 | <Model mesh="cube.mesh" mass=10 position="0,100,0" scale3D="2000,0.5,1000" yaw=0 /> |
---|
290 | <!--Model mesh="cube.mesh" mass=10 position="0,0,100" scale3D="5000,100,0.5" yaw=0 /> |
---|
291 | <Model mesh="cube.mesh" mass=10 position="0,0,-100" scale3D="5000,100,0.5" yaw=0 /--> |
---|
292 | </attached> |
---|
293 | <collisionShapes> |
---|
294 | <!--BoxCollisionShape position="0,-100,0" halfExtents="5000,0,100" /--> |
---|
295 | <BoxCollisionShape position="0,100,0" halfExtents="2000,0,1000" /> |
---|
296 | <!--BoxCollisionShape position="0,0,100" halfExtents="5000,100,0" /> |
---|
297 | <BoxCollisionShape position="0,0,-100" halfExtents="5000,100,0" /--> |
---|
298 | </collisionShapes> |
---|
299 | </StaticEntity> |
---|
300 | |
---|
301 | <!-- |
---|
302 | |
---|
303 | --> |
---|
304 | |
---|
305 | |
---|
306 | <!--Model position="2820,-20,-160" yaw="90" pitch="-90" roll="0" scale="10" mesh="ss_tube.mesh" /> |
---|
307 | <Model position="2820,-20,-210" yaw="90" pitch="-90" roll="0" scale="10" mesh="ss_tube.mesh" /> |
---|
308 | <Model position="2820,-20,-280" yaw="90" pitch="-90" roll="0" scale="10" mesh="ss_curve.mesh" /> |
---|
309 | <Model position="2820,-100,-270.5" yaw="0" pitch="180" roll="90" scale="10" mesh="ss_curve.mesh" /--> |
---|
310 | |
---|
311 | |
---|
312 | <!-- Homogenous gravitationfield to simulate local gravity (activating the normal gravity will affect the spaceship terribly) --> |
---|
313 | <ForceField position="0,-20000,0" mode="homogen" diameter="3000" forcedirection = "0,-500,0" /> |
---|
314 | |
---|
315 | |
---|
316 | |
---|
317 | |
---|
318 | |
---|
319 | <!-- Some more stuff --> |
---|
320 | |
---|
321 | <!-- triple large belt around the planet --> |
---|
322 | <?lua |
---|
323 | dofile("includes/asteroidField.lua") |
---|
324 | asteroidBelt(0, -19900, 0, 30, 0, 30, 30, 50, 7190, 7800, 250, 1) |
---|
325 | ?> |
---|
326 | <?lua |
---|
327 | dofile("includes/asteroidField.lua") |
---|
328 | asteroidBelt(0, -19900, 0, 30, 0, 30, 30, 50, 10000, 11000, 300, 1) |
---|
329 | ?> |
---|
330 | <?lua |
---|
331 | dofile("includes/asteroidField.lua") |
---|
332 | asteroidBelt(0, -19900, 0, 30, 0, 30, 30, 50, 14000, 15000, 350, 1) |
---|
333 | ?> |
---|
334 | |
---|
335 | <Model position="0,-19900,0" mesh="planets/ganymede.mesh" scale="5000" /> |
---|
336 | |
---|
337 | |
---|
338 | |
---|
339 | </Scene> |
---|
340 | |
---|
341 | </Level> |
---|
342 | |
---|