Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/questlog/data/levels/teamBaseMatch.oxw @ 10087

Last change on this file since 10087 was 9016, checked in by jo, 13 years ago

Merging presentation2011 branch to trunk. Please check for possible bugs.

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