Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/presentation_FS10.oxw @ 7536

Last change on this file since 7536 was 7284, checked in by landauf, 14 years ago

merged consolecommands3 branch back to trunk.

note: the console command interface has changed completely, but the documentation is not yet up to date. just copy an existing command and change it to your needs, it's pretty self-explanatory. also the include files related to console commands are now located in core/command/. in the game it should work exactly like before, except for some changes in the auto-completion.

  • Property svn:eol-style set to native
File size: 3.2 KB
RevLine 
[6883]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")
[7083]7  include("templates/lodinformation.oxt")
[6883]8?>
9
10<Level
11 name         = "fps"
12 description  = "tests"
13>
[7083]14  <templates>
15    <Template link=lodtemplate_default />
16  </templates>
17
[6883]18  <Scene
19   ambientlight = "0.1, 0.1, 0.1"
20   skybox       = "Orxonox/skypanoramagen1"
21   gravity      = "0,-1000,0"
[7284]22   negativeWorldRange = "-100000, -100000, -100000"
23   positiveWorldRange = " 100000,  100000,  100000"
[6883]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
[6908]28  <Pawn health=100 position="600,35,0" direction="0,-1,0" collisionType=dynamic mass=100000>
29      <attached>
[7052]30        <Model position="0,0,0" mesh="fish.mesh" scale3D="5,5,5" />
[6908]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 
[6883]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>
[7052]90 
[6883]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>
[7284]101</Level>
Note: See TracBrowser for help on using the repository browser.