Page 2 of 2

Re: [Mod] flatgen [100% flat maps]

PostPosted: Tue Jan 20, 2015 15:36
by superschizo
"What are the dimensions of this world?"

There are no dimensions in Minetest.


"I seem to have reached the end of it, so that one without fly privileges enabled would fall off the edge of the world."

No, you can't. The Minetest's collision algorithm forbid that. You can't pass through the edge.



my world must be corrupted then, because my map just drops off and one could fly off and down the edge. how do i fix it?

Re: [Mod] flatgen [100% flat maps]

PostPosted: Tue Jan 20, 2015 18:58
by Krock
superschizo wrote:my world must be corrupted then, because my map just drops off and one could fly off and down the edge. how do i fix it?

Thanks for the report. I fixed that problem and added a new chat command:
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
/regenerate (<chunk size>*8)

It requires server privileges and can regenerate/reset areas of up to 64*64*64 nodes.
I updated the links in the first post, it can be found on GitHub now.

Re: [Mod] flatgen [100% flat maps]

PostPosted: Tue Jan 20, 2015 22:02
by superschizo
Thank you Krock for the quick response in posting a fix. Does this work with minetest 0.4.10? I'm using 0.4.10 from the ubuntu software center on ubuntu 14.10, since there is no stable 0.4.11 for download for my OS yet that I'm aware of (I just checked as of 20 Jan 2015). Maybe I am typing the command wrong? /regenerate (<8>*8) I've also tried various variations like "/regenerate 8" "/regenerate (<8>*8)^3" "regenerate (8*8)" and so on...
Image

Re: [Mod] flatgen [100% flat maps]

PostPosted: Wed Jan 21, 2015 19:31
by Krock

Re: [Mod] flatgen [100% flat maps]

PostPosted: Thu Jan 22, 2015 12:22
by superschizo
Image

Thank you for the fix. This is how it turned out on the corrupted map, with the dirt sticking out being the result of the command {/regenerate (100*8)}. It would probably be better for me to use worldedit to paste the stadium into another world, right?

I suspect that the world got corrupted when I used the "fixlight" command from worldedit, minetest had trouble with that and I had to close it.

Re: [Mod] flatgen [100% flat maps]

PostPosted: Thu Jan 22, 2015 17:46
by Krock
superschizo wrote:<snip>

Yes, I think saving the building is a better soulation than using /regenerate <size> in all broken areas.
Fixlight was not the problem, a Minetest engine change broke this mod.

Re: [Mod] flatgen [100% flat maps]

PostPosted: Mon Mar 16, 2015 06:09
by huang11
why i cant download

Re: [Mod] flatgen [100% flat maps]

PostPosted: Fri Mar 20, 2015 10:01
by Topywo
huang11 wrote:why i cant download


Go to post 1. Press: Browse code (to go to GitHub). Press: Download ZIP

Re: [Mod] flatgen [100% flat maps]

PostPosted: Thu Jan 26, 2017 15:42
by senzo53
Hi guys, i would like to know how to use this mod. I already install it on my "mods folder" on minetest. But i don't understand how i do change my world into a flatland full of grass !

Anyone ? thank you ! :)

Re: [Mod] flatgen: 100% flat maps [flatgen]

PostPosted: Fri Mar 31, 2017 23:13
by Sokomine
senzo53 wrote:Hi guys, i would like to know how to use this mod. I already install it on my "mods folder" on minetest. But i don't understand how i do change my world into a flatland full of grass !

You don't need a mod anymore with more recent versions of Minetest. Just choose the mapgen "flat" when creating a new world.