Want some Great(er) Lakes

Pitman

Chieftain
Joined
Feb 18, 2008
Messages
74
Hi. I enjoy the Lakes map script but I find it too small. Can someone tell me specifically what I need to do to create a version of this script that will allow larger maps? I see the worldsize stuff on the map script but am not sure what/how I need to change. Your help would be greatly appreciated! Thanks.
 
Maybe post the associated code, then?
 
Short check: I guess this part here is meant, right?:
PHP:
def getGridSize(argsList):
	"Because this is such a land-heavy map, override getGridSize() to make the map smaller"
	grid_sizes = {
		WorldSizeTypes.WORLDSIZE_DUEL:		(6,4),
		WorldSizeTypes.WORLDSIZE_TINY:		(8,5),
		WorldSizeTypes.WORLDSIZE_SMALL:		(10,6),
		WorldSizeTypes.WORLDSIZE_STANDARD:	(13,8),
		WorldSizeTypes.WORLDSIZE_LARGE:		(16,10),
		WorldSizeTypes.WORLDSIZE_HUGE:		(21,13)
	}

If so, then you can just make the last numbers larger.
The first value is the width/4, the second is the height/4 (don't ask why /4, it is so :dunno:).
 
It finally dawned on me (who hasn't done any programming since Basic in high school in 1984) that since the script was putting in an alternative world size, I could probably delete that whole part of the script and it would instead use the default (larger) world size. Which worked!
 
Top Bottom