Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/branches/presentation/worlds/sp_level_ambush_at_uranus.oxw @ 4159

Last change on this file since 4159 was 4158, checked in by bknecht, 18 years ago

typo with loadbar corrected

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