I had another look in the AI terrain evaluation and there seems to be bug. The value the AI assigns to each terrain depends on the dice roll malus applied.
The values are:
No malus 1.4
Enemy malus 1 1.54
Enemy malus 2 1.68
Own malus 1 1.12
Own malus 2 0.84
Therefore in the unmodded game the AI should engage on open terrain if it has an advantage of 1.7/1.4~ 20% and on a defensive mountain fort if it estimates roughly equal strength (1.7/1.68). But there is a bug that the AI does not use the factor of 1.4 on open terrain but a factor of approximately 1. Therefore it will mostly engage only if it has a significant advantage of 70% or on forts with defensive terrain. If one now reduces the acceptable balance to say 1 it fixes the problem with engaging on terrain with no penalty but for the other types of terrain the evaluation is off. As the AI still thinks it is safer to engage with a malus of 1 than with no malus and it vastly overestimates itself on defensive terrain. For example when defending in Hills you have an advantage of approximately 15/13~15% but the AI thinks it has an advantage of 54% which leads to suicidal behaviour albeit on favorable terrain.
I agree that this would be great but I am not sure making the AI more willing to fight or even significantly improving the AI could improve all of these examples. One of the reasons is if you improve the AI you improve both sides of the war and some of these are almost impossible to win if both players have equivalent skill. Especially if the weaker side has a very low province count and no or only badly placed forts one does not stand a chance. For example Sunda vs. Majapahit is just unwinnable in my opinion (all assuming equal skill of course and excluding allies). You have no forts and only five provinces to recruit from. I would even say that the chance of AI Sunda winning is higher right now as they sometimes siege race and can get lucky. I think well placed defensive forts are one of the best ways to improve defensive AI behaviour, especially considering the bug discussed above. The Mamluks for example also suffer from badly placed forts at game start (and the AI currently almost never changes their fort setup) as you only need to siege two dryland forts to get to Cairo from Anatolia. Sina and Tarabulus al-Sham are some decent postions. But even a well defended larger country can only compensate a moderate advantage in troop strength and I am doubtful one could create an AI which could change this without screwing the offensive AI.
For the Mamluks in particular the best thing would probably be allowing the AI to diplo vassalize allies even if they have ally attitude. This would improve Mamluk expansion a lot. Also a from a historical perspective I think the Mamluks should have a decent chance of fending off the Ottomans in the average EU4 campaign especially considering that the Portuguese almost never show up early enough in the Indian Ocean to threaten Mamluk trade.
The values are:
No malus 1.4
Enemy malus 1 1.54
Enemy malus 2 1.68
Own malus 1 1.12
Own malus 2 0.84
Therefore in the unmodded game the AI should engage on open terrain if it has an advantage of 1.7/1.4~ 20% and on a defensive mountain fort if it estimates roughly equal strength (1.7/1.68). But there is a bug that the AI does not use the factor of 1.4 on open terrain but a factor of approximately 1. Therefore it will mostly engage only if it has a significant advantage of 70% or on forts with defensive terrain. If one now reduces the acceptable balance to say 1 it fixes the problem with engaging on terrain with no penalty but for the other types of terrain the evaluation is off. As the AI still thinks it is safer to engage with a malus of 1 than with no malus and it vastly overestimates itself on defensive terrain. For example when defending in Hills you have an advantage of approximately 15/13~15% but the AI thinks it has an advantage of 54% which leads to suicidal behaviour albeit on favorable terrain.
Less linear would be better. The Mamluks and Qara might actually win more than 1% of the time. Muscovy might not form Russia once in a while. There are dozens of examples of smaller countries that just disappear because the AI evaluation goes: you are stronger -> I shall wait for you to full siege me and send the peace deal.
99% win rate:
Brunei vs. Kutai
Majapahit vs. Sunda
Uesugi vs. everyone in Japan
Morocco vs. Tlemcen
Songhai and Mali vs. Western Africa
Kongo vs. Central Africa
Timurids vs. Vassals
France vs. England despite naval superiority
Sure, there are reasons some of these tags should have a higher win rate to keep history somewhat accurate. I've seen the Mamluks lose to the Ottomans after they declared the war and I had just taken a 100% peace deal and eliminated 90% of Ottoman troops. It's actually just so frustrating.
I agree that this would be great but I am not sure making the AI more willing to fight or even significantly improving the AI could improve all of these examples. One of the reasons is if you improve the AI you improve both sides of the war and some of these are almost impossible to win if both players have equivalent skill. Especially if the weaker side has a very low province count and no or only badly placed forts one does not stand a chance. For example Sunda vs. Majapahit is just unwinnable in my opinion (all assuming equal skill of course and excluding allies). You have no forts and only five provinces to recruit from. I would even say that the chance of AI Sunda winning is higher right now as they sometimes siege race and can get lucky. I think well placed defensive forts are one of the best ways to improve defensive AI behaviour, especially considering the bug discussed above. The Mamluks for example also suffer from badly placed forts at game start (and the AI currently almost never changes their fort setup) as you only need to siege two dryland forts to get to Cairo from Anatolia. Sina and Tarabulus al-Sham are some decent postions. But even a well defended larger country can only compensate a moderate advantage in troop strength and I am doubtful one could create an AI which could change this without screwing the offensive AI.
For the Mamluks in particular the best thing would probably be allowing the AI to diplo vassalize allies even if they have ally attitude. This would improve Mamluk expansion a lot. Also a from a historical perspective I think the Mamluks should have a decent chance of fending off the Ottomans in the average EU4 campaign especially considering that the Portuguese almost never show up early enough in the Indian Ocean to threaten Mamluk trade.
- 1