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