Starting distance between civs

skodkim

Deity
Joined
Jan 16, 2004
Messages
2,497
Location
Denmark
Is there any way to edit the minimum starting distance between civs? I often find myself clammed in between other civilizations which I find reallt annoying since one the things I enjoy most is exploring and building my empire :king:

\Skodkim
 
You have to edit the map python file.

You need to add this:

def minStartingDistanceModifier():
return -20

or if it is already there you can increase the -20 to -40 or whatever.
 
I've found a file called GlobalDefinesAlt.xml in the ..\Assets\XML\ directory. in that two values are given:
<DefineName>STARTING_DISTANCE_PERCENT</DefineName>
<iDefineIntVal>12</iDefineIntVal>
and
<DefineName>MIN_CIV_STARTING_DISTANCE</DefineName>
<iDefineIntVal>10</iDefineIntVal>

which sound as though they might be correlated to this, but I'm not sure. Tried increasing both numbers and it seemed to help, but again, I'm not sure.

Skodkim
 
Well as I said, I'm not really sure what they really do, but It doesn't crash the game and in the one game I've played since I found myself having more distance to my neibourghs and enjoying the game more.

Skodkim
 
I modded the terra map by removing the code to make all civs start on the same continent.
Then I changed the startingDistanceModifier from -20 to -40.
And so far I have not encountered another civ in about 140 turns.
But I am still not sure about the sign on the modifier. Does negative decrease the default distance?
 
Back
Top Bottom