Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/teambasematchlevel.oxw @ 7221

Last change on this file since 7221 was 7163, checked in by dafrick, 14 years ago

Merged presentation3 branch into trunk.

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