Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/fps/data/levels/presentation_FS10.oxw @ 7073

Last change on this file since 7073 was 7052, checked in by freicy, 15 years ago

by Cyrill Frei

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