Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/consolecommands3/data/levels/presentation_FS10.oxw @ 7698

Last change on this file since 7698 was 7276, checked in by landauf, 14 years ago

until now we could group words and values in console commands and XML values using parentheses (…). now we have to use braces {…}, because that works better in connection with Tcl. in practice however this feature was never used before, so this change shouldn't affect anything.

  • Property svn:eol-style set to native
File size: 3.2 KB
Line 
1<?lua
2  include("hudtemplates3.oxo")
3  include("stats.oxo")
4  include("templates/spaceship_assff.oxt")
5  include("templates/spaceship_H2.oxt")
6  include("templates/fps.oxt")
7  include("templates/lodinformation.oxt")
8?>
9
10<Level
11 name         = "fps"
12 description  = "tests"
13>
14  <templates>
15    <Template link=lodtemplate_default />
16  </templates>
17
18  <Scene
19   ambientlight = "0.1, 0.1, 0.1"
20   skybox       = "Orxonox/skypanoramagen1"
21   gravity      = "0,-1000,0"
22   negativeWorldRange = "-100000, -100000, -100000"
23   positiveWorldRange = " 100000,  100000,  100000"
24   hasPhysics   = true
25  >
26    <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" />
27
28  <Pawn health=100 position="600,35,0" direction="0,-1,0" collisionType=dynamic mass=100000>
29      <attached>
30        <Model position="0,0,0" mesh="fish.mesh" scale3D="5,5,5" />
31      </attached>
32      <collisionShapes>
33        <BoxCollisionShape position="0,0,0" halfExtents="25,25,25" />
34      </collisionShapes>
35  </Pawn>
36 
37  <Pawn health=100 position="0,-35,0" direction="0,-1,0" collisionType=dynamic mass=100000>
38      <attached>
39        <Model position="0,0,0" mesh="crate.mesh" scale3D="5,5,5" />
40      </attached>
41      <collisionShapes>
42        <BoxCollisionShape position="0,0,0" halfExtents="25,25,25" />
43      </collisionShapes>
44  </Pawn>
45 
46  <StaticEntity position="0,-50,0" direction="0,-1,0" collisionType=static mass=100000 >
47      <attached>
48        <Model position="0,0,0" mesh="cube.mesh" scale3D="100,100,10" />
49      </attached>
50      <collisionShapes>
51        <BoxCollisionShape position="0,0,0" halfExtents="100,100,10" />
52      </collisionShapes>
53  </StaticEntity>
54
55   <StaticEntity position="210,-30,0" direction="0,-1,0" collisionType=static mass=100000 >
56      <attached>
57        <Model position="0,0,0" mesh="cube_orange.mesh" scale3D="100,100,10" />
58      </attached>
59      <collisionShapes>
60        <BoxCollisionShape position="0,0,0" halfExtents="100,100,10" />
61      </collisionShapes>
62  </StaticEntity>
63 
64   <StaticEntity position="600,-20,0" direction="0,-1,0" collisionType=static mass=100000 >
65      <attached>
66        <Model position="0,0,0" mesh="cube_green.mesh" scale3D="100,100,10" />
67      </attached>
68      <collisionShapes>
69        <BoxCollisionShape position="0,0,0" halfExtents="100,100,10" />
70      </collisionShapes>
71  </StaticEntity>
72
73<StaticEntity position="600,10,120" direction="0,-1,1" collisionType=static mass=100000 >
74      <attached>
75        <Model position="0,0,0" mesh="cube_red.mesh" scale3D="100,100,10" />
76      </attached>
77      <collisionShapes>
78        <BoxCollisionShape position="0,0,0" halfExtents="100,100,10" />
79      </collisionShapes>
80  </StaticEntity>
81 
82  <StaticEntity position="600,40,250" direction="0,-1,0" collisionType=static mass=100000 >
83      <attached>
84        <Model position="0,0,0" mesh="cube.mesh" scale3D="100,100,10" />
85      </attached>
86      <collisionShapes>
87        <BoxCollisionShape position="0,0,0" halfExtents="100,100,10" />
88      </collisionShapes>
89  </StaticEntity>
90 
91<?lua
92for i = 1, 10, 1
93do ?>
94    <SpawnPoint position="0,300,0" direction="0, 0, 0" lookat="0,0,100000000" spawnclass=FpsPlayer pawndesign=fps />
95<?lua
96end
97?>
98
99
100  </Scene>
101</Level>
Note: See TracBrowser for help on using the repository browser.