Page 1 of 1
How to remove all water from world?

Posted:
Thu Mar 07, 2013 12:32
by nomohakon
I need to remove all water on my world. How to do that, preferably not ingame. Is there some program that let me delete certain parts or content of world database?

Posted:
Thu Mar 07, 2013 12:41
by Calinou
Create a mod which has these two aliases:
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
minetest.register_alias("mapgen_water_source", "air")
minetest.register_alias("default:water_source", "air")

Posted:
Thu Mar 07, 2013 13:05
by Likwid H-Craft
Calinou wrote:Create a mod which has these two aliases:
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
minetest.register_alias("mapgen_water_source", "air")
minetest.register_alias("default:water_source", "air")
Will it work to if I liked, a flat water world?
But where you added it like how will, it look show screenshots or something...

Posted:
Thu Mar 07, 2013 13:23
by nomohakon
Calinou wrote:Create a mod which has these two aliases:
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
minetest.register_alias("mapgen_water_source", "air")
minetest.register_alias("default:water_source", "air")
How exactly is this suposed to work?

Posted:
Thu Mar 07, 2013 13:27
by Traxie21
It causes the game to see all water blocks as air blocks.
Therefore, all water will be deleted.

Posted:
Thu Mar 07, 2013 13:37
by nomohakon
So it dont change anything in world database? That is not what im looking for. I want to erase those blocks, not disguise them. I tried to turn all water to glass, then delete the glass, but that did not worked well.

Posted:
Thu Mar 07, 2013 13:59
by Calinou
Air indicates the absence of a node, any space where a node can be placed must be occupied.

Posted:
Thu Mar 07, 2013 14:07
by nomohakon
I mean when its turned air, it stais air, even without the moding. But that is all in-game. Im looking to remove replace types of blocks by external program so i can use my pc during its work.

Posted:
Thu Mar 07, 2013 14:30
by Likwid H-Craft
You mean like how, floating Islands there no blocks under?
nomohakon wrote:I mean when its turned air, it stais air, even without the moding. But that is all in-game. Im looking to remove replace types of blocks by external program so i can use my pc during its work.

Posted:
Thu Mar 07, 2013 14:52
by nomohakon

Posted:
Thu Mar 07, 2013 17:56
by Calinou
Hybrid Dog wrote:There's a setting in minetest.conf to change the water height (default=1).
It also changes the map generation height in general (but does not affect things such as ores), so it will not work.