Minetest_game: Ice Caves

Created on 25 Jan 2018  路  10Comments  路  Source: minetest/minetest_game

Moved from engine discussion https://github.com/minetest/minetest/issues/6645.

I know this has been sort of suggested in https://github.com/minetest/minetest_game/issues/1142, but that was a while ago(ish).
_If_ the engine supports this yet, I think it would be a nice addition. Open-air ice caves only would probably be best, though. With things like ground-to-ceiling ice pillars, perhaps stalactites and stalagmites.

paramat said

Caves in ice do not appear because ice has been made 'not ground content' to avoid ugly holes in ocean iceshelf. It would be good to have caves in 'on land' ice but we would need 2 types of ice, one that is ground content.

I suspect (I could be wrong, I know little about mapgen) that you can check for altitudes before carving caves, so perhaps make it so ice caves are created at higher elevations in things like large glaciers, thus avoiding "ugly holes in ocean iceshelf".

Paramat said:

The best way seems to be having 2 different ice nodes with different 'is ground content' values.
One is fresh ice above sea level, the other sea ice, they don't necessarily need to look different and one could drop the other.

Personally, I find the current ice texture to be a bit ugly, so either a texture redo or a new texture for fresh ice could be nice. If not, that's fine, just my opinion.

Feature request Mapgen

Most helpful comment

I don't plan conversion, too messy and intensive. This will be for newly generated terrain only.

All 10 comments

An LBM or mapgen callback could also be used to convert the non-cave ice.

I don't plan conversion, too messy and intensive. This will be for newly generated terrain only.

Fair enough

I think i would do this by adding a second, dummy ice node only placed by mapgen, that has an identical texture and description "Ice", that drops 'default:ice'. It would have 'is ground content = true' so that tunnels form in it.

^ Opinions on that approach?

Geologically speaking, ice caves would occur only near the surface or above it, due to the thermal gradient that makes the earth hotter as you descend. Having ice caves in mountains seems highly appropriate. But, Having them placed based on low temperature / high humidity biome points seems appropriate.

In 'icesheet' biome the on-land ice only extends down to y = -8, so that should be ok.

Whatever works, really. Higher makes more sense to me, but anywhere cold would work..

PR #2062

2062 merged, turned out an excellent idea thank you.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MarkuBu picture MarkuBu  路  5Comments

Desour picture Desour  路  6Comments

cx384 picture cx384  路  6Comments

HybridDog picture HybridDog  路  4Comments

benrob0329 picture benrob0329  路  4Comments