View Full Version : Grid Sizes and Plot Amounts


Vadus
Mar 08, 2009, 01:32 PM
Hi all,

I noticed, that the grid size of a map does not equal to the actual plot numbers.
For example in the Pangaea.py Script, the GridSize method is written as follows:


def getGridSize(argsList):
# Reduce grid sizes by one level.
grid_sizes = {
WorldSizeTypes.WORLDSIZE_DUEL: (8,5),
WorldSizeTypes.WORLDSIZE_TINY: (10,6),
WorldSizeTypes.WORLDSIZE_SMALL: (13,8),
WorldSizeTypes.WORLDSIZE_STANDARD: (16,10),
WorldSizeTypes.WORLDSIZE_LARGE: (21,13),
WorldSizeTypes.WORLDSIZE_HUGE: (26,16)
}

if (argsList[0] == -1): # (-1,) is passed to function on loads
return []
[eWorldSize] = argsList
return grid_sizes[eWorldSize]


So, what means a grid size of 26x16 for a huge map, when actually such a map contains about 100x80 plots ?

Regards

cephalo
Mar 13, 2009, 04:30 PM
For civ, multiply by 4. For colonization, it's one to one.

Vadus
Mar 14, 2009, 01:33 PM
ah, thanks a lot ! :)