I've noticed that at the beginning of the desc_campaing_ai_db.xml file, there is this declaration/explanation of variables :
<trusted_ally_fs_threshold float="0.8"/> // min threshold for how much we like the target faction to consider them a trusted ally
<trusted_ally_target_fs_threshold float="0.8"/> // min threshold for how much does the target faction like us to consider them a trusted ally
<trusted_ally_gs_threshold float="0.2"/> // min threshold for how trustworthy is the target faction to consider them a trusted ally
But in the actual code, these thresholds are all set to 999.0. Yet, the trusted ally status is checked a bunch of times, in triggers such as :
<decision_entry>
<!--
If trusted ally, use defaults
-->
<min_entry trusted_ally="true"/>
<faction_attitude can_force_invade="false"/>
</decision_entry>
If I am correct, I think this means the AI does not care for alliances AT ALL in its invasion decisions, or rather that the triggers checking for trusted alliances are effectively neutered. Which would account for much of the diplo grief and non-sensical aggressions.
Has anyone tried setting these variables to the suggested declaration defaults (0.8, 0.8, 0.2) ?
Bookmarks