1. We have added the ability to collapse/expand forum categories and widgets on forum home.
    Dismiss Notice
  2. All Civ avatars are brought back and available for selection in the Avatar Gallery! There are 945 avatars total.
    Dismiss Notice
  3. To make the site more secure, we have installed SSL certificates and enabled HTTPS for both the main site and forums.
    Dismiss Notice
  4. Civ6 is released! Order now! (Amazon US | Amazon UK | Amazon CA | Amazon DE | Amazon FR)
    Dismiss Notice
  5. Dismiss Notice
  6. Forum account upgrades are available for ad-free browsing.
    Dismiss Notice

Cost of the palace for C3C

Discussion in 'Civ3 Strategy Articles' started by Theoden, Dec 20, 2004.

  1. Theoden

    Theoden Chieftain GOTM Staff

    Joined:
    Sep 17, 2003
    Messages:
    2,569
    Location:
    Denmark
    Cost of the palace for C3C

    One of the things that I’ve always wondered is how the game determines what the palace will cost. So I decided to make some tests to get it cleared out.
    After extensive testing I came up with the following results. The test was made with C3C 1.22:

    - The number of cities in your empire determines the cost of the palace
    - The Optimal City Number also has an effect
    - The palace can never cost less than 300 shields and never more than 1000 shields

    During the tests I also found a lot of things that I concluded to have no effect on the palace cost. All of these are verified to have no effect. If you have any ideas not listed here that could have an effect please point it out:

    - Difficulty level
    - The size of the map
    - The distance to the capital from the different cities
    - The sizes of the cities in your empire
    - The government you are currently in
    - The amount of time that has passed or the current technological level


    The cost of the palace is calculated as follows

    PC = (C * 600) / OCN

    where PC is palace cost and C is number of cities. This only works rounding fractions down per 100 (e.g. 23 cities on standard map (OCN 20) would be (23 * 600) / 20 = 690 which would round down to 600). Also keep in mind the maximum and minimum costs.


    For those who dislike math jsut compare to the following chart. The first is number of cities and the second is palace cost in shields.

    tiny map
    up to 9: 300
    10-11: 400
    12-13: 500
    14-16: 600
    17-18: 700
    19-20: 800
    21-23: 900
    24 or more: 1000

    small map
    up to 11: 300
    12-14: 400
    15-16: 500
    17-19: 600
    20-22: 700
    23-25: 800
    26-28: 900
    29 or more: 1000

    standard map
    up to 13: 300
    14-16: 400
    17-19: 500
    20-23: 600
    24-26: 700
    27-29: 800
    30-33: 900
    34 or more: 1000

    large map
    up to 18: 300
    19-23: 400
    24-27: 500
    28-32: 600
    33-37: 700
    38-41: 800
    42-46: 900
    47 or more: 1000

    huge map
    up to 23: 300
    24-29: 400
    30-35: 500
    36-41: 600
    42-47: 700
    48-53: 800
    54-59: 900
    60 or more: 1000


    Also, for the mod makers if you change the cost of the palace (it is set to 100 in the standard game) just use this instead:

    PC = (C * 6 * CE) / OCN

    where CE is the palace cost as set in the editor. Also the minimum and maximum costs will be CE * 3 and CE * 10.


    That's all there is to it. Hopefully this knowledge can help to plan when to wait building a city, when to start building a palace etc. As usual feel free to make suggestions or point out mistakes (if any).

    Theoden
     
    Spoonwood likes this.
  2. MOTH

    MOTH Chieftain

    Joined:
    Aug 13, 2004
    Messages:
    1,676
    Location:
    mostly lurking
    I've been wondering about this and I'm always afraid that just after I use a leader to rush a 900 Sheild Palace in the corrupt boondocks that I will capture 1 more city and the cost jumps to 1000. This happened to me once and now I always stop capturing cities on the turn I rush the Palace.
     
  3. Xerol

    Xerol Chieftain

    Joined:
    Oct 6, 2002
    Messages:
    1,542
    Location:
    In an IDE.
    Well, you could just rush it as the very last action in the turn?
     
  4. Khan_Asparuh

    Khan_Asparuh Just a Bulgarian Eddie

    Joined:
    Mar 5, 2004
    Messages:
    1,032
    Location:
    22 Acacia Avenue, Paris
    Cool; i've been wondering for a while about the exact formula; I saw it was city number dependant but how???
    Thanks Theoden
     
  5. josephstalin

    josephstalin Kremlin Highlander

    Joined:
    Apr 15, 2005
    Messages:
    728
    Location:
    Paris
    Sweet. Thanks, Theoden. I woundered about Palace cost a lot.
     
  6. Theoden

    Theoden Chieftain GOTM Staff

    Joined:
    Sep 17, 2003
    Messages:
    2,569
    Location:
    Denmark
    Lately I've had games where the conclusion of my test does not seem to be right. I got suspicious as to whether the World Size Bug had an effect on palace cost, as that is the only way my test results with mapsize could be wrong (I didn't know about the world size bug back then). Further testing have shown that mapsize do have an effect, because the world size bug also applies to palace cost. I will soon update the article once I have tested the effect of mapsize.
     
  7. watorrey

    watorrey Chieftain

    Joined:
    Dec 22, 2001
    Messages:
    2,007
    Gender:
    Male
    Location:
    Rochester, NY, USA
    It could be a % of OCN that determines the cost. That would explain the world size bug effect.
     
  8. Theoden

    Theoden Chieftain GOTM Staff

    Joined:
    Sep 17, 2003
    Messages:
    2,569
    Location:
    Denmark
    Since I also tested the effect of the OCN without knowing the world size bug it is actually possible.
    A bit of testing shows that the palace cost is actually dependant on OCN rather than mapsize. Thanks for suggesting it watorrey.
    Article is now updated to be 100% correct.
     
  9. Theoden

    Theoden Chieftain GOTM Staff

    Joined:
    Sep 17, 2003
    Messages:
    2,569
    Location:
    Denmark
    update: With the new testing results the charts also had to be updated. That is now done.
     
  10. Vicki Jones

    Vicki Jones Chieftain

    Joined:
    Thursday
    Messages:
    2
    Gender:
    Male
    Location:
    New Zealand
    How to calculate world size bug effect?
     

Share This Page