YnAEMP Min_CIV_STARTING_DISTANCE Changes?

CivHawk

Chieftain
Joined
Dec 29, 2017
Messages
55
Hello all. I have a ynaemp modding question if anyone can help:

I'm trying to play a 22-civ Huge world map, and I'm trying to set it up so that I can get most (if not all) of my modded civ downloads to be eligible to startProblem is, 3 tiles minimum starting distance is too large and I want to reduce it to 2

I have tried to update the GlobalDefines via the RulesChange.xml file:

XML:
    <Defines>
        <Update>
            <Where Name="MIN_CITY_RANGE"/>
            <Set Value="2"/>
        </Update>
        <Update>
            <Where Name="MIN_CIV_STARTING_DISTANCE"/>
            <Set Value="2"/>
        </Update>
        <Update>
            <Where Name="STARTING_DISTANCE_PERCENT"/>
            <Set Value="12"/>
        </Update>
    </Defines>

But it doesn't change anything.

I tried to test this with England and the Netherlands being 2 tiles apart, but it wouldn't even place the Netherlands settler. So I'm thinking I'm doing something wrong, or I'm not updating enough of the map scripting to allow itIs anyone able to help?
 
Have you tried editing Worlds?

Code:
UPDATE Worlds SET MinDistanceCities = 2, MinDistanceCityStates =2;
 
If you use other mods that have an sql file you open it with notepad and paste it at the end of the file.
these are in the sql folder of the mod im not good with computers does it matter what file i put it in?
 

Attachments

  • Screenshot 2025-11-19 165826.png
    Screenshot 2025-11-19 165826.png
    34.7 KB · Views: 3
Not as long as the sql file you chose is loaded in the mod, you can see it by opening the ".modinfo" file still with notepad and checking if it's like this:
<UpdateDatabase>YourFile.sql</UpdateDatabase>.
 
Back
Top Bottom