Nexus-TerrainReset icon

TerrainReset

Lets you reset old and new terrain edits with the hoe, the console, or a hotkey.

Last updated 2 years ago
Total downloads 6834
Total rating 2 
Categories
Dependency string Nexus-TerrainReset-0.5.1
Dependants 16 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.1000 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.1000

README

This mod works with both old-style edits and those performed after the 0.150.3 terrain modification update.

To reset terrain edits, follow one of the three methods below.

Hoe

To reset terrain using the hoe, use the level terrain tool and hold down the modifier key (default left alt) when applying the effect.

You can change the hoe radius in the config file (default is 2m).

Console

Open the in-game console using F5.

The console command syntax is:

<command> <radius>

So, using the default command:

resetterrain 150

resets all edits within 150 meters of the local player.

Hotkey

By default there is no hotkey set.

Edit the config file and add a hotkey to reset terrain in a radius around the local player when you press that key.

See https://docs.unity3d.com/Manual/class-InputManager.html for key names.

You can change the hotkey radius in the config file (default is 150m).

Config

A config file BepInEx/config/aedenthorn.TerrainReset.cfg is created after running the game once with this mod.

You can adjust the config values by editing this file using a text editor or in-game using the Config Manager.

To reload the config from the config file, type terrainreset reset into the game's console (F5).

Technical

To install this mod, the easiest way is to just use Vortex, the Nexus Mods mod manager. It should take care of all dependencies.

To install manually, place the dll file in the BepInEx/plugins folder. You will need BepInEx.

Code is at https://github.com/aedenthorn/ValheimMods.