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