Page 1 of 1

Desert dungeons in v5 and v7 maps?

PostPosted: Sun Jul 26, 2015 06:32
by y.st.
I love the desert dungeons in v6 worlds. Not only are they more spacious than their cobblestone counterparts, they're also usually more coherent. However, it seems that even if I add desert biomes, the desert dungeons don't spawn. "mapgen_v5.cpp" mentions both "mapgen_sandstonebrick" and "mapgen_stair_sandstone", but I can't figure out how to activate that part of the code. "mapgen_v7.cpp" doesn't mention these nodes, so maybe it's not possible to spawn desert jungles in v7, though v7 also doesn't mention "mapgen_mossycobble", "mapgen_cobble", or "mapgen_stair_cobble" and still manages to spawn cobblestone dungeons (probably with the help of "dungeongen.cpp", though "mapgen_v5.cpp" and "mapgen_v6.cpp" seem to contain dungeon code themselves).

How do I spawn desert dungeons in v5 maps (and maybe v7 maps)?

Re: Desert dungeons in v5 and v7 maps?

PostPosted: Mon Jul 27, 2015 03:52
by paramat
In mgv5 and mgv7 the alternative dungeons are triggered by stone type, so in the biome definition define the biome stone to be sandstone or desert stone:
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
node_stone = "default:desert_stone",

However you need latest 0.4.12dev or the soon released 0.4.13 stable.

Re: Desert dungeons in v5 and v7 maps?

PostPosted: Wed Jul 29, 2015 05:40
by y.st.
That's what I tried, but it didn't work. I'll try using the unstable version (where you changed biomes to reach deeper) and see if I have better luck with deeper desert stone.

EDIT: THat does seem to be what the problem was. When the biome doesn't reach deeply enough, even the surface dungeons that are within the desert stone spawn as cobblestone dungeons. Thanks for the help!