Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 6385 was 5781, checked in by rgrieder, 15 years ago

Reverted trunk again. We might want to find a way to delete these revisions again (x3n's changes are still available as diff in the commit mails).

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