Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/weaponupdateHS14/data/levels/FPS_Level_HS14.oxw @ 10126

Last change on this file since 10126 was 10120, checked in by flsueess, 10 years ago

verschiedene Anpassungen

File size: 13.3 KB
Line 
1<!--  -->
2<LevelInfo
3 name = "FPS Level HS14"
4 description = "Entering a Space Station & finde a way through it."
5 tags = "test"
6 screenshot = "emptylevel.png"
7/>
8
9<?lua
10  include("stats.oxo")
11  include("HUDTemplates3.oxo")
12  include("templates/lodInformation.oxt")
13  include("templates/pickupRepresentationTemplates.oxt")
14?>
15
16<?lua
17  include("templates/spaceshipAssff.oxt")
18  include("templates/spaceshipPirate.oxt")
19  include("templates/spaceshipEscort.oxt")
20  include("templates/bigship.oxt")
21  include("templates/spaceshipTurret.oxt")
22  include("templates/spaceshipCollateralDamage.oxt")
23  include("templates/FPS_HS14.oxt")
24  include("templates/HeavyCruiser.oxt")
25  include("templates/spacestation_elements.oxt")
26?>
27
28<Level
29  gametype = Deathmatch
30>
31  <templates>
32    <Template link=lodtemplate_default />
33  </templates>
34
35  <Scene
36    ambientlight = "0.5, 0.5, 0.5"
37    skybox       = "Orxonox/skyBoxMoreNebula"
38    negativeWorldRange = "-100000, -100000, -100000"
39    positiveWorldRange = " 100000,  100000,  100000"
40    gravity      = "0,0,0"
41    hasPhysics   = true
42  >
43
44    <?lua
45      include("includes/pickups.oxi")
46    ?>
47       
48        <!-- my ships -->
49
50    <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0,1.0,1.0,0.5" specular="1.0, 0.9, 0.9, 1.0"/>
51   
52    <SpawnPoint team=1 position="3000,0,0" lookat="4000,-1000,-1000" spawnclass=SpaceShip pawndesign=spaceshipescort />
53        <!--6000,2000,500-->
54       
55        <SpaceShip                     
56        template            = "spaceshipassff"
57        team                = "1"
58        position            = "3200,0,-200"
59        orientation         = "1,200,0,0"
60        health              = "200"
61        initialhealth       = "200"
62        maxhealth           = "200"
63        shieldhealth        = "50"
64        initialshieldhealth = "50"
65        maxshieldhealth     = "50"
66        shieldabsorption    = "0.8"
67        reloadrate          = "1"
68        reloadwaittime      = "1"
69        name                = "Tanis1"
70        radarname           = "Light-Destroyer" >
71       <attached>
72        <DockingTarget name="spaceShip" />
73        <DistanceTriggerBeacon name="bcnSpaceShip" />
74      </attached>
75    </SpaceShip>
76       
77       
78       
79    <StaticEntity position  = "2800,0,0" mass=10000 collisionType=static >
80      <attached>
81        <Model mesh="HydroHarvester.mesh" mass=10 position="0,0,0" scale=50 />
82      </attached>
83      <collisionShapes>
84        <BoxCollisionShape  position="-560,0,0" halfExtents="115,100,245" /><!-- Three lower boxes -->
85        <BoxCollisionShape  position="290,0,-480" halfExtents="115,100,245" yaw=-120 />
86        <BoxCollisionShape  position="290,0,480" halfExtents="115,100,245" yaw=-240 />
87        <BoxCollisionShape  position="-280,0,0" halfExtents="163,50,50" /><!-- Three lower connections -->
88        <BoxCollisionShape  position="140,0,-240" halfExtents="163,50,50" yaw=-120 />
89        <BoxCollisionShape  position="140,0,240" halfExtents="163,50,50" yaw=-240 />
90        <BoxCollisionShape  position="0,530,0" halfExtents="172,52,298" /><!-- Upper Tower -->
91        <BoxCollisionShape  position="0,530,0" halfExtents="172,52,298" yaw=-120 />
92        <BoxCollisionShape  position="0,530,0" halfExtents="172,52,298" yaw=-240 />
93        <BoxCollisionShape  position="0,400,0" halfExtents="43,110,26" yaw=-30 /><!-- Middle one-->
94        <BoxCollisionShape  position="-200,100,0" halfExtents="26,50,43" /><!--Three lower legs -->
95        <BoxCollisionShape  position="100,100,-173" halfExtents="43,50,26" yaw=-30 />
96        <BoxCollisionShape  position="100,100,-173" halfExtents="43,50,26" yaw=30 />
97        <BoxCollisionShape  position="-100,264,0" halfExtents="26,105,43" roll=-49 /><!--Three upper legs -->
98        <BoxCollisionShape  position="50,264,-87" halfExtents="26,105,43" roll=-49 yaw=-120 />
99        <BoxCollisionShape  position="50,264,87" halfExtents="26,105,43" roll=-49 yaw=-240 />
100      </collisionShapes>
101    </StaticEntity>
102
103
104<!-- Docking  I -->
105    <Dock position="2830,20,50" roll=0 yaw=0 >
106        <animations>
107            <MoveToDockingTarget target="fistperson" />
108        </animations>
109        <effects>
110            <DockToShip target="fistperson" />
111        </effects>
112        <events>
113            <execute>
114                <EventListener event="dockMe" />
115            </execute>
116
117<!--    <undocking>
118                <EventListener event="undockMe" />
119            </undocking> -->
120       
121        </events>
122        <attached>
123
124        <!-- Trigger for docking with billboard  -->
125       
126            <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.2,0.4,0.8" scale=1 />
127            <DistanceTrigger position="0,0,0" distance="200" target="Pawn"
128                beaconMode="exclude" targetname="bcnDestroyer" name="dockMe"
129            />
130
131        <!-- Trigger for undocking with billboard  -->
132       
133            <Billboard position="-2800,-20055,-700" material="Flares/ringflare2" colour="0.2,0.4,0.8" scale=1 />
134            <DistanceTrigger position="-2800,-20055,-700" distance="150" target="Pawn"
135                beaconMode="identify" targetname="bcnDestroyer" name="undockMe"
136            />
137        </attached>
138
139    </Dock>
140   
141
142<!-- FPS Player as destination of the dock -->
143
144    <FpsPlayer template = "fps_HS14" radarname = "First Person Player" position = "500,-20000,0"  >
145        <!--"500,-20000,0"-->
146      <attached>
147        <DistanceTriggerBeacon name="bcnDestroyer" />
148        <DockingTarget name="fistperson" />
149      </attached>
150    </FpsPlayer>
151
152
153
154
155<!-- Docking  II -->
156    <Dock position="-840,-20055,1.8" roll=0 yaw=0 >
157        <animations>
158            <MoveToDockingTarget target="spaceShip" />
159        </animations>
160        <effects>
161            <DockToShip target="spaceShip" />
162        </effects>
163        <events>
164            <execute>
165                <EventListener event="dockMe" />
166            </execute>
167
168            <undocking>
169                <EventListener event="undockMe" />
170            </undocking>
171       
172        </events>
173        <attached>
174       
175        <!-- Trigger for docking with billboard -->
176            <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.3,0.4,0.5" scale=1 />
177            <DistanceTrigger position="0,0,0" distance="200" target="Pawn"
178                beaconMode="exclude" targetname="bcnSpaceShip" name="dockMe"
179            />
180        <!-- Trigger for undocking with billboard -->
181            <Billboard position="4140,20055,-295" material="Flares/ringflare2" colour="0.3,0.4,0.5" scale=1 />
182            <DistanceTrigger position="4140,20055,-295" distance="300" target="Pawn"
183                beaconMode="identify" targetname="bcnSpaceShip" name="undockMe"
184            />
185        </attached>
186
187    </Dock>
188
189 <!-- Enemy ships -->
190 
191        <SpaceShip                     
192        template            = "HeavyCruiser"
193        team                = "0"
194        position            = "5800,-200,-1200"
195        orientation         = "1,200,0,0"
196        health              = "2000"
197        initialhealth       = "2000"
198        maxhealth           = "2000"
199        shieldhealth        = "200"
200        initialshieldhealth = "200"
201        maxshieldhealth     = "200"
202        shieldabsorption    = "0.8"
203        reloadrate          = "1"
204        reloadwaittime      = "1"
205        name                = "Tanis1"
206        radarname           = "Tanis Cruiser" >
207   </SpaceShip>
208   
209   
210 <!--   <SpaceShip                     
211        template            = "spaceshippirate"
212        team                = "0"
213        position            = "4800,-200,-1200"
214        orientation         = "1,200,0,0"
215        health              = "200"
216        initialhealth       = "200"
217        maxhealth           = "200"
218        shieldhealth        = "50"
219        initialshieldhealth = "50"
220        maxshieldhealth     = "50"
221        shieldabsorption    = "0.8"
222        reloadrate          = "1"
223        reloadwaittime      = "1"
224        name                = "Tanis1"
225        radarname           = "Pirate1" >
226       
227        <controller>
228            <AIController team=0/>           
229        </controller>
230       
231   </SpaceShip>
232   
233   <SpaceShip                   
234        template            = "spaceshippirate"
235        team                = "0"
236        position            = "4800,-220,-1200"
237        orientation         = "1,200,0,0"
238        health              = "200"
239        initialhealth       = "200"
240        maxhealth           = "200"
241        shieldhealth        = "50"
242        initialshieldhealth = "50"
243        maxshieldhealth     = "50"
244        shieldabsorption    = "0.8"
245        reloadrate          = "1"
246        reloadwaittime      = "1"
247        name                = "Tanis1"
248        radarname           = "Pirate2" >
249       
250        <controller>
251            <AIController team=0/>           
252        </controller>
253       
254   </SpaceShip>
255   -->
256
257<!-- SpaceStation
258
259The station can either be hidden outside of the skybox, within the hull of the space station if it is big enough or within a planet.
260Complex spacestations can be placed very far away from the spaceship so it is rendered at low resolution while the player uses the space ship.
261
262-->
263
264<!-- Hilfsobjekte fuer Koordinatensystem -->
265
266<Model position="0,0,0" mesh="cube_red.mesh" scale3D="10000,10,10" />
267<Model position="0,0,0" mesh="cube_green.mesh" scale3D="10,10000,10" />
268<Model position="0,0,0" mesh="cube.mesh" scale3D="10,10,10000" />
269
270<Model position="0,-100,0" mesh="cube_orange.mesh" scale3D="15,15,15" />
271<Model position="-100,0,0" mesh="cube_orange.mesh" scale3D="15,15,15" />
272<Model position="0,0,-100" mesh="cube_orange.mesh" scale3D="15,15,15" />
273
274<Model position="0,-20000,0" mesh="cube_red.mesh" scale3D="10000,10,10" />
275<Model position="0,-20000,0" mesh="cube_green.mesh" scale3D="10,10000,10" />
276<Model position="0,-20000,0" mesh="cube.mesh" scale3D="10,10,10000" />
277
278<Model position="0,-20100,0" mesh="cube_orange.mesh" scale3D="15,15,15" />
279<Model position="-100,-20000,0" mesh="cube_orange.mesh" scale3D="15,15,15" />
280<Model position="0,-20000,-100" mesh="cube_orange.mesh" scale3D="15,15,15" />
281
282
283<StaticEntity position="0,-20000,0" direction="0,-1,0" collisionType=static mass=100000 friction=0.01 pitch=-90> 
284     
285 <attached>
286
287        <Model template = "ss_flag_room" position="750,-16,703.5" />
288        <!--<Model template     = "ss_tube" position="0,0,0" />-->
289        <Model template = "ss_tube" position="500,0,0" />
290        <Model template = "ss_curve" position="0,0,0" yaw=0 />
291       
292       
293 <!--   <Model position="0,0,0" mesh="ss_tube.mesh" scale3D="100,100,100" />
294        <Model position="500,0,0" mesh="ss_tube.mesh" scale3D="100,100,100" />
295        <Model position="1200,0,0" mesh="ss_tube_x.mesh" scale3D="100,100,100" />
296        <Model position="1900,0,0" mesh="ss_curve.mesh" scale3D="100,100,100" />
297        <Model position="1200,0,703.5" mesh="ss_curve.mesh" scale3D="100,100,100" />
298        <Model position="1805.0,0,-800" mesh="ss_curve.mesh" scale3D="100,100,100" yaw=90 />
299        <Model position="1010.0,0,-700.0" mesh="ss_curve.mesh" scale3D="100,100,100" yaw=-180 />
300       
301       
302        <Model position="750,-16,703.5" pitch=-90 mesh="ss_flag_room.mesh" scale3D="100,100,100" />
303        <Model position="-250,-16,0" pitch=-90 mesh="ss_flag_room.mesh" scale3D="100,100,100" />
304        <Model position="1200,100,-100" roll=180 mesh="ss_machine.mesh" scale3D="0.15,0.15,0.15" />
305        <Model position="-100,100,0" roll=180 mesh="ss_table.mesh" scale3D="25,25,25" />
306        <Model position="-300,100,0" roll=180 mesh="ss_table_cracked.mesh" scale3D="25,25,25" />
307        <Model position="600,75,0" roll=180 mesh="ss_cylinder.mesh" scale3D="25,25,25" />
308        <Model position="300,50,0" roll=180  pitch=20 mesh="ss_chair.mesh" scale3D="20,20,20" />
309        <Model position="1000,50,0" roll=180 mesh="ss_wall.mesh" scale3D="20,20,20" />
310        <Model position="-830,20,0" roll=180 mesh="ss_flag_aean.mesh" scale3D="40,40,40" />
311-->
312
313<!-- <Model mesh="cube.mesh" mass=10 position="0,-100,0" scale3D="5000,0.5,1000" yaw=0 />
314    <Model mesh="cube.mesh" mass=10 position="0,100,0" scale3D="2000,0.5,1000" yaw=0 />
315    <!--Model mesh="cube.mesh" mass=10 position="0,0,100" scale3D="5000,100,0.5" yaw=0 />
316    <Model mesh="cube.mesh" mass=10 position="0,0,-100" scale3D="5000,100,0.5" yaw=0 />
317      </attached>
318      <collisionShapes>
319        <BoxCollisionShape position="0,-100,0" halfExtents="5000,0,1000"/>
320            <BoxCollisionShape position="0,100,0" halfExtents="2000,0,1000" />
321            <BoxCollisionShape position="0,0,100" halfExtents="5000,100,0" />
322            <BoxCollisionShape position="0,0,-100" halfExtents="5000,100,0" />
323      </collisionShapes>
324-->
325 </attached>
326  </StaticEntity>
327
328
329<!--       
330
331-->
332
333
334  <!--Model position="2820,-20,-160" yaw="90" pitch="-90" roll="0" scale="10" mesh="ss_tube.mesh" />
335  <Model position="2820,-20,-210" yaw="90" pitch="-90" roll="0" scale="10" mesh="ss_tube.mesh" />
336  <Model position="2820,-20,-280" yaw="90" pitch="-90" roll="0" scale="10" mesh="ss_curve.mesh" />
337  <Model position="2820,-100,-270.5" yaw="0" pitch="180" roll="90" scale="10" mesh="ss_curve.mesh" /-->
338 
339   
340<!-- Homogenous gravitationfield to simulate local gravity (activating the normal gravity will affect the spaceship terribly) -->
341<ForceField position="0,-20200,0" mode="homogen" diameter="5000" forcedirection = "0,-500,0" />
342
343
344
345
346
347<!-- Some more stuff -->
348
349    <!-- triple large belt around the planet  -->
350    <?lua
351        dofile("includes/asteroidField.lua")
352        asteroidBelt(0, -19900, 0, 30, 0, 30, 30, 50, 7190, 7800, 250, 1)
353    ?>
354    <?lua
355        dofile("includes/asteroidField.lua")
356        asteroidBelt(0, -19900, 0, 30, 0, 30, 30, 50, 10000, 11000, 300, 1)
357    ?>
358    <?lua
359        dofile("includes/asteroidField.lua")
360        asteroidBelt(0, -19900, 0, 30, 0, 30, 30, 50, 14000, 15000, 350, 1)
361    ?>
362
363    <Model position="0,-19900,0" mesh="planets/ganymede.mesh" scale="5000" />
364   
365   
366
367  </Scene>
368
369</Level>
370
Note: See TracBrowser for help on using the repository browser.