hordeslayer Posted January 14, 2022 Share Posted January 14, 2022 (edited) You know you can dig to a certain level to reach an indestructible rock, right? Well Me and my friends want that indestructibel rock to hit in eairler. This will make it harder to hide undergrond from screamers. Is this possible with a modlet? Maybe this is impossible? Edited January 14, 2022 by hordeslayer spelling (see edit history) Link to comment Share on other sites More sharing options...
Gazz Posted January 14, 2022 Share Posted January 14, 2022 It's very possible because the underground layers are defined in biomes. You'd just insert a bedrock layer less deep or structure it any other way. Link to comment Share on other sites More sharing options...
hordeslayer Posted January 14, 2022 Author Share Posted January 14, 2022 2 hours ago, Gazz said: It's very possible because the underground layers are defined in biomes. You'd just insert a bedrock layer less deep or structure it any other way. I tried and I cannot get it to work. Whatever number I change to the bedrock layer, nothing seems to happen. Hardcoded maybe? append xpath="worldgeneration/biomes/biome[@name='snow']/layers"> <layer depth="*" blockname="terrBedrock"/> </append> <append xpath="worldgeneration/biomes/biome[@name='pine_forest']/layers"> <layer depth="*" blockname="terrBedrock"/> </append> <append xpath="worldgeneration/biomes/biome[@name='desert']/layers"> <layer depth="*" blockname="terrBedrock"/> </append> <append xpath="worldgeneration/biomes/biome[@name='water']/layers"> <layer depth="*" blockname="terrBedrock"/> </append> <append xpath="worldgeneration/biomes/biome[@name='wasteland']/layers"> <layer depth="*" blockname="terrBedrock"/> </append> <append xpath="worldgeneration/biomes/biome[@name='burnt_forest']/layers"> <layer depth="*" blockname="terrBedrock"/> </append> Link to comment Share on other sites More sharing options...
Gazz Posted January 14, 2022 Share Posted January 14, 2022 First edit the biomes file directly. If that works then you probably got the xpath stuff wrong. Second, how would appending another bedrock layer below the existing setup change anything? Link to comment Share on other sites More sharing options...
BFT2020 Posted January 14, 2022 Share Posted January 14, 2022 (edited) Interesting. I was looking into the xml file for this and the question I have is, how is the layer depth specified between the very top layer and the bedrock area <layers> <layer depth="1" blockname="terrForestGround"/> <layer depth="3" blockname="terrDirt"/> <layer depth="*" blockname="terrStone"> <resource blockname="terrOreIron" prob="0.6500" rwgGenerationType="all"/> <resource blockname="terrGravel" prob="0.7830" rwgGenerationType="all"/> </layer> <layer depth="3" blockname="terrBedrock"/> </layers> Would you just change the value * to a specific number? I assume that, when the game reads *, this is hard coded in the game files. If you were to change * to, say 10, that would override what the game normally does and would only go 10 layers down of stone / oreIron/Gravel after the top 4 layers, and then add the 3 layers of bedrock. After posting this, now I am thinking that wouldn't work as the game wants to make the bedrock at a specific distance down from 0 height. The * is used because of elevation changes at the surface so it would account for hills and such. That way, the game always specifies the bedrock layer as X, the top layer as 4 layers deep, and everything in between is filler to match the contour. Edited January 14, 2022 by BFT2020 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now