Originally Posted by
z3n
Hmm. I don't recommend changing much in that version (it was made for DaC actually). I don't see the point of wars starting within the first 5 turns between neighbouring factions if there are slaves around.
Generally a human player would refrain from doing so as well, unless they were "blitzing". And we both know the AI can't blitz.
Though, are you sure you uploaded a correct version?
Cause in yours is
Code:
<decision_entry> <!--
invade immediate (is neighbour, bad standing, weak)
-->
<min_entry turn_number = "5" stance = "Neutral" target_human = "false" is_neighbour = "true"/>
<max_entry stance = "Neutral" frontline_balance = "0.5"/>
<faction_attitude at_war = "true" can_force_invade = "true" invade = "invade_immediate"/>
</decision_entry>
Which means that the attack will happen only if the frontline balance is smaller than 0.5, which is the exact opposite of what do we want, right? We would rather want it greater than 0.5.... And in DaC they replaced 0.5 with 5.0, so I suppose thats how it was meant to be?
Also, when in descr_campaign_ai_db we would want to force factions to never attack or defend against a faction, these two decisions entries should be absolutely enought, right?
Code:
<decision_entry> <min_entry target_faction="papal_states" />
<max_entry target_faction="papal_states" />
<faction_attitude defense="defend_minimal" continue="false"/>
</decision_entry>
Code:
<decision_entry> <min_entry target_faction="papal_states"/>
<max_entry target_faction="papal_states"/>
<faction_attitude invade = "invade_none" continue="false"/>
</decision_entry>
Cause the AI havent been entirely cooperative.. sometimes they stack armies around forts filled with units of this faction anyway... (is it better to have continue false or not?)
EDIT
Regarding the first part, in the newest DaC they actually also hae there 0.5... Though it confuses me, I probably think this it is doing the opposite than it is actually doing. So it means ration of frontline balance vs tha target, right? So the lower it is, the more likely is the faction to attack the target, right? So when you write it the way you have, hence min entry doesnt specifiy a value for frontline balance and the max_entry specifies 0.5, I assume it means the faction only attacks when the frontline balance is 0 and 0.5 which would be nonsense? So I assume it means the opposite then? That that max value is the lower one and not the bigger one, hence the faction is supposed to attack if it has 0.5 or more?