To disable caves you will need to set the "nocaves" flag for mg_flags in the your map_meta.txt file. As an alternative, I made a patch for the mgv7 cave generator so that you can disable just the caverns (those gigantic caves), but still allow tunnels (the smaller, scattered caves) and only at specified depths. My cave patch only works for Minetest 0.4.13, altho I have updates in the works for later releases.
viewtopic.php?f=7&t=16059Option 1:
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_flags = trees, nocaves, nodungeons, noflat, light, decorations
Option 2 (with cave patch):
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_name = v7
mgv7_spflags = nomountains, ridges, nocaverns, tunnels
caves_bedrock_level = -8000
caves_surface_level = -70
As for eliminating mountains and rivers, that will require setting the "nomountains" and "noridges" flags of mgv7_spflags. Keep in mind you might still get some wild looking cliffs and valleys, so you'll definitely want to fine tune "mgv7_np_terrain_persist" as well as "mgv7_np_height_select". These settings should produce a much flatter landscape, with a few occasional hills and more gradual inclines:
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
mgv7_np_height_select = {
flags = defaults
lacunarity = 2
octaves = 4
offset = -0.5
persistence = 0.69
scale = 1
seed = 4213
spread = (500,500,500)
mgv7_np_terrain_persist = {
flags = defaults
lacunarity = 2
octaves = 3
offset = 0.6
persistence = 0.6
scale = 0.1
seed = 539
spread = (500,500,500)
}
mgv7_spflags = nomountains, noridges, nocaverns, tunnels
You can adjust the biomes within the mapgen.lua file from the "default" mod of minetest_game (look for the section titled "Register biomes"). The parameters that you are concerned with are heat_point, humidity_point, y_min, and y_max.