Page 1 of 1

Can I modify valleys mapgen to get more v6 like underground?

PostPosted: Mon Mar 28, 2016 12:06
by burli
I really like the surface generated by valleys mg, but I don't like the caves. But I like the underground of the v6 mg, especially in combination with intersecting, mines and railcorridors.

How can I get the v6 underground with valleys surface? I tried to use v6 mg with the lua version of valleys mg. But I don't get the same results, for whatever reason.

Re: Can I modify valleys mapgen to get more v6 like undergro

PostPosted: Mon Mar 28, 2016 23:03
by duane
burli wrote:I really like the surface generated by valleys mg, but I don't like the caves. But I like the underground of the v6 mg, especially in combination with intersecting, mines and railcorridors.

How can I get the v6 underground with valleys surface? I tried to use v6 mg with the lua version of valleys mg. But I don't get the same results, for whatever reason.


Valleys Mapgen (lua) either uses the valleys mapgen or singlenode, so it will never use v6, even if you select it.

Version 6 caves are not accessible from any other mapgen. They're sort of like large caves, with some extra connections. Your best bet is to remove the massive and noise-based caves by adding these to your minetest.conf:
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
mg_valleys_massive_cave_depth = -33000
mg_valleys_np_cave1 = 30, 12, (100, 100, 100), 52534, 4, 0.5, 2.0

You'll have to have lua caves to fill in the gaps. If you tinker with intersecting's noises, you might find something you like.

Re: Can I modify valleys mapgen to get more v6 like undergro

PostPosted: Tue Mar 29, 2016 09:37
by burli
Still not the same result. Is it possible to replace the cave code from valleys mg with the code from v6? Or is it possible to add the code and switch between both?

Or, best solution for me, split mapgen and cavegen code and make both selectable independently for all mapgens

Re: Can I modify valleys mapgen to get more v6 like undergro

PostPosted: Tue Mar 29, 2016 12:48
by duane
burli wrote:Still not the same result. Is it possible to replace the cave code from valleys mg with the code from v6?


Certainly, it's possible. Here's a version of minetest valleys with V6 caves. I doubt if the developers are interested in using them more generally, since most of the mapgens are standardized on the V5/7 caves (basically identical), but if enough people express an interest, who knows what might happen?

Re: Can I modify valleys mapgen to get more v6 like undergro

PostPosted: Tue Mar 29, 2016 14:15
by burli
Thx, that is awesome. But is it possible to reduce the lava? That is to much. I still want to have lava eveywhere, but small puddles instead of oceans.

Image

Re: Can I modify valleys mapgen to get more v6 like undergro

PostPosted: Tue Mar 29, 2016 18:47
by burli
DUDE, this is freaking awesome. This is how Minetest should be. Got goosebumps just form discovering the caves in creative mode without mobs. Every time you think it is a dead end there is just one small hole and you find the next tunnel.

Don't dig ... discover

Thats it. That is fun. I'm so excited. This is what I missed all the time in this game. Add your original cavegen and the v6 cavegen to your code and add a flag which one should be used. And if you want to make something really awesome add the intersecting mod in c++ too.

Image

Image

Re: Can I modify valleys mapgen to get more v6 like undergro

PostPosted: Tue Mar 29, 2016 18:53
by benrob0329
Now we just need a Lua mapgen that places torches and semiconductor rails (from railnet)...

Re: Can I modify valleys mapgen to get more v6 like undergro

PostPosted: Thu Apr 07, 2016 10:00
by Gael de Sailly
The caves in original Lua Valleys Mapgen are similar to v6 caves, but it's way slower to generate.

Re: Can I modify valleys mapgen to get more v6 like undergro

PostPosted: Thu Apr 21, 2016 11:02
by paramat
Maybe the 3D noise tunnels in the non-mgv6 mapgens need to be denser?

Re: Can I modify valleys mapgen to get more v6 like undergro

PostPosted: Thu Apr 21, 2016 12:06
by burli
paramat wrote:Maybe the 3D noise tunnels in the non-mgv6 mapgens need to be denser?

I don't know if 3D noise can be tweaked. But I know that v6 caves is what I want to see. It's just fun to discover them

v7 caves don't make fun at all.

Re: Can I modify valleys mapgen to get more v6 like undergro

PostPosted: Thu Apr 21, 2016 13:25
by benrob0329
v7 mapgen + v6 cavegen = awesomeness.

Re: Can I modify valleys mapgen to get more v6 like undergro

PostPosted: Thu Apr 21, 2016 15:13
by burli
What about splitting mapgen and cavegen and make them selectable separate? Would be lot of work I think, but give the player more options

Re: Can I modify valleys mapgen to get more v6 like undergro

PostPosted: Fri Apr 22, 2016 10:18
by paramat
Mgv7 tunnel noises are settable but the tunnel width parameter is not settable, it would need to be when adjusting the noise 'spread'.