Desert Painted Strata mapgen

Post Reply
User avatar
maikerumine
Member
Posts: 1399
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

Desert Painted Strata mapgen

by maikerumine » Post

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:

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}
})
Attachments
screenshot_20160331_124924.png
(371.94 KiB) Not downloaded yet
Extreme Survival Minetest-->viewtopic.php?f=10&t=12959

User avatar
paramat
Developer
Posts: 3699
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

Re: Desert Painted Strata mapgen

by paramat » Post

Nice use. Sheet ore is powerful now, you can place strata of any thickness, even completely filling a mapchunk.

User avatar
jp
Member
Posts: 817
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith
Location: France

Re: Desert Painted Strata mapgen

by jp » Post

Looks close to the Mesa biome in MC :

Image

Sokomine
Member
Posts: 4184
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine

Re: Desert Painted Strata mapgen

by Sokomine » Post

Looks very nice. The clay found in some biomes of such type is also useful.
A list of my mods can be found here.

Post Reply

Who is online

Users browsing this forum: Bing [Bot], ywwv and 3 guests