if self.plotMap[i] == mc.OCEAN:
for direction in range (1,9,1):
xx,yy = GetXYFromDirection(x,y,direction)
ii = GetIndex(xx,yy)
if ii == -1:
continue
if self.plotMap[ii] != mc.OCEAN:
self.terrainMap[i] = mc.COAST
We can make the coast bigger by changing that to look something like this:
COAST_SIZE = 4
if self.plotMap[i] == mc.OCEAN:
for xx in range(x - COAST_SIZE,x + COAST_SIZE + 1):
for yy in range(y - COAST_SIZE, y + COAST_SIZE + 1):
ii = GetIndex(xx,yy)
if ii == -1:
continue
if self.plotMap[ii] != mc.OCEAN:
self.terrainMap[i] = mc.COAST
What this change does is increase the size of the coast to convert ocean to coast up to COAST_SIZE squares from the ocean.
I have already made a fork of Totestra that does just this. Look for BigCoast.py and BigCoast.diff at Totestra.html.
[1] The only way I play Civ4 right now is with the Legends of Ancient Arabia mod, which renames the Galley a "Lateen". It has something to do with the fact I am 1/8 Arabian.
self.RiverThreshold = 4
Try making this 3 or 2.
self.minimumRainCost = 0.01And make 0.01 a higher value.
Arabia/SandBar.py
Arabia/SandBar.diff
The second file is a standard UNIX diff file; lines that begin with '+' indicate lines added to change Totestra to SandBar; '-' indicate removed lines.
http://forums.civfanatics.com/showthread.php?p=11480985
Please do not email me or send me personal messages that discuss this map script.