Page 1 of 1

Desert Painted Strata mapgen

PostPosted: Thu Mar 31, 2016 16:53
by maikerumine
Hello!

I was putzing about with ore generation and came up with this image:
Image
Any interest in future development may happen.
I always loved the desert.

Sample code:
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
--CBLOCKS CLAY!!
minetest.register_ore({
   ore_type       = "sheet",
   ore            = "cblocks:clay_magenta",
   wherein        = {"default:desert_stone","default:desert_sand"},
   clust_scarcity = 1,
   clust_num_ores = 3,
   clust_size     = 4,
   height_min     = 50,
   height_max     = 90,
   noise_threshhold = 0.4,
   noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70}
})

minetest.register_ore({
   ore_type       = "sheet",
   ore            = "cblocks:clay_red",
   wherein        = {"default:desert_stone","default:desert_sand"},
   clust_scarcity = 1,
   clust_num_ores = 8,
   clust_size     = 4,
   height_min     = 34,
   height_max     = 50,
   noise_threshhold = 0.4,
   noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70}
})

minetest.register_ore({
   ore_type       = "sheet",
   ore            = "cblocks:clay_orange",
   wherein        ={"default:desert_stone","default:desert_sand"},
   clust_scarcity = 1,
   clust_num_ores = 5,
   clust_size     = 5,
   height_min     = 10,
   height_max     = 30,
   noise_threshhold = 0.4,
   noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70}
})

minetest.register_ore({
   ore_type       = "sheet",
   ore            = "cblocks:clay_brown",
   wherein        = {"default:desert_stone","default:desert_sand"},
   clust_scarcity = 1,
   clust_num_ores = 12,
   clust_size     = 4,
   height_min     = -12,
   height_max     = 7,
   noise_threshhold = 0.4,
   noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70}
})



--DEFAULT STRATA
minetest.register_ore({
   ore_type       = "sheet",
   ore            = "default:stone",
   wherein        = {"default:desert_stone","default:desert_sand"},
   clust_scarcity = 1,
   clust_num_ores = 3,
   clust_size     = 4,
   height_min     = 50,
   height_max     = 90,
   noise_threshhold = 0.4,
   noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70}
})

minetest.register_ore({
   ore_type       = "sheet",
   ore            = "default:clay",
   wherein        = {"default:desert_stone","default:desert_sand","default:stone"},
   clust_scarcity = 1,
   clust_num_ores = 12,
   clust_size     = 8,
   height_min     = 24,
   height_max     = 50,
   noise_threshhold = 0.4,
   noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70}
})

minetest.register_ore({
   ore_type       = "sheet",
   ore            = "default:sandstone",
   wherein        ={"default:desert_stone","default:desert_sand","default:stone"},
   clust_scarcity = 1,
   clust_num_ores = 12,
   clust_size     = 10,
   height_min     = 10,
   height_max     = 30,
   noise_threshhold = 0.2,
   noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70}
})

minetest.register_ore({
   ore_type       = "sheet",
   ore            = "es:dry_dirt",
   wherein        = {"default:desert_stone","default:desert_sand","default:stone"},
   clust_scarcity = 1,
   clust_num_ores = 12,
   clust_size     = 4,
   height_min     = -12,
   height_max     = 7,
   noise_threshhold = 0.4,
   noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70}
})

Re: Desert Painted Strata mapgen

PostPosted: Fri Apr 01, 2016 00:00
by paramat
Nice use. Sheet ore is powerful now, you can place strata of any thickness, even completely filling a mapchunk.

Re: Desert Painted Strata mapgen

PostPosted: Fri Apr 01, 2016 00:05
by jp
Looks close to the Mesa biome in MC :

Image

Re: Desert Painted Strata mapgen

PostPosted: Mon Apr 18, 2016 08:57
by Sokomine
Looks very nice. The clay found in some biomes of such type is also useful.