Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/trunk/levels/sp_level_moonstation.oxw @ 4871

Last change on this file since 4871 was 4867, checked in by vkaenemi, 17 years ago

added subground level, intro script explosion, questfix, vis, levelswitch

File size: 14.8 KB
Line 
1<WorldDataFile>
2        <name>Moon Station</name>
3        <description>The central moonstation, where the player will 'land'.</description>
4        <screenshoot>textures/menu/moonstation_512x512.jpg</screenshoot>
5
6        <LoadScreen>
7                <BackgroundImage>textures/load_screens/ambush.png</BackgroundImage>
8                <ElementCount>16</ElementCount>
9                <BackgroundPS>0,0,1.0,1</BackgroundPS>
10                <BarPS>.65,.87,.3,.05</BarPS>
11                <BarImage>textures/load_screens/ambush-loadbar.png</BarImage>
12        </LoadScreen>
13       
14        <clip-region>1, 100000</clip-region>
15       
16        <WorldEntities>
17        <ModelEntity>
18                <name>surface</name>
19                <abs-coor>-250, 100, -100</abs-coor>
20                <abs-dir>1.57, 0, 1, 0</abs-dir>
21                <model>models/decoration/moonsurface_1730.obj, 3000</model>
22        </ModelEntity>
23               
24        <Planet>
25                <name>Earth</name>
26                <texture>textures/planets/earth_no_clouds.jpg</texture>
27                <size>250</size>
28                <abs-coor>-1685.414917, 1228.985352, 1216.223511</abs-coor>
29                <abs-dir>3.1412, 0,0,1</abs-dir>
30        </Planet>
31
32        <BspEntity>
33                <Name>levels/maps/moonstation/moonstation.bsp</Name>
34        </BspEntity>
35       
36        <SkyBox>
37                <name>Sky</name>
38                <Materialset>textures/sky/simple_space</Materialset>
39                <Size>5692</Size>
40        </SkyBox>
41       
42        <FPSPlayer>
43                <name>Player</name>
44                <model>models/creatures/doom_male/male.md2, 9</model>
45                <abs-coor>630,21,-20</abs-coor>
46                <!-- <abs-coor>208.740707, -781.369263, -268.533173</abs-coor> underground -->
47        </FPSPlayer>
48       
49        <Spectator>
50                <name>Ghost</name>
51                <allowGhost>1</allowGhost>
52        </Spectator>
53       
54       
55<!-- Bridge ------------------------------------------------------------------------ -->
56        <Planet>
57                <name>Earth</name>
58                <texture>textures/planets/earth_no_clouds.jpg</texture>
59                <size>50</size>
60                <abs-coor>458.725555, 505.465271, -164.975540</abs-coor>
61                <abs-dir>3.1412, 0,0,1</abs-dir>
62                <planet-rotation-speed>-0.3</planet-rotation-speed>
63                <planet-rotation-axis>0,1,0</planet-rotation-axis>
64        </Planet>
65       
66        <Planet>
67                <name>Moon</name>
68                <texture>textures/planets/pluto.png</texture>
69                <size>10</size>
70                <abs-coor>543.408203, 505.465271, -158.724747</abs-coor>
71                <abs-dir>3.1412, 0,0,0</abs-dir>
72        </Planet>
73       
74        <Building>
75                <name>zhara</name>
76                <model>models/space_stations/ZHARA_Space_Station.obj, 1</model>
77                <mountpoints>models/space_stations/ZHARA_Space_Station.oif</mountpoints>
78                <abs-coor>500.981537, 507.057343, -179.489685</abs-coor>
79                <abs-dir>3.1412, 0,1,0</abs-dir>
80        </Building>
81
82<!-- Air cleaning/lager room ------------------------------------------------ -->
83        <Mover>
84                <name>door_aircleaning</name>
85                <model>models/doors/door_small_b.obj, 6.7</model><!-- modelpath, size -->
86                <abs-dir>3.141, 0, 1, 0</abs-dir><!-- Pi,,Y-Axis-Rotation, -->
87                <abs-coor>120, 160, 320</abs-coor>
88                <rel-target-coor>0, 0, -45</rel-target-coor>
89                <action-time>0.6</action-time>
90                <action-radius>50.0</action-radius>
91                <opening-sound>sounds/doors/door_opening2.wav</opening-sound>
92                <closing-sound>sounds/doors/door_opening2.wav</closing-sound>
93        </Mover>
94               
95        <Mover>
96                <name>door_lager</name>
97                <model>models/doors/door_blue_big.obj, 19</model><!-- modelpath, size -->
98                <abs-dir>1.57, 0, 1, 0</abs-dir><!-- Pi,,Y-Axis-Rotation, -->
99                <abs-coor>-65, 128, -161.1</abs-coor>
100                <rel-target-coor>0, 92.5, 0</rel-target-coor>
101                <action-time>1.2</action-time>
102                <action-radius>130</action-radius>
103                <opening-sound>sounds/doors/door_opening2.wav</opening-sound>
104                <closing-sound>sounds/doors/door_opening2.wav</closing-sound>
105                <closed-sound>sounds/doors/door_closed2.wav</closed-sound>
106        </Mover>               
107               
108        <Rotor>
109                <name>rotor_aircleaning</name>
110                <model>models/decoration/rotor1_hack.obj, 5</model>
111                <abs-coor>52,167,241</abs-coor>
112                <abs-dir>0, 0, 0, 0</abs-dir>
113                <rotation>8,0,0</rotation>
114        </Rotor>
115        <Rotor>
116                <name>rotor_aircleaning</name>
117                <model>models/decoration/rotor1_hack.obj, 5</model>
118                <abs-coor>28,167,241</abs-coor>
119                <abs-dir>0, 0, 0, 0</abs-dir>
120                <rotation>8,0,0</rotation>
121        </Rotor>
122        <Rotor>
123                <name>rotor_aircleaning</name>
124                <model>models/decoration/rotor1_hack.obj, 5</model>
125                <abs-coor>4,167,241</abs-coor>
126                <abs-dir>0, 0, 0, 0</abs-dir>
127                <rotation>8,0,0</rotation>
128        </Rotor>
129        <Rotor>
130                <name>rotor_aircleaning</name>
131                <model>models/decoration/rotor1_hack.obj, 5</model>
132                <abs-coor>-20,167,241</abs-coor>
133                <abs-dir>0, 0, 0, 0</abs-dir>
134                <rotation>8,0,0</rotation>
135        </Rotor>
136               
137<!-- Main hall ------------------------------------------------------------ -->
138        <SpriteParticles>
139                <name>str3</name>
140                <type>sprite</type>
141                <texture>steam01.png</texture>
142                <max-count>50</max-count>
143                <life-span>4, 6</life-span>
144                <radius>0.0, 15.0, 20.0</radius>
145                <radius>0.2, 20.0, 25.0</radius>
146                <radius>1.0, 25.0, 30.0</radius>
147                <mass>1.0, 0.3, .2</mass>
148                <color>0,1, 1, 1,.5</color>
149                <color>.5, .6, .6, .6, .2</color>
150                <color>1, .0, .0, .0, .0</color>
151                <precache>5</precache>
152                <emitters>
153                        <PlaneEmitter>
154                                <name>SteamEmitter</name>
155                                <rel-coor>-4.005549, 251.321747, -11.710030</rel-coor>
156                                <rel-dir>0.927172, -0.003523, -0.374517, 0.008722</rel-dir>
157                                <spread>0.0, 1</spread>
158                                <emission-velocity>20, 30</emission-velocity>
159                                <size>8, 15</size>
160                                <rate>7</rate>
161                        </PlaneEmitter>
162                </emitters>
163        </SpriteParticles>
164               
165        <SpriteParticles>
166                <name>Big one hall</name>
167                <type>sprite</type>
168                <texture>steam01.png</texture>
169                <max-count>50</max-count>
170                <life-span>10, 2</life-span>
171                <radius>0.0, 100, 100</radius>
172                <radius>0.2, 100, 100</radius>
173                <radius>1.0, 100, 100</radius>
174                <mass>1.0, 0.5, .3</mass>
175                <color>0,1, 1, 1,.5</color>
176                <color>.5, .6, .6, .6, .2</color>
177                <color>1, .0, .0, .0, .0</color>
178                <precache>5</precache>
179                <emitters>
180                        <PlaneEmitter>
181                                <name>SteamEmitter</name>
182                                <rel-coor>93.780792, -35.366524, 18.198116</rel-coor>
183                                <rel-dir>3.1412, 0, 0, 1</rel-dir>
184                                <spread>0, 1.0</spread>
185                                <emission-velocity>-50,50</emission-velocity>
186                                <size>100, 110</size>
187                                <rate>2</rate>
188                        </PlaneEmitter>
189                </emitters>
190        </SpriteParticles>
191       
192<!-- Destroyed room ------------------------------------------------------- -->
193        <ModelEntity>
194                <name>destroyed fighter</name>
195                <abs-coor>540, 30, -100</abs-coor><!--Orx: koo Y,Z,X -->
196                <abs-dir>2.3, 0.9, -2.5, -0.5</abs-dir>
197                <model>models/spaceships/human_spaceship_fighter.obj, 8.5</model>
198        </ModelEntity>
199               
200        <SpriteParticles>
201                <name>str1</name>
202                <type>sprite</type>
203                <texture>steam01.png</texture>
204                <max-count>50</max-count>
205                <life-span>4, 6</life-span>
206                <radius>0.0, 15.0, 20.0</radius>
207                <radius>0.2, 20.0, 25.0</radius>
208                <radius>1.0, 25.0, 30.0</radius>
209                <mass>1.0, 0.3, .2</mass>
210                <color>0,1, 1, 1,.5</color>
211                <color>.5, .6, .6, .6, .2</color>
212                <color>1, .0, .0, .0, .0</color>
213                <precache>5</precache>
214                <emitters>
215                        <PlaneEmitter>
216                                <name>SteamEmitter</name>
217                                <rel-coor>727, 93, -111</rel-coor>
218                                <rel-dir>3.1412, 0, 0, 1</rel-dir>
219                                <spread>0.0, 1</spread>
220                                <emission-velocity>10, 30</emission-velocity>
221                                <size>8, 15</size>
222                                <rate>7</rate>
223                        </PlaneEmitter>
224                </emitters>
225        </SpriteParticles>
226               
227        <SpriteParticles>
228                <name>str2</name>
229                <type>sprite</type>
230                <texture>steam01.png</texture>
231                <max-count>50</max-count>
232                <life-span>4, 6</life-span>
233                <radius>0.0, 15.0, 20.0</radius>
234                <radius>0.2, 20.0, 25.0</radius>
235                <radius>1.0, 25.0, 30.0</radius>
236                <mass>1.0, 0.3, .2</mass>
237                <color>0,1, 1, 1,.5</color>
238                <color>.5, .6, .6, .6, .2</color>
239                <color>1, .0, .0, .0, .0</color>
240                <precache>5</precache>
241                <emitters>
242                        <PlaneEmitter>
243                                <name>SteamEmitter</name>
244                                <rel-coor>772, 160, -87.5</rel-coor>
245                                <rel-dir>3.1412, 0, 0, 1</rel-dir>
246                                <spread>0.0, 1</spread>
247                                <emission-velocity>10, 30</emission-velocity>
248                                <size>8, 15</size>
249                                <rate>7</rate>
250                        </PlaneEmitter>
251                </emitters>
252        </SpriteParticles>
253               
254        <SpriteParticles>
255                <name>Big one</name>
256                <type>sprite</type>
257                <texture>steam01.png</texture>
258                <max-count>50</max-count>
259                <life-span>10, 2</life-span>
260                <radius>0.0, 100, 100</radius>
261                <radius>0.2, 100, 100</radius>
262                <radius>1.0, 100, 100</radius>
263                <mass>1.0, 0.5, .3</mass>
264                <color>0,1, 1, 1,.5</color>
265                <color>.5, .6, .6, .6, .2</color>
266                <color>1, .0, .0, .0, .0</color>
267                <precache>5</precache>
268                <emitters>
269                        <PlaneEmitter>
270                                <name>SteamEmitter</name>
271                                <rel-coor>616, -50, -196</rel-coor>
272                                <rel-dir>3.1412, 0, 0, 1</rel-dir>
273                                <spread>0, 1.0</spread>
274                                <emission-velocity>-50,50</emission-velocity>
275                                <size>120, 150</size>
276                                <rate>6</rate>
277                        </PlaneEmitter>
278                </emitters>
279        </SpriteParticles>
280
281<!-- sleeping room ------------------------------------------------------ -->
282       
283        <Mover>
284                <name>door_sleepingroom_l</name>
285                <model>models/doors/door_small_b.obj, 6.2</model><!-- modelpath, size -->
286                <abs-dir>1.57, 0, 1, 0</abs-dir><!-- Pi,,Y-Axis-Rotation, -->
287                <abs-coor>405.5, 160, 175</abs-coor>
288                <rel-target-coor>31, 0, 0</rel-target-coor>
289                <action-time>0.6</action-time>
290                <action-radius>50.0</action-radius>
291                <opening-sound>sounds/doors/door_opening2.wav</opening-sound>
292                <closing-sound>sounds/doors/door_opening2.wav</closing-sound>
293                <!--<closed-sound>sounds/doors/door_closed2.wav</closed-sound>-->
294        </Mover>
295        <Mover>
296                <name>door_sleepingroom_r</name>
297                <model>models/doors/door_small_b.obj, 6.2</model><!-- modelpath, size -->
298                <abs-dir>1.57, 0, -1, 0</abs-dir><!-- Pi,,Y-Axis-Rotation, -->
299                <abs-coor>362, 160, 175</abs-coor>
300                <rel-target-coor>-31, 0, 0</rel-target-coor>
301                <action-time>0.6</action-time>
302                <action-radius>50.0</action-radius>
303        </Mover>
304       
305        <SpriteParticles>
306                <name>Steam in sleeping room</name>
307                <type>sprite</type>
308                <texture>steam01.png</texture>
309                <max-count>50</max-count>
310                <life-span>2, 5</life-span>
311                <radius>0.0, 15.0, 20.0</radius>
312                <radius>0.2, 20.0, 25.0</radius>
313                <radius>1.0, 25.0, 30.0</radius>
314                <mass>1.0, 0.3, .2</mass>
315                <color>0,1, 1, 1,.5</color>
316                <color>.5, .6, .6, .6, .2</color>
317                <color>1, .0, .0, .0, .0</color>
318                <precache>5</precache>
319                <emitters>
320                        <PlaneEmitter>
321                                <name>SteamEmitter</name>
322                                <rel-coor>382, 210, 255</rel-coor>
323                                <rel-dir>3.1412, 0, 0, 1</rel-dir>
324                                <spread>0.0, 1</spread>
325                                <emission-velocity>10, 30</emission-velocity>
326                                <size>8, 15</size>
327                                <rate>7</rate>
328                        </PlaneEmitter>
329                </emitters>
330        </SpriteParticles>
331
332        <SpriteParticles>
333                <name>Stream Air Cleaning</name>
334                <type>sprite</type>
335                <texture>steam01.png</texture>
336                <max-count>50</max-count>
337                <life-span>10, 0</life-span>
338                <radius>0.0, 15.0, 2</radius>
339                <radius>0.2, 20.0, 5</radius>
340                <radius>1.0, 25.0, 7</radius>
341                <mass>1.0, 0.3, .2</mass>
342                <color>0,0, 1, 0,.5</color>
343                <color>.5, 0, .6, 0, .2</color>
344                <color>1, .0, .0, .0, .0</color>
345                <precache>0</precache>
346                <emitters>
347                        <PlaneEmitter>
348                                <name>SteamEmitter</name>
349                                <rel-coor>85, 168, 243</rel-coor>
350                                <rel-dir>1.57, 0, 0, 1</rel-dir>
351                                <spread>0.0, 0</spread>
352                                <emission-velocity>20, 2</emission-velocity>
353                                <size>10, 14</size>
354                                <rate>7</rate>
355                        </PlaneEmitter>
356                </emitters>
357                </SpriteParticles>
358
359<!-- Underground                        ######################################################################## -->
360        <Mover>
361                <name>door_elevator</name>
362                <model>models/doors/door_small_b.obj, 10</model><!-- modelpath, size -->
363                <abs-dir>1.57, 0, 1, 0</abs-dir><!-- Pi,,Y-Axis-Rotation, -->
364                <abs-coor>210, -810, -454</abs-coor>
365                <rel-target-coor>60, 0, 0</rel-target-coor>
366                <action-time>0.6</action-time>
367                <action-radius>50.0</action-radius>
368                <opening-sound>sounds/doors/door_opening2.wav</opening-sound>
369                <closing-sound>sounds/doors/door_opening2.wav</closing-sound>
370                <!--<closed-sound>sounds/doors/door_closed2.wav</closed-sound>-->
371        </Mover>
372               
373<!-- Cutscenes/Quests ######################################################################## -->
374
375        <NPC>
376                <name>IntroSpaceship</name>
377                <model>models/spaceships/human_spaceship_fighter.obj,9</model>
378                <mountpoints>models/spaceships/human_spaceship_fighter.oif</mountpoints>
379                <Track>
380                        <mode>1</mode>
381                        <speed>600</speed>
382                        <addPoint>4000, 866, -284</addPoint>
383                        <addPoint>1840, 866, -284</addPoint>
384                        <addPoint>1302, 524, -217</addPoint>
385                        <addPoint>760, 127, -137</addPoint>
386                        <addPoint>-25, -360, -99</addPoint>
387                        <addPoint>-100, -400, -110</addPoint><!-- hide position -->
388                        <addPoint>-120, -410, -113</addPoint>
389                </Track>
390        </NPC>
391       
392        <NPC> <!-- triggerable door hack -->
393                <name>triggeredDoor</name>
394                <model>models/doors/door_blue_big.obj, 19</model><!-- modelpath, size -->
395                <abs-coor>222, 0, -472</abs-coor>
396                <abs-dir>0, 0, 1, 0</abs-dir>
397        </NPC>
398       
399        <Building> <!-- Camera target hack -->
400                <name>MoonstationCenterHack</name>
401                <model>models/spaceships/human_spaceship_fighter.obj,0.1</model>
402                <abs-coor>300, 36, -170</abs-coor>
403                <abs-dir>3.1412, 0,1,0</abs-dir>
404        </Building>
405         
406        <QuestGUI>
407                <name>energyQuest</name>
408                <quest-name>Hangar Door</quest-name>
409                <quest-description>QUEST: Open the door to the hangar.</quest-description>
410                <quest-picture>/textures/orxonox_logo.png</quest-picture>
411                <quest-difficulty>STORY: I have to leave this station. </quest-difficulty>
412                <quest-persons>Maybe I can find a ship in the hangar behind this door.</quest-persons>
413                <reward-picture>/textures/amiv_braeu.png</reward-picture>
414                <reward-description>HINT: Maybe it would be favourably to take a        look at the bridge on top of the station.</reward-description>
415        </QuestGUI>
416       
417        <BspEntity>
418                <Name>levels/maps/moonstation/moonstation_flares.bsp</Name>
419                <Transparency>1, 1</Transparency>
420        </BspEntity>
421
422</WorldEntities> <!-- End WoldEntities ##################################################### -->
423
424<ScriptManager> 
425        <Scripts>
426                <Script>
427                        <file>moonstation/intro.lua</file>
428                </Script>
429                <Script>
430                        <file>moonstation/quest.lua</file>
431                </Script>
432                <Script>
433                        <file>moonstation/switchLevel.lua</file>
434                </Script>
435        </Scripts>
436</ScriptManager>
437
438<CameraMan>
439        <name> cameraManager </name>
440        <Cameras>
441                <Camera>
442                        <name> CameraIntro </name>
443                        <Track>
444                                <mode>1</mode>
445                                <speed>80</speed>
446                                <addPoint>-1295.883301, 621.807922, -969.386780</addPoint>
447                                <addPoint>-1253.895386, 727.938721, -268.726807</addPoint><!-- cam2 station -->
448                                <addPoint>-1092.265991, 743.441040, -15.836866</addPoint>
449                                <addPoint>-438.112305, 661.747009, 566.756775</addPoint>
450                                <addPoint>180.627167, 755.514709, 871.833801</addPoint><!-- cam2 ship 199.251480, 611.205872, 670.132324 -->
451                                <addPoint>871.084534, 629.498901, 619.159058</addPoint>
452                                <addPoint>1409.606201, 668.009155, 122.551933</addPoint>
453                                <addPoint>1331.963867, 562.559082, -213.602997</addPoint>
454                                <addPoint>881.456055, 184.982635, -176.643326</addPoint>
455                                <addPoint>719.431091, 79.719810, -149.023880</addPoint><!-- intro end -->
456                        </Track>
457                </Camera>
458                <Camera>
459                        <name> CameraDoor </name>
460                        <abs-coor>346, 128, -110</abs-coor>
461                </Camera>
462        </Cameras>
463</CameraMan>
464
465<LightManager>
466                <Lights>
467                        <Light>
468                                <diffuse-color>0.2,0.2,0.25</diffuse-color>
469                                <abs-coor>205,565,-162</abs-coor>
470                        </Light>
471                        <Light>
472                                <diffuse-color>0.25,0.25,0.28</diffuse-color>
473                                <abs-coor>-990.843811, 896.596130, -1569.420288</abs-coor>
474                        </Light>
475                        <Light>
476                                <diffuse-color>0.5,0.5,0.5</diffuse-color>
477                                <abs-coor>203.364914, -807.093872, -228.443466</abs-coor>
478                        </Light>
479                </Lights>
480                <ambient-color>1, 1, 1</ambient-color>
481</LightManager>
482
483</WorldDataFile>
484
Note: See TracBrowser for help on using the repository browser.