[9112] | 1 | <!-- TODO: Update the level's image--> |
---|
[9141] | 2 | |
---|
| 3 | <!-- See TowerDefenseReadme.txt for Information on this file --> |
---|
| 4 | |
---|
[9096] | 5 | <LevelInfo |
---|
| 6 | name = "Tower Defense" |
---|
[9112] | 7 | description = "Defend your Spacestation from incoming waves." |
---|
[9346] | 8 | tags = "minigame" |
---|
[9096] | 9 | screenshot = "emptylevel.png" |
---|
| 10 | /> |
---|
| 11 | |
---|
| 12 | <?lua |
---|
| 13 | include("stats.oxo") |
---|
| 14 | include("HUDTemplates3.oxo") |
---|
[9173] | 15 | include("towerdefenseHUD.oxo") |
---|
[9096] | 16 | include("templates/lodInformation.oxt") |
---|
[10629] | 17 | include("includes/weaponSettingsTurret.oxi") |
---|
[9112] | 18 | include("templates/spaceshipAssff.oxt") |
---|
[10258] | 19 | include("templates/standardTurret.oxt") |
---|
[9112] | 20 | ?> |
---|
| 21 | |
---|
[10622] | 22 | <Template name=selectercameras defaults=0> |
---|
| 23 | <TowerDefenseSelecter> |
---|
[9103] | 24 | <camerapositions> |
---|
[12182] | 25 | <CameraPosition position="-50,-1300,1000" lookat="-50,0,-400" absolute=true drag=true mouselook=true/> |
---|
[9103] | 26 | </camerapositions> |
---|
[10622] | 27 | </TowerDefenseSelecter> |
---|
[9103] | 28 | </Template> |
---|
[9096] | 29 | |
---|
[10622] | 30 | <Template name=selectertemplate> |
---|
| 31 | <TowerDefenseSelecter team=0 camerapositiontemplate=selectercameras> |
---|
[9103] | 32 | <attached> |
---|
[10629] | 33 | <Model position="0,0,0" pitch=90 mesh="TD_Selection.mesh" scale=25/> |
---|
[9103] | 34 | </attached> |
---|
[10622] | 35 | </TowerDefenseSelecter> |
---|
[9103] | 36 | </Template> |
---|
[9096] | 37 | |
---|
[10629] | 38 | <Template name=tower1template> |
---|
| 39 | <TowerDefenseTower |
---|
| 40 | explosionchunks=6 |
---|
[11052] | 41 | shieldrechargerate=10 |
---|
| 42 | shieldrechargewaittime=5 |
---|
[10629] | 43 | collisionType="none" |
---|
| 44 | pitch="0" |
---|
| 45 | yaw="0" |
---|
| 46 | roll="0" |
---|
| 47 | maxPitch=360 |
---|
| 48 | maxYaw=360 |
---|
| 49 | maxAttackRadius=1000 |
---|
| 50 | minAttackRadius=0 |
---|
| 51 | team=0 |
---|
| 52 | > |
---|
| 53 | <controller> |
---|
| 54 | <TurretController team = 0/> |
---|
| 55 | </controller> |
---|
| 56 | <weaponslots> |
---|
| 57 | <WeaponSlot position="0,0,0" /> |
---|
| 58 | </weaponslots> |
---|
| 59 | <weaponsets> |
---|
| 60 | <WeaponSet firemode=0 /> |
---|
| 61 | </weaponsets> |
---|
[11052] | 62 | <weaponpacks> |
---|
[10629] | 63 | <WeaponPack> |
---|
| 64 | <links> |
---|
| 65 | <DefaultWeaponmodeLink firemode=0 weaponmode=0 /> |
---|
| 66 | </links> |
---|
| 67 | <Weapon> |
---|
| 68 | <HsW01 mode=0 munitionpershot=0 muzzleoffset="0,0,0" damage=2 shielddamage=1 material="Flares/point_lensflare" delay=0/> |
---|
| 69 | </Weapon> |
---|
| 70 | </WeaponPack> |
---|
[11052] | 71 | </weaponpacks> |
---|
| 72 | <munition> |
---|
| 73 | <LaserMunition initialmagazines=1 maxmagazines=1 munitionpermagazine=10 replenishamount=1 replenishinterval=0.3/> |
---|
| 74 | </munition> |
---|
[10629] | 75 | </TowerDefenseTower> |
---|
| 76 | </Template> |
---|
[9138] | 77 | |
---|
[10629] | 78 | <Template name=tower2template> |
---|
| 79 | <TowerDefenseTower |
---|
| 80 | explosionchunks=6 |
---|
[11052] | 81 | shieldrechargerate=10 |
---|
| 82 | shieldrechargewaittime=5 |
---|
[10629] | 83 | collisionType="none" |
---|
| 84 | pitch="0" |
---|
| 85 | yaw="0" |
---|
| 86 | roll="0" |
---|
| 87 | maxPitch=360 |
---|
| 88 | maxYaw=360 |
---|
| 89 | maxAttackRadius=1000 |
---|
| 90 | minAttackRadius=0 |
---|
| 91 | team=0 |
---|
| 92 | > |
---|
| 93 | <controller> |
---|
| 94 | <TurretController team = 0/> |
---|
| 95 | </controller> |
---|
| 96 | <weaponslots> |
---|
| 97 | <WeaponSlot position="0,0,0" /> |
---|
| 98 | </weaponslots> |
---|
| 99 | <weaponsets> |
---|
| 100 | <WeaponSet firemode=0 /> |
---|
| 101 | </weaponsets> |
---|
[11052] | 102 | <weaponpacks> |
---|
[10629] | 103 | <WeaponPack> |
---|
| 104 | <links> |
---|
| 105 | <DefaultWeaponmodeLink firemode=0 weaponmode=0 /> |
---|
| 106 | </links> |
---|
| 107 | <Weapon> |
---|
| 108 | <LightningGun mode=0 munitionpershot=0 muzzleoffset="0,0,0" damage=2 shielddamage=4 /> |
---|
| 109 | </Weapon> |
---|
| 110 | </WeaponPack> |
---|
[11052] | 111 | </weaponpacks> |
---|
| 112 | <munition> |
---|
| 113 | <LightningMunition initialmagazines=1 maxmagazines=1 munitionpermagazine=10/> |
---|
| 114 | </munition> |
---|
[10629] | 115 | <attached> |
---|
| 116 | <Backlight position="0,0,0" scale=2.0 colour="0.4, 0.0, 1.0" width=10 length=10 lifetime=0.3 elements=20 trailmaterial="Trail/backlighttrail" material="Examples/Flare" loop=1 /> |
---|
| 117 | </attached> |
---|
| 118 | </TowerDefenseTower> |
---|
| 119 | </Template> |
---|
[9096] | 120 | |
---|
[10629] | 121 | <Template name=tower3template> |
---|
| 122 | <TowerDefenseTower |
---|
| 123 | explosionchunks=6 |
---|
[11052] | 124 | shieldrechargerate=10 |
---|
| 125 | shieldrechargewaittime=5 |
---|
[10629] | 126 | collisionType="none" |
---|
| 127 | pitch="0" |
---|
| 128 | yaw="0" |
---|
| 129 | roll="0" |
---|
| 130 | maxPitch=360 |
---|
| 131 | maxYaw=360 |
---|
| 132 | maxAttackRadius=1000 |
---|
| 133 | minAttackRadius=0 |
---|
| 134 | team=0 |
---|
| 135 | > |
---|
| 136 | <controller> |
---|
| 137 | <TurretController team = 0/> |
---|
| 138 | </controller> |
---|
| 139 | <weaponslots> |
---|
| 140 | <WeaponSlot position="0,0,0" /> |
---|
| 141 | </weaponslots> |
---|
| 142 | <weaponsets> |
---|
| 143 | <WeaponSet firemode=0 /> |
---|
| 144 | </weaponsets> |
---|
[11052] | 145 | <weaponpacks> |
---|
[10629] | 146 | <WeaponPack> |
---|
| 147 | <links> |
---|
| 148 | <DefaultWeaponmodeLink firemode=0 weaponmode=0 /> |
---|
| 149 | </links> |
---|
| 150 | <Weapon> |
---|
| 151 | <SplitGun mode=0 munitionpershot=0 damage=9.3 muzzleoffset=" 1.6, 1.3, -2.0" splittime=0.2 numberofsplits=2 numberofchilds=5 spread=0.1 damagereduction=3.0 /> |
---|
| 152 | </Weapon> |
---|
| 153 | </WeaponPack> |
---|
[11052] | 154 | </weaponpacks> |
---|
| 155 | <munition> |
---|
| 156 | <SplitMunition initialmagazines=1 maxmagazines=1 munitionpermagazine=10/> |
---|
| 157 | </munition> |
---|
[10629] | 158 | </TowerDefenseTower> |
---|
| 159 | </Template> |
---|
[9175] | 160 | |
---|
[10629] | 161 | <Template name=tower4template> |
---|
| 162 | <TowerDefenseTower |
---|
| 163 | explosionchunks=6 |
---|
[11052] | 164 | shieldrechargerate=10 |
---|
| 165 | shieldrechargewaittime=5 |
---|
[10629] | 166 | collisionType="none" |
---|
| 167 | pitch="0" |
---|
| 168 | yaw="0" |
---|
| 169 | roll="0" |
---|
| 170 | maxPitch=360 |
---|
| 171 | maxYaw=360 |
---|
| 172 | maxAttackRadius=1000 |
---|
| 173 | minAttackRadius=0 |
---|
| 174 | team=0 |
---|
| 175 | > |
---|
| 176 | <controller> |
---|
| 177 | <TurretController team = 0/> |
---|
| 178 | </controller> |
---|
| 179 | <weaponslots> |
---|
| 180 | <WeaponSlot position="0,0,0" /> |
---|
| 181 | </weaponslots> |
---|
| 182 | <weaponsets> |
---|
| 183 | <WeaponSet firemode=0 /> |
---|
| 184 | </weaponsets> |
---|
[11052] | 185 | <weaponpacks> |
---|
[10629] | 186 | <WeaponPack> |
---|
| 187 | <links> |
---|
| 188 | <DefaultWeaponmodeLink firemode=0 weaponmode=0 /> |
---|
| 189 | </links> |
---|
| 190 | <Weapon> |
---|
[11052] | 191 | <RocketFire mode=0 munitionpershot=0 muzzleoffset="0,0,0" damage=2 shielddamage=4 fuel=10/> |
---|
[10629] | 192 | </Weapon> |
---|
| 193 | </WeaponPack> |
---|
[11052] | 194 | </weaponpacks> |
---|
| 195 | <munition> |
---|
| 196 | <RocketMunition initialmagazines=1 maxmagazines=1 munitionpermagazine=10/> |
---|
| 197 | </munition> |
---|
[10629] | 198 | <attached> |
---|
| 199 | <ParticleSpawner position="0,0,0" source="Orxonox/sparks" lifetime=3.0 autostart=1 loop=1 /> |
---|
| 200 | </attached> |
---|
| 201 | </TowerDefenseTower> |
---|
| 202 | </Template> |
---|
| 203 | |
---|
| 204 | <Template name=tower5template> |
---|
| 205 | <TowerDefenseTower |
---|
| 206 | explosionchunks=6 |
---|
[11052] | 207 | shieldrechargerate=10 |
---|
| 208 | shieldrechargewaittime=5 |
---|
[10629] | 209 | collisionType="none" |
---|
| 210 | pitch="0" |
---|
| 211 | yaw="0" |
---|
| 212 | roll="0" |
---|
| 213 | maxPitch=360 |
---|
| 214 | maxYaw=360 |
---|
| 215 | maxAttackRadius=1000 |
---|
| 216 | minAttackRadius=0 |
---|
| 217 | team=0 |
---|
| 218 | > |
---|
| 219 | <controller> |
---|
| 220 | <TurretController team = 0/> |
---|
| 221 | </controller> |
---|
| 222 | <weaponslots> |
---|
| 223 | <WeaponSlot position="0,0,0" /> |
---|
| 224 | </weaponslots> |
---|
| 225 | <weaponsets> |
---|
| 226 | <WeaponSet firemode=0 /> |
---|
| 227 | </weaponsets> |
---|
[11052] | 228 | <weaponpacks> |
---|
[10629] | 229 | <WeaponPack> |
---|
| 230 | <links> |
---|
| 231 | <DefaultWeaponmodeLink firemode=0 weaponmode=0 /> |
---|
| 232 | </links> |
---|
| 233 | <Weapon> |
---|
| 234 | <IceGun mode=0 munitionpershot=0 delay=0.125 damage=9.3 muzzleoffset=" 0,0,0" freezefactor=0.5 freezetime=2.0 /> |
---|
| 235 | </Weapon> |
---|
| 236 | </WeaponPack> |
---|
[11052] | 237 | </weaponpacks> |
---|
| 238 | <munition> |
---|
| 239 | <IceMunition initialmagazines=1 maxmagazines=1 munitionpermagazine=10/> |
---|
| 240 | </munition> |
---|
[10629] | 241 | </TowerDefenseTower> |
---|
| 242 | </Template> |
---|
| 243 | |
---|
| 244 | <Template name=enemytowerdefense1> |
---|
| 245 | <TowerDefenseEnemy |
---|
| 246 | hudtemplate = spaceshiphud |
---|
| 247 | camerapositiontemplate = spaceshipassffcameras |
---|
| 248 | spawnparticlesource = "Orxonox/fairytwirl" |
---|
| 249 | spawnparticleduration = 3 |
---|
| 250 | explosionchunks = 6 |
---|
| 251 | |
---|
[12182] | 252 | health = 100 |
---|
| 253 | maxhealth = 10000000000000 |
---|
| 254 | initialhealth = 100 |
---|
| 255 | |
---|
| 256 | shieldhealth = 1000 |
---|
| 257 | initialshieldhealth = 1000 |
---|
| 258 | maxshieldhealth = 10000000000000 |
---|
| 259 | shieldabsorption = 0.8 |
---|
| 260 | shieldrechargerate = 1 |
---|
| 261 | shieldrechargewaittime = 1 |
---|
| 262 | |
---|
| 263 | primaryThrust = 100 |
---|
| 264 | auxilaryThrust = 30 |
---|
| 265 | rotationThrust = 80 |
---|
| 266 | |
---|
| 267 | lift = 1; |
---|
| 268 | stallSpeed = 220; |
---|
| 269 | |
---|
| 270 | boostPower = 15 |
---|
| 271 | boostPowerRate = 1 |
---|
| 272 | boostRate = 5 |
---|
| 273 | boostCooldownDuration = 10 |
---|
| 274 | |
---|
| 275 | shakeFrequency = 15 |
---|
| 276 | shakeAmplitude = 9 |
---|
| 277 | |
---|
| 278 | collisionType = "dynamic" |
---|
| 279 | mass = 100 |
---|
| 280 | linearDamping = 0.7 |
---|
| 281 | angularDamping = 0.9999999 |
---|
| 282 | |
---|
| 283 | explosionSound = "sounds/Explosion2.ogg" |
---|
| 284 | > |
---|
| 285 | |
---|
| 286 | <engines> |
---|
| 287 | <Engine position=" 0, 0, 0" |
---|
| 288 | boostfactor = 2 |
---|
| 289 | speedfront = 400 |
---|
| 290 | speedback = 50 |
---|
| 291 | speedleftright = 50 |
---|
| 292 | speedupdown = 50 |
---|
| 293 | accelerationfront = 500 |
---|
| 294 | accelerationbrake = 500 |
---|
| 295 | accelerationback = 125 |
---|
| 296 | accelerationleftright = 125 |
---|
| 297 | accelerationupdown = 125 |
---|
| 298 | /> |
---|
| 299 | </engines> |
---|
| 300 | <attached> |
---|
| 301 | <Model position="0,0,0" yaw=180 pitch=0 roll=0 scale=10 mesh="finalenemy1.mesh" /> |
---|
| 302 | </attached> |
---|
| 303 | <collisionShapes> |
---|
| 304 | <BoxCollisionShape position="0,0,0" halfExtents="10, 3, 5" /> |
---|
| 305 | <BoxCollisionShape position="13,-1.3,0" halfExtents="3, 1, 2" /> |
---|
| 306 | <BoxCollisionShape position="-13,-1.3,0" halfExtents="3, 1, 2" /> |
---|
| 307 | <BoxCollisionShape position="0,0,7" halfExtents="3, 2, 2" /> |
---|
| 308 | <BoxCollisionShape position="0,0.1,-11" halfExtents="2.2, 1.8, 6" /> |
---|
| 309 | <BoxCollisionShape position="0,0.1,-19" halfExtents="1.4, 1, 2" /> |
---|
| 310 | </collisionShapes> |
---|
| 311 | </TowerDefenseEnemy> |
---|
| 312 | </Template> |
---|
| 313 | |
---|
| 314 | <Template name=enemytowerdefense2> |
---|
| 315 | <TowerDefenseEnemy |
---|
| 316 | hudtemplate = spaceshiphud |
---|
| 317 | camerapositiontemplate = spaceshipassffcameras |
---|
| 318 | spawnparticlesource = "Orxonox/fairytwirl" |
---|
| 319 | spawnparticleduration = 3 |
---|
| 320 | explosionchunks = 6 |
---|
| 321 | |
---|
| 322 | health = 40 |
---|
| 323 | maxhealth = 10000000000000 |
---|
| 324 | initialhealth = 30 |
---|
| 325 | |
---|
| 326 | shieldhealth = 0 |
---|
| 327 | initialshieldhealth = 0 |
---|
| 328 | maxshieldhealth = 0 |
---|
| 329 | shieldabsorption = 0.8 |
---|
| 330 | shieldrechargerate = 1 |
---|
| 331 | shieldrechargewaittime = 1 |
---|
| 332 | |
---|
| 333 | primaryThrust = 100 |
---|
| 334 | auxilaryThrust = 30 |
---|
| 335 | rotationThrust = 80 |
---|
| 336 | |
---|
| 337 | lift = 1; |
---|
| 338 | stallSpeed = 220; |
---|
| 339 | |
---|
| 340 | boostPower = 15 |
---|
| 341 | boostPowerRate = 1 |
---|
| 342 | boostRate = 5 |
---|
| 343 | boostCooldownDuration = 10 |
---|
| 344 | |
---|
| 345 | shakeFrequency = 15 |
---|
| 346 | shakeAmplitude = 9 |
---|
| 347 | |
---|
| 348 | collisionType = "dynamic" |
---|
| 349 | mass = 100 |
---|
| 350 | linearDamping = 0.7 |
---|
| 351 | angularDamping = 0.9999999 |
---|
| 352 | |
---|
| 353 | explosionSound = "sounds/Explosion2.ogg" |
---|
| 354 | > |
---|
| 355 | |
---|
| 356 | <engines> |
---|
| 357 | <Engine position=" 0, 0, 0" |
---|
| 358 | boostfactor = 2 |
---|
| 359 | speedfront = 100 |
---|
| 360 | speedback = 50 |
---|
| 361 | speedleftright = 50 |
---|
| 362 | speedupdown = 50 |
---|
| 363 | accelerationfront = 500 |
---|
| 364 | accelerationbrake = 500 |
---|
| 365 | accelerationback = 125 |
---|
| 366 | accelerationleftright = 125 |
---|
| 367 | accelerationupdown = 125 |
---|
| 368 | /> |
---|
| 369 | </engines> |
---|
| 370 | <attached> |
---|
| 371 | <Model position="0,0,0" yaw=180 pitch=0 roll=0 scale=7.5 mesh="finalenemy2.mesh" /> |
---|
| 372 | </attached> |
---|
| 373 | <collisionShapes> |
---|
| 374 | <BoxCollisionShape position="0,0,0" halfExtents="10, 3, 5" /> |
---|
| 375 | <BoxCollisionShape position="13,-1.3,0" halfExtents="3, 1, 2" /> |
---|
| 376 | <BoxCollisionShape position="-13,-1.3,0" halfExtents="3, 1, 2" /> |
---|
| 377 | <BoxCollisionShape position="0,0,7" halfExtents="3, 2, 2" /> |
---|
| 378 | <BoxCollisionShape position="0,0.1,-11" halfExtents="2.2, 1.8, 6" /> |
---|
| 379 | <BoxCollisionShape position="0,0.1,-19" halfExtents="1.4, 1, 2" /> |
---|
| 380 | </collisionShapes> |
---|
| 381 | </TowerDefenseEnemy> |
---|
| 382 | </Template> |
---|
| 383 | |
---|
| 384 | <Template name=enemytowerdefense3> |
---|
| 385 | <TowerDefenseEnemy |
---|
| 386 | hudtemplate = spaceshiphud |
---|
| 387 | camerapositiontemplate = spaceshipassffcameras |
---|
| 388 | spawnparticlesource = "Orxonox/fairytwirl" |
---|
| 389 | spawnparticleduration = 3 |
---|
| 390 | explosionchunks = 6 |
---|
| 391 | |
---|
| 392 | health = 50 |
---|
| 393 | maxhealth = 10000000000000 |
---|
| 394 | initialhealth = 50 |
---|
| 395 | |
---|
| 396 | shieldhealth = 20 |
---|
| 397 | initialshieldhealth = 20 |
---|
| 398 | maxshieldhealth = 10000000000000 |
---|
| 399 | shieldabsorption = 0.8 |
---|
| 400 | shieldrechargerate = 1 |
---|
| 401 | shieldrechargewaittime = 1 |
---|
| 402 | |
---|
| 403 | primaryThrust = 100 |
---|
| 404 | auxilaryThrust = 30 |
---|
| 405 | rotationThrust = 80 |
---|
| 406 | |
---|
| 407 | lift = 1; |
---|
| 408 | stallSpeed = 220; |
---|
| 409 | |
---|
| 410 | boostPower = 15 |
---|
| 411 | boostPowerRate = 1 |
---|
| 412 | boostRate = 5 |
---|
| 413 | boostCooldownDuration = 10 |
---|
| 414 | |
---|
| 415 | shakeFrequency = 15 |
---|
| 416 | shakeAmplitude = 9 |
---|
| 417 | |
---|
| 418 | collisionType = "dynamic" |
---|
| 419 | mass = 100 |
---|
| 420 | linearDamping = 0.7 |
---|
| 421 | angularDamping = 0.9999999 |
---|
| 422 | |
---|
| 423 | explosionSound = "sounds/Explosion2.ogg" |
---|
| 424 | > |
---|
| 425 | |
---|
| 426 | <engines> |
---|
| 427 | <Engine position=" 0, 0, 0" |
---|
| 428 | boostfactor = 2 |
---|
| 429 | speedfront = 100 |
---|
| 430 | speedback = 50 |
---|
| 431 | speedleftright = 50 |
---|
| 432 | speedupdown = 50 |
---|
| 433 | accelerationfront = 500 |
---|
| 434 | accelerationbrake = 500 |
---|
| 435 | accelerationback = 125 |
---|
| 436 | accelerationleftright = 125 |
---|
| 437 | accelerationupdown = 125 |
---|
| 438 | /> |
---|
| 439 | </engines> |
---|
| 440 | <attached> |
---|
| 441 | <Model position="0,0,0" yaw=180 pitch=0 roll=0 scale=19 mesh="finalenemy3.mesh" /> |
---|
| 442 | </attached> |
---|
| 443 | <collisionShapes> |
---|
| 444 | <BoxCollisionShape position="0,0,0" halfExtents="10, 3, 5" /> |
---|
| 445 | <BoxCollisionShape position="13,-1.3,0" halfExtents="3, 1, 2" /> |
---|
| 446 | <BoxCollisionShape position="-13,-1.3,0" halfExtents="3, 1, 2" /> |
---|
| 447 | <BoxCollisionShape position="0,0,7" halfExtents="3, 2, 2" /> |
---|
| 448 | <BoxCollisionShape position="0,0.1,-11" halfExtents="2.2, 1.8, 6" /> |
---|
| 449 | <BoxCollisionShape position="0,0.1,-19" halfExtents="1.4, 1, 2" /> |
---|
| 450 | </collisionShapes> |
---|
| 451 | </TowerDefenseEnemy> |
---|
| 452 | </Template> |
---|
| 453 | |
---|
| 454 | <Template name=enemytowerdefense1*> |
---|
| 455 | <TowerDefenseEnemy |
---|
| 456 | hudtemplate = spaceshiphud |
---|
| 457 | camerapositiontemplate = spaceshipassffcameras |
---|
| 458 | spawnparticlesource = "Orxonox/fairytwirl" |
---|
| 459 | spawnparticleduration = 3 |
---|
| 460 | explosionchunks = 6 |
---|
| 461 | |
---|
[10629] | 462 | health = 15 |
---|
| 463 | maxhealth = 15 |
---|
| 464 | initialhealth = 15 |
---|
| 465 | |
---|
| 466 | shieldhealth = 15 |
---|
| 467 | initialshieldhealth = 15 |
---|
| 468 | maxshieldhealth = 15 |
---|
| 469 | shieldabsorption = 0.8 |
---|
[11052] | 470 | shieldrechargerate = 1 |
---|
| 471 | shieldrechargewaittime = 1 |
---|
[10629] | 472 | |
---|
| 473 | primaryThrust = 1000 |
---|
| 474 | auxilaryThrust = 30 |
---|
| 475 | rotationThrust = 80 |
---|
| 476 | |
---|
| 477 | lift = 1; |
---|
| 478 | stallSpeed = 220; |
---|
| 479 | |
---|
| 480 | boostPower = 15 |
---|
| 481 | boostPowerRate = 1 |
---|
| 482 | boostRate = 5 |
---|
| 483 | boostCooldownDuration = 10 |
---|
| 484 | |
---|
| 485 | shakeFrequency = 15 |
---|
| 486 | shakeAmplitude = 9 |
---|
| 487 | |
---|
| 488 | collisionType = "dynamic" |
---|
| 489 | mass = 10 |
---|
| 490 | linearDamping = 0.7 |
---|
| 491 | angularDamping = 0.9999999 |
---|
| 492 | |
---|
| 493 | explosionSound = "sounds/Explosion2.ogg" |
---|
| 494 | > |
---|
| 495 | |
---|
| 496 | <engines> |
---|
| 497 | <MultiStateEngine position=" 7.6, 0, 6" template=spaceshipassffengine /> |
---|
| 498 | <MultiStateEngine position="-7.6, 0, 0" template=spaceshipassffengine /> |
---|
| 499 | </engines> |
---|
| 500 | <attached> |
---|
| 501 | <Model position="0,0,0" yaw=90 pitch=90 roll=0 scale=4 mesh="assff.mesh" /> |
---|
| 502 | <BlinkingBillboard position="17,-1.5,0" material="Examples/Flare" colour="1.0, 0.5, 0.3" amplitude=0.1 frequency=0.5 quadratic=1 /> |
---|
| 503 | <BlinkingBillboard position="-17,-1.5,0" material="Examples/Flare" colour="0.5, 1.0, 0.3" amplitude=0.1 frequency=0.5 phase=180 quadratic=1 /> |
---|
| 504 | </attached> |
---|
| 505 | <collisionShapes> |
---|
| 506 | <BoxCollisionShape position="0,0,0" halfExtents="10, 3, 5" /> |
---|
| 507 | <BoxCollisionShape position="13,-1.3,0" halfExtents="3, 1, 2" /> |
---|
| 508 | <BoxCollisionShape position="-13,-1.3,0" halfExtents="3, 1, 2" /> |
---|
| 509 | <BoxCollisionShape position="0,0,7" halfExtents="3, 2, 2" /> |
---|
| 510 | <BoxCollisionShape position="0,0.1,-11" halfExtents="2.2, 1.8, 6" /> |
---|
| 511 | <BoxCollisionShape position="0,0.1,-19" halfExtents="1.4, 1, 2" /> |
---|
| 512 | </collisionShapes> |
---|
| 513 | <controller> |
---|
| 514 | <WaypointController accuracy = 50/> |
---|
| 515 | </controller> |
---|
| 516 | </TowerDefenseEnemy> |
---|
| 517 | </Template> |
---|
| 518 | |
---|
[12182] | 519 | <Template name=enemytowerdefense2*> |
---|
[10629] | 520 | <TowerDefenseEnemy |
---|
| 521 | hudtemplate = spaceshiphud |
---|
| 522 | camerapositiontemplate = spaceshipassffcameras |
---|
| 523 | spawnparticlesource = "Orxonox/fairytwirl" |
---|
| 524 | spawnparticleduration = 3 |
---|
| 525 | explosionchunks = 6 |
---|
| 526 | |
---|
| 527 | health = 30 |
---|
| 528 | maxhealth = 30 |
---|
| 529 | initialhealth = 30 |
---|
| 530 | |
---|
| 531 | shieldhealth = 0 |
---|
| 532 | initialshieldhealth = 0 |
---|
| 533 | maxshieldhealth = 0 |
---|
| 534 | shieldabsorption = 0.8 |
---|
[11052] | 535 | shieldrechargerate = 1 |
---|
| 536 | shieldrechargewaittime = 1 |
---|
[10629] | 537 | |
---|
| 538 | primaryThrust = 100 |
---|
| 539 | auxilaryThrust = 30 |
---|
| 540 | rotationThrust = 80 |
---|
| 541 | |
---|
| 542 | lift = 1; |
---|
| 543 | stallSpeed = 220; |
---|
| 544 | |
---|
| 545 | boostPower = 15 |
---|
| 546 | boostPowerRate = 1 |
---|
| 547 | boostRate = 5 |
---|
| 548 | boostCooldownDuration = 10 |
---|
| 549 | |
---|
| 550 | shakeFrequency = 15 |
---|
| 551 | shakeAmplitude = 9 |
---|
| 552 | |
---|
| 553 | collisionType = "dynamic" |
---|
| 554 | mass = 100 |
---|
| 555 | linearDamping = 0.7 |
---|
| 556 | angularDamping = 0.9999999 |
---|
| 557 | |
---|
| 558 | explosionSound = "sounds/Explosion2.ogg" |
---|
| 559 | > |
---|
| 560 | |
---|
| 561 | <engines> |
---|
| 562 | <Engine position=" 0, 0, 0" |
---|
| 563 | boostfactor = 2 |
---|
| 564 | speedfront = 100 |
---|
| 565 | speedback = 50 |
---|
| 566 | speedleftright = 50 |
---|
| 567 | speedupdown = 50 |
---|
| 568 | accelerationfront = 500 |
---|
| 569 | accelerationbrake = 500 |
---|
| 570 | accelerationback = 125 |
---|
| 571 | accelerationleftright = 125 |
---|
| 572 | accelerationupdown = 125 |
---|
| 573 | /> |
---|
| 574 | </engines> |
---|
| 575 | <attached> |
---|
[12182] | 576 | <Model position="0,0,0" yaw=0 pitch=0 roll=0 scale=9 mesh="finalenemy4.mesh" /> |
---|
[10629] | 577 | </attached> |
---|
| 578 | <collisionShapes> |
---|
| 579 | <BoxCollisionShape position="0,0,0" halfExtents="10, 3, 5" /> |
---|
| 580 | <BoxCollisionShape position="13,-1.3,0" halfExtents="3, 1, 2" /> |
---|
| 581 | <BoxCollisionShape position="-13,-1.3,0" halfExtents="3, 1, 2" /> |
---|
| 582 | <BoxCollisionShape position="0,0,7" halfExtents="3, 2, 2" /> |
---|
| 583 | <BoxCollisionShape position="0,0.1,-11" halfExtents="2.2, 1.8, 6" /> |
---|
| 584 | <BoxCollisionShape position="0,0.1,-19" halfExtents="1.4, 1, 2" /> |
---|
| 585 | </collisionShapes> |
---|
| 586 | <controller> |
---|
| 587 | <WaypointController accuracy = 50/> |
---|
| 588 | </controller> |
---|
| 589 | </TowerDefenseEnemy> |
---|
| 590 | </Template> |
---|
| 591 | |
---|
[12182] | 592 | <Template name=enemytowerdefense3*> |
---|
[10629] | 593 | <TowerDefenseEnemy |
---|
| 594 | hudtemplate = spaceshiphud |
---|
| 595 | camerapositiontemplate = spaceshipassffcameras |
---|
| 596 | spawnparticlesource = "Orxonox/fairytwirl" |
---|
| 597 | spawnparticleduration = 3 |
---|
| 598 | explosionchunks = 6 |
---|
| 599 | |
---|
| 600 | health = 15 |
---|
| 601 | maxhealth = 15 |
---|
| 602 | initialhealth = 15 |
---|
| 603 | |
---|
| 604 | shieldhealth = 5 |
---|
| 605 | initialshieldhealth = 5 |
---|
| 606 | maxshieldhealth = 5 |
---|
| 607 | shieldabsorption = 0.8 |
---|
[11052] | 608 | shieldrechargerate = 1 |
---|
| 609 | shieldrechargewaittime = 1 |
---|
[10629] | 610 | |
---|
| 611 | primaryThrust = 100 |
---|
| 612 | auxilaryThrust = 30 |
---|
| 613 | rotationThrust = 80 |
---|
| 614 | |
---|
| 615 | lift = 1; |
---|
| 616 | stallSpeed = 220; |
---|
| 617 | |
---|
| 618 | boostPower = 15 |
---|
| 619 | boostPowerRate = 1 |
---|
| 620 | boostRate = 5 |
---|
| 621 | boostCooldownDuration = 10 |
---|
| 622 | |
---|
| 623 | shakeFrequency = 15 |
---|
| 624 | shakeAmplitude = 9 |
---|
| 625 | |
---|
| 626 | collisionType = "dynamic" |
---|
| 627 | mass = 100 |
---|
| 628 | linearDamping = 0.7 |
---|
| 629 | angularDamping = 0.9999999 |
---|
| 630 | |
---|
| 631 | explosionSound = "sounds/Explosion2.ogg" |
---|
| 632 | > |
---|
| 633 | |
---|
| 634 | <engines> |
---|
| 635 | <Engine position=" 0, 0, 0" |
---|
| 636 | boostfactor = 2 |
---|
| 637 | speedfront = 300 |
---|
| 638 | speedback = 300 |
---|
| 639 | speedleftright = 300 |
---|
| 640 | speedupdown = 300 |
---|
| 641 | accelerationfront = 500 |
---|
| 642 | accelerationbrake = 500 |
---|
| 643 | accelerationback = 500 |
---|
| 644 | accelerationleftright = 500 |
---|
| 645 | accelerationupdown = 500 |
---|
| 646 | /> |
---|
| 647 | </engines> |
---|
| 648 | <attached> |
---|
[12182] | 649 | <Model position="0,0,0" yaw=0 pitch=0 roll=0 scale=2.5 mesh="JumpEnemy4.mesh" /> |
---|
[10629] | 650 | </attached> |
---|
| 651 | <collisionShapes> |
---|
| 652 | <BoxCollisionShape position="0,0,0" halfExtents="10, 3, 5" /> |
---|
| 653 | <BoxCollisionShape position="13,-1.3,0" halfExtents="3, 1, 2" /> |
---|
| 654 | <BoxCollisionShape position="-13,-1.3,0" halfExtents="3, 1, 2" /> |
---|
| 655 | <BoxCollisionShape position="0,0,7" halfExtents="3, 2, 2" /> |
---|
| 656 | <BoxCollisionShape position="0,0.1,-11" halfExtents="2.2, 1.8, 6" /> |
---|
| 657 | <BoxCollisionShape position="0,0.1,-19" halfExtents="1.4, 1, 2" /> |
---|
| 658 | </collisionShapes> |
---|
| 659 | <controller> |
---|
| 660 | <WaypointController accuracy = 50/> |
---|
| 661 | </controller> |
---|
| 662 | </TowerDefenseEnemy> |
---|
| 663 | </Template> |
---|
| 664 | |
---|
[12182] | 665 | <Template name=therangeviewer> |
---|
| 666 | <TowerDefenseRangeViewer> |
---|
| 667 | <attached> |
---|
| 668 | <Model yaw=0 pitch=0 roll=0 scale3D="1000,1000,10" mesh="cylinder.mesh" /> |
---|
| 669 | </attached> |
---|
| 670 | </TowerDefenseRangeViewer> |
---|
| 671 | </Template> |
---|
| 672 | |
---|
| 673 | |
---|
[10629] | 674 | <Level plugins = "towerdefense" gametype = "TowerDefense"> |
---|
[9096] | 675 | <templates> |
---|
| 676 | <Template link=lodtemplate_default /> |
---|
| 677 | </templates> |
---|
[9272] | 678 | |
---|
[9096] | 679 | <?lua include("includes/notifications.oxi") ?> |
---|
| 680 | |
---|
| 681 | <Scene |
---|
| 682 | ambientlight = "0.8, 0.8, 0.8" |
---|
| 683 | skybox = "Orxonox/Starbox" |
---|
| 684 | > |
---|
[9272] | 685 | |
---|
| 686 | <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"/> |
---|
| 687 | |
---|
[10622] | 688 | <SpawnPoint team=0 position="0,0,0"/> |
---|
[9272] | 689 | |
---|
[10629] | 690 | <Model position="0,0,10000" lodLevel=1 mesh="TD_S1.mesh" scale=1/> |
---|
| 691 | <Model position="0,0,10000" lodLevel=1 mesh="TD_S2.mesh" scale=1/> |
---|
| 692 | <Model position="0,0,10000" lodLevel=1 mesh="TD_S3.mesh" scale=1/> |
---|
| 693 | <Model position="0,0,10000" lodLevel=1 mesh="TD_S4.mesh" scale=1/> |
---|
| 694 | <Model position="0,0,10000" lodLevel=1 mesh="TD_S5.mesh" scale=1/> |
---|
| 695 | <Model position="0,0,10000" lodLevel=1 mesh="TD_T1.mesh" scale=1/> |
---|
| 696 | <Model position="0,0,10000" lodLevel=1 mesh="TD_T2.mesh" scale=1/> |
---|
| 697 | <Model position="0,0,10000" lodLevel=1 mesh="TD_T3.mesh" scale=1/> |
---|
| 698 | <Model position="0,0,10000" lodLevel=1 mesh="TD_T4.mesh" scale=1/> |
---|
| 699 | <Model position="0,0,10000" lodLevel=1 mesh="TD_T5.mesh" scale=1/> |
---|
| 700 | <Model position="0,0,10000" lodLevel=1 mesh="TD_F1.mesh" scale=1/> |
---|
| 701 | |
---|
[9272] | 702 | <!-- PlayField --> |
---|
| 703 | <TowerDefenseCenterpoint |
---|
| 704 | name=towerdefensecenter |
---|
[10622] | 705 | selecterTemplate=selectertemplate |
---|
[10629] | 706 | tower1Template=tower1template |
---|
| 707 | tower2Template=tower2template |
---|
| 708 | tower3Template=tower3template |
---|
| 709 | tower4Template=tower4template |
---|
| 710 | tower5Template=tower5template |
---|
| 711 | tower1Cost=100 |
---|
| 712 | tower2Cost=100 |
---|
| 713 | tower3Cost=100 |
---|
| 714 | tower4Cost=100 |
---|
| 715 | tower5Cost=100 |
---|
[12182] | 716 | fields="F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1 |
---|
| 717 | F1F1F1R1I1I1I1I1I1I1I1I1I1I1R0F1 |
---|
| 718 | F1F1F1I2F1F1F1Y1F1F1F1F1F1F1I0F1 |
---|
| 719 | F1Y1F1I2F1F1F1F1F1F1F1F1Y1F1I0F1 |
---|
| 720 | F1F1F1I2F1F1F1F1F1F1F1F1F1F1I0F1 |
---|
| 721 | F1F1F1I2F1Y1F1F1F1F1F1L0I3I3R3F1 |
---|
| 722 | F1F1F1I2F1F1F1F1F1F1F1I0F1F1F1F1 |
---|
| 723 | F1F1F1R2I3I3I3I3L3F1F1I0F1F1Y1F1 |
---|
| 724 | F1F1F1F1F1F1F1F1I2F1F1I0F1F1F1F1 |
---|
| 725 | F1F1F1F1F1F1F1F1I2F1F1I0F1F1F1F1 |
---|
| 726 | X1I1I1I1R0F1Y1F1I2F1F1I0F1F1F1F1 |
---|
| 727 | F1F1F1F1I0F1F1F1I2F1F1L1I1I1R0F1 |
---|
| 728 | F1F1F1F1I0F1F1F1I2F1F1F1F1F1I0F1 |
---|
| 729 | F1F1F1F1L1I1I1I1L2F1F1F1F1Y1I0F1 |
---|
| 730 | F1F1Y1F1F1F1F1F1F1F1F1F1F1F1I0F1 |
---|
| 731 | F1F1F1F1F1F1F1F1F1Y1F1F1F1F1O0F1" |
---|
[9272] | 732 | width=16 |
---|
| 733 | height=16 |
---|
| 734 | tileScale=100 |
---|
| 735 | position="0,0,0" |
---|
| 736 | direction="0,0,0" |
---|
| 737 | collisionType=dynamic |
---|
[10258] | 738 | mass=100000 |
---|
[10622] | 739 | > |
---|
[10629] | 740 | <camerapositions> |
---|
[12182] | 741 | <CameraPosition position="0,0,1500" lookat="0,0,0" absolute=true /> |
---|
[10629] | 742 | </camerapositions> |
---|
[10622] | 743 | </TowerDefenseCenterpoint> |
---|
[9272] | 744 | |
---|
[9096] | 745 | </Scene> |
---|
| 746 | </Level> |
---|
| 747 | |
---|