Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/InsideSpaceStation.oxw @ 11326

Last change on this file since 11326 was 11104, checked in by fvultier, 9 years ago

Some HUDs (Health, Shield, Weapons, EnemyHealth, EnemyShield) are also displayed in FPS mode. Removed two unused redundant files.

  • Property svn:eol-style set to native
File size: 3.6 KB
RevLine 
[9937]1<!-- -->
2<LevelInfo
3 name = "Inside Space Station"
4 description = "Level to test the Space Station"
5 tags = "test"
6 screenshot = "InsideSpaceStation.png"
7/>
8
9<?lua
10  include("HUDTemplates3.oxo")
[11104]11  include("HUDTemplatesFPS.oxo")
[9937]12  include("stats.oxo")
13  include("templates/spaceshipAssff.oxt")
14  include("templates/spaceshipH2.oxt")
15  include("templates/FPS.oxt")
16  include("templates/lodInformation.oxt")
17?>
18
19<Level>
20  <templates>
21    <Template link=lodtemplate_default />
22  </templates>
23  <?lua include("includes/notifications.oxi") ?>
24
25  <Scene
26   ambientlight = "0.3, 0.3, 0.3"
27   skybox       = "Orxonox/skyBoxBasic"
28   gravity      = "0,-1000,0"
29   negativeWorldRange = "-100000, -100000, -100000"
30   positiveWorldRange = " 100000,  100000,  100000"
31   hasPhysics   = true
32  >
33    <Light type=directional position="0,-100000,0" direction="0.02, -1, 0.05" diffuse="1.0, 1.0, 1.0, 1.0" specular="1.0, 1.0, 1.0, 1.0" />
34
35  <StaticEntity position="0,0,0" direction="1,0,0" pitch=180 collisionType=static mass=100000 friction=0.01 >
36      <attached>
37        <Model position="0,0,0" mesh="ss_tube.mesh" scale3D="100,100,100" />
38        <Model position="500,0,0" mesh="ss_tube.mesh" scale3D="100,100,100" />
39        <Model position="1200,0,0" mesh="ss_tube_x.mesh" scale3D="100,100,100" />
40        <Model position="-5000,0,0" mesh="ss_curve.mesh" scale3D="100,100,100" />
41        <Model position="-250,-16,0" pitch=-90 mesh="ss_flag_room.mesh" scale3D="100,100,100" />
42        <Model position="1200,100,-100" roll=180 mesh="ss_machine.mesh" scale3D="0.15,0.15,0.15" />
43        <Model position="-100,100,0" roll=180 mesh="ss_table.mesh" scale3D="25,25,25" />
44        <Model position="-300,100,0" roll=180 mesh="ss_table_cracked.mesh" scale3D="25,25,25" />
45        <Model position="600,75,0" roll=180 mesh="ss_cylinder.mesh" scale3D="25,25,25" />
46        <Model position="300,50,0" roll=180  pitch=20 mesh="ss_chair.mesh" scale3D="20,20,20" />
47        <Model position="1000,50,0" roll=180 mesh="ss_wall.mesh" scale3D="20,20,20" />
48        <Model position="-830,20,0" roll=180 mesh="ss_flag_aean.mesh" scale3D="40,40,40" />
49        <Model position="-1900,50,0" roll=180 mesh="ss_flag_eu.mesh" scale3D="20,20,20" />
50        <Model position="-1500,50,0" roll=180 mesh="ss_flag_cau.mesh" scale3D="20,20,20" />
51        <Model position="-1650,50,0" roll=180 mesh="ss_flag_csa.mesh" scale3D="20,20,20" />
52      </attached>
53      <collisionShapes>
54        <BoxCollisionShape position="0,-100,0" halfExtents="5000000,0,100000" />
55        <BoxCollisionShape position="0,50,0" halfExtents="500000,0,100000" />
56        <BoxCollisionShape position="0,0,100" halfExtents="50000,100000,0" />
57        <BoxCollisionShape position="0,0,-100" halfExtents="500000,100000,0" />
58      </collisionShapes>
59  </StaticEntity>
60
61<?lua
62for i = 1, 10, 1
63do ?>
64    <SpawnPoint position="0,0,0" direction="-1, 0, 0" scale3D="0.5,100,0.5" lookat="0,0,0" spawnclass=FpsPlayer pawndesign=fps />
65<?lua
66end
67?>
68
69
70<?lua
71for i = 1, 200, 1
72do
73j = math.random()
74?>
75  <MovableEntity position="<?lua print(math.random() * 5000-2000) ?>,<?lua print(math.random() * 5000-2000) ?>,<?lua print(math.random() * 5000 - 2000) ?>" collisionType=dynamic linearDamping=0.8 angularDamping=0 mass=<?lua print(j * 100) ?> scale=<?lua print(j * 5) ?> rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>" >
76      <attached>
77        <Model position="0,0,0" scale="<?lua print(j * 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />
78      </attached>
79      <collisionShapes>
80        <SphereCollisionShape radius="<?lua print(j * 100) ?>" />
81      </collisionShapes>
82  </MovableEntity>
83<?lua
84end
85?>
86
87  </Scene>
88</Level>
89
Note: See TracBrowser for help on using the repository browser.