You are viewing a potentially older version of this package. View all versions.
Searica-AdvancedTerrainModifiers-1.1.0 icon

AdvancedTerrainModifiers

Quality of life building mod that improves how terrain manipulation with the hoe and cultivator works and adds new terrain manipulation tools.

Date uploaded 2 years ago
Version 1.1.0
Download link Searica-AdvancedTerrainModifiers-1.1.0.zip
Downloads 1041
Dependency string Searica-AdvancedTerrainModifiers-1.1.0

This mod requires the following mods to function

ValheimModding-Jotunn-2.30.2 icon
ValheimModding-Jotunn

Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.

Preferred version: 2.30.2
denikson-BepInExPack_Valheim-5.4.2351 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2351

README

AdvancedTerrainModifiers

Quality of life building mod that improves how terrain manipulation with the hoe and cultivator works and adds new terrain manipulation tools.

Server-Side Info: This mod does work as a client-side only mod and only needs to be installed on the server if you wish to enforce configuration settings.

Note: This is the same mod as TerrainTools by Searica. Turns out there is another mod named TerrainTools already on Thunderstore so I have changed the name for the sake of clarity and deprecated the upload that was named TerrainTools.

Features

Multiplayer Support

  • All terrain operations, including resetting terrain modifications, work in multiplayer and are synced to other players.

Quality of Life

  • Adds descriptions of how each terrain tool works for all Vanilla terrain tools.
  • All new features can be enabled/disabled from the configuration file.

Modifiable Tool Radius

  • Lets you change the radius of terrain tools using the scroll wheel.
  • Configurable hotkey to enable changing radius.
  • Configurable maximum tool radius.
  • Camera zoom is blocked while modifying tool radius.

Modifiable Tool Hardness

  • Lets you change the "hardness" of terrain tools using the scroll wheel. "Hardness" refers to how uniformly the effect is applied over the radius of the tool, so increasing the hardness will apply the effect more uniformly.
  • Configurable hotkey to enable changing hardness.
  • Camera zoom is blocked while modifying tool hardness.

New Terrain Tools

  • Adds a version of each terrain tool that doesn't affect the terrain height when used.
  • Adds square versions of all terrain tools that modify terrain according to the world grid (so you can enjoy clean edges).
  • Adds a precision raise ground tool that lets you set the exact height you want to raise the terrain by using the scroll wheel on your mouse.
  • Adds a remove terrain modifications tool that lets you reset terrain.

Hoe

Cultivator

Instructions

If you are using a mod manager for Thunderstore simply install the mod from there. If you are not using a mod manager then, you need a modded instance of Valheim (BepInEx) and the Jotunn plugin installed.

Configuration

Changes made to the configuration settings will be reflected in-game immediately (no restart required) and they will also sync to clients if the mod is on the server. The mod also has a built in file watcher so you can edit settings via an in-game configuration manager (changes applied upon closing the in-game configuration manager) or by changing values in the file via a text editor or mod manager.

Global Section:

Verbosity

  • Low will log basic information about the mod. Medium will log information that is useful for troubleshooting. High will log a lot of information, do not set it to this without good reason as it will slow down your game.
    • Acceptable values: Low, Medium, High
    • Default value: Low.

Radius Section:

RadiusModifier [Synced with Server]

  • Set to true/enabled to allow modifying the radius of terrain tools using the scroll wheel. Note: Radius cannot be changed on square terraforming tools.
    • Acceptable values: True, False
    • Default value: true

RadiusModKeyModKey [Synced with Server]

  • Modifier key that must be held down when using scroll wheel to change the radius of terrain tools.
    • Acceptable values: KeyCodes
    • Default value: LeftAlt

RadiusScrollScale [Synced with Server]

  • Scroll wheel change scale.
    • Acceptable values: (0.05, 2)
    • Default value: 0.1

MaxRadius [Synced with Server]

  • Maximum value that terrain tool radius can be increased to.
    • Acceptable values: (4, 20)
    • Default value: 10

Hardness Section:

