Page 1 of 1

How to create maps?

PostPosted: Sun Oct 18, 2015 16:59
by crazy_baboon
Hi everyone,

I'm new to this forum, I am crazy_baboon.

I was googling on how to generate maps on minetest but found nothing that could really be useful for me.

Anyone knows how to generate a flat world of normal land mass (with normal minerals) submerged in a thin layer of 1 element of water?

Many thanks
crazy_baboon

Re: How to create maps?

PostPosted: Sun Oct 18, 2015 17:11
by twoelk
flatgen by krock

Re: How to create maps?

PostPosted: Sun Oct 18, 2015 19:11
by crazy_baboon
Thanks twoelk! However I could not change the surface nodes to water, even though I made the following change to the init.lua of the flatgen mod:

flatgen.cover = "default:dirt_with_grass"

to

flatgen.cover = "default:water"

why is this not working?

Re: How to create maps?

PostPosted: Sun Oct 18, 2015 19:45
by Don
Set water_level to a higher number.

Re: How to create maps?

PostPosted: Sun Oct 18, 2015 19:52
by crazy_baboon
What do you mean? There is no variable called water_level on the init.lua file.

Re: How to create maps?

PostPosted: Sun Oct 18, 2015 19:57
by rubenwardy
crazy_baboon wrote:What do you mean? There is no variable called water_level on the init.lua file.


minetest.conf.example#L812

Re: How to create maps?

PostPosted: Mon Oct 19, 2015 09:46
by crazy_baboon
Already changed the water_level to 200 on the 'minetest.conf.example' file and it did not work. why?

Re: How to create maps?

PostPosted: Mon Oct 19, 2015 12:31
by Don
Remove .example. It needs to be

minetest.conf

Re: How to create maps?

PostPosted: Mon Oct 19, 2015 13:34
by Dartmouth
Don wrote:Remove .example. It needs to be

minetest.conf

Don't remove example, there should be a separate file without the .example in its' name. Although you might have noticed that if you tried renaming it :)

Re: How to create maps?

PostPosted: Mon Oct 19, 2015 13:50
by Don
Dartmouth wrote:
Don wrote:Remove .example. It needs to be

minetest.conf

Don't remove example, there should be a separate file without the .example in its' name. Although you might have noticed that if you tried renaming it :)

My mistake.

In the example file the settings are all commented out. For example water_level looks like this
#water_level = 1

You need to remove the #
If the # is there then minetest will ignore it.

Re: How to create maps?

PostPosted: Mon Oct 19, 2015 14:36
by crazy_baboon
I tried water_level = 200 (I removed the comments). Nothing happened!

Re: How to create maps?

PostPosted: Mon Oct 19, 2015 14:42
by Dartmouth
Did you start a new world? Certain settings will only take effect on new worlds or ungenerated chunks.

Re: How to create maps?

PostPosted: Mon Oct 19, 2015 14:56
by twoelk
crazy_baboon wrote:Thanks twoelk! However I could not change the surface nodes to water, even though I made the following change to the init.lua of the flatgen mod:

flatgen.cover = "default:dirt_with_grass"

to

flatgen.cover = "default:water"

why is this not working?




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
flatgen.cover   = "default:water_source"
flatgen.under   = "default:dirt"
flatgen.ground   = "default:stone"


seems to work for me to get a layer of one node deep water.
Note that the "not flowing water block" is called default:water_source

now caves and ores is another story


aaand for raising the sealevel you may find this old thread about Creating Ocean World with an island useful.

As for worlds with lots of water there are also the Archipelago mapgen by paramat and the Unter Null mod by Casimir, not to forget the Superflat MapGen by srifqi that allows to tweak other things than Krock's flatgen.

Re: How to create maps?

PostPosted: Mon Oct 19, 2015 16:23
by crazy_baboon
thanks thoelk! that works for me too