Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/archive/PLehmann_FS16/data/levels/presentationFS10Ed.oxw @ 11538

Last change on this file since 11538 was 11104, checked in by fvultier, 9 years ago

Some HUDs (Health, Shield, Weapons, EnemyHealth, EnemyShield) are also displayed in FPS mode. Removed two unused redundant files.

  • Property svn:eol-style set to native
File size: 6.3 KB
Line 
1<LevelInfo
2 name = "Presentation XI FPS 2nd"
3 description = "3rd Presentation level for Orxonox Convention XI, FPS"
4 tags = "presentation"
5 screenshot = "presentationxifps2nd.png"
6/>
7
8<?lua
9  include("HUDTemplates3.oxo")
10  include("HUDTemplatesFPS.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.1, 0.1, 0.1"
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, 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="crate.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
98   <StaticEntity position="6000,0,10250" direction="0,0,0" collisionType=static mass=100000 >
99      <attached>
100        <Model position="0,0,0" mesh="cube_green.mesh" scale3D="10000,10,10000" />
101      </attached>
102      <collisionShapes>
103        <BoxCollisionShape position="0,0,0" halfExtents="10000,10,10000" />
104      </collisionShapes>
105  </StaticEntity>
106
107  <Pawn health=100 position="530,70,1450" direction="-1,0,0" collisionType=dynamic mass=1 >
108      <attached>
109        <Model position="0,0,0" mesh="cube_red.mesh" scale3D="60,60,10" />
110      </attached>
111      <collisionShapes>
112        <BoxCollisionShape position="0,0,0" halfExtents="60,60,10" />
113      </collisionShapes>
114  </Pawn>
115
116  <Pawn health=100 position="670,70,1450" direction="-1,0,0" collisionType=dynamic mass=1 >
117      <attached>
118        <Model position="0,0,0" mesh="cube_red.mesh" scale3D="60,60,10" />
119      </attached>
120      <collisionShapes>
121        <BoxCollisionShape position="0,0,0" halfExtents="60,60,10" />
122      </collisionShapes>
123  </Pawn>
124
125   <Pawn health=100 position="600,70,1500" direction="0,0,-1" collisionType=dynamic mass=1 >
126      <attached>
127        <Model position="0,0,0" mesh="cube_red.mesh" scale3D="60,60,10" />
128      </attached>
129      <collisionShapes>
130        <BoxCollisionShape position="0,0,0" halfExtents="60,60,10" />
131      </collisionShapes>
132  </Pawn>
133
134   <Pawn health=100 position="600,150,1450" direction="0,-1,0" collisionType=dynamic mass=1 >
135      <attached>
136        <Model position="0,0,0" mesh="cube.mesh" scale3D="90,80,10" />
137      </attached>
138      <collisionShapes>
139        <BoxCollisionShape position="0,0,0" halfExtents="90,80,10" />
140      </collisionShapes>
141  </Pawn>
142
143  <Pawn health=100 position="600,35,1450" direction="0,-1,0" collisionType=dynamic mass=1 >
144      <attached>
145        <Model position="0,0,0" mesh="crate.mesh" scale3D="5,5,5" />
146      </attached>
147      <collisionShapes>
148        <BoxCollisionShape position="0,0,0" halfExtents="25,25,25" />
149      </collisionShapes>
150  </Pawn>
151
152
153  <SpawnPoint position="0,300,0" direction="0, 0, 0" lookat="0,0,100000000" spawnclass=FpsPlayer pawndesign=fps />
154
155
156<?lua
157for i = 1, 100, 1
158do
159j = math.random()
160g = math.random()
161h = math.random()
162?>
163  <Pawn position="<?lua print( (math.random()+10) * 1000 - 9800) ?>,<?lua print(math.random()) ?>,<?lua print( (math.random()+10) * 2000 - 19500) ?>" direction="<?lua print( (math.random()+10) * 10 - 100) ?>,<?lua print(math.random()) ?>,<?lua print(math.random()) ?>" collisionType=dynamic linearDamping=0.8 angularDamping=0 mass=<?lua print(j * 100)?> >
164      <attached>
165        <Model position="0,0,0" scale3D="<?lua print(j*100) ?>,<?lua print(g*100) ?>,<?lua print(h*100) ?>" mesh="cube<?lua
166        if math.mod(i,4)==0 then print('_green') end
167        if math.mod(i,4)==1 then print('_red') end
168        if math.mod(i,4)==2 then print('_orange') end
169        ?>.mesh" /> <!--if it's 3, cube.mesh is taken -> yellow -->
170      </attached>
171      <collisionShapes>
172        <BoxCollisionShape position="0,0,0" halfExtents="<?lua print(j*100) ?>,<?lua print(g*100) ?>,<?lua print(h*100) ?>" />
173      </collisionShapes>
174  </Pawn>
175<?lua
176end
177?>
178
179
180  </Scene>
181</Level>
Note: See TracBrowser for help on using the repository browser.