Adam7Eight
Emperor
I want to play on Titled Axis maps since you get a greater variation with random map types. But does anyone know how exactly to flip the climate latitudes back to normal so the poles are north and south, and not east and west?
I see this in the Python file:
...but don't know what to do with it. If anyone could help I'd appreciate it.
I see this in the Python file:
Code:
# subclass TerrainGenerator to make the climate "latitudes" run west to east
class TiltedAxisTerrainGenerator(CvMapGeneratorUtil.TerrainGenerator):
def getLatitudeAtPlot(self, iX, iY):
# Latitudes run vertically for a world with a tilted axis.
lat = abs((self.iWidth / 2) - iX)/float(self.iWidth/2) # 0.0 = equator, 1.0 = pole
# Adjust latitude using self.variation fractal, to mix things up:
lat += (128 - self.variation.getHeight(iX, iY))/(255.0 * 5.0)
# Limit to the range [0, 1]:
if lat < 0:
lat = 0.0
if lat > 1:
lat = 1.0
return lat
...but don't know what to do with it. If anyone could help I'd appreciate it.