Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/contentcreation/pps/MichiVonKaenel/levels/moonstation.oxw @ 7567

Last change on this file since 7567 was 4835, checked in by vkaenemi, 17 years ago

a lot of scripting(intro/quests) +destroyed introroom

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