Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/teamBaseMatch.oxw @ 8749

Last change on this file since 8749 was 8706, checked in by dafrick, 13 years ago

Merging presentation branch back into trunk.
There are many new features and also a lot of other changes and bugfixes, if you want to know, digg through the svn log.
Not everything is yet working as it should, but it should be fairly stable. If you habe any bug reports, just send me an email.

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