hmmmm wrote:The lower mgv6_freq_desert is, the more common and larger desert is.
Using a default mgv6_np_biome setting, at mgv6_freq_desert <= -1.75, all terrain should be desert. So, I'd recommend setting it to -1.5 for the effect you'd like. You can also increase the number of octaves or decrease the spread factor in mgv6_np_biome to add more variance to biomes.
To make the rest of the terrain more fitting, you may want to decrease the scale of mgv6_np_terrain_base and mgv6_np_terrain_higher, perhaps to something like 5.
The whole idea behind configurable map generation variables is to let you play with it and find settings that you like. Feel free to experiment.
Topywo wrote:-- line numbers can be old --
I found this, but don't know how to use perlin.noise, but you could try it out as one of the ways to reduce the amount of trees:
minetest/games/minetest_game/mods/default/mapgen.lua
line 438 -- Determine cactus amount from perlin noise
line 439 local cactus_amount = math.floor(perlin1:get2d({x=x0, y=z0}) * 6 - 3)
minetest/games/minetest_game/mods/default/nodes.lua line 141
minetest.register_node("default:desert_sand", {
description = "Desert Sand",
tiles = {"default_desert_sand.png"},
is_ground_content = true,
groups = {crumbly=3, falling_node=1, sand=1, soil=1},
sounds = default.node_sound_sand_defaults(),
})
I thought trees only grew with soil=1 in groups. I'm not sure about it, but you could give it a try. How to reduce the amount I can't tell you right now (lack of time and knowledge). Maybe instead you can create a desert tree (mod), that needs desert sand.
Froggy wrote:The lines from mapgen.lua seem to be it, although I'm hesitant to modify it, since I don't know anything about this. I'm going to need a bit of guidance with that. Also, I wouldn't want to have trees grow on sand. I'd like to make it so that dirt would be valuable and scarce. So that you'd need that dirt to grow trees and food to survive. In any case, I don't have enough programming experience to make mods (yet).
Users browsing this forum: No registered users and 11 guests