Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

Since the AI in Civilization 5 are, as their name suggests, artificial, that means that all their actions are determined by numbers and formulas.

That would include the diplomacy between the AI and the player.

So what is the formula that determines the AI's view of the player?

For instance, I found this thread on the Civilization fanatics forum that details how the "warmonger" part of diplomacy is factored.

It says that the warmonger score with another civilization is caluclated by: (other civilization's warmonger hate factor) * (5 * (declarations of war against major civilizations) + 10 * (major civilizations conquered) + 5 * (declarations of war against minor civilizations) + 10 * (minor civilizations conquered)) This score then corresponds to several levels, 200 + is critical, 150-200 is severe, 100-150 is major, 50-100 is minor, and less than 50 is none. Critical then corresponds to -100 diplo points with that civilization, severe is -70, major is -40, and minor is -15.

To put that in comparison a declaration of friendship gives +35 diplo points.

So what other formulas can be taken from the XML files to determine the overall diplomatic calculation?

share|improve this question
I found the document that contains all the diplomatic weights for every action that the AI consider, you can find it at C:\Program Files (x86)\Steam\steamapps\common\sid meier's civilization v\assets\Gameplay\XML\AI\GlobalDiplomacyAIDefines.xml For example, if you are taking wonders they want you run the risk of getting the OPINION_WEIGHT_WONDER_FIERCE tag which damages relations by 20 points, if you then go down in the document you see that WONDER_DISPUTE_FIERCE_THRESHOLD is 10, I can't find any other things in the document other than that, so I can only assume that it means 10 wonders –  LagAttack Apr 3 '13 at 19:09
So if you have built 10 wonders that the AI wanted (even if they were no where near getting them) then you will take 20 diplomatic point hits. I am unsure how the AI determine what wonders they want, but if they're a civ like Egypt and you have 10 wonders, you can almost guarantee that you will be taking 20 diplomatic point hits. –  LagAttack Apr 3 '13 at 19:15
you get hints here and there - Civs that proposes one sided Open Borders, and refuses when you want a both sided Open Border, are very much likely going to compete with you for high culture / high tourism wonders. You can also expect warmongering civs to want stuff like Brandenburg gate. –  Calyth Jan 23 at 20:47
add comment

1 Answer

Unfortunately there is no official formula but if you have enough gold and luxury items such as marble and dyes etc. they will happily all become your ally. At least that is how I have managed in my games

share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.