Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/menue/data/levels/teamBaseMatch.oxw @ 9215

Last change on this file since 9215 was 8958, checked in by baermatt, 13 years ago

Removing unused Level attributes.

  • Property svn:eol-style set to native
File size: 8.8 KB
RevLine 
[7648]1<LevelInfo
2 name = "Teambase Match"
[8931]3 description = "Fight for the bases. Capture bases by shooting at them and defend them against attackers."
4 tags = "gametype"
[8916]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
[8958]18 gametype = "TeamBaseMatch"
[5486]19>
[7163]20
21  <templates>
22    <Template link=lodtemplate_default />
23  </templates>
[8706]24  <?lua include("includes/notifications.oxi") ?>
[7163]25
[5486]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
[5562]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 />
[5486]34
35    <TeamBaseMatchBase
[5528]36     name              = "base 1"
[5486]37     position          = "1200, 0, 0"
[5545]38     pitch = -90
[5486]39
[5570]40     health            = 1000
41     maxhealth         = 1000
42     initialhealth     = 1000
[5486]43
44     collisionType     = "dynamic"
45     mass              = 10000
[5528]46     linearDamping     = 0.9
[5486]47     angularDamping    = 0.99999
48    >
49      <attached>
[5545]50        <Model scale=10 mesh="DuBall1.mesh" position = "-100,0,0"/>
[5562]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"/>
[7163]54
55        <?lua
56          for i = 1, 10, 1 do
57        ?>
[8079]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>
[7163]59            <events>
60              <spawn>
61                <EventListener event="base 1" />
62              </spawn>
63            </events>
64          </ParticleSpawner>
65        <?lua end ?>
66       
[5486]67      </attached>
68      <collisionShapes>
[5545]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" />
[5486]72      </collisionShapes>
73    </TeamBaseMatchBase>
74
75
76    <TeamBaseMatchBase
[5528]77     name              = "base 2"
[5486]78     position          = "-1200, 0, 0"
[5545]79     pitch = -90
[5486]80
[5570]81     health            = 1000
82     maxhealth         = 1000
83     initialhealth     = 1000
[5486]84
85     collisionType     = "dynamic"
86     mass              = 10000
87     linearDamping     = 0.9
88     angularDamping    = 0.99999
89    >
90      <attached>
[5545]91        <Model scale=10 mesh="DuBall1.mesh" position = "-100,0,0"/>
[5562]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"/>
[7163]95
96        <?lua
97          for i = 1, 10, 1 do
98        ?>
[8079]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>
[7163]100            <events>
101              <spawn>
102                <EventListener event="base 2" />
103              </spawn>
104            </events>
105          </ParticleSpawner>
106        <?lua end ?>
107       
[5486]108      </attached>
109      <collisionShapes>
[5545]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" />
[5486]113      </collisionShapes>
114    </TeamBaseMatchBase>
115
116
117    <TeamBaseMatchBase
[5528]118     name              = "base 3"
[5486]119     position          = "0, 0, 1200"
[5545]120     pitch = -90
[5486]121
[5570]122     health            = 1000
123     maxhealth         = 1000
124     initialhealth     = 1000
[5486]125
126     collisionType     = "dynamic"
127     mass              = 10000
128     linearDamping     = 0.9
129     angularDamping    = 0.99999
130    >
131      <attached>
[5545]132        <Model scale=10 mesh="DuBall1.mesh" position = "-100,0,0"/>
[5562]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"/>
[7163]136
137        <?lua
138          for i = 1, 10, 1 do
139        ?>
[8079]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>
[7163]141            <events>
142              <spawn>
143                <EventListener event="base 3" />
144              </spawn>
145            </events>
146          </ParticleSpawner>
147        <?lua end ?>
148
[5486]149      </attached>
150      <collisionShapes>
[5545]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" />
[5486]154      </collisionShapes>
155    </TeamBaseMatchBase>
156
157    <TeamBaseMatchBase
[5528]158     name              = "base 4"
[5486]159     position          = "0, 0, -1200"
160
[5570]161     health            = 1000
162     maxhealth         = 1000
163     initialhealth     = 1000
[5545]164     pitch = -90
[5486]165
166     collisionType     = "dynamic"
167     mass              = 10000
168     linearDamping     = 0.9
169     angularDamping    = 0.99999
170    >
171      <attached>
[5545]172        <Model scale=10 mesh="DuBall1.mesh" position = "-100,0,0"/>
[5562]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"/>
[7163]176
177        <?lua
178          for i = 1, 10, 1 do
179        ?>
[8079]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>
[7163]181            <events>
182              <spawn>
183                <EventListener event="base 4" />
184              </spawn>
185            </events>
186          </ParticleSpawner>
187        <?lua end ?>
188
[5486]189      </attached>
190      <collisionShapes>
[5545]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" />
[5486]194      </collisionShapes>
195    </TeamBaseMatchBase>
196
197
198    <TeamBaseMatchBase
[5528]199     name              = "base 5"
[5486]200     position          = "0, 0, 0"
[5545]201     pitch = -90
[5486]202
[5570]203     health            = 1000
204     maxhealth         = 1000
205     initialhealth     = 1000
[5486]206
207     collisionType     = "dynamic"
208     mass              = 10000
209     linearDamping     = 0.9
210     angularDamping    = 0.99999
211    >
212      <attached>
[5545]213        <Model scale=10 mesh="DuBall1.mesh" position = "-100,0,0"/>
[5562]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"/>
[7163]217
218        <?lua
219          for i = 1, 10, 1 do
220        ?>
[8079]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>
[7163]222            <events>
223              <spawn>
224                <EventListener event="base 5" />
225              </spawn>
226            </events>
227          </ParticleSpawner>
228        <?lua end ?>
229
[5486]230      </attached>
231      <collisionShapes>
[5545]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" />
[5486]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-->
[7163]244
[5486]245  </Scene>
246</Level>
Note: See TracBrowser for help on using the repository browser.