Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation3/data/levels/teambasematchlevel.oxw @ 7113

Last change on this file since 7113 was 7007, checked in by dafrick, 14 years ago

Tested and cleaned all levels (except for the ones that someone is working on at the moment).
Two levels had old Pickups in them, they have been updated to work properly now.
All levels except one are working. The one that isn't is the presentationHS09b level, which crashes due to LOD.

  • Property svn:eol-style set to native
File size: 8.6 KB
Line 
1<?lua
2  include("hudtemplates3.oxo")
3  include("stats.oxo")
4  include("teambasematchhud.oxo")
5  include("templates/spaceship_assff.oxt")
6  include("templates/spaceship_pirate.oxt")
7  include("templates/lodinformation.oxt")
8?>
9
10<Level
11 name         = "Presentation"
12 description  = "A simple testlevel"
13 gametype     = TeamBaseMatch
14>
15
16  <templates>
17    <Template link=lodtemplate_default />
18  </templates>
19
20  <Scene
21   ambientlight = "0.5, 0.5, 0.5"
22   skybox       = "Orxonox/skypanoramagen1"
23  >
24    <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" />
25
26    <TeamSpawnPoint team=0 position=" 900,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
27    <TeamSpawnPoint team=1 position="-900,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshippirate />
28
29    <TeamBaseMatchBase
30     name              = "base 1"
31     position          = "1200, 0, 0"
32     pitch = -90
33
34     health            = 1000
35     maxhealth         = 1000
36     initialhealth     = 1000
37
38     collisionType     = "dynamic"
39     mass              = 10000
40     linearDamping     = 0.9
41     angularDamping    = 0.99999
42    >
43      <attached>
44        <Model scale=10 mesh="DuBall1.mesh" position = "-100,0,0"/>
45        <Model scale=10 mesh="DuBall2.mesh" position = "100,0,0"/>
46        <Billboard scale=7 material="Examples/Flare" colour="0.5,0.5,0.5" position = "-100,0,0"/>
47        <Billboard scale=7 material="Examples/Flare" colour="0.5,0.5,0.5" position = "100,0,0"/>
48
49        <?lua
50          for i = 1, 10, 1 do
51        ?>
52          <ParticleSpawner position="<?lua print(math.random() * 400 - 200) ?>,<?lua print(math.random() * 200 - 100) ?>,<?lua print(math.random() * 200 - 100) ?>" startdelay=<?lua print(math.random()) ?> source="Orxonox/BigExplosion1part1" lifetime=2.0 loop=0 autostart=0>
53            <events>
54              <spawn>
55                <EventListener event="base 1" />
56              </spawn>
57            </events>
58          </ParticleSpawner>
59        <?lua end ?>
60       
61      </attached>
62      <collisionShapes>
63        <SphereCollisionShape radius="80"            position = "-100,0,0" />
64        <SphereCollisionShape radius="120"           position = "100,0,0" />
65        <BoxCollisionShape    halfExtents="90,25,45" position = "-155,0,40" />
66      </collisionShapes>
67    </TeamBaseMatchBase>
68
69
70    <TeamBaseMatchBase
71     name              = "base 2"
72     position          = "-1200, 0, 0"
73     pitch = -90
74
75     health            = 1000
76     maxhealth         = 1000
77     initialhealth     = 1000
78
79     collisionType     = "dynamic"
80     mass              = 10000
81     linearDamping     = 0.9
82     angularDamping    = 0.99999
83    >
84      <attached>
85        <Model scale=10 mesh="DuBall1.mesh" position = "-100,0,0"/>
86        <Model scale=10 mesh="DuBall2.mesh" position = "100,0,0"/>
87        <Billboard scale=7 material="Examples/Flare" colour="0.5,0.5,0.5" position = "-100,0,0"/>
88        <Billboard scale=7 material="Examples/Flare" colour="0.5,0.5,0.5" position = "100,0,0"/>
89
90        <?lua
91          for i = 1, 10, 1 do
92        ?>
93          <ParticleSpawner position="<?lua print(math.random() * 400 - 200) ?>,<?lua print(math.random() * 200 - 100) ?>,<?lua print(math.random() * 200 - 100) ?>" startdelay=<?lua print(math.random()) ?> source="Orxonox/BigExplosion1part1" lifetime=2.0 loop=0 autostart=0>
94            <events>
95              <spawn>
96                <EventListener event="base 2" />
97              </spawn>
98            </events>
99          </ParticleSpawner>
100        <?lua end ?>
101       
102      </attached>
103      <collisionShapes>
104        <SphereCollisionShape radius="80"            position = "-100,0,0" />
105        <SphereCollisionShape radius="120"           position = "100,0,0" />
106        <BoxCollisionShape    halfExtents="90,25,45" position = "-155,0,40" />
107      </collisionShapes>
108    </TeamBaseMatchBase>
109
110
111    <TeamBaseMatchBase
112     name              = "base 3"
113     position          = "0, 0, 1200"
114     pitch = -90
115
116     health            = 1000
117     maxhealth         = 1000
118     initialhealth     = 1000
119
120     collisionType     = "dynamic"
121     mass              = 10000
122     linearDamping     = 0.9
123     angularDamping    = 0.99999
124    >
125      <attached>
126        <Model scale=10 mesh="DuBall1.mesh" position = "-100,0,0"/>
127        <Model scale=10 mesh="DuBall2.mesh" position = "100,0,0"/>
128        <Billboard scale=7 material="Examples/Flare" colour="0.5,0.5,0.5" position = "-100,0,0"/>
129        <Billboard scale=7 material="Examples/Flare" colour="0.5,0.5,0.5" position = "100,0,0"/>
130
131        <?lua
132          for i = 1, 10, 1 do
133        ?>
134          <ParticleSpawner position="<?lua print(math.random() * 400 - 200) ?>,<?lua print(math.random() * 200 - 100) ?>,<?lua print(math.random() * 200 - 100) ?>" startdelay=<?lua print(math.random()) ?> source="Orxonox/BigExplosion1part1" lifetime=2.0 loop=0 autostart=0>
135            <events>
136              <spawn>
137                <EventListener event="base 3" />
138              </spawn>
139            </events>
140          </ParticleSpawner>
141        <?lua end ?>
142
143      </attached>
144      <collisionShapes>
145        <SphereCollisionShape radius="80"            position = "-100,0,0" />
146        <SphereCollisionShape radius="120"           position = "100,0,0" />
147        <BoxCollisionShape    halfExtents="90,25,45" position = "-155,0,40" />
148      </collisionShapes>
149    </TeamBaseMatchBase>
150
151    <TeamBaseMatchBase
152     name              = "base 4"
153     position          = "0, 0, -1200"
154
155     health            = 1000
156     maxhealth         = 1000
157     initialhealth     = 1000
158     pitch = -90
159
160     collisionType     = "dynamic"
161     mass              = 10000
162     linearDamping     = 0.9
163     angularDamping    = 0.99999
164    >
165      <attached>
166        <Model scale=10 mesh="DuBall1.mesh" position = "-100,0,0"/>
167        <Model scale=10 mesh="DuBall2.mesh" position = "100,0,0"/>
168        <Billboard scale=7 material="Examples/Flare" colour="0.5,0.5,0.5" position = "-100,0,0"/>
169        <Billboard scale=7 material="Examples/Flare" colour="0.5,0.5,0.5" position = "100,0,0"/>
170
171        <?lua
172          for i = 1, 10, 1 do
173        ?>
174          <ParticleSpawner position="<?lua print(math.random() * 400 - 200) ?>,<?lua print(math.random() * 200 - 100) ?>,<?lua print(math.random() * 200 - 100) ?>" startdelay=<?lua print(math.random()) ?> source="Orxonox/BigExplosion1part1" lifetime=2.0 loop=0 autostart=0>
175            <events>
176              <spawn>
177                <EventListener event="base 4" />
178              </spawn>
179            </events>
180          </ParticleSpawner>
181        <?lua end ?>
182
183      </attached>
184      <collisionShapes>
185        <SphereCollisionShape radius="80"            position = "-100,0,0" />
186        <SphereCollisionShape radius="120"           position = "100,0,0" />
187        <BoxCollisionShape    halfExtents="90,25,45" position = "-155,0,40" />
188      </collisionShapes>
189    </TeamBaseMatchBase>
190
191
192    <TeamBaseMatchBase
193     name              = "base 5"
194     position          = "0, 0, 0"
195     pitch = -90
196
197     health            = 1000
198     maxhealth         = 1000
199     initialhealth     = 1000
200
201     collisionType     = "dynamic"
202     mass              = 10000
203     linearDamping     = 0.9
204     angularDamping    = 0.99999
205    >
206      <attached>
207        <Model scale=10 mesh="DuBall1.mesh" position = "-100,0,0"/>
208        <Model scale=10 mesh="DuBall2.mesh" position = "100,0,0"/>
209        <Billboard scale=7 material="Examples/Flare" colour="0.5,0.5,0.5" position = "-100,0,0"/>
210        <Billboard scale=7 material="Examples/Flare" colour="0.5,0.5,0.5" position = "100,0,0"/>
211
212        <?lua
213          for i = 1, 10, 1 do
214        ?>
215          <ParticleSpawner position="<?lua print(math.random() * 400 - 200) ?>,<?lua print(math.random() * 200 - 100) ?>,<?lua print(math.random() * 200 - 100) ?>" startdelay=<?lua print(math.random()) ?> source="Orxonox/BigExplosion1part1" lifetime=2.0 loop=0 autostart=0>
216            <events>
217              <spawn>
218                <EventListener event="base 5" />
219              </spawn>
220            </events>
221          </ParticleSpawner>
222        <?lua end ?>
223
224      </attached>
225      <collisionShapes>
226        <SphereCollisionShape radius="80"            position = "-100,0,0" />
227        <SphereCollisionShape radius="120"           position = "100,0,0" />
228        <BoxCollisionShape    halfExtents="90,25,45" position = "-155,0,40" />
229      </collisionShapes>
230    </TeamBaseMatchBase>
231
232    <!--Model position="0,0,0" scale=8 mesh="ast1.mesh" />
233    <StaticEntity position="0,0,0" collisionType=static>
234      <collisionShapes>
235        <SphereCollisionShape radius="20" />
236      </collisionShapes>
237    </StaticEntity-->
238
239  </Scene>
240</Level>
Note: See TracBrowser for help on using the repository browser.