1<ais> 2 <ai> 3 <name>Wraith</name> 4 <description>ArmorWraith Level AI</description> 5 <availableforrandom>true</availableforrandom> 6 <availableforplayers>true</availableforplayers> 7 <weapons> 8 <weaponset>WeaponSetReaper</weaponset> 9 <weaponset>WeaponSetCrossbreed</weaponset> 10 <weaponset>WeaponSetAngel</weaponset> 11 <weaponset>WeaponSetDemon</weaponset> 12 </weapons> 13 <defense> 14 <usebatteries>true</usebatteries> 15 <useshields>true</useshields> 16 <useparachutes>true</useparachutes> 17 </defense> 18 <attack> 19 <resign> 20 <useresign>false</useresign> 21 <resignlife>10.0</resignlife> 22 </resign> 23 <movement> 24 <usefuel>true</usefuel> 25 <movementdamage>300.0</movementdamage> 26 <movementdamagechance>0.3</movementdamagechance> 27 <movementlife>25.0</movementlife> 28 <movementrandom>10.0</movementrandom> 29 <movementcloseness>15.0</movementcloseness> 30 </movement> 31 <groupshot> 32 <groupshotsize>2</groupshotsize> 33 <groupshotchance>0.7</groupshotchance> 34 <grouptargetdistance>25.0</grouptargetdistance> 35 </groupshot> 36 <sniper> 37 <sniperusedistance>40.0</sniperusedistance> 38 <sniperstartdistance>2.0</sniperstartdistance> 39 <sniperenddistance>0.1</sniperenddistance> 40 <snipermindecrement>0.1</snipermindecrement> 41 <snipermaxdecrement>3.0</snipermaxdecrement> 42 <snipermovementfactor>0.5</snipermovementfactor> 43 </sniper> 44 <projectile> 45 <projectilemindistance>5.0</projectilemindistance> 46 <projectilestartdistance>10.0</projectilestartdistance> 47 <projectileenddistance>0.1</projectileenddistance> 48 <projectilemindecrement>0.1</projectilemindecrement> 49 <projectilemaxdecrement>5.0</projectilemaxdecrement> 50 <largeweaponusedistance>5.0</largeweaponusedistance> 51 <projectilemovementfactor>5.0</projectilemovementfactor> 52 </projectile> 53 <targets> 54 <health>-0.2</health> 55 <random>0</random> 56 <player>0.5</player> 57 <shield>-0.2</shield> 58 <score>1</score> 59 <repeat>1</repeat> 60 <damagetaken>1</damagetaken> 61 <damagedone>1</damagedone> 62 <distance>-0.5</distance> 63 </targets> 64 </attack> 65 </ai> 66 <ai> 67 <name>Reaper</name> 68 <description>Deadly AI</description> 69 <!-- Is the random computer player allowed this tank type --> 70 <availableforrandom>true</availableforrandom> 71 <!-- Are AIs controlling players allowed to use the type --> 72 <availableforplayers>true</availableforplayers> 73 <weapons> 74 <!-- A list of weapon sets that will be considered during buying. 75 Only one weaponset will be selected. --> 76 <weaponset>WeaponSetReaper</weaponset> 77 </weapons> 78 <defense> 79 <!-- Use batteries if available --> 80 <usebatteries>true</usebatteries> 81 <!-- Use shields if available --> 82 <useshields>true</useshields> 83 <!-- Use parachutes if available --> 84 <useparachutes>true</useparachutes> 85 </defense> 86 <attack> 87 <resign> 88 <!-- Try resigning rules --> 89 <useresign>false</useresign> 90 <!-- Don't consider resigning unless you have less than this amount of life --> 91 <resignlife>0</resignlife> 92 </resign> 93 <movement> 94 <!-- Tank must have fuel before movement can occur. --> 95 <!-- Try movement rules --> 96 <usefuel>true</usefuel> 97 <!-- The amount of damage taken before movement is considered--> 98 <movementdamage>20</movementdamage> 99 <!-- Once the above damage has been taken the chance to move out the way --> 100 <movementdamagechance>98</movementdamagechance> 101 <!-- The amount of life before we consider moving --> 102 <movementlife>100</movementlife> 103 <!-- The randomness applied to the final movement position --> 104 <movementrandom>10.0</movementrandom> 105 <!-- The distance left between the target tank and the movement destination --> 106 <movementcloseness>15.0</movementcloseness> 107 </movement> 108 <groupshot> 109 <!-- The number of tanks that need to be grouped before considering a group shot 110 A group shot is available if targets are close together and the tank has 111 a hugeweapon. --> 112 <groupshotsize>2</groupshotsize> 113 <!-- The chance that a group shot will be considered --> 114 <groupshotchance>0.7</groupshotchance> 115 <!-- The max distance between tanks considered grouped --> 116 <grouptargetdistance>25.0</grouptargetdistance> 117 </groupshot> 118 <sniper> 119 <!-- Sniper shots are used for both lasers and projectiles on full power. --> 120 <!-- How close do I need to be from a target before considering a sniper shot --> 121 <sniperusedistance>40.0</sniperusedistance> 122 <!-- The distance in degress that my 1st sniper shot may miss by --> 123 <sniperstartdistance>0.0</sniperstartdistance> 124 <!-- The distance in degrees that my best sniper shot may miss by --> 125 <sniperenddistance>0.0</sniperenddistance> 126 <!-- The min distance in degrees that each sniper shot will improve --> 127 <snipermindecrement>2.0</snipermindecrement> 128 <!-- The max distance in degrees that each sniper shot will improve --> 129 <snipermaxdecrement>5.0</snipermaxdecrement> 130 <!-- The maximum amount of accuracy in degrees that will be lost if the tank moves --> 131 <snipermovementfactor>4.0</snipermovementfactor> 132 </sniper> 133 <projectile> 134 <!-- The minimum distance to allow for shots. Stops self kills --> 135 <projectilemindistance>10.0</projectilemindistance> 136 <!-- These are all distances of the 1st particle of the projectile to hit the ground. --> 137 <!-- The distance that the 1st projectile shot may miss by --> 138 <projectilestartdistance>10.0</projectilestartdistance> 139 <!-- The distance that the my best projectile shot may get to --> 140 <projectileenddistance>10.0</projectileenddistance> 141 <!-- The min distance that each projecile shot will improve --> 142 <projectilemindecrement>10.0</projectilemindecrement> 143 <!-- The max distance that each projecile shot will improve --> 144 <projectilemaxdecrement>4.0</projectilemaxdecrement> 145 <!-- How close a shot do I need to get to a target before firing large weapons --> 146 <largeweaponusedistance>10.0</largeweaponusedistance> 147 <!-- The maximum amount of accuracy that will be lost if the tank moves --> 148 <projectilemovementfactor>10.0</projectilemovementfactor> 149 </projectile> 150 151 <!-- 152 Weighting factors use to determine which tank to fire at. 153 Targets are all ranked using these factors. 154 The top weighted targets are selected to be fired at 1st. 155 Each factor is multiplied by the weight and then all factors are added 156 to give the total weighting. 157 All factors are in the range -1.0 to 1.0 before weighting. 158 --> 159 <targets> 160 <health>-0.2</health> 161 <random>0.1</random> 162 <player>0</player> 163 <shield>-0.2</shield> 164 <score>0.3</score> 165 <repeat>0.3</repeat> 166 <damagetaken>0.3</damagetaken> 167 <damagedone>0.3</damagedone> 168 <distance>0.0</distance> 169 </targets> 170 </attack> 171 </ai> 172 <ai> 173 <name>Crossbreed</name> 174 <description>Variable AI</description> 175 <availableforrandom>true</availableforrandom> 176 <availableforplayers>true</availableforplayers> 177 <weapons> 178 <weaponset>WeaponSetCrossbreed</weaponset> 179 </weapons> 180 <defense> 181 <usebatteries>true</usebatteries> 182 <useshields>true</useshields> 183 <useparachutes>true</useparachutes> 184 </defense> 185 <attack> 186 <resign> 187 <useresign>false</useresign> 188 <resignlife>10.0</resignlife> 189 </resign> 190 <movement> 191 <usefuel>true</usefuel> 192 <movementdamage>300.0</movementdamage> 193 <movementdamagechance>0.3</movementdamagechance> 194 <movementlife>75.0</movementlife> 195 <movementrandom>10.0</movementrandom> 196 <movementcloseness>15.0</movementcloseness> 197 </movement> 198 <groupshot> 199 <groupshotsize>2</groupshotsize> 200 <groupshotchance>0.2</groupshotchance> 201 <grouptargetdistance>25.0</grouptargetdistance> 202 </groupshot> 203 <sniper> 204 <sniperusedistance>80.0</sniperusedistance> 205 <sniperstartdistance>10.0</sniperstartdistance> 206 <sniperenddistance>0.0</sniperenddistance> 207 <snipermindecrement>2.0</snipermindecrement> 208 <snipermaxdecrement>3.0</snipermaxdecrement> 209 <snipermovementfactor>6.0</snipermovementfactor> 210 </sniper> 211 <projectile> 212 <projectilemindistance>10.0</projectilemindistance> 213 <projectilestartdistance>25.0</projectilestartdistance> 214 <projectileenddistance>5.0</projectileenddistance> 215 <projectilemindecrement>5.0</projectilemindecrement> 216 <projectilemaxdecrement>8.0</projectilemaxdecrement> 217 <largeweaponusedistance>10.0</largeweaponusedistance> 218 <projectilemovementfactor>15.0</projectilemovementfactor> 219 </projectile> 220 <targets> 221 <health>-0.1</health> 222 <random>0.2</random> 223 <player>0</player> 224 <shield>0</shield> 225 <score>0.2</score> 226 <repeat>0.4</repeat> 227 <damagetaken>0.2</damagetaken> 228 <damagedone>0</damagedone> 229 <distance>-0.5</distance> 230 </targets> 231 </attack> 232 </ai> 233 <ai> 234 <name>Angel</name> 235 <description>Utilizes Air Strikes</description> 236 <availableforrandom>true</availableforrandom> 237 <availableforplayers>true</availableforplayers> 238 <weapons> 239 <weaponset>WeaponSetAngel</weaponset> 240 </weapons> 241 <defense> 242 <usebatteries>false</usebatteries> 243 <useshields>true</useshields> 244 <useparachutes>true</useparachutes> 245 </defense> 246 <attack> 247 <resign> 248 <useresign>true</useresign> 249 <resignlife>10.0</resignlife> 250 </resign> 251 <movement> 252 <usefuel>false</usefuel> 253 <movementdamage>300.0</movementdamage> 254 <movementdamagechance>0.3</movementdamagechance> 255 <movementlife>75.0</movementlife> 256 <movementrandom>10.0</movementrandom> 257 <movementcloseness>15.0</movementcloseness> 258 </movement> 259 <groupshot> 260 <groupshotsize>2</groupshotsize> 261 <groupshotchance>0.2</groupshotchance> 262 <grouptargetdistance>25.0</grouptargetdistance> 263 </groupshot> 264 <sniper> 265 <sniperusedistance>80.0</sniperusedistance> 266 <sniperstartdistance>10.0</sniperstartdistance> 267 <sniperenddistance>0.0</sniperenddistance> 268 <snipermindecrement>2.0</snipermindecrement> 269 <snipermaxdecrement>3.0</snipermaxdecrement> 270 <snipermovementfactor>6.0</snipermovementfactor> 271 </sniper> 272 <projectile> 273 <projectilemindistance>10.0</projectilemindistance> 274 <projectilestartdistance>40.0</projectilestartdistance> 275 <projectileenddistance>5.0</projectileenddistance> 276 <projectilemindecrement>5.0</projectilemindecrement> 277 <projectilemaxdecrement>10.0</projectilemaxdecrement> 278 <largeweaponusedistance>10.0</largeweaponusedistance> 279 <projectilemovementfactor>15.0</projectilemovementfactor> 280 </projectile> 281 <targets> 282 <health>0</health> 283 <random>0</random> 284 <player>-0.25</player> 285 <shield>0</shield> 286 <score>0.4</score> 287 <repeat>0.25</repeat> 288 <damagetaken>0.5</damagetaken> 289 <damagedone>0</damagedone> 290 <distance>-1.0</distance> 291 </targets> 292 </attack> 293 </ai> 294 <ai> 295 <name>Demon</name> 296 <description>Utilizes Napalms</description> 297 <availableforrandom>true</availableforrandom> 298 <availableforplayers>true</availableforplayers> 299 <weapons> 300 <weaponset>WeaponSetDemon</weaponset> 301 </weapons> 302 <defense> 303 <usebatteries>true</usebatteries> 304 <useshields>true</useshields> 305 <useparachutes>true</useparachutes> 306 </defense> 307 <attack> 308 <resign> 309 <useresign>false</useresign> 310 <resignlife>10.0</resignlife> 311 </resign> 312 <movement> 313 <usefuel>true</usefuel> 314 <movementdamage>300.0</movementdamage> 315 <movementdamagechance>0.1</movementdamagechance> 316 <movementlife>75.0</movementlife> 317 <movementrandom>10.0</movementrandom> 318 <movementcloseness>15.0</movementcloseness> 319 </movement> 320 <groupshot> 321 <groupshotsize>5</groupshotsize> 322 <groupshotchance>0.2</groupshotchance> 323 <grouptargetdistance>25.0</grouptargetdistance> 324 </groupshot> 325 <sniper> 326 <sniperusedistance>50.0</sniperusedistance> 327 <sniperstartdistance>10.0</sniperstartdistance> 328 <sniperenddistance>0.0</sniperenddistance> 329 <snipermindecrement>2.0</snipermindecrement> 330 <snipermaxdecrement>3.0</snipermaxdecrement> 331 <snipermovementfactor>6.0</snipermovementfactor> 332 </sniper> 333 <projectile> 334 <projectilemindistance>10.0</projectilemindistance> 335 <projectilestartdistance>50.0</projectilestartdistance> 336 <projectileenddistance>5.0</projectileenddistance> 337 <projectilemindecrement>5.0</projectilemindecrement> 338 <projectilemaxdecrement>12.0</projectilemaxdecrement> 339 <largeweaponusedistance>10.0</largeweaponusedistance> 340 <projectilemovementfactor>20.0</projectilemovementfactor> 341 </projectile> 342 <targets> 343 <health>0</health> 344 <random>0</random> 345 <player>-0.5</player> 346 <shield>0</shield> 347 <score>0</score> 348 <repeat>0</repeat> 349 <damagetaken>0.5</damagetaken> 350 <damagedone>0</damagedone> 351 <distance>-1.0</distance> 352 </targets> 353 </attack> 354 </ai> 355 <ai> 356 <name>Prototype</name> 357 <description>Rookie AI</description> 358 <availableforrandom>false</availableforrandom> 359 <availableforplayers>true</availableforplayers> 360 <weapons> 361 <weaponset>WeaponSetPrototype</weaponset> 362 </weapons> 363 <defense> 364 <usebatteries>true</usebatteries> 365 <useshields>true</useshields> 366 <useparachutes>true</useparachutes> 367 </defense> 368 <attack> 369 <resign> 370 <useresign>false</useresign> 371 <resignlife>10.0</resignlife> 372 </resign> 373 <movement> 374 <usefuel>true</usefuel> 375 <movementdamage>300.0</movementdamage> 376 <movementdamagechance>0.0</movementdamagechance> 377 <movementlife>75.0</movementlife> 378 <movementrandom>10.0</movementrandom> 379 <movementcloseness>15.0</movementcloseness> 380 </movement> 381 <groupshot> 382 <groupshotsize>2</groupshotsize> 383 <groupshotchance>0.2</groupshotchance> 384 <grouptargetdistance>25.0</grouptargetdistance> 385 </groupshot> 386 <sniper> 387 <sniperusedistance>80.0</sniperusedistance> 388 <sniperstartdistance>10.0</sniperstartdistance> 389 <sniperenddistance>0.0</sniperenddistance> 390 <snipermindecrement>2.0</snipermindecrement> 391 <snipermaxdecrement>3.0</snipermaxdecrement> 392 <snipermovementfactor>8.0</snipermovementfactor> 393 </sniper> 394 <projectile> 395 <projectilemindistance>5.0</projectilemindistance> 396 <projectilestartdistance>50.0</projectilestartdistance> 397 <projectileenddistance>5.0</projectileenddistance> 398 <projectilemindecrement>5.0</projectilemindecrement> 399 <projectilemaxdecrement>10.0</projectilemaxdecrement> 400 <largeweaponusedistance>10.0</largeweaponusedistance> 401 <projectilemovementfactor>30.0</projectilemovementfactor> 402 </projectile> 403 <targets> 404 <health>0</health> 405 <random>0</random> 406 <player>-1.0</player> 407 <shield>0</shield> 408 <score>0</score> 409 <repeat>0</repeat> 410 <damagetaken>0</damagetaken> 411 <damagedone>0</damagedone> 412 <distance>-1.0</distance> 413 </targets> 414 </attack> 415 </ai> 416 <ai> 417 <name>Drone</name> 418 <description>Basic AI</description> 419 <availableforrandom>false</availableforrandom> 420 <availableforplayers>true</availableforplayers> 421 <weapons> 422 <weaponset>WeaponSetDrone</weaponset> 423 </weapons> 424 <defense> 425 <usebatteries>true</usebatteries> 426 <useshields>true</useshields> 427 <useparachutes>true</useparachutes> 428 </defense> 429 <attack> 430 <resign> 431 <useresign>false</useresign> 432 <resignlife>10.0</resignlife> 433 </resign> 434 <movement> 435 <usefuel>true</usefuel> 436 <movementdamage>300.0</movementdamage> 437 <movementdamagechance>0.0</movementdamagechance> 438 <movementlife>75.0</movementlife> 439 <movementrandom>10.0</movementrandom> 440 <movementcloseness>15.0</movementcloseness> 441 </movement> 442 <groupshot> 443 <groupshotsize>0</groupshotsize> 444 <groupshotchance>0.2</groupshotchance> 445 <grouptargetdistance>25.0</grouptargetdistance> 446 </groupshot> 447 <sniper> 448 <sniperusedistance>10.0</sniperusedistance> 449 <sniperstartdistance>10.0</sniperstartdistance> 450 <sniperenddistance>0.0</sniperenddistance> 451 <snipermindecrement>0.0</snipermindecrement> 452 <snipermaxdecrement>0.0</snipermaxdecrement> 453 <snipermovementfactor>10.0</snipermovementfactor> 454 </sniper> 455 <projectile> 456 <projectilemindistance>0.0</projectilemindistance> 457 <projectilestartdistance>50.0</projectilestartdistance> 458 <projectileenddistance>5.0</projectileenddistance> 459 <projectilemindecrement>0.0</projectilemindecrement> 460 <projectilemaxdecrement>0.0</projectilemaxdecrement> 461 <largeweaponusedistance>25.0</largeweaponusedistance> 462 <projectilemovementfactor>20.0</projectilemovementfactor> 463 </projectile> 464 <targets> 465 <health>0</health> 466 <random>1.0</random> 467 <player>0</player> 468 <shield>0</shield> 469 <score>0</score> 470 <repeat>0</repeat> 471 <damagetaken>0</damagetaken> 472 <damagedone>0</damagedone> 473 <distance>0</distance> 474 </targets> 475 </attack> 476 </ai> 477 <ai> 478 <name>Gaurdian</name> 479 <description>Defensive Target</description> 480 <availableforrandom>false</availableforrandom> 481 <availableforplayers>true</availableforplayers> 482 <weapons> 483 <weaponset>WeaponSetDefense</weaponset> 484 </weapons> 485 <defense> 486 <usebatteries>true</usebatteries> 487 <useshields>true</useshields> 488 <useparachutes>true</useparachutes> 489 </defense> 490 <attack> 491 <resign> 492 <useresign>false</useresign> 493 <resignlife>10.0</resignlife> 494 </resign> 495 <movement> 496 <usefuel>false</usefuel> 497 <movementdamage>300.0</movementdamage> 498 <movementdamagechance>0.3</movementdamagechance> 499 <movementlife>75.0</movementlife> 500 <movementrandom>10.0</movementrandom> 501 <movementcloseness>15.0</movementcloseness> 502 </movement> 503 <groupshot> 504 <groupshotsize>0</groupshotsize> 505 <groupshotchance>0.7</groupshotchance> 506 <grouptargetdistance>25.0</grouptargetdistance> 507 </groupshot> 508 <sniper> 509 <sniperusedistance>80.0</sniperusedistance> 510 <sniperstartdistance>0.0</sniperstartdistance> 511 <sniperenddistance>0.0</sniperenddistance> 512 <snipermindecrement>2.0</snipermindecrement> 513 <snipermaxdecrement>5.0</snipermaxdecrement> 514 <snipermovementfactor>4.0</snipermovementfactor> 515 </sniper> 516 <projectile> 517 <projectilemindistance>10.0</projectilemindistance> 518 <projectilestartdistance>10.0</projectilestartdistance> 519 <projectileenddistance>5.0</projectileenddistance> 520 <projectilemindecrement>1.0</projectilemindecrement> 521 <projectilemaxdecrement>4.0</projectilemaxdecrement> 522 <largeweaponusedistance>10.0</largeweaponusedistance> 523 <projectilemovementfactor>10.0</projectilemovementfactor> 524 </projectile> 525 <targets> 526 <health>0</health> 527 <random>0</random> 528 <player>0</player> 529 <shield>0</shield> 530 <score>0</score> 531 <repeat>0</repeat> 532 <damagetaken>0</damagetaken> 533 <damagedone>0</damagedone> 534 <distance>0.0</distance> 535 </targets> 536 </attack> 537 </ai> 538 <ai> 539 <name>Newcomer</name> 540 <description>Static Target</description> 541 <availableforrandom>false</availableforrandom> 542 <availableforplayers>true</availableforplayers> 543 <weapons> 544 <weaponset>WeaponSetEmpty</weaponset> 545 </weapons> 546 <defense> 547 <usebatteries>false</usebatteries> 548 <useshields>false</useshields> 549 <useparachutes>false</useparachutes> 550 </defense> 551 <attack> 552 <resign> 553 <useresign>false</useresign> 554 <resignlife>10.0</resignlife> 555 </resign> 556 <movement> 557 <usefuel>false</usefuel> 558 <movementdamage>300.0</movementdamage> 559 <movementdamagechance>0.3</movementdamagechance> 560 <movementlife>75.0</movementlife> 561 <movementrandom>10.0</movementrandom> 562 <movementcloseness>15.0</movementcloseness> 563 </movement> 564 <groupshot> 565 <groupshotsize>0</groupshotsize> 566 <groupshotchance>0.7</groupshotchance> 567 <grouptargetdistance>25.0</grouptargetdistance> 568 </groupshot> 569 <sniper> 570 <sniperusedistance>80.0</sniperusedistance> 571 <sniperstartdistance>0.0</sniperstartdistance> 572 <sniperenddistance>0.0</sniperenddistance> 573 <snipermindecrement>2.0</snipermindecrement> 574 <snipermaxdecrement>5.0</snipermaxdecrement> 575 <snipermovementfactor>4.0</snipermovementfactor> 576 </sniper> 577 <projectile> 578 <projectilemindistance>10.0</projectilemindistance> 579 <projectilestartdistance>10.0</projectilestartdistance> 580 <projectileenddistance>5.0</projectileenddistance> 581 <projectilemindecrement>1.0</projectilemindecrement> 582 <projectilemaxdecrement>4.0</projectilemaxdecrement> 583 <largeweaponusedistance>10.0</largeweaponusedistance> 584 <projectilemovementfactor>10.0</projectilemovementfactor> 585 </projectile> 586 <targets> 587 <health>0</health> 588 <random>0</random> 589 <player>0</player> 590 <shield>0</shield> 591 <score>0</score> 592 <repeat>0</repeat> 593 <damagetaken>0</damagetaken> 594 <damagedone>0</damagedone> 595 <distance>0.0</distance> 596 </targets> 597 </attack> 598 </ai> 599</ais> 600