An aggressive AI with with 4 unit types and all the features from Flycatcher, Guardsman & Klaxon AIs. Works Online if hosted on Expert Difficulty.
This is the continuation of the AI 14, Klaxon AI mod.
Original file:
Moddb.com
Basic Features:
- All features from Flycatcher, Guardsman and Klaxon AIs
- Trains 4 Unit Types at a time (up from 4 from previous AI)
- Other AIs unit priorities left unchanged
New Features:
- Can maintain Disciples for Chinese, War Dogs for Spanish, White Tigers for India
- Can maintain Carib Ambushers from Carib Native Tech
- Can maintain Pet Cougars from Tupi Native Tech
- Can maintain if enabled other pet units for War Chief units and Brahmin
- Upgrades Monastery Monk Techs for Asians
- Upgrades more Minor Native Techs from Native American Sites
- Correctly upgrades Native Techs from Asian Native Sites (ypTradingPostAsian to TradingPost)
- Ships Daimyos for Japan, and trains units from them
- Trains units from Shoguns for Japan
----------
Update May 28, 2024:
- German AI now includes Cavalry Hitpoints and 8 Crossbowmen +2 Uhlans in it's deck
----------
Update May 27, 2024:
- The AI can now transport units on African Azores, African Azores Ships, Azores Ships, Pirate Galapagos, Aboriginal New Zealand and the Basic, Age, NR Map versions for these maps.
----------
Update May 24, 2024:
- Russian AI can once again train Highlanders if available at the Saloon
----------
Update May 16, 2024:
- Added Handling for Daimyo Shipments and Japanese AI has them in it's deck
- Increased Handling priority for Shogun Card Shipment so AI will send it earlier
- Japanese AI can now train units with Daimyos: Ashigarus and Naginata Riders
- Japanese AI can now train units with Shoguns: Yamabushi and Shinobi
- Japanese AI will now try to maintain all 4 Daimyos and Shoguns.
----------
(Klaxon Ultra AI)
British AI: Trains Dragoons, Grenadiers, Musketeers, and some Hussars.
French AI: Trains Cuirassiers, Dragoons, Skirmishers, Musketeers, some Halberdiers and Hussars
Spanish AI: Trains Lancers, Dragoons, Rodeleros, Musketeers, Skirmishers, and Hussars
Ottoman AI: Trains Hussars, Cavalry Archers, Janissaries, and some Abus Guns.
Dutch AI: Trains always Hussars, Halberdiers, Ruyters, Skirmishers and Pikemen.
Russian AI: Trains Ranged Infantry, Cossacks, Cavalry Archers, and some Halberdiers.
Portuguese AI: Trains Musketeers, Cassadors, Dragoons, Halberdiers, and some Hussars.
German AI: Trains Dopplesoldners, Uhlans, War Wagons, and some Skirmishers.
Iroquois AI: Trains Aenna, Tomahawks, Forest Prowlers, Mantlets, Kanya Horsemen, and ships units from the Homecity.
Aztec AI: Trains Eagle Knights, Jaguar Prowl Knights, Macehualtins, Coyote Runners, Puma Spearmen, Arrow Knights
Sioux AI: Trains Axe Riders, Rifle Riders always, Bow Riders, Wakina Rifles and some War Clubs.
Indian AI: Trains Flail Elephants, Gurkha, Sepoys, Sowars, Zamburacks and Howdah.
Chinese AI: Trains Territorial Armies and Forbidden Armies, Native Warriors.
Japanese AI: Trains Samurai, Naginata Riders, Ashigaru and ships Units from the Homecity. Trains units from Daimyos and Shoguns.
Easy up to 1.00 and 180 Population with 75-85 Villager Population.
Moderate up to 1.15 and 195 Population with 85-90 Villager Population.
Hard up to 1.25 and 200-220 Population with 90-95 Villager Population.
Expert stays at 1.5 and 200-220 Population with 90-95 Villager Population.
All Factories, second and third (if available) produce Heavy Cannons, Rockets, or Great Bombards.
Made by murdilator, aka Justus_Pacificia
Backup included of original AI Files, all needed to install is copy and paste in:
Program Files (86x), Microsoft Games, Steam, steam apps, common, Age of Empires III, bin, AI3
Then it should work next time you play skirmish or play separately online vs computer!
Both players need it installed for LAN Play or Comp Stomps online!
If you encounter issues after update with Russian AI not training units, switch difficulty, play a 1 minute match, resign, then switch back the difficulty. For multiplayer online games with the AI, it is advisable that you may want to switch the difficulty twice in single player just to make sure the game refreshes.
When I made this AI, especially the steps up from Lamer Major to Big Daddy, to Horsemaster, to Flycatcher to Guardsman, then to Klaxon and now this Klaxon Ultra, I modeled these AIs after the Company of Heroes AI, which I had played against years ago. I found that in COH the AI was very competent, though beatable, so this is the approach that I took while developing this 4-unit type AI. I understood that the AI needs to help Allies and beat Opponents, but also that it is able to do goofy mistakes such as all AIs are capable of doing. And this, coupled with the new map modes available for the AI, became the development frenzy which eventually enabled me to detect and understand the meshes in the code that allowed Water Transport over to different islands, BiasInf and BaisCav and Bias Art for allowing the AI to train an AbstractUnit Value + UnitBias/2, and allowed me to add custom difficulty levels with special economic rules to bolster treaty economy performance. And also with this was adding new cards to the AI script. With testing, and with granting handling for various card improvement shipments, I was able to make the AI reasonably intelligent yet still keep it quite dumb, dumb enough to be beaten in a 1v1 matchup.
My earlier AIs in N3O Patch were far too aggressive; so I went back and began from -0.5 and 0.5 btOffenseDefense, and slowly increased it to 0.35, 0.45 btOfftense Defense, until now when most civs are 0.45 or 0.50 btOffenseDefense. The higher value means that it will favor attacks more often, and lower values mean more turtling. The btRushBoom factor is sometimes 0.0, 0.5, sometimes -0.5, and this affects economic booming priorities with villager counts for the AI, and also how strong their attacks are. The lower the value, the strong eco and stronger attacks will be, and the higher the value, the lighter the boom and less strong attacks will be. There is a bonus btOffenseDefense value included also, and this is 0.25 for attacking value scores, 0.20 for defense value scores (helping allies when they are outnumbered), and 1.0 for raiding value opportunities. The high value for OpporunityTypeRaid makes the AI use ships to hunt down fishing boats and villagers, and also allows the AI to score for more attacks that cripple the enemy's economy rather than going for brute force suicidal attacks. In the N3O AI for N3O Patch original, there was 0.40 attacking value scores, 0.50 defense values scores, and 0.20 for raiding. I had tried 0.40 for attacking values, 0.70 for defense attacking values, and this resulted in an AI that tried to win every game, and tried to attack. The value 0.75 resulted in the AI units not defending when they attacked.
Anyways I wanted to share this writeup because technically anything can be changed in an AI, as long as it is properly added and the bool values are put at the top of the script, or before they are used later in the code. For me, making a challenging AI was something of a ministry, because I wanted to reshape the way a Professional Game Match was played, even though for many, it's either AI or Online play that they want. I prefer AI with Online play, often 2 AIs for both teams, and 1 Human for both teams, or 2 to 3 Humans versus 3 AIs, or 2 Humans with AI allies versus an AI team. The fact that I made this AI after Company of Heroes AI, as a powerful and interactive ally or opponent, makes me proud to know that even the AI, with maintain plans and building a solid base every time, can actually menace a ranked player such as a Captain or a Major. And with this on Eso-Community.com, there are ELO points for Custom Matches, that are given if a played beats another player, even with AI allies, so this I find quite satisfying. But most importantly, is that the AI gets to be tried online, and that there are no hang-ups with it being too powerful, too over-powered, or too easy. It does it's job and for that I am thankful to myself for having created something so nice. There are still maps that my AI's struggle on, such as Japanese AI on Yucatan. Or AIs on Ceylon. But since the AI can play mostly all the other maps without a struggle, I think that these things are in general negligible.
Having a good time gaming!
And God Bless, and make sure to go to Church next Sunday!
One of my goals with these creations is to make Online Abusers play Comp Stomps, instead of ruining the online experience for other people. This mainly is the cheating part, where on single player this doesn't matter, and on multiplayer where it does matter! Also with the map modes I intend to create options both online and single player with an extra unit start, to grant all players games with AI and with each other, on a kind and balanced tone.
Good Gaming!