I would like to have less dense forest/jungle biome, basically my goal would be to increase the minimum spacing between trees, both for navigation and performance reasons.
I gave a look into the ...\games\minetest_game\mods\default\ mapgen.lua to test things around, but unfortunately, not having any coding ability, it's rather hard for me to try to figure out what does what.
And unfortunately the wiki
http://dev.minetest.net/Mapgen_Parameters
Is not detailling much of what is going on in the mapgen file, all i seem to have understood is that there's some kind of tree noise distribution generated and that is what is used to place the trees, and for jungles it has to do with a humidity noise distribution.
So i guess to do what i would like to do, i would have to find on how to modify those humidity noise and tree noise.
Looking further in the mapgen.lua i see by example
- Code: Select all
function default.register_decorations()
minetest.clear_registered_decorations()
-- Apple tree and log
minetest.register_decoration({
deco_type = "schematic",
place_on = {"default:dirt_with_grass"},
sidelen = 16,
noise_params = {
offset = 0.036,
scale = 0.022,
spread = {x = 250, y = 250, z = 250},
seed = 2,
octaves = 3,
persist = 0.66
},
biomes = {"deciduous_forest"},
y_min = 1,
y_max = 31000,
schematic = minetest.get_modpath("default").."/schematics/apple_tree.mts",
flags = "place_center_x, place_center_z",
})
Could
noise_params = {
offset = 0.036,
scale = 0.022,
spread = {x = 250, y = 250, z = 250},
seed = 2,
octaves = 3,
persist = 0.66
Be what i need to edit ?
Or am i on the completely wrong track and things are elsewhere ?