Larger active city distance and adding population

djharr

Chieftain
Joined
Apr 30, 2019
Messages
5
OK, so I have figured out how to make cities be farther apart from each other by changing the CITY_MIN_RANGE (or whatever it is called) global value. What I would like to do is two other things.

1) Make cities able to use tiles up to 4 hexes away from the city center for building districts, instead of just two.
2) Recreate the old civ mechanic where you could send a settler to a city and have it increase the population by 1.

I looked around the database, but I couldn't find any global values relating to district building except something about CITY_CAN_BUY_HEX_RANGE which was 3, but changing that didn't have any real effect, that I could tell. It still didn't even let me buy hexes more than 3 from the city center. I am not even sure that there is going to be any way to change the active distance for districts, that seems like something that might very well be hardcoded into the application binary instead of set as a global constant in SQL.

The business about the settlers, I have no idea.

If anyone has any ideas, I would be interested in hearing them.

David
 
Code:
Name="CITY_MAX_BUY_PLOT_RANGE" Value="3"
The workable (and purchasable) tile range cannot be altered past the 3-tile value as this is indeed hardcoded in the DLL sourcecode to which we have no access. The workable range (ie, the max plot buy range) is what determines how far out from a city-center a district or wonder can be placed, and how far out from the city-center a city can purchase or work tiles.

In Civ5 we could alter the value to less than three tiles as I recall but in Civ6 I have not experimented to see if this is even possible. Essentially, the GlobalParameter for this in Civ6 is not really used anywhere by the game.

There's nothing possible I am aware of using only SQL or XML that will allow city population movement via settlers. It would require lua scripting at the very least, and in any case the AI players would never really understand it or make proper use of it.

---------------------------------

GlobalParameters
Code:
Name="PLOT_INFLUENCE_MAX_ACQUIRE_DISTANCE" Value="5"
This controls how far out from a city center a city can acquire tiles from cultural influence.
 
Last edited:
Back
Top Bottom