silentknight111
Warlord
- Joined
- Oct 27, 2005
- Messages
- 145
There's a very interesting XML file called "GlobalDiplomacyAIDefines.xml" that has all the basic diplomacy adjustments. It seems to apply to all civs, but I'm guessing their personalities further modify it from there. interestingly enough, negetive numbers are good, and positive numbers are bad. I guess you can think of the numbers as the amount of aggression the AI feels towards you.
What I found most notable while looking through this file is that the AI is weighted to be EXTREMELY aggressive towards you if it thinks you'd be very easy to defeat.
It gets +180 towards aggression if it thinks you are very weak:
That's a huge number, especially compared to:
or
The only thing I an think, besides weighting the AI to attack the weak no matter what, is maybe this modifier applies only during a war, and not before one. Thus guaranteeing the AI stays at war if it's winning.
I highly recommend anyone who is confused by AI behavior look through this file... There are TONS of modifiers.
What I found most notable while looking through this file is that the AI is weighted to be EXTREMELY aggressive towards you if it thinks you'd be very easy to defeat.
It gets +180 towards aggression if it thinks you are very weak:
Code:
<Row Name="APPROACH_WAR_PROJECTION_VERY_GOOD_PERCENT">
<Value>180</Value>
</Row>
Code:
<Row Name="OPINION_WEIGHT_ATTACKED_PROTECTED_MINOR_RECENTLY">
<Value>20</Value>
</Row>
Code:
<Row Name="OPINION_WEIGHT_WARMONGER_SEVERE">
<Value>70</Value>
</Row>
The only thing I an think, besides weighting the AI to attack the weak no matter what, is maybe this modifier applies only during a war, and not before one. Thus guaranteeing the AI stays at war if it's winning.
I highly recommend anyone who is confused by AI behavior look through this file... There are TONS of modifiers.