Page 1 of 1

generate world: fixed size / other parameters

PostPosted: Wed Oct 26, 2016 13:06
by hajo
Minetest has several mapgenerators, but they only take the random seed as a parameter.

I would like to have a smaller world (say 1000x500x1000), surrounded by air, ocean,
high mountains, a lava-moat, or maybe a fence :)
But there is no dialog to specify such things.

There is a mod WorldEdge, but that just restricts movement to a part of the map.

Also, how could the user tweak other parameters for the generator (without compiling),
or do changes after the generator has run (e.g. change the sea-level)?

Re: generate world: fixed size / other parameters

PostPosted: Wed Oct 26, 2016 15:45
by twoelk
The minetest.config.example at line 1067 and following
+ says:


At the moment there is no parameter for such a thing as "make my world an island" or "surround my world with high mountains". Your best chance at the moment would be the fractal mapgen. Please post if you find an usefull allgorithm for that. :-D

edit:
oops, just noticed I gave a rather similar answer here.

Re: generate world: fixed size / other parameters

PostPosted: Wed Oct 26, 2016 19:32
by hajo
twoelk wrote:At the moment there is no parameter for such a thing as
"make my world an island" or "surround my world with high mountains".
Your best chance at the moment would be the fractal mapgen.
Please post if you find an usefull allgorithm for that. :-D

Water shouldn't be too difficult, and I guess some lunar crater
could be used as a model for high mountains around a map.

Perhaps with a glass ceiling, and clear/black lava outside, acting as vacuum :)

Re: generate world: fixed size / other parameters

PostPosted: Wed Oct 26, 2016 23:53
by paramat
See the mapgen noise parameters at the end of minetest.conf.example, not easy to use but they can radically change a mapgen. Those can be set in .conf, in advanced settings or in a mod. However because these are random noises it's near-impossible to define specific structures like an island in an ocean.

To learn more see https://forum.minetest.net/viewtopic.php?f=47&t=15272