paramat wrote:Okay latest version works, looks very similar to the original, but much faster.
ExeterDad wrote:I see a duck, a bunny rabbit and a buzzard. :P
local c_defdirt = minetest.get_content_id("default:dirt")
if nodid == c_stone -- if stone
or nodid == c_defdirt
or nodid == c_defdirtwithgrass
or nodid == c_gravel
or nodid == c_lavasource
or nodid == c_stonecopper
or nodid == c_stoneiron
or nodid == c_stonecoal then
paramat wrote:
I rebased and squashed my commits into one, ready for review https://github.com/paramat/minetest/commits/mgv5 A commit like this is good for seeing what goes into making a core mapgen.
Lava is tuned to be below sea level like the original. Now 3 of the 5 3D noises are eased (cave1, cave2 and terrain) so cave shape is more faithful to the original. The new eased 3D noise seems to differ from the original easing, it made the caves narrower so that roughly 1/4 were impassable, i re-tuned the cave width by returning to a cave noise scale parameter previously used by celeron55 that was commented in the code.
minetest.register_biome({
name = "normal",
node_top = "default:dirt_with_grass",
depth_top = 1,
node_filler = "default:dirt",
depth_filler = 2,
node_dust = "air",
height_min = 4,
height_max = 207,
heat_point = 50,
humidity_point = 50,
})
minetest.register_biome({
name = "beach",
node_top = "default:sand",
depth_top = 1,
node_filler = "default:sand",
depth_filler = 2,
node_dust = "air",
height_min = -128,
height_max = 3,
heat_point = 50,
humidity_point = 50,
})
minetest.register_biome({
name = "desert",
node_top = "default:desert_sand",
depth_top = 3,
node_filler = "default:desert_stone",
depth_filler = 128,
node_dust = "air",
height_min = 4,
height_max = 207,
heat_point = 90,
humidity_point = 10,
})
minetest.register_biome({
name = "rainforest",
node_top = "default:dirt_with_grass",
depth_top = 1,
node_filler = "default:dirt",
depth_filler = 4,
node_dust = "air",
height_min = 4,
height_max = 207,
heat_point = 80,
humidity_point = 90,
})
minetest.register_biome({
name = "taiga",
node_top = "default:dirt_with_snow",
depth_top = 1,
node_filler = "default:dirt",
depth_filler = 3,
node_dust = "default:snowblock",
height_min = 4,
height_max = 207,
heat_point = 10,
humidity_point = 50,
})
paramat wrote:...For some reason grasses, cacti and flowers appear although not registered as decorations, something to fix.
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_grass"},
sidelen = 8,
fill_ratio = 0.25,
biomes = {"rainforest"},
decoration = "default:junglegrass",
})
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_grass"},
sidelen = 8,
fill_ratio = 0.0625,
biomes = {"rainforest"},
decoration = "default:junglesapling",
})
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_grass"},
sidelen = 8,
fill_ratio = 0.04,
biomes = {"forest"},
decoration = "default:sapling",
})
paramat wrote:Bad news for you maybe, that never happened during testing, was this soon after a game crash? that causes missing chunks.
--<Inocudom>--, post: 1515, member: 34 wrote:I came across the following glitch today:
These two chunks will not appear no matter what. Even if I leave the map and come back, they still won't appear.
Jordach wrote:So there's mysterious IGNORE like areas that MGV5 seems to make:
Users browsing this forum: No registered users and 12 guests