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

Changing Distance Between Cities with VP

Discussion in 'Community Patch Project' started by fabulamore, Sep 8, 2017.

  1. fabulamore

    fabulamore Chieftain

    Joined:
    Jul 23, 2017
    Messages:
    3
    Quick question that I'm having trouble changing the distance between cities while using VP.

    I want to set it up so that the distance between cities is the way it is in vanilla bnw+YNAEMP - 2 tiles in between cities on the same landmass, 1 tile in between on different landmasses. I want this restriction to be global, so it doesn't differ between games. (If I have to write a mod for it, that's not a problem) I don't care if smaller city distance is terribly unbalanced or not recommended in VP, I just want to be able to have this as an option.

    Two ways I have tried to modify this is going into the Documents/My Games/Sid Meier's Civilization 5/Mods/(1) Community Patch/Core Files/Core Changes/WorldChanges SQL file and changing the values of minimum city distance for major and minor civs to 2 each, but it didn't do anything for me in-game.

    Another thing I tried to do was go into the main files and edit the distance between cities by editing the GlobalDefines.xml file, though I forget which value I edited specifically.

    Help is much appreciated!
     
    Last edited: Sep 8, 2017
  2. Beniito

    Beniito Warlord

    Joined:
    Feb 16, 2017
    Messages:
    106
    It's controlled by the MIN_CITY_RANGE value in GlobalDefines.xml. if u have expansions, you have to do them for those too.
    I tried doing this long ago, basically you have to change it in GlobalDefine, but if u have the expansions, then you have to do those too.
    but for me it made the icons for luxury resources that VP adds (coral and lapis lazuli ) to turn white, and game crashed. I had to do a fresh install after that, but maybe that was a problem with my install. you should try it without VP first.
    I dont think you have to change anything in VP.
     
  3. fabulamore

    fabulamore Chieftain

    Joined:
    Jul 23, 2017
    Messages:
    3
    Changing MIN_CITY_RANGE in GlobalDefines.xml for Civ5+GNK, BNW doesn't work in games with the VP mod enabled - settling distance is still set to 3 tiles in between. Even when I change the values in WorldChanges, for both Community Patch and Community Balance Overhaul, the settling distance is still set to 3.
     
    Last edited: Sep 9, 2017
  4. Beniito

    Beniito Warlord

    Joined:
    Feb 16, 2017
    Messages:
    106
    but it works without VP ? then its definitely something within VP, but unfortunately I cant help you :(
    you need to contact the experts for that :p
     
  5. vyyt

    vyyt Deity

    Joined:
    Jan 28, 2005
    Messages:
    2,300
    Location:
    Czech Republic
    On my cell, so I cannot check ingame. But if I remember correctly, you are altering the correct file (WorldSizes.sql in (1) CP... No, I think it is in (2) CBO ), but the trick is that there is one more value below the world sizes which is the absolute minimum distance universal for all world sizes. You have to change this value as well.

    We have done this before and it worked. Try searching the forum, it was about 1 year ago.
     
  6. fabulamore

    fabulamore Chieftain

    Joined:
    Jul 23, 2017
    Messages:
    3
    I already altered that value back when I first edited the files... it didn't work. I have been searching for any other mention of city range/distance in (1) Community Patch and (2) Community Balance Overhaul, and such, but no luck.

    If it matters, I am using 43 civ DLL and the EUI version for the latest patch.

    EDIT: After a fresh install of the latest VP patch, the problem has been solved. No idea why it wasn't working before, as everything else shouldn't have changed....

    Thanks for the help!
     
    Last edited: Sep 10, 2017
    vyyt likes this.
  7. bigcat88

    bigcat88 King

    Joined:
    Nov 26, 2016
    Messages:
    743
    Gender:
    Male
  8. vyyt

    vyyt Deity

    Joined:
    Jan 28, 2005
    Messages:
    2,300
    Location:
    Czech Republic
    Glad to help! By the way, I am from the other camp, I increase the distance to 4 tiles. I think there is no absolute max value for "us".
     

Share This Page