Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/menue/data/levels/presentationFS10Ed.oxw @ 8916

Last change on this file since 8916 was 8916, checked in by baermatt, 13 years ago

Associated each screenshot to the correct level

  • 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("stats.oxo")
11  include("templates/spaceshipAssff.oxt")
12  include("templates/spaceshipH2.oxt")
13  include("templates/FPS.oxt")
14  include("templates/lodInformation.oxt")
15?>
16
17<Level
18 name         = "fps"
19 description  = "tests"
20>
21  <templates>
22    <Template link=lodtemplate_default />
23  </templates>
24  <?lua include("includes/notifications.oxi") ?>
25
26  <Scene
27   ambientlight = "0.1, 0.1, 0.1"
28   skybox       = "Orxonox/skypanoramagen1"
29   gravity      = "0,-1000,0"
30   negativeWorldRange = "-100000, -100000, -100000"
31   positiveWorldRange = " 100000,  100000,  100000"
32   hasPhysics   = true
33  >
34    <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" />
35
36  <Pawn health=100 position="600,35,0" direction="0,-1,0" collisionType=dynamic mass=100000>
37      <attached>
38        <Model position="0,0,0" mesh="crate.mesh" scale3D="5,5,5" />
39      </attached>
40      <collisionShapes>
41        <BoxCollisionShape position="0,0,0" halfExtents="25,25,25" />
42      </collisionShapes>
43  </Pawn>
44 
45  <Pawn health=100 position="0,-35,0" direction="0,-1,0" collisionType=dynamic mass=100000>
46      <attached>
47        <Model position="0,0,0" mesh="crate.mesh" scale3D="5,5,5" />
48      </attached>
49      <collisionShapes>
50        <BoxCollisionShape position="0,0,0" halfExtents="25,25,25" />
51      </collisionShapes>
52  </Pawn>
53 
54  <StaticEntity position="0,-50,0" direction="0,-1,0" collisionType=static mass=100000 >
55      <attached>
56        <Model position="0,0,0" mesh="cube.mesh" scale3D="100,100,10" />
57      </attached>
58      <collisionShapes>
59        <BoxCollisionShape position="0,0,0" halfExtents="100,100,10" />
60      </collisionShapes>
61  </StaticEntity>
62
63   <StaticEntity position="210,-30,0" direction="0,-1,0" collisionType=static mass=100000 >
64      <attached>
65        <Model position="0,0,0" mesh="cube_orange.mesh" scale3D="100,100,10" />
66      </attached>
67      <collisionShapes>
68        <BoxCollisionShape position="0,0,0" halfExtents="100,100,10" />
69      </collisionShapes>
70  </StaticEntity>
71 
72   <StaticEntity position="600,-20,0" direction="0,-1,0" collisionType=static mass=100000 >
73      <attached>
74        <Model position="0,0,0" mesh="cube_green.mesh" scale3D="100,100,10" />
75      </attached>
76      <collisionShapes>
77        <BoxCollisionShape position="0,0,0" halfExtents="100,100,10" />
78      </collisionShapes>
79  </StaticEntity>
80
81<StaticEntity position="600,10,120" direction="0,-1,1" collisionType=static mass=100000 >
82      <attached>
83        <Model position="0,0,0" mesh="cube_red.mesh" scale3D="100,100,10" />
84      </attached>
85      <collisionShapes>
86        <BoxCollisionShape position="0,0,0" halfExtents="100,100,10" />
87      </collisionShapes>
88  </StaticEntity>
89 
90  <StaticEntity position="600,40,250" direction="0,-1,0" collisionType=static mass=100000 >
91      <attached>
92        <Model position="0,0,0" mesh="cube.mesh" scale3D="100,100,10" />
93      </attached>
94      <collisionShapes>
95        <BoxCollisionShape position="0,0,0" halfExtents="100,100,10" />
96      </collisionShapes>
97  </StaticEntity>
98 
99 
100   <StaticEntity position="6000,0,10250" direction="0,0,0" collisionType=static mass=100000 >
101      <attached>
102        <Model position="0,0,0" mesh="cube_green.mesh" scale3D="10000,10,10000" />
103      </attached>
104      <collisionShapes>
105        <BoxCollisionShape position="0,0,0" halfExtents="10000,10,10000" />
106      </collisionShapes>
107  </StaticEntity>
108 
109  <Pawn health=100 position="530,70,1450" direction="-1,0,0" collisionType=dynamic mass=1 >
110      <attached>
111        <Model position="0,0,0" mesh="cube_red.mesh" scale3D="60,60,10" />
112      </attached>
113      <collisionShapes>
114        <BoxCollisionShape position="0,0,0" halfExtents="60,60,10" />
115      </collisionShapes>
116  </Pawn>
117 
118  <Pawn health=100 position="670,70,1450" direction="-1,0,0" collisionType=dynamic mass=1 >
119      <attached>
120        <Model position="0,0,0" mesh="cube_red.mesh" scale3D="60,60,10" />
121      </attached>
122      <collisionShapes>
123        <BoxCollisionShape position="0,0,0" halfExtents="60,60,10" />
124      </collisionShapes>
125  </Pawn>
126 
127   <Pawn health=100 position="600,70,1500" direction="0,0,-1" collisionType=dynamic mass=1 >
128      <attached>
129        <Model position="0,0,0" mesh="cube_red.mesh" scale3D="60,60,10" />
130      </attached>
131      <collisionShapes>
132        <BoxCollisionShape position="0,0,0" halfExtents="60,60,10" />
133      </collisionShapes>
134  </Pawn>
135 
136   <Pawn health=100 position="600,150,1450" direction="0,-1,0" collisionType=dynamic mass=1 >
137      <attached>
138        <Model position="0,0,0" mesh="cube.mesh" scale3D="90,80,10" />
139      </attached>
140      <collisionShapes>
141        <BoxCollisionShape position="0,0,0" halfExtents="90,80,10" />
142      </collisionShapes>
143  </Pawn>
144 
145  <Pawn health=100 position="600,35,1450" direction="0,-1,0" collisionType=dynamic mass=1 >
146      <attached>
147        <Model position="0,0,0" mesh="crate.mesh" scale3D="5,5,5" />
148      </attached>
149      <collisionShapes>
150        <BoxCollisionShape position="0,0,0" halfExtents="25,25,25" />
151      </collisionShapes>
152  </Pawn>
153 
154
155  <SpawnPoint position="0,300,0" direction="0, 0, 0" lookat="0,0,100000000" spawnclass=FpsPlayer pawndesign=fps />
156
157
158<?lua
159for i = 1, 100, 1
160do
161j = math.random()
162g = math.random()
163h = math.random()
164?>
165  <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)?> >
166      <attached>
167        <Model position="0,0,0" scale3D="<?lua print(j*100) ?>,<?lua print(g*100) ?>,<?lua print(h*100) ?>" mesh="cube<?lua
168        if math.mod(i,4)==0 then print('_green') end
169        if math.mod(i,4)==1 then print('_red') end
170        if math.mod(i,4)==2 then print('_orange') end
171        ?>.mesh" /> <!--if it's 3, cube.mesh is taken -> yellow -->
172      </attached>
173      <collisionShapes>
174        <BoxCollisionShape position="0,0,0" halfExtents="<?lua print(j*100) ?>,<?lua print(g*100) ?>,<?lua print(h*100) ?>" />
175      </collisionShapes>
176  </Pawn>
177<?lua
178end
179?>
180
181
182  </Scene>
183</Level>
Note: See TracBrowser for help on using the repository browser.