Afforess
The White Wizard
Advanced Unit Automations
Version 1.60
Last Update: 9/19/10
New Unit Automations:
City Defense:
The unit will defend your cities. If a nearby, weaker enemy approaches, the unit will engage and destroy the enemy, and return to defending the city of origin.
Border Patrol
The unit will wander around the edges of your border, searching for potential enemies, and engage them.
Hunt
The unit will search and destroy any enemy units it can find.
Auto-Pillage
The unit will search and pillage any enemy improvements it can find.
Auto-Hurry
Not useful for normal BTS, but for any mods that add units that can hurry or speed up production of buildings in a city via the <iBaseHurry> XML tag will be able to be automated.
Auto-Pirate
Privateers and any other sea-faring, hidden, always hostile units will be able to cause terror on the open seas, sinking weak transports and blockading wealthy harbors.
Auto-Air Strike:
Airplanes and jets will automatically deal damage to nearby enemies, and protect your cities from harm.
Auto-Air Bomb
Bombers will attack and weaken enemy improvements and cities, if possible.
Auto Air Recon
Aircraft will attempt to conduct recon missions near enemy encampments.
Auto Upgrade
Units will automatically upgrade if the player has the gold, and the unit is not in immediate danger
Auto Promote
Units will automatically be promoted whenever possible.
Auto Protect
Allows the Player to select a unit to escort and protect. If you select a tile with multiple units, a popup will appear directing you to specify which unit.
New Player Options:
Automated Pillaging Ignores Danger:
Units will pillage in territory even when there are enemies present
Automated Pillaging Avoids Barbarians:
Units will not enter barbarian territory
Automated Air Units Can Rebase:
Air units can rebase to more offensive or defensive cities and position on their own, without player interaction
Automated Air Units Can Defend:
Air units can act as defenders, intercepting enemy air craft, when it deems it necessary to.
Automated Explorers Cannot Heal:
Explorers will be unable to heal.
Border Patrol Units Stay in Borders:
Units Automated to Border Patrol will be unable to leave your nations borders for any reason.
New Unit Missions:
Gather Intel:
Spies will sleep in a city until their maximum espionage bonus accrues (5 turns in BTS), then wake up and ask the player for orders.
Wait for Desired Discovery Tech:
Allows selection of a desired discovery tech for that great person, and the GP will wait until that tech becomes available, at which time it will research it.
Any Land and Sea units that can attack (and pillage, if applicable) will be able to use the new automations. The Automated units are fairly sophisticated, and won't go suiciding against stacks of enemy units, or when the odds are poor.
Mods that use AUA:
Download Mod & Sources
Modders: There are some Better AI functions included in the source code. They are all marked with specific and hard to miss comments, and are only needed if you are not using at least Better AI .84b. If you are using Better AI .84b or above, please don't merge those functions.
I've included the file changes and sources in a zip archive. Tell me if I forgot anything.
Credits:
Version 1.60
Last Update: 9/19/10
New Unit Automations:
City Defense:
The unit will defend your cities. If a nearby, weaker enemy approaches, the unit will engage and destroy the enemy, and return to defending the city of origin.
Border Patrol
The unit will wander around the edges of your border, searching for potential enemies, and engage them.
Hunt
The unit will search and destroy any enemy units it can find.
Auto-Pillage
The unit will search and pillage any enemy improvements it can find.
Auto-Hurry
Not useful for normal BTS, but for any mods that add units that can hurry or speed up production of buildings in a city via the <iBaseHurry> XML tag will be able to be automated.
Auto-Pirate
Privateers and any other sea-faring, hidden, always hostile units will be able to cause terror on the open seas, sinking weak transports and blockading wealthy harbors.
Auto-Air Strike:
Airplanes and jets will automatically deal damage to nearby enemies, and protect your cities from harm.
Auto-Air Bomb
Bombers will attack and weaken enemy improvements and cities, if possible.
Auto Air Recon
Aircraft will attempt to conduct recon missions near enemy encampments.
Auto Upgrade
Units will automatically upgrade if the player has the gold, and the unit is not in immediate danger
Auto Promote
Units will automatically be promoted whenever possible.
Auto Protect
Allows the Player to select a unit to escort and protect. If you select a tile with multiple units, a popup will appear directing you to specify which unit.
New Player Options:
Automated Pillaging Ignores Danger:
Units will pillage in territory even when there are enemies present
Automated Pillaging Avoids Barbarians:
Units will not enter barbarian territory
Automated Air Units Can Rebase:
Air units can rebase to more offensive or defensive cities and position on their own, without player interaction
Automated Air Units Can Defend:
Air units can act as defenders, intercepting enemy air craft, when it deems it necessary to.
Automated Explorers Cannot Heal:
Explorers will be unable to heal.
Border Patrol Units Stay in Borders:
Units Automated to Border Patrol will be unable to leave your nations borders for any reason.
New Unit Missions:
Gather Intel:
Spies will sleep in a city until their maximum espionage bonus accrues (5 turns in BTS), then wake up and ask the player for orders.
Wait for Desired Discovery Tech:
Allows selection of a desired discovery tech for that great person, and the GP will wait until that tech becomes available, at which time it will research it.
Any Land and Sea units that can attack (and pillage, if applicable) will be able to use the new automations. The Automated units are fairly sophisticated, and won't go suiciding against stacks of enemy units, or when the odds are poor.
Mods that use AUA:
- Rise of Mankind: A New Dawnhttp://forums.civfanatics.com/forumdisplay.php?f=369
- Community Civ V [CCV]
- OverLord 2
- Destiny Mod
- Beginning
Download Mod & Sources
Modders: There are some Better AI functions included in the source code. They are all marked with specific and hard to miss comments, and are only needed if you are not using at least Better AI .84b. If you are using Better AI .84b or above, please don't merge those functions.
I've included the file changes and sources in a zip archive. Tell me if I forgot anything.
Credits:
- Artwork
- SmeagolHeart
- Code Contributions
- Jdog5000
- CAR Mod Team
- Thomas SG