Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/leveljoemeHS14/data/levels/InsideSpaceStation.oxw @ 10128

Last change on this file since 10128 was 9943, checked in by landauf, 11 years ago

eol-style native

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