Page 1 of 1

Marking coordinates on minetestmapper.py map?

PostPosted: Tue Jun 25, 2013 17:05
by CalumMc
I find it difficult to work out how much of my map has already been generated so I can specify coordinates for mods such as Mount Muru. Is there a way to actually work out the coordinates for places that haven't yet been generated? For example, can I generate a map with minetestmapper.py that actually has the coordinates marked on it.

PostPosted: Tue Jun 25, 2013 17:54
by paramat
Edit lines 151-166 of minetestmapper.py
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
path = None
output = "map.png"
border = 1
scalecolor = "white"
bgcolor = "black"
origincolor = "red"
playercolor = "red"
drawscale = True
drawplayers = False
draworigin = False
drawunderground = True

sector_xmin = -2000 / 16
sector_xmax = 2000 / 16
sector_zmin = -2000 / 16
sector_zmax = 2000 / 16

I tried increasing 'sector min/max' but the map fails somewhere between 2000 and 3000, because too big for texture?

PostPosted: Tue Jun 25, 2013 19:28
by CalumMc
paramat wrote:Edit lines 151-166 of minetestmapper.py
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
path = None
output = "map.png"
border = 1
scalecolor = "white"
bgcolor = "black"
origincolor = "red"
playercolor = "red"
drawscale = True
drawplayers = False
draworigin = False
drawunderground = True

sector_xmin = -2000 / 16
sector_xmax = 2000 / 16
sector_zmin = -2000 / 16
sector_zmax = 2000 / 16

I tried increasing 'sector min/max' but the map fails somewhere between 2000 and 3000, because too big for texture?


That was very useful, thank you very much :)