• We are currently performing site maintenance, parts of civfanatics are currently offline, but will come back online in the coming days (this includes any time you see the message "account suspended"). For more updates please see here.

Changing Distance Between Cities with VP

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:
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.
 
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.

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:
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
 
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.
 
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.

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:
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!

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".
 
Back
Top Bottom