Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/levelMichael/data/levels/presentationFS10Ed.oxw @ 10145

Last change on this file since 10145 was 9348, checked in by landauf, 12 years ago

merged branch presentation2012merge back to trunk

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