Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/presentationFS102.oxw @ 8614

Last change on this file since 8614 was 8079, checked in by landauf, 14 years ago

merged usability branch back to trunk

incomplete summary of the changes in this branch:

  • enhanced keyboard navigation in GUIs
  • implemented new graphics menu and changeable window size at runtime
  • added developer mode
  • HUD shows if game is paused, game pauses if ingame menu is opened
  • removed a few obsolete commands and hid some that are more for internal use
  • numpad works in console and gui
  • faster loading of level info
  • enhanced usage of compositors (Shader class)
  • improved camera handling, configurable FOV and aspect ratio
  • Property svn:eol-style set to native
File size: 3.4 KB
Line 
1<LevelInfo
2 name = "Presentation XI FPS 1st"
3 description = "2nd Presentation level for Orxonox Convention XI, FPS"
4 tags = "presentation"
5/>
6
7<?lua
8  include("HUDTemplates3.oxo")
9  include("stats.oxo")
10  include("templates/spaceshipAssff.oxt")
11  include("templates/spaceshipH2.oxt")
12  include("templates/FPS.oxt")
13  include("templates/lodInformation.oxt")
14?>
15
16<Level
17 name         = "fps"
18 description  = "tests"
19>
20  <templates>
21    <Template link=lodtemplate_default />
22  </templates>
23
24  <Scene
25   ambientlight = "0.1, 0.1, 0.1"
26   skybox       = "Orxonox/skypanoramagen1"
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, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" />
33
34  <Pawn health=100 position="600,35,0" direction="0,-1,0" collisionType=dynamic mass=100000>
35      <attached>
36        <Model position="0,0,0" mesh="fish.mesh" scale3D="5,5,5" />
37      </attached>
38      <collisionShapes>
39        <BoxCollisionShape position="0,0,0" halfExtents="25,25,25" />
40      </collisionShapes>
41  </Pawn>
42 
43  <Pawn health=100 position="0,-35,0" direction="0,-1,0" collisionType=dynamic mass=100000>
44      <attached>
45        <Model position="0,0,0" mesh="crate.mesh" scale3D="5,5,5" />
46      </attached>
47      <collisionShapes>
48        <BoxCollisionShape position="0,0,0" halfExtents="25,25,25" />
49      </collisionShapes>
50  </Pawn>
51 
52  <StaticEntity position="0,-50,0" direction="0,-1,0" collisionType=static mass=100000 >
53      <attached>
54        <Model position="0,0,0" mesh="cube.mesh" scale3D="100,100,10" />
55      </attached>
56      <collisionShapes>
57        <BoxCollisionShape position="0,0,0" halfExtents="100,100,10" />
58      </collisionShapes>
59  </StaticEntity>
60
61   <StaticEntity position="210,-30,0" direction="0,-1,0" collisionType=static mass=100000 >
62      <attached>
63        <Model position="0,0,0" mesh="cube_orange.mesh" scale3D="100,100,10" />
64      </attached>
65      <collisionShapes>
66        <BoxCollisionShape position="0,0,0" halfExtents="100,100,10" />
67      </collisionShapes>
68  </StaticEntity>
69 
70   <StaticEntity position="600,-20,0" direction="0,-1,0" collisionType=static mass=100000 >
71      <attached>
72        <Model position="0,0,0" mesh="cube_green.mesh" scale3D="100,100,10" />
73      </attached>
74      <collisionShapes>
75        <BoxCollisionShape position="0,0,0" halfExtents="100,100,10" />
76      </collisionShapes>
77  </StaticEntity>
78
79<StaticEntity position="600,10,120" direction="0,-1,1" collisionType=static mass=100000 >
80      <attached>
81        <Model position="0,0,0" mesh="cube_red.mesh" scale3D="100,100,10" />
82      </attached>
83      <collisionShapes>
84        <BoxCollisionShape position="0,0,0" halfExtents="100,100,10" />
85      </collisionShapes>
86  </StaticEntity>
87 
88  <StaticEntity position="600,40,250" direction="0,-1,0" collisionType=static mass=100000 >
89      <attached>
90        <Model position="0,0,0" mesh="cube.mesh" scale3D="100,100,10" />
91      </attached>
92      <collisionShapes>
93        <BoxCollisionShape position="0,0,0" halfExtents="100,100,10" />
94      </collisionShapes>
95  </StaticEntity>
96 
97<?lua
98for i = 1, 10, 1
99do ?>
100    <SpawnPoint position="0,300,0" direction="0, 0, 0" lookat="0,0,100000000" spawnclass=FpsPlayer pawndesign=fps />
101<?lua
102end
103?>
104
105
106  </Scene>
107</Level>
Note: See TracBrowser for help on using the repository browser.