Marking coordinates on minetestmapper.py map?

CalumMc
Member
 
Posts: 58
Joined: Mon Dec 12, 2011 16:50

Marking coordinates on minetestmapper.py map?

by CalumMc » Tue Jun 25, 2013 17:05

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.
Last edited by sfan5 on Tue Jun 25, 2013 19:35, edited 1 time in total.
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

by paramat » Tue Jun 25, 2013 17:54

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?
Last edited by paramat on Tue Jun 25, 2013 17:56, edited 1 time in total.
I rely on donations to help provide an income https://forum.minetest.net/viewtopic.php?f=3&t=14935
 

CalumMc
Member
 
Posts: 58
Joined: Mon Dec 12, 2011 16:50

by CalumMc » Tue Jun 25, 2013 19:28

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 :)
 


Return to WIP Mods

Who is online

Users browsing this forum: Google [Bot] and 33 guests

cron