HardnessModifier [Synced with Server]

  • Set to true/enabled to allow modifying the hardness of terrain tools using the scroll wheel. Note: Hardness cannot be changed on square terraforming tools and tools that do not alter ground height do not have a hardness.
    • Acceptable values: True, False
    • Default value: true

HardnessModKey [Synced with Server]

  • Modifier key that must be held down when using scroll wheel to change the hardness of terrain tools.
    • Acceptable values: KeyCodes
    • Default value: LeftControl

HardnessScrollScale [Synced with Server]

  • Scroll wheel change scale.
    • Acceptable values: (0.05, 2)
    • Default value: 0.1

Tools Section:

HoverInfo [Synced with Server]

  • Set to true/enabled to show terrain height when using square terrain tools.
    • Acceptable values: True, False
    • Default value: true

ToolName [Synced with Server]

  • Set to true/enabled to add this terrain tool. Set to false/disabled to remove it.
    • Acceptable values: True, False
    • Default value: true

Known Issues

Reseting terrain modifications on the edge of a zone when there are significant differences in terrain height can result in the terrain appearing to tear. To fix this you can hit the tear in the fabric of reality with a pickaxe, or just walk to the other zone and reset the terrain while in that zone. This isn't something I plan to fix and it's largely a product of how terrain and zones work in Valheim.

Planned Improvements

  • Add a shovel that lets you lower terrain.

Compatibility

Should be fully compatible with everything except other mods that let you change the radius of terrain manipulation tools as they will likely conflict.

Partial Incompatibility

ValheimPlus While TerrainTools does work with ValheimPlus there are some UI glitches. ValheimPlus freezes the animations for the terrain tools so you can't visualize the effect size properly and the hover info on square tools does not update correctly. It may be possible to fix this via changing something in ValheimPlus's configuration.

Donations/Tips

My mods will always be free to use but if you feel like saying thanks you can tip/donate.

My Ko-fi: ko-fi

Source Code

Source code is available on Github.

Github Repository: TerrainTools

Contributions

If you would like to provide suggestions, make feature requests, or reports bugs and compatibility issues you can either open an issue on the Github repository or tag me (@searica) with a message on my discord Searica's Mods.

I'm a grad student and have a lot of personal responsibilities on top of that so I can't promise I will respond quickly, but I do intend to maintain and improve the mod in my free time.

Credits

This mod was inspired by and is based on OCDHeim by javadevils as well as HoeRadius by aedenthorn.

Shameless Self Plug (Other Mods By Me)

If you like this mod you might like some of my other ones.

Building Mods

Gameplay Mods

CHANGELOG

Version Notes
1.6.0
  • Allow the reset terrain tool to be placed in deep snow to avoid frustration when resetting terrain in the Deep North.
  • Fixed reset terrain tool having a smaller area of effect than intended since update 1.5.5.
  • Fixed custom piece descriptions for vanilla terrain operations.
  • Added check to see if placing a terrain op is valid throughout the entire modified radius. This prevents using a scaled up radius to clear snow in the deep north and prevents altering terrain in no build zones. (Compatible with BuildRestrictionTweaksSync, so you can still override placement restrictions with that mod.)
  • Fixed bug with terrain operations that had an increased radius not always properly affecting adjacent terrain chunks.
  • Added localization support. Currently all supported languages default to the English localization but users can edit the json files in the config folder and their changes will persist even when the mod updates.
  • Switched default keybind for adjusting sharpness back to left alt to avoid conflict with default keybinds in fly mode.
  • Added spoiler text information to the readme on how to unlock the shovel.
1.5.7
  • Uploaded v1.6.0 with the wrong version string in the thunderstore manifest.
1.5.6
  • Fixed bug with terrain changes caused by precision tools not being saved.
1.5.5
  • Fixed issue lava being created in the ashlands when using precise terrain tools.
  • Reduced vanilla issue the paint changes caused by precise terrain tools having the incorrect offset and appearing to bleed outside of the square bounds. There is still minor bleeding for cobblestone but it is much reduced.
