1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

How civilization 'place' (1-7) is determined.

Discussion in 'Civ1 - General Discussions' started by tupi, Apr 11, 2020.

  1. tupi

    tupi Chieftain

    Jun 25, 2011
    All civs in the game are always 'sorted' from the best to the worst. It can be from 1 to 7 (7 = best, 1 = worst). This variable is matter, for example, for civil war (your place should be lower than the enemy place). It seems that number of advisers on negotiations screen uses this variable too.

    But how civilization place is determined? Actually, there's some hidden 'score counter'. It's calculated every turn for every civilization and then civilizations get their places according to it. Actually, the same counter is used for CIVILIZATION POWERGraph. Rules to score here are totally different from F9 'civilization score' screen.

    1 score point for every 32$ in treasury
    8 score points for every citizen (no matter if happy or unhappy) - game uses 'Total civ size' variable here (it's how it's named in JCivED)
    1 score point for every civilization advance
    score points for every unit = cost of unit in shield rows (for example, +1 for every militia unit and +4 for every charriot or catapult etc.)

    If civilization activity flag is set to 0, score of this civilization is 0

    Civilization powergraph data is this score divided by 8 and truncated to 0..255 range (you know, when your graph 'hit the ceiling'). Powergraph data actually is recorded every turn, but it overwrites the previous value if turn is not divisible by 4. Powergraph is recorded until 600th turn (2050 AD normally) only.

    You can look into decompiled function here:
    Last edited: Apr 12, 2020

Share This Page