Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 11545 was 9939, checked in by jo, 11 years ago

presentationHS13 branch merged into trunk

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