Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/old_trunk/worlds/sp_level_ambush_at_uranus.oxw @ 4757

Last change on this file since 4757 was 4448, checked in by snellen, 18 years ago

reorganized scripts (put them in folders), implemented levelchange by script, put some npcs in spaceshiptower

File size: 12.0 KB
Line 
1<WorldDataFile>
2  <name>Ambush_at_Uranus</name>
3  <menu-item-image>pictures/menu/Scienceproject_512x512.jpg</menu-item-image>
4  <screenshoot>pictures/menu/Scienceproject_512x512.jpg</screenshoot>
5
6  <LoadScreen>
7    <BackgroundImage>pictures/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>pictures/load_screens/ambush-loadbar.png</BarImage>
12  </LoadScreen>
13
14
15  <ScriptManager>
16
17   <Scripts>
18
19    <Script>
20     <file>ambush_at_uranus/guard.lua</file>
21    </Script>
22
23    <Script>
24     <file>ambush_at_uranus/secondguard.lua</file>
25    </Script>
26
27    <Script>
28     <file>ambush_at_uranus/prisoner.lua</file>
29    </Script>
30
31    <Script>
32     <file>ambush_at_uranus/secondprisoner.lua</file>
33    </Script>
34
35    <Script>
36     <file>ambush_at_uranus/falldown.lua</file>
37    </Script>
38
39    <Script>
40     <file>ambush_at_uranus/floorguy.lua</file>
41    </Script>
42
43    <Script>
44     <file>ambush_at_uranus/hangar.lua</file>
45    </Script>
46
47    <Script>
48     <file>ambush_at_uranus/spaceship_flight.lua</file>
49    </Script>
50
51   </Scripts>
52
53   <ScriptTriggers>
54
55   </ScriptTriggers>
56
57  </ScriptManager>
58
59  <clip-region>1.0, 60000</clip-region>
60  <WorldEntities>
61
62    <SkyBox>
63     <name>Sky</name>
64     <Materialset>pictures/sky/simple_space</Materialset>
65     <Size>50000</Size>
66    </SkyBox>
67
68    <BspEntity>
69      <Name>worlds/bsp/single_player_proto_world_01.bsp</Name>
70    </BspEntity>
71
72    <GenericNPC>
73       <name>guard</name>
74       <model>models/creatures/male.md2, 10</model>
75       <md2texture>male_viper.pcx</md2texture>
76       <abs-coor>275.33, 34, 241.26</abs-coor>
77       <abs-dir>-3.1, 0, 1, 0</abs-dir>
78    </GenericNPC>
79
80    <GenericNPC>
81       <name>secondguard</name>
82       <model>models/creatures/male.md2, 10</model>
83       <md2texture>male_freakmagnet.pcx</md2texture>
84       <abs-coor>440, 90, 180</abs-coor>
85       <abs-dir>-3.1, 0, 1, 0</abs-dir>
86    </GenericNPC>
87
88
89    <GenericNPC>
90       <name>prisoner</name>
91       <model>models/creatures/male.md2, 10</model>
92       <md2texture>male_albat.pcx</md2texture>
93       <abs-coor>-69,36, 74</abs-coor>
94       <abs-dir>-1.55, 0, 1, 0</abs-dir>
95    </GenericNPC>
96
97   <GenericNPC>
98       <name>Secondprisoner</name>
99       <model>models/creatures/male.md2, 10</model>
100       <md2texture>male_fiend.pcx</md2texture>
101       <abs-coor>20, 34,110</abs-coor>
102       <abs-dir>-1.55, 0, 1, 0</abs-dir>
103    </GenericNPC>
104
105    <GenericNPC>
106       <name>statist</name>
107       <model>models/creatures/male.md2, 10</model>
108       <md2texture>male_sarge.pcx</md2texture>
109       <abs-coor>-58, 34, 496</abs-coor>
110       <abs-dir>0, 0, 1, 0</abs-dir>
111    </GenericNPC>
112
113    <GenericNPC>
114       <name>statist2</name>
115       <model>models/creatures/male.md2, 10</model>
116       <md2texture>male_sarge.pcx</md2texture>
117       <abs-coor>-65, 34, 528</abs-coor>
118       <abs-dir>0, 0, 1, 0</abs-dir>
119    </GenericNPC>
120
121    <GenericNPC>
122       <name>floorguy</name>
123       <model>models/creatures/male.md2, 10</model>
124       <md2texture>male_sarge.pcx</md2texture>
125       <abs-coor>800.634338, -10, -340.454163</abs-coor>
126       <abs-dir>0, 0, 1, 0</abs-dir>
127    </GenericNPC>
128
129   <GenericNPC>
130       <name>mechanic</name>
131       <model>models/creatures/male.md2, 10</model>
132       <md2texture>male_navy2.pcx</md2texture>
133       <abs-coor>991.192261, 5, -1878.394287</abs-coor>
134       <abs-dir>0, 0, 1, 0</abs-dir>
135    </GenericNPC>
136
137    <GenericNPC>
138       <name>fleemechanic</name>
139       <model>models/creatures/male.md2, 10</model>
140       <md2texture>male_navy2.pcx</md2texture>
141       <abs-coor>735.658142, -10, -1525.291870</abs-coor>
142       <abs-dir>0, 0, 1, 0</abs-dir>
143    </GenericNPC>
144
145
146    <GenericNPC>
147       <name>mechanic2</name>
148       <model>models/creatures/male.md2, 10</model>
149       <md2texture>male_navy2.pcx</md2texture>
150       <abs-coor>1564.473999, 5, -1923.821533</abs-coor>
151       <abs-dir>0, 0, 1, 0</abs-dir>
152    </GenericNPC>
153
154   <GenericNPC>
155       <name>fallingguy</name>
156       <model>models/creatures/doom_guy.md2, 10</model>
157       <md2texture>doom_guy.png</md2texture>
158       <abs-coor>620.5, 500, -750</abs-coor>
159       <abs-dir>-1.55, 0, 0, 1</abs-dir>
160    </GenericNPC>
161
162    <Door>
163       <name>laboratory door</name>
164       <scale>32.0</scale>
165       <action-radius>40.0</action-radius>
166       <abs-coor>173, 47, 280</abs-coor>
167    </Door>
168
169
170    <RepairStation>
171       <name>repair station 01</name>
172       <scale>80.0</scale>
173       <abs-coor>814.349670, -21.959781, -1695.255981</abs-coor>
174    </RepairStation>
175
176
177    <FPSPlayer>
178      <name>Player</name>
179      <abs-coor>-148,20,87</abs-coor>
180      <model>models/creatures/droidika.md2, 10</model>
181      <md2texture>droidika.png</md2texture>
182    </FPSPlayer>
183
184
185    <Spacecraft2D>
186      <name>SPACE_CRAFT</name>
187      <abs-coor>1600, 0.004610, -1700.0</abs-coor>
188      <enter-radius>100000</enter-radius>
189      <travel-speed>80</travel-speed>
190      <travel-height>0</travel-height>
191      <travel-distance>60, 80</travel-distance>
192    </Spacecraft2D>
193
194
195  <!--  <SpaceShip>
196      <name>SPACE_CRAFT</name>
197      <abs-coor>1600, 0.004610, -1700.0</abs-coor>
198      <enter-radius>100000</enter-radius>
199      <model>models/ships/mantawing.obj,20</model>
200    </SpaceShip>
201-->
202
203    <SpaceShip>
204      <name>flyby</name>
205      <model>models/ships/reap_#.obj,20</model>
206      <abs-coor>800, 19, 508.746613</abs-coor>
207      <abs-dir> 1.5,0,1,0 </abs-dir>
208    </SpaceShip>
209
210    <SpaceShip>
211      <name>spaceship1</name>
212      <model>models/ships/reap_#.obj,20</model>
213      <abs-coor>1160.289307, -10.959778, -1874.250732</abs-coor>
214      <abs-dir> -1.5,0,1,0 </abs-dir>
215    </SpaceShip>
216
217    <SpaceShip>
218      <name>spaceship2</name>
219      <model>models/ships/mantawing.obj,20</model>
220      <abs-coor>1373.289307, -10.959778, -1874.250732</abs-coor>
221      <abs-dir> -1.5,0,1,0 </abs-dir>
222    </SpaceShip>
223
224
225    <SpaceShip>
226      <name>spaceship3</name>
227      <model>models/ships/powerdrifter.obj,15</model>
228      <abs-coor>811.904358, -11.959779, -1698.305786</abs-coor>
229    </SpaceShip>
230
231    <Building>
232         <name>uranus</name>
233         <model>models/environments/uranus.obj, 50</model>
234         <abs-coor>3000, 0, -200</abs-coor>
235 <abs-dir>0.5, 0.5, 0, 0</abs-dir>    </Building>
236
237
238    <!-- HERE IS THE ARCADE SHOOTER -->
239    <!-- NPC's -->
240    <AttractorMine> <abs-coor>2500, 0.0, -1720.0</abs-coor> </AttractorMine>
241    <AttractorMine> <abs-coor>2650, 0.0, -1650.0</abs-coor> </AttractorMine>
242    <AttractorMine> <abs-coor>2740, 0.0, -1750.0</abs-coor> </AttractorMine>
243    <AttractorMine> <abs-coor>2700, 0.0, -1620.0</abs-coor> </AttractorMine>
244    <AttractorMine> <abs-coor>2720, 0.0, -1720.0</abs-coor> </AttractorMine>
245    <AttractorMine> <abs-coor>2810, 0.0, -1740.0</abs-coor> </AttractorMine>
246    <AttractorMine> <abs-coor>2970, 0.0, -1630.0</abs-coor> </AttractorMine>
247    <AttractorMine> <abs-coor>3000, 0.0, -1730.0</abs-coor> </AttractorMine>
248    <AttractorMine> <abs-coor>3100, 0.0, -1640.0</abs-coor> </AttractorMine>
249    <AttractorMine> <abs-coor>3150, 0.0, -1656.0</abs-coor> </AttractorMine>
250    <AttractorMine> <abs-coor>3180, 0.0, -1730.0</abs-coor> </AttractorMine>
251    <AttractorMine> <abs-coor>3200, 0.0, -1750.0</abs-coor> </AttractorMine>
252    <AttractorMine> <abs-coor>3300, 0.0, -1730.0</abs-coor> </AttractorMine>
253    <AttractorMine> <abs-coor>3450, 0.0, -1640.0</abs-coor> </AttractorMine>
254    <AttractorMine> <abs-coor>3450, 0.0, -1760.0</abs-coor> </AttractorMine>
255
256
257    <AttractorMine> <abs-coor>3500, 0.0, -1720.0</abs-coor> </AttractorMine>
258    <AttractorMine> <abs-coor>3550, 0.0, -1650.0</abs-coor> </AttractorMine>
259    <AttractorMine> <abs-coor>3540, 0.0, -1750.0</abs-coor> </AttractorMine>
260    <AttractorMine> <abs-coor>3600, 0.0, -1620.0</abs-coor> </AttractorMine>
261    <AttractorMine> <abs-coor>3720, 0.0, -1720.0</abs-coor> </AttractorMine>
262    <AttractorMine> <abs-coor>3710, 0.0, -1740.0</abs-coor> </AttractorMine>
263    <AttractorMine> <abs-coor>3870, 0.0, -1630.0</abs-coor> </AttractorMine>
264    <AttractorMine> <abs-coor>3800, 0.0, -1730.0</abs-coor> </AttractorMine>
265    <AttractorMine> <abs-coor>3900, 0.0, -1640.0</abs-coor> </AttractorMine>
266    <AttractorMine> <abs-coor>4050, 0.0, -1656.0</abs-coor> </AttractorMine>
267    <AttractorMine> <abs-coor>4080, 0.0, -1730.0</abs-coor> </AttractorMine>
268    <AttractorMine> <abs-coor>4100, 0.0, -1750.0</abs-coor> </AttractorMine>
269    <AttractorMine> <abs-coor>4200, 0.0, -1730.0</abs-coor> </AttractorMine>
270    <AttractorMine> <abs-coor>4250, 0.0, -1640.0</abs-coor> </AttractorMine>
271    <AttractorMine> <abs-coor>4250, 0.0, -1760.0</abs-coor> </AttractorMine>
272
273
274    <SpaceTurret>
275      <abs-coor>2700, 0.0, -1720.0</abs-coor> <abs-dir>3.1412, 0, 1, 0</abs-dir>
276      <weapon-left> <TargetingTurret>  <model>models/guns/turret2.obj,10.0</model>  </TargetingTurret>  </weapon-left>
277    </SpaceTurret>
278    <SpaceTurret>
279      <abs-coor>3500, 0.0, -1720.0</abs-coor> <abs-dir>3.1412, 0, 1, .3</abs-dir>
280      <weapon-left> <TargetingTurret>  <model>models/guns/turret2.obj,10.0</model>  </TargetingTurret>  </weapon-left>
281    </SpaceTurret>
282
283    <SpaceTurret>
284      <abs-coor>4500, 0.0, -1650.0</abs-coor> <abs-dir>3.1412, .3, 1, 0</abs-dir>
285      <weapon-left> <TargetingTurret>  <model>models/guns/turret2.obj,10.0</model>  </TargetingTurret>  </weapon-left>
286    </SpaceTurret>
287    <SpaceTurret>
288      <abs-coor>4700, 0.0, -1750.0</abs-coor> <abs-dir>3.1412, .1, 1, 0</abs-dir>
289      <weapon-left> <TargetingTurret>  <model>models/guns/turret2.obj,10.0</model>  </TargetingTurret>  </weapon-left>
290    </SpaceTurret>
291    <SpaceTurret>
292      <abs-coor>4750, 0.0, -1750.0</abs-coor> <abs-dir>3.1412, .3, 1, 0</abs-dir>
293      <weapon-left> <TargetingTurret>  <model>models/guns/turret2.obj,10.0</model>  </TargetingTurret>  </weapon-left>
294    </SpaceTurret>
295    <SpaceTurret>
296      <abs-coor>4800, 0.0, -1650.0</abs-coor> <abs-dir>3.1412, .2, 1, .1</abs-dir>
297      <weapon-left> <TargetingTurret>  <model>models/guns/turret2.obj,10.0</model>  </TargetingTurret>  </weapon-left>
298    </SpaceTurret>
299
300
301
302    <!-- BELOW THE LAYER  of ENVIRONMENTALS -->
303    <ModelEntity> <abs-coor>2900,-150,-1700</abs-coor> <momentum>.01, .5, .3, .2</momentum> <model>models/comet.obj, 2.5</model> </ModelEntity>
304    <ModelEntity> <abs-coor>3000,-250,-1750</abs-coor> <momentum>.01, .3, .8, .1</momentum> <model>models/comet.obj, 2.5</model> </ModelEntity>
305    <ModelEntity> <abs-coor>3200,-2200,-1600</abs-coor> <momentum>-.010, .3, .7, .7</momentum> <model>models/comet.obj, 2.5</model> </ModelEntity>
306    <ModelEntity> <abs-coor>3500,-200,-1700</abs-coor> <momentum>.022, -.1, .7, .2</momentum> <model>models/comet.obj, 2.5</model> </ModelEntity>
307
308   <ModelEntity>
309      <name>Noxon Battle Ship</name>
310      <model>models/ships/noxon_battle_ship.obj, 2</model>
311      <abs-coor>3800, -1200, -1700</abs-coor>
312      <abs-dir>1.3, 1, 0, 1</abs-dir>
313   </ModelEntity>
314
315<!---
316    <Spacecraft2D>
317      <name>TerranCruizer</name>
318      <model>models/ships/terran_cruizer.obj</model>
319      <enter-radius>500</enter-radius>
320      <abs-coor>5200, 0, -1700</abs-coor>
321      <travel-speed>80</travel-speed>
322      <travel-height>0</travel-height>
323      <travel-distance>60, 80</travel-distance>
324    </Spacecraft2D>
325-->
326
327  <SpaceShip>
328      <name>TerranCruizer</name>
329      <model>models/ships/terran_cruizer.obj</model>
330      <enter-radius>500</enter-radius>
331      <abs-coor>5200, 0, -1700</abs-coor>
332   </SpaceShip>
333
334
335 <Gate>   
336   <name>Hypergate</name>
337   <scale>6400.0</scale>
338   <action-radius>500.0</action-radius>
339   <abs-coor>6000, 0, -1700</abs-coor>
340   <abs-dir>1.57, 0, 1, 0</abs-dir>
341 </Gate>
342
343<!--
344    <TurbineHover>
345      <name>Player</name>
346    </TurbineHover>
347-->
348
349<!--
350    <TestEntity>
351      <model>models/creatures/gork</model>
352    </TestEntity>
353-->
354  </WorldEntities>
355
356
357    <LightManager>
358    <Lights>
359      <Light>
360       <diffuse-color>1,1,1</diffuse-color>
361       <abs-coor>100,1000,50</abs-coor>
362      </Light>
363      <Light>
364       <diffuse-color>1,1,1</diffuse-color>
365       <abs-coor>3000,1000,1700</abs-coor>
366      </Light>
367    </Lights>
368    <ambient-color>1,1,1</ambient-color>
369  </LightManager>
370<Music>sound/music/00-luke_grey_-_hypermode.ogg</Music>
371
372
373</WorldDataFile>
Note: See TracBrowser for help on using the repository browser.