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

Border Growth Priority

Discussion in 'Civ5 - Strategy & Tips' started by Sifr, Dec 18, 2015.

  1. Sifr

    Sifr Chieftain

    Joined:
    Dec 17, 2015
    Messages:
    4
  2. vanatteveldt

    vanatteveldt Emperor

    Joined:
    May 19, 2003
    Messages:
    1,039
    Location:
    Amsterdam
    My guess it that you don't have iron working yet, so the gems are inaccessible?

    Not clear why the empty sea rather than the fish, maybe it prefers closer tiles over more distant tiles and the fish aren't special enough to trigger a tile 3 pick?
     
  3. Sifr

    Sifr Chieftain

    Joined:
    Dec 17, 2015
    Messages:
    4
    I'm definitely in the Renaissance Era; not having Iron Working isn't an issue.

    My thoughts were that the Civ V Wiki has it wrong and the city will always fill out any given ring before moving to the next. For it to pick the coastal and not the river tiles could indicate Oil?
     
  4. beetle

    beetle Deity

    Joined:
    Mar 19, 2004
    Messages:
    5,808
    Location:
    Frederick, MD
    I don’t think the wiki article is wrong so much as overly optimistic. Check out the cost to buy the fish tile. Is it more expensive than the two closer empty coastal tiles?

    I don’t think you should hope for oil, and the governor will definitely not always fill out any given ring before moving to the next. I wish it were either more logical or at least more consistent!

    As far as the gems go, you can make tiles more likely to picked by the governor by clearing forest or jungle.

    Also, FWIW, I would have settled 1 hex NE. Mostly because of one exposed hex to ocean instead of three. You would have gotten the first fish a little later, but the second one much sooner. Other specials are the same distance, and less useless coastal and ocean hexes to distract the governor.
     
  5. joncnunn

    joncnunn Senior Java Wizard Moderator

    Joined:
    Mar 17, 2008
    Messages:
    8,621
    Location:
    Missouri
    This looks normal to me.

    However, I note that cash buying tiles with a resource such as the Gems you mentioned and also the other Fish would be extremely cheap. (There is a major cash discount in BNW for buying tiles with a visible resource)
     
  6. Sclb

    Sclb Emperor

    Joined:
    Jul 14, 2015
    Messages:
    1,283
    Yes, resource tiles are usually cheap to buy, although the governor might not prioritize them at all. Also many natural wonders counts as mountains, so the governor also don't like them, but they're expensive to buy.
     
  7. Lord Yanaek

    Lord Yanaek Emperor

    Joined:
    Aug 15, 2003
    Messages:
    1,494
    The governor uses the same basic algorithm as the rest of the AI
    Code:
    if i can do something stupid
        then do it
        elseif i can annoy the player
            then do it
        else let's do something random
    
    :sarcasm:

    More seriously, in my experience the gov often takes food bonus resources first (even when 4th ring :rolleyes:) then strategic resources (even if you are currently unhappy :wallbash:) then luxuries but it will sometimes acquire cheap tiles (flat tiles are cheaper and i think ocean counts as flat) closer to the city before going to far away resources (seemingly at random). As has been said, forests and jungles lower priority so removing the jungle from some resource will make it more attractive for the gov.

    I guess someone with access to the source code could tell us if it's purely weight based or there is some random roll but given how the AI tend to work, i would guess some RNG is involved.

    EDIT : must add that the wiki is badly outdated as it still lists great artists "culture bomb" ability. it's been a long time since this ability was given to the great general's citadel.
     
  8. Chum

    Chum King

    Joined:
    Jan 25, 2014
    Messages:
    707
    Wiki is probably wrong. The Tile acquisition is actually extremely simple. If it's a flat resource, it'll grab that first (something like river wheat.) Then it will move on to flat empty tiles, then it will grab hills, then it will grab forested/jungle, then forest/jungle hills.

    If you want any of those other tiles, simply chop the forest and you'll see the priority move. It doesn't fill one ring before moving on to the next, but it absolutely won't grab a 3rd ring forested/jungle hill before a 2nd ring flat area (the ocean, in this case). As for the fish, I've seen it both ways, and I should also note that just because it has the tile highlighted doesn't mean it's for certain going to expand to one of those slots.
     
  9. joncnunn

    joncnunn Senior Java Wizard Moderator

    Joined:
    Mar 17, 2008
    Messages:
    8,621
    Location:
    Missouri
    The folks in Creation & Customization are the ones most likely to know the source code.

    For those that ONLY have Vanilla, and not G&K / BNW, that part of the wiki is still correct. It was in G&K that culture bomb shifted from Artists to Generals.

    There were minor tweaks made to this in BNW, the wiki is right for those with Vanilla, but a bit wrong for those with expansions.

    I do note though that sometimes chopping forest on hills doesn't seem to change cultural priority, the hill itself is tough terrain. And in case of a resource present, you are definitely better off paying the cash than chopping forest and waiting because of the cash discount for buying.
     
  10. whoward69

    whoward69 DLL Minion

    Joined:
    May 30, 2011
    Messages:
    8,350
    Location:
    Near Portsmouth, UK
    It's only slightly RNG based.

    Every available plot is given a weight (search for INFLUENCE in GlobalDefines.xml - ignore the ones relating to spies!) - despite cost being in multiples of 5, influence/weight can (and does) differ by 1

    The RNG is only used to pick one plot if multiple plots have the same weight.

    The oddity between cost (multiple of 5) and weight (multiple of 1) is why on the city screen you can get several plots showing that they could be acquired next, and then the governor picks a "dumb" one - eg sea - as that tile will have a slightly lower weight than another highlighted one.

    (The code is in CvCity::GetBuyablePlotList(), and is over 200 lines, so not too easy to summarise.)
     
  11. beetle

    beetle Deity

    Joined:
    Mar 19, 2004
    Messages:
    5,808
    Location:
    Frederick, MD
    Somewhat tangentially, and I have only done this a few times, but when I play the same map with Liberty + Tradition Opener versus Tradition, border growth in the Tradition game is noticeably better. Is that just because I have fewer cities? Or does Tradition have some other perk for borders beyond the opener?

    Thanks for clearing this up. Also, thank you for Pick-n-mix!

    Is Chum mistaken about this, or does it happen? I don't think I have seen it, but I don’t watch that closely, since it is so painful to wait on the governor to pick up the tiles I want.
     
  12. whoward69

    whoward69 DLL Minion

    Joined:
    May 30, 2011
    Messages:
    8,350
    Location:
    Near Portsmouth, UK
    It can happen, but there always underlying reasons. Eg, you have two overlapping cities and they both expand the same turn (or within the turns that you look)

    Cities A and B share a tile in (say) the second ring of A and the third ring of B. This tile is adjacent to a luxury resource in the fourth ring of B.

    City B will be showing three or four tiles to expand to, none of them the lux in ring 4.

    City A expands and takes the shared tile. The weight given to the lux in ring 4 now decreases significantly (low is good) and can fall to such a point that it will now be chosen over the previously highlighted ones.

    Exactly why one of my first DLL based mods was "UI - City Expansion" - pick the one you want, or get a discount on it if it's not one the governor thinks you should have!
     
  13. Browd

    Browd Dilettante Administrator

    Joined:
    Aug 5, 2012
    Messages:
    11,615
    Gender:
    Male
    Location:
    Washington, DC
    There is no other Tradition bonus for border growth, besides the opener, but border growth is a function of culture generated in the specific city. The opener's +3 culture in the capital (together with your palace's culture) certainly provides a bigger bonus than the +1 culture from the Liberty opener. And the free culture buildings from Legalism certainly can help on that front (in your first four cities), particularly if you don't prioritize building monuments in your Liberty cities (there's so much to build in expos -- you may be prioritizing libraries, granaries, workers, archers, etc., which can make sense, but does result in delayed culture in your expos).
     
  14. LordBalkoth

    LordBalkoth Prince

    Joined:
    Dec 7, 2014
    Messages:
    525
    To be clear, Beetle -- the border growth from Tradition is for ALL cities. It's just the capital that gets +3 culture specifically.
     
  15. beetle

    beetle Deity

    Joined:
    Mar 19, 2004
    Messages:
    5,808
    Location:
    Frederick, MD
    Monuments are pretty high in Liberty build queue -- unless I am near unlock the first policy in Aesthetics (which makes the culture buildings cheaper), but still monuments would be still be later, and the amphitheater (in cap) much later. Also, Tradition opener for me is after three picks in Liberty. So I think the difference I see is, as you point out, explained sufficiently by the delay.
     

Share This Page