1.5.4
  • Fixed issue with precision raise tool not applying the correct height change.
  • Fixed issue with all precision tools not being applied correctly in some cases.
  • Patched ObjectDB updates to ensure that any custom terrain operations are restored in the hash table after ObjectDB updates.
  • Hopefully fixed intermitment issue with the terrain modifiers added by this mod sometimes not working in the middle of longer play sessions.
  • Changed default keybind for adjusting tool radius.
1.5.3
  • Fixed intermitment bug with precision tools not working multiplayer.
1.5.2
  • Added usage tags to new terrain tools to improve sorting and filtering in build menus.
  • Updated readme with notice about forks of the mod claiming incompability with EpicLoot.
  • Updated Jotunn and performed multiplayer testing.
1.5.1
  • Bugfix: restored intended functionality for radius and sharpness modifications.
  • Adjusted the placement of terrain tools in the hoe build menu.
  • Improved display of terrain tool sharpness to reflect whether a tool raises or lowers (dig) terrain.
1.5.0
  • Updated for Deep North release!
  • Note: I haven't fixed the non-intuitive results for precise terrrain paint tools. However the source of that issue is a vanilla bug so the mod still works just like before.
1.4.1
  • Updated to Jotunn 2.22.0 and restored pre Bog Witch config syncing behaviour so configs are only synced if the mod is installed on the server.
1.4.0
  • Quick update to get things working with the Bog Witch update. Game breaking bugs are fixed but still need to do more testing to check for any new edge cases.
1.3.3
  • Minor bugfix for changing config while in-game. Warning should no longer be triggered and piece ordering should remain correct.
  • Updated Jotunn.
1.3.2
  • Bugfix for another issue with lava in Ashlands when using precision terrain tools.
  • I swear stuff related to lava is fixed now and if it isn't I'll have to figure out why.
1.3.1
  • Bugfix for issues with lava in Ashlands when using precision raise ground.
1.3.0
  • Updated for Ashlands release.
  • Note: Ashlands has some bugs with terrain paint (grass, dirt, etc) which cause visual errors.
  • Note: This version loads without errors but may have some issues given the bugs in Vanilla terrain right now, except fixes once Vanilla is patched.
1.2.6
  • Fixed bug where disabling specific terrain modifiers would not update correctly.
1.2.5
  • Changed how embedded textures are loaded to prevent errors on Linux systems that do not have optional dependencies for the .Net framework.
1.2.4
  • Fixed bug that could cause NRE when swapping between Hoe and Hammer pieces.
  • Updated Jotunn.
  • Minor performance improvement.
1.2.3
  • Square terrain tools now automatically snap to the world grid.
  • Bugfix for visual artifact that caused placement ghosts to persist after placement when placed on zone borders.
1.2.2
  • Change hotkeys to not be synced with server.
1.2.1
  • Minor performance optimizations.
  • Fixed bug where radius couldn't be changed under specific conditions in multiplayer.
  • Fixed bug where hardness scroll rate was being ignored.
  • Hopefully fixed bug where the reset terrain tool would sometimes not work in multiplayer if not all players had the mod.
1.2.0 Update Info
  • Changed configuration file format to handle the new tool. You need to regenerate your config file.
  • Updated README with visual examples to better explain "Sharpness".
Features
  • Added a new tool that lets you lower the ground. You'll need to delve into some crypts and find some metal to make it though.
  • Changed hardness to display as a percentage and state whether the hardness is being changed for smoothing or for raising ground.
  • Updated all tool descriptions to explain how to smooth terrain instead of leveling it (this is actually a Vanilla feature but the game never tells you it exists).
Bug Fixes
  • Fixed bug where the radius of the pathen tool would not visually update even though it was changed.
  • Fixed bug where radius of raise ground would visually reset after placing it.
1.1.0
  • Added feature that to allow changing tool hardness. See README for details.
  • Icons used in the mod are now embedded in the dll
  • Changed hover info on square terrain tools to use the same x,y,z convention as unity where y = height.
  • Precision raise ground tool now displays both the change in height and the world coordinates.
  • Sharpened image in mod icon.
  • Updated README
1.0.0-1.0.2
  • Initial release.
  • Fix image links to github in README.
  • Fix manifest description.
  • Really wish Thunderstore let me edit typos without uploading a new version.