I think it is an contributing factor, both war weariness and war grievances (warmonger) is limiting Ai for sure. I wanted those mechanics in my game, but I ended up removing/heavily reducing both this effects to remove limits in AI, and I also give Ai amenity bonuses, but I don't think the bonuses is needed.
After working on tweaking mods/files to make Ai more challenging with my friends, we are pretty happy so far.
Just remember we have very limited knowledge about the game and how the mods/tweaks works, we just ended up with this settings/tweak after testing. For all I know many settings can be conflicting and counterproductive.
Here is what we have done:
Critical mods - remove from steam folder/unsubscribe and put into \Documents\My Games\Sid Meier's Civilization VI\Mods
AI+ - basic mod for improving Ai war operations.
Aggressive AI Traits - make Ai more aggressive and remove war weariness
Aggressive AI Agenda Overhaul - give more Ai's better war/expansion related agendas
Smoother Difficulty 2.0 - give Ai combat bonus vs barbs + remove extra settlers, tech, civics and combat bonus vs players
Smoother Difficulty 2.0 - Ignore the new difficulty levels since they are not in Ai+ mod. Play only on deity.
Optional mods - remove from steam folder/unsubscribe and put into \Documents\My Games\Sid Meier's Civilization VI\Mods
Radiant Stronger Cities - give ai attack bonus vs districts/cities + reduce walls strength
Settlers Retreat - made both settlers and builders unable to be capture since Ai never capture them
Better AI Diplomacy - make Ai less friendly
Mod Leaders Only - remove bad performing Ai's
No AI Cheats - remove extra units/settlers etc from Ai at higher difficulty levels
Tweaked original files
Make backup of org files first, and then just overwrite or merge with other changes you have made.
DiplomaticActions.xml - Reduce/remove warmongering (Grievances)
GlobalParameters.xml - Reduce/remove war grievances/weariness + increased minimum length of war so Ai have enough time to achieve something
Eras.xml - remove extra start settlers/builders but give Ai extra warriors at start to fight of barbarians at deity.
Settings for starting new game:
Critical = Play on deity to enable all mechanics in Ai+ mod
Suggestions: Ai will perform better with smaller map, less obstacles and fewer landmasses. The larger map, the more mountains/water and number of landmasses, the Ai will perform worse.
We are still doing testing and we have a few different approaches, my friend is testing with only one continent since Ai have issues with settling several continents, but I will come with more here later.
Here is all the files and mods tweaked.
https://app.box.com/s/yrbntgddroenfg0c3k2wnn2bl83v0f65
Just remember my friends and me are complete noob's when it come to understanding mods/tweaks, all we have done is testing with spectator mod and played the game, so there can be many illogical things here but it somehow work for us.
Have fun
