Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 8538 was 8079, checked in by landauf, 14 years ago

merged usability branch back to trunk

incomplete summary of the changes in this branch:

  • enhanced keyboard navigation in GUIs
  • implemented new graphics menu and changeable window size at runtime
  • added developer mode
  • HUD shows if game is paused, game pauses if ingame menu is opened
  • removed a few obsolete commands and hid some that are more for internal use
  • numpad works in console and gui
  • faster loading of level info
  • enhanced usage of compositors (Shader class)
  • improved camera handling, configurable FOV and aspect ratio
  • 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>
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.