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

User avatar
burli
Member
 
Posts: 1313
Joined: Fri Apr 10, 2015 13:18

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

by burli » Mon Mar 28, 2016 12:06

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.
 

User avatar
duane
Member
 
Posts: 776
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r

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

by duane » Mon Mar 28, 2016 23:03

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.
 

User avatar
burli
Member
 
Posts: 1313
Joined: Fri Apr 10, 2015 13:18

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

by burli » Tue Mar 29, 2016 09:37

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
 

User avatar
duane
Member
 
Posts: 776
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r

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

by duane » Tue Mar 29, 2016 12:48

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?
 

User avatar
burli
Member
 
Posts: 1313
Joined: Fri Apr 10, 2015 13:18

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

by burli » Tue Mar 29, 2016 14:15

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
Attachments
screenshot_20160329_160419.jpg
screenshot_20160329_160419.jpg (295.57 KiB) Viewed 1084 times
 

User avatar
burli
Member
 
Posts: 1313
Joined: Fri Apr 10, 2015 13:18

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

by burli » Tue Mar 29, 2016 18:47

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
Attachments
screenshot_20160329_191057.jpg
screenshot_20160329_191057.jpg (138.48 KiB) Viewed 1084 times
screenshot_20160329_183928.jpg
screenshot_20160329_183928.jpg (118.65 KiB) Viewed 1084 times
 

User avatar
benrob0329
Member
 
Posts: 1192
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
In-game: benrob03

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

by benrob0329 » Tue Mar 29, 2016 18:53

Now we just need a Lua mapgen that places torches and semiconductor rails (from railnet)...
 

User avatar
Gael de Sailly
Member
 
Posts: 475
Joined: Sun Jan 26, 2014 17:01
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly

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

by Gael de Sailly » Thu Apr 07, 2016 10:00

The caves in original Lua Valleys Mapgen are similar to v6 caves, but it's way slower to generate.
Very busy this year too, so do not expect me to be very active on the forum or in game. But I'm not about to drop Minetest forever :)
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

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

by paramat » Thu Apr 21, 2016 11:02

Maybe the 3D noise tunnels in the non-mgv6 mapgens need to be denser?
 

User avatar
burli
Member
 
Posts: 1313
Joined: Fri Apr 10, 2015 13:18

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

by burli » Thu Apr 21, 2016 12:06

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.
 

User avatar
benrob0329
Member
 
Posts: 1192
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
In-game: benrob03

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

by benrob0329 » Thu Apr 21, 2016 13:25

v7 mapgen + v6 cavegen = awesomeness.
 

User avatar
burli
Member
 
Posts: 1313
Joined: Fri Apr 10, 2015 13:18

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

by burli » Thu Apr 21, 2016 15:13

What about splitting mapgen and cavegen and make them selectable separate? Would be lot of work I think, but give the player more options
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

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

by paramat » Fri Apr 22, 2016 10:18

Mgv7 tunnel noises are settable but the tunnel width parameter is not settable, it would need to be when adjusting the noise 'spread'.
 


Return to Minetest General

Who is online

Users browsing this forum: No registered users and 9 guests

cron