Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

added attractor.lua

File size: 12.7 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/default.jpg</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/default_bar.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    <SpaceShip>
267      <name>spaceship</name>
268      <model>models/ships/fighter.obj,20</model>
269      <abs-coor>624.164124, 0.004610, -1721.440796</abs-coor>
270    </SpaceShip>
271
272    <SpaceShip>
273      <name>spaceship1</name>
274      <model>models/ships/reap_#.obj,20</model>
275      <abs-coor>1160.289307, -10.959778, -1874.250732</abs-coor>
276      <abs-dir> -1.5,0,1,0 </abs-dir>
277    </SpaceShip>
278
279    <SpaceShip>
280      <name>spaceship2</name>
281      <model>models/ships/mantawing.obj,20</model>
282      <abs-coor>1373.289307, -10.959778, -1874.250732</abs-coor>
283      <abs-dir> -1.5,0,1,0 </abs-dir>
284    </SpaceShip>
285
286
287    <SpaceShip>
288      <name>spaceship3</name>
289      <model>models/ships/powerdrifter.obj,15</model>
290      <abs-coor>811.904358, -11.959779, -1698.305786</abs-coor>
291    </SpaceShip>
292
293    <Building>
294         <name>uranus</name>
295         <model>models/environments/uranus.obj, 50</model>
296         <abs-coor>3000, 0, -200</abs-coor>
297 <abs-dir>0.5, 0.5, 0, 0</abs-dir>    </Building>
298
299
300    <!-- HERE IS THE ARCADE SHOOTER -->
301    <!-- NPC's -->
302    <AttractorMine> <abs-coor>2500, 0.0, -1720.0</abs-coor> </AttractorMine>
303    <AttractorMine> <abs-coor>2650, 0.0, -1650.0</abs-coor> </AttractorMine>
304    <AttractorMine> <abs-coor>2740, 0.0, -1750.0</abs-coor> </AttractorMine>
305    <AttractorMine> <abs-coor>2700, 0.0, -1620.0</abs-coor> </AttractorMine>
306    <AttractorMine> <abs-coor>2720, 0.0, -1720.0</abs-coor> </AttractorMine>
307    <AttractorMine> <abs-coor>2810, 0.0, -1740.0</abs-coor> </AttractorMine>
308    <AttractorMine> <abs-coor>2970, 0.0, -1630.0</abs-coor> </AttractorMine>
309    <AttractorMine> <abs-coor>3000, 0.0, -1730.0</abs-coor> </AttractorMine>
310    <AttractorMine> <abs-coor>3100, 0.0, -1640.0</abs-coor> </AttractorMine>
311    <AttractorMine> <abs-coor>3150, 0.0, -1656.0</abs-coor> </AttractorMine>
312    <AttractorMine> <abs-coor>3180, 0.0, -1730.0</abs-coor> </AttractorMine>
313    <AttractorMine> <abs-coor>3200, 0.0, -1750.0</abs-coor> </AttractorMine>
314    <AttractorMine> <abs-coor>3300, 0.0, -1730.0</abs-coor> </AttractorMine>
315    <AttractorMine> <abs-coor>3450, 0.0, -1640.0</abs-coor> </AttractorMine>
316    <AttractorMine> <abs-coor>3450, 0.0, -1760.0</abs-coor> </AttractorMine>
317
318
319    <AttractorMine> <abs-coor>3500, 0.0, -1720.0</abs-coor> </AttractorMine>
320    <AttractorMine> <abs-coor>3550, 0.0, -1650.0</abs-coor> </AttractorMine>
321    <AttractorMine> <abs-coor>3540, 0.0, -1750.0</abs-coor> </AttractorMine>
322    <AttractorMine> <abs-coor>3600, 0.0, -1620.0</abs-coor> </AttractorMine>
323    <AttractorMine> <abs-coor>3720, 0.0, -1720.0</abs-coor> </AttractorMine>
324    <AttractorMine> <abs-coor>3710, 0.0, -1740.0</abs-coor> </AttractorMine>
325    <AttractorMine> <abs-coor>3870, 0.0, -1630.0</abs-coor> </AttractorMine>
326    <AttractorMine> <abs-coor>3800, 0.0, -1730.0</abs-coor> </AttractorMine>
327    <AttractorMine> <abs-coor>3900, 0.0, -1640.0</abs-coor> </AttractorMine>
328    <AttractorMine> <abs-coor>4050, 0.0, -1656.0</abs-coor> </AttractorMine>
329    <AttractorMine> <abs-coor>4080, 0.0, -1730.0</abs-coor> </AttractorMine>
330    <AttractorMine> <abs-coor>4100, 0.0, -1750.0</abs-coor> </AttractorMine>
331    <AttractorMine> <abs-coor>4200, 0.0, -1730.0</abs-coor> </AttractorMine>
332    <AttractorMine> <abs-coor>4250, 0.0, -1640.0</abs-coor> </AttractorMine>
333    <AttractorMine> <abs-coor>4250, 0.0, -1760.0</abs-coor> </AttractorMine>
334
335
336    <SpaceTurret>
337      <abs-coor>2700, 0.0, -1720.0</abs-coor> <abs-dir>3.1412, 0, 1, 0</abs-dir>
338      <weapon-left> <TargetingTurret>  <model>models/guns/turret2.obj,10.0</model>  </TargetingTurret>  </weapon-left>
339    </SpaceTurret>
340    <SpaceTurret>
341      <abs-coor>3500, 0.0, -1720.0</abs-coor> <abs-dir>3.1412, 0, 1, .3</abs-dir>
342      <weapon-left> <TargetingTurret>  <model>models/guns/turret2.obj,10.0</model>  </TargetingTurret>  </weapon-left>
343    </SpaceTurret>
344
345    <SpaceTurret>
346      <abs-coor>4500, 0.0, -1650.0</abs-coor> <abs-dir>3.1412, .3, 1, 0</abs-dir>
347      <weapon-left> <TargetingTurret>  <model>models/guns/turret2.obj,10.0</model>  </TargetingTurret>  </weapon-left>
348    </SpaceTurret>
349    <SpaceTurret>
350      <abs-coor>4700, 0.0, -1750.0</abs-coor> <abs-dir>3.1412, .1, 1, 0</abs-dir>
351      <weapon-left> <TargetingTurret>  <model>models/guns/turret2.obj,10.0</model>  </TargetingTurret>  </weapon-left>
352    </SpaceTurret>
353    <SpaceTurret>
354      <abs-coor>4750, 0.0, -1750.0</abs-coor> <abs-dir>3.1412, .3, 1, 0</abs-dir>
355      <weapon-left> <TargetingTurret>  <model>models/guns/turret2.obj,10.0</model>  </TargetingTurret>  </weapon-left>
356    </SpaceTurret>
357    <SpaceTurret>
358      <abs-coor>4800, 0.0, -1650.0</abs-coor> <abs-dir>3.1412, .2, 1, .1</abs-dir>
359      <weapon-left> <TargetingTurret>  <model>models/guns/turret2.obj,10.0</model>  </TargetingTurret>  </weapon-left>
360    </SpaceTurret>
361
362
363
364    <!-- BELOW THE LAYER  of ENVIRONMENTALS -->
365    <ModelEntity> <abs-coor>2900,-150,-1700</abs-coor> <momentum>.01, .5, .3, .2</momentum> <model>models/comet.obj, 2.5</model> </ModelEntity>
366    <ModelEntity> <abs-coor>3000,-250,-1750</abs-coor> <momentum>.01, .3, .8, .1</momentum> <model>models/comet.obj, 2.5</model> </ModelEntity>
367    <ModelEntity> <abs-coor>3200,-2200,-1600</abs-coor> <momentum>-.010, .3, .7, .7</momentum> <model>models/comet.obj, 2.5</model> </ModelEntity>
368    <ModelEntity> <abs-coor>3500,-200,-1700</abs-coor> <momentum>.022, -.1, .7, .2</momentum> <model>models/comet.obj, 2.5</model> </ModelEntity>
369
370   <ModelEntity>
371      <name>Noxon Battle Ship</name>
372      <model>models/ships/noxon_battle_ship.obj, 2</model>
373      <abs-coor>3800, -1200, -1700</abs-coor>
374      <abs-dir>1.3, 1, 0, 1</abs-dir>
375   </ModelEntity>
376
377
378    <!--
379    <TurbineHover>
380      <name>Player</name>
381    </TurbineHover>
382    -->
383
384<!--
385    <TestEntity>
386      <model>models/creatures/gork</model>
387    </TestEntity>
388-->
389  </WorldEntities>
390
391
392    <LightManager>
393    <Lights>
394      <Light>
395       <diffuse-color>1,1,1</diffuse-color>
396       <abs-coor>100,1000,50</abs-coor>
397      </Light>
398      <Light>
399       <diffuse-color>1,1,1</diffuse-color>
400       <abs-coor>3000,1000,1700</abs-coor>
401      </Light>
402    </Lights>
403    <ambient-color>1,1,1</ambient-color>
404  </LightManager>
405
406
407</WorldDataFile>
Note: See TracBrowser for help on using the repository browser.