Mods / Steady Ground

Tags:
Tweak terrain patch
Author:
Desolation
Side:
Server
Created:
Feb 22nd at 9:34 AM
Last modified:
Feb 23rd at 1:38 AM
Downloads:
205
Follow Unfollow 61
Latest release (for Vintage Story 1.21.0-pre.1 - 1.21.6, potentially outdated):
steadyground_1.0.1.zip  1-click install

Steady Ground

 Configuration for terrain block gravity


Want block gravity but tired of lag inducing landslides spoiling your landscape?

Steady Ground adds configuration options to tailor the terrain instability to you needs.
By default this mod reduces the chance of soil falling sideways and allows some plant blocks to be covered (replaced) by falling terrain blocks.
Also patched a bug where terrain gravity blocks could be placed ontop of grass without triggering a fall.


Configuration Options:

Option Description Default Vanilla

 SoilFallSidwaysChance

 The chance for soil blocks to start falling sideways if there are no soild blocks directly next to it.  0.2  0.35
 ForestFloorCanFall  Is block gravity enabled for forest floor blocks (stop floating trees)  true  true
 ForestFloorCanFallSideways  Is sideways instabilty enabled for forest floor blocks  false  true
 PackedDirtCanFall  Is block gravity enabled for packed dirt blocks  true  false
 PackedDirtCanFallSidways  Is sideways instabilty enabled for packed dirt blocks  false  false
 GravelFallSidewaysChance  The chance for gravel blocks to start falling sideways if there are no soild blocks directly next to it.  0.65  0.75
 SandFallSidewaysChance  The chance for sand blocks to start falling sideways if there are no soild blocks directly next to it.  0.75  0.75
 VegetationBlocksReplaceableOverride  List of plant blocks which will have replaceability set to 6000 to allow terrain blocks to cover (replace) them when falling.  "flower", "fern", "herb"   -

 

Note:  'Block gravity' needs to be set to  'Sand, gravel and soil with sideways instability' in your world for this mod to have any effect.

Mod Version Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
1.0.1 steadyground
1.21.0-pre.1 - 1.21.6
162 Feb 23rd at 1:38 AM steadyground_1.0.1.zip 1-click install

Fixed crash when also using the Terrain Slabs mod.

Note: This just prevents the crash, it does not add the configuration options to the terrain slab blocks unfortunately.

1.0.0 steadyground
1.21.0-pre.1 - 1.21.6
43 Feb 22nd at 9:56 AM steadyground_1.0.0.zip 1-click install

Initial release.


8 Comments (oldest first | newest first) (threaded | flat)

Kucharon, Mar 31st at 11:36 PM

Do you know how this would interact with sticky dirt? https://mods.vintagestory.at/stickydirt Would the stickiness override the instability config?

Heegrim, Mar 12th at 5:49 PM

This is awesome! Thanks.

Is there any way you can add a flat instability modifier for soil? e.g. if it is set to 50%, only half the blocks you break on average would trigger instability (even straight downwards). This would let you dig tunnels into dirt without the roof collapsing 100% of the time. I assume it would be pretty simple to implement a rng check each time a dirt block is broken/placed and just disable gravity temporarily if it is above the set instability modifier. I guess it would aslo have to check if there are any blocks adjacent to avoid floating blocks (those should always fall).

 

Idk if the dirt is just extra hard-packed where I live or something but I can dig a hole into the side of a hill without it contantly collapsing downwards. The dirt in vanilla feels like it is all loose potting soil or something.

Desolation , Feb 25th at 7:55 AM

Kompetan, Maoman, doordoor All good, glad others are using it.


Gingertea I wouldn't expect there to be any issues with those mods, though I haven't tested them. Strictly speaking, unless a mod messes with the unstableFalling block behavior it shouldn't have a problem. Not 100% sure about caveinfix but from what I could see on the mod page it looks like it should be fine.

Volund It would be relatively simple to extend it to leaf blocks but I fear it may come with other side effects. Technically speaking, in order for falling blocks be able to replace vegetation blocks I needed to override the replaceability attribute of those blocks to 6000, or what grass blocks are currently. This may impact other mechanics in the game. For instance, you will be able to replace the leaf blocks by simply placing a solid block on it. I do want to overhaul the falling blocks physics or at least reimplement the current behavior so I have more control at some point but I am a bit busy at the moment. Hopefully soon!

Regarding Terrain Slabs, I believe the issue was that Terrain Slabs adds its own unstableFalling block behaviour just for slabs. This caused issues because the slabs ended up having two unstableFalling block behaviours added to them, the normal one and the slab specific one. I ended up just skipping blocks that were from the Terrain Slabs mod. Probably could add ful compatibility but just did a quick hot fix first.

doordoor, Feb 25th at 3:22 AM

thank you so much for this mod!!!

Volund, Feb 24th at 9:05 PM

Been trying out the mod for a little while, love the features, especially the replacing of vegetation blocks. Would be interesting to hear if this can be extended to leaf blocks on trees and bushes. 

Also, regarding the terrain slabs crash, did it involve an error message with "falling blocks" by a chance? Me and two others managed to trace the bug down to Dana's tweaks, that has a tweak that adds instability to clay blocks, which caused crashes with clay slabs of the terrain slabs mod. This error is fixed in newer versions of the terrain slab mod, so wondered if you have tried the 1.0.0 version again to check if this was the cause. If not I can check tomorrow if you are interested. All other slab types seems to work fine, it was only the clay slab that caused issues with the terrain slab mod. 

Gingertea, Feb 24th at 7:18 PM (modified Feb 24th at 8:56 PM)

this seems like a mod that I'll be using all the time ! 
Could you let us know if any issues are anticipated using it along side the following mods ? 

algernonswatersheds

Ground Layers

Place on slabs

primitivesurvival

floral zones

mycodiversity

geology additions

plains and valleys

 

and how would it pair with caveinfix ?

 

It might be obvious to some but I'm not very familiar with the inner workings of the mod

Thanks alot :)

Maoman, Feb 23rd at 2:14 AM

Holy shit I love you so much dude you have no idea how happy I am to see this mod. I actually want soil and stuff to fall, but I have always hated that stupid overly sensitive avalanche mechanic. 

livon_, Feb 22nd at 1:57 PM

You rock