Vadus
pretend the impossible
Hi all,
is there a mapscript somewhere, which what empty (ocean) maps are generated ? I'm trying currently with a custom map script, but I can not get it to work. What I'm doing is just this:
in my custom map script, what is a copy of Pangaea.py, I've overwritten the generatePlotTypes() function:
is there already something like this anywhere?
is there a mapscript somewhere, which what empty (ocean) maps are generated ? I'm trying currently with a custom map script, but I can not get it to work. What I'm doing is just this:
in my custom map script, what is a copy of Pangaea.py, I've overwritten the generatePlotTypes() function:
Code:
def generatePlotTypes():
gc = CyGlobalContext()
map = gc.getMap()
mapgen = CyMapGenerator()
plotTypes = [PlotTypes.PLOT_OCEAN] * (map.getGridWidth()*map.getGridHeight())
mapgen.setPlotTypes(plotTypes)
return plotTypes
is there already something like this anywhere?