jkp1187
Unindicted Co-Conspirator
I wanted to play with maps that are the same dimensions as the maps in the Terra.py script. I copied the below code into Big_and_Small.py from Terra.py:
I also adjusted minStartingDistanceModifier to -20 (as it is on the Terra.py map, although I suspect that shouldn't have caused the lack of oceans.)
Once I ran the script, however, all I got was one giant rectangular landmass with no oceans. I also noticed on the front-end menus that some of the menu options that normally appear for the Big_and_Small.py were missing in my modified script. (E.g., the Normal/Snaky/Massive continents option.)
Any suggestions on what I'm doing wrong here? That is, other than messing around with this instead of playing the game more....
Code:
def getGridSize(argsList):
"Enlarge the grids! According to Soren, Earth-type maps are usually huge anyway."
grid_sizes = {
WorldSizeTypes.WORLDSIZE_DUEL: (13,8),
WorldSizeTypes.WORLDSIZE_TINY: (16,10),
WorldSizeTypes.WORLDSIZE_SMALL: (21,13),
WorldSizeTypes.WORLDSIZE_STANDARD: (26,16),
WorldSizeTypes.WORLDSIZE_LARGE: (32,20),
WorldSizeTypes.WORLDSIZE_HUGE: (38,24)
}
if (argsList[0] == -1): # (-1,) is passed to function on loads
return []
[eWorldSize] = argsList
return grid_sizes[eWorldSize]
I also adjusted minStartingDistanceModifier to -20 (as it is on the Terra.py map, although I suspect that shouldn't have caused the lack of oceans.)
Once I ran the script, however, all I got was one giant rectangular landmass with no oceans. I also noticed on the front-end menus that some of the menu options that normally appear for the Big_and_Small.py were missing in my modified script. (E.g., the Normal/Snaky/Massive continents option.)
Any suggestions on what I'm doing wrong here? That is, other than messing around with this instead of playing the game more....
