Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 7028 was 6417, checked in by rgrieder, 15 years ago

Merged presentation2 branch back to trunk.
Major new features:

  • Actual GUI with settings, etc.
  • Improved space ship steering (human interaction)
  • Rocket fire and more particle effects
  • Advanced sound framework
  • Property svn:eol-style set to native
File size: 8.0 KB
Line 
1<?lua
2  include("hudtemplates3.oxo")
3  include("stats.oxo")
4  include("teambasematchhud.oxo")
5  include("templates/spaceship_assff.oxt")
6  include("templates/spaceship_pirate.oxt")
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
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 />
22
23    <TeamBaseMatchBase
24     name              = "base 1"
25     position          = "1200, 0, 0"
26     pitch = -90
27
28     health            = 1000
29     maxhealth         = 1000
30     initialhealth     = 1000
31
32     collisionType     = "dynamic"
33     mass              = 10000
34     linearDamping     = 0.9
35     angularDamping    = 0.99999
36    >
37      <attached>
38        <Model scale=10 mesh="DuBall1.mesh" position = "-100,0,0"/>
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"/>
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?>
51      </attached>
52      <collisionShapes>
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" />
56      </collisionShapes>
57    </TeamBaseMatchBase>
58
59
60    <TeamBaseMatchBase
61     name              = "base 2"
62     position          = "-1200, 0, 0"
63     pitch = -90
64
65     health            = 1000
66     maxhealth         = 1000
67     initialhealth     = 1000
68
69     collisionType     = "dynamic"
70     mass              = 10000
71     linearDamping     = 0.9
72     angularDamping    = 0.99999
73    >
74      <attached>
75        <Model scale=10 mesh="DuBall1.mesh" position = "-100,0,0"/>
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"/>
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?>
88      </attached>
89      <collisionShapes>
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" />
93      </collisionShapes>
94    </TeamBaseMatchBase>
95
96
97    <TeamBaseMatchBase
98     name              = "base 3"
99     position          = "0, 0, 1200"
100     pitch = -90
101
102     health            = 1000
103     maxhealth         = 1000
104     initialhealth     = 1000
105
106     collisionType     = "dynamic"
107     mass              = 10000
108     linearDamping     = 0.9
109     angularDamping    = 0.99999
110    >
111      <attached>
112        <Model scale=10 mesh="DuBall1.mesh" position = "-100,0,0"/>
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"/>
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?>
125      </attached>
126      <collisionShapes>
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" />
130      </collisionShapes>
131    </TeamBaseMatchBase>
132
133    <TeamBaseMatchBase
134     name              = "base 4"
135     position          = "0, 0, -1200"
136
137     health            = 1000
138     maxhealth         = 1000
139     initialhealth     = 1000
140     pitch = -90
141
142     collisionType     = "dynamic"
143     mass              = 10000
144     linearDamping     = 0.9
145     angularDamping    = 0.99999
146    >
147      <attached>
148        <Model scale=10 mesh="DuBall1.mesh" position = "-100,0,0"/>
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"/>
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?>
161      </attached>
162      <collisionShapes>
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" />
166      </collisionShapes>
167    </TeamBaseMatchBase>
168
169
170    <TeamBaseMatchBase
171     name              = "base 5"
172     position          = "0, 0, 0"
173     pitch = -90
174
175     health            = 1000
176     maxhealth         = 1000
177     initialhealth     = 1000
178
179     collisionType     = "dynamic"
180     mass              = 10000
181     linearDamping     = 0.9
182     angularDamping    = 0.99999
183    >
184      <attached>
185        <Model scale=10 mesh="DuBall1.mesh" position = "-100,0,0"/>
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"/>
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?>
198      </attached>
199      <collisionShapes>
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" />
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.