Anyone can read the code to give us the formula? I would really love to know how it works too.
Might be that simple, but is it really? How do you even go dominant if you have to get more than the culture a civ accumulated throughout all history?
1) The formula is really simple. The tourism is how much tourism you've generated with them throughout the entire game, and the culture is how much culture they've generated throughout the entire game.
2) The way you catch up is through the % modifiers (open borders, trade routes, diplomats, etc.). If in a late game situation they have 700
per turn and I have 900
per turn (but a 134%
modifier), I'm going to be catching up very quickly even though I only have 200 raw points more than them.
I think the reason you were confused about the formula is because of what gregorovitch said with his percentage math earlier. See below.
And as mentioned, don't think of Influence as being a difference between your percentage and another player's percentage as a ratio - it's nothing as complicated as that. The pressure comes from differing Influence levels only and the percentages are only important in the respect that they facilitate how close a player is to reaching the next level (or dropping back to the previous).
I don't think he was actually thinking of it as a percentage difference, he was just answering his own question of how he could be generating more
per turn than the other civ was producing
per turn, but their influence % was going up.
He already sorta did the math, but I'll do it again just to clarify.
Lets say I have 100 cumulative
, and am producing 2 per turn. The AI has 0 cumulative
and is producing 1 per turn. I am producing more
than the AI is producing
. The AI could never become influential at this rate but counter-intuitively the % of influence actually increases. The AI has 50% of your
output as
and as such, the % influence will approach 50% as the number of turns goes to infinity.
100
, 0
, 0% influence
102
, 1
, .98% influence
104
, 2
, 1.92% influence
106
, 3
, 2.83% influence
--10,000 TURNS LATER--
20106
, 10003
, 49.75% influence
Just to prove the point, it works the same if you are producing the same amount of culture as they are tourism. This time the ratio approaches 1:1 (100%).
100
, 0
, 0% influence
101
, 1
, .99% influence
--10,000 TURNS LATER--
10101
, 10001
, 99.01% influence
Obviously this works the same with large numbers; the % influence = to the ratio of the
and
will be reached quicker if the amount per turn is closer to the cumulative produced. In the previous examples you will reach the ratio a lot quicker if you were producing 50/25 culture/tourism per turn instead of just 2/1.
And no, I don't have anything better to do at 2 in the morning