View Full Version : request: larger map


HanWuDi
Sep 09, 2009, 08:17 PM
I'm not sure I'm in the right place. I'm guessing that map sizes are modified in map scripts, but I'm not sure. And I know I've seen these before, but i'm not finding any here.

I'm looking for something to generate maps larger than the largest size of map, with more max players. Does anyone know where I can find this?

TheLastOne36
Sep 10, 2009, 12:15 AM
I currently use this modcomp. :thumbsup:
http://forums.civfanatics.com/showthread.php?t=183746&highlight=map+size

Tholish
Sep 10, 2009, 04:15 AM
Also, many map scripts have a piece of code like this:


map_size = CyMap().getWorldSize()
sizevalues = {
WorldSizeTypes.WORLDSIZE_DUEL: (2, 3),
WorldSizeTypes.WORLDSIZE_TINY: (2, 3),
WorldSizeTypes.WORLDSIZE_SMALL: (3, 4),
WorldSizeTypes.WORLDSIZE_STANDARD: (4, 7),
WorldSizeTypes.WORLDSIZE_LARGE: (5, 10),
WorldSizeTypes.WORLDSIZE_HUGE: (6, 15)
}

This one is from Inland Sea, and by changing the numbers you can change the map size. Some scripts won't have anything like this within themselves because they use CvMapGenerator, which is in Assets/Python. Fractal, for example, is skimpy. In those cases you need to look in Assets/Python/EntryPoints/CvMapScriptInterface to see where it goes. These directories are in the original CivIV Assets, not BtS, which like Fractal uses something outside itself.