Chance of being attacked?

clinton

Warlord
Joined
Apr 24, 2004
Messages
133
I'm interested in an explaination of the formula or procedure that decides whether an AI is going to attack you. I notice that having a strong military makes the AI less likely to attack you.

I was wondering whether there was a way to ensure that the AI will not initiate war with you, much like there is a formula in Civ 3 (or 4) to ensure your city will not flip. If this is not possible, what quantitative effect does having a strong military or other things such reputation, aggressiveness of AI, civics, religion, population, land mass, alliances etc have on the probability of an AI attacking you.

An english explaination would be great, or even a commented version of the particular code which determines this in the source would also be fine also.
 
I'm no expert..but I have found that having a large military, in their sight, will prevent an attack. Your reputation with that particular leader, the leaders particular personality (for example, Montezuma is WAY more likely to attack you than Ghandi is.) I believe you're religion, and to a certain extent your civics can all be factors of whether or not the AI will declare war on you. Whether or not they're SMART about declaring that war is not certain though :P
 
I'm no expert..but I have found that having a large military, in their sight, will prevent an attack. Your reputation with that particular leader, the leaders particular personality (for example, Montezuma is WAY more likely to attack you than Ghandi is.) I believe you're religion, and to a certain extent your civics can all be factors of whether or not the AI will declare war on you. Whether or not they're SMART about declaring that war is not certain though :P

Thanks for the reply, but I was more interested in something more quantitative, so I know more exactly what position I need to be in to avoid a war. Like how large my power graph needs to be compared to my rivals, etc.
 
There is no way to but 100% sure. And considering there are way too much factors (military, diplomacy status, border cities, inner cities visibility, leader personnality...), I don't think this can be summarized in an easy formula.
 
There is no way to but 100% sure. And considering there are way too much factors (military, diplomacy status, border cities, inner cities visibility, leader personnality...), I don't think this can be summarized in an easy formula.
I don't think there can be an easy formula...however in terms of how large your power graph needs to be in comparison to your rivals, generally if you are 1st or 2nd on the graph...you're way less likely to be attacked.
 
Back
Top Bottom