minetest / minetestmapper

Generates a overview image of a minetest map.
BSD 2-Clause "Simplified" License
112 stars 40 forks source link

Selectively exclude specific nodes #13

Closed gangelop closed 4 years ago

gangelop commented 10 years ago

Hello!

I'm using minetestmapper to generate the map for Liberty Land. We wanted to hide nyancats so as to not give away their locations, so @donat-b simply removed the two color definitions from colors.txt. I was thinking that this might be useful as a command-line option, something like

./minetestmapper \
--exclude "default:nyancat" \
--exclude "default:nyancat_rainbow" \
-i world/ -o map.png
fluxionary commented 4 years ago

@gangelop I have no idea what the state of this project was 6 years ago, but currently, you can omit the nyans from colors.txt and then use the --drawalpha argument, and they will be treated as transparent. Alternatively, you could set the color for the nyan in colors.txt to be the same color as stone (or whatever your world is mostly built from)

gangelop commented 4 years ago

Haven't touched minetest for some years now. Thanks for the reply though :)