Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/media/levels/teambasematchlevel.oxw @ 5545

Last change on this file since 5545 was 5545, checked in by vmikos, 15 years ago

no comment

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