Saturday, May 4, 2013

AI problems

I know the AI can be shit at times... My AI is based on the Draugur AI, which people said it was good, so that's why I used it. I then tweak it to train my units and build my buildings, as well as using the extra population I added. I also tried to tweak how it played, since people complained it was too slow and none aggressive.

I tried over and over again, and while a friend of mine seems to have nailed it I want to achieve that by my own terms. So, I left this message to someone here on the blog:

"Well, let me explain then.
What people don't seem to understand is that the AI has different personalities and strategies. Napoleon for example, favors cavalry and native units and has a balanced attack strategy, which means he attacks but he also builds protection for his base.

Elizabeth, British, she is a boomer, which means she first builds a powerful economy and then attacks.
Isabella, Spanish, she is a rusher. She doesn't care about base protection and spends all her resources on units with which she attacks you as often as she can.

But even with these built in strategies they do change the way they play sometimes. In one game for example, Isabella could chose a turtling strategy, which means she will build base defenses and attack less.

People just want the AI to attack continuously at all times, and while I am not completely against it, its simply very hard to tweak the AoE3 AI since it works in a weird, "lazy" way and requires a lot of codding to make it do even simple, basic things.

I did however, released a prototype AI. What is different in it? Simple, I removed all strategies and made everyone a rusher, even if some of them need an economy to evolve, like the Dutch because their Settlers cost coin, even so I removed every bit of personality and strategy from the AI and made what everyone seems to want.

And if this still doesn't satisfy my warmongering fans, then I will increase their rushing status even more and see what happens.

Thank you and please vote in the survey."

These are the personality descriptions from the AI file:

Elizabeth: Infantry oriented boomer, favors natives
Napoleon: Cav oriented, balanced, favors natives
Isabella:  Rusher, disdains trading posts
Ivan: Infantry oriented turtler
Frederick: Cavalry oriented rusher
Maurice: Turtler, boomish, huge emphasis on trade
Henry: Artillery oriented boomer, favors trade
Suleiman: Artillery oriented, balanced
Gall: Extreme rush, ignores trade routes
Hiawatha: Balanced, trade and native bias.
Cuauhtemoc: Randomized, but usually light boom, defensive.
Kangxi: Infantry oriented turtler
Tokugawa: Extreme rush, ignores trade routes
Akbar: Cavalry oriented, balanced

Remember that they might change these strategies from time to time.


  1. better do separately file(s), this prototype AI
    that each desirous could afford to install

  2. I dunno if Roman meant what I'm going to say, but I'll say it just in case.

    It would be better to release the hardmode-updated AI as a separate addon if it's possible. I, for one, am a turtler and just cannot handle rushers (that's why I never play online ;p), so would be perfectly happy with only the "better" AI, bot the "hard" one.

    1. I totally understand you, that's the way I play too and I also don't play online because of rushing and other annoying tactics that might ruin my day.

      But the prototype AI is only temporary, the more votes I get in the survey to see how it works for people, the faster I will remove it and add back the old AI with some tweaks from this one.

      So please, vote in the survey. I cannot stress this enough.

  3. strangely, 5 people participated in the voting, and now 3
    can not remove the its choice

    1. Yeah, I think the voting system is bugged... But I can't do anything to fix it.

  4. I do not like
    it's necessary that AI used all features, not only oriented one or two

  5. An oriented AI only two or three things is a totally obsolete and boring, for beginners.

    if you have that ability to know how to guide the AI, take advantage of this opportunity to really improve your Mod, let people know that your mod is very good to install, creates a strong AI Fitted, that uses every possible means to win, for example make like Arkantoz Jr, (( Thiessen AI )) attacks with his cavalry, all infantry, with natives, mercenaries, artillery, ships, economy, fortificiaciones, all you have within your reach,,, to win, So the AI Very Strongest and hardest, difficult, never want lose. Is Exellent the AI Only One For All Personalities.

    forgeting that mercenaries spend more population, or that are more expensive or that much army slows your pc, try always the strength of the AI as much as possible if you can. a very AI Dificult without import the personality of Tokugawa or Elizabeth, Many people here will be totally grateful with you dear friend;.

    is a good idea that this oriented AI all features mentioned. No Only one or two. to really improve your Mod more.

    1. I would like to dude, but I suck at AI scripting as I said many, many times, and I can't create the perfect AI everyone wants.

  6. We do not want perfect AI, we want old AI with some tweaks from (as you said up)

  7. I played a 2v2.
    Ivan as my friend, Maurice and Elisabeth as my enemy. I chose the Dutch and the British on purpose, because they are normally boomers. I was wondering how the boom civs would play when 'told' to rush. Well: they were shit. Really. In maybe age II or III they gave me a hard time but after killing the two or three armies they sent they were almost brain dead.
    I always like to play very relaxed and wait for 30 minutes before I launch a full scale attack but when I arrived, both enemies had zero armies.
    Check this shit out:

  8. The image shows the villager count.
    Look how much time I gave them. They still don't manage to produce villagers. Even the Russians, my ally, don't. After I gave him a shit load of resources he started to produce more.

  9. Well, good news, I made the AI to better use Scouts and Envoys, the Envoys will now also be used to build and gather Fame by the AI.

  10. The old AI has been uploaded with only this ^ change.