GroundReset
Automatically and gradually resets the terrain across the map, taking into account player's wards and market zones. Fully server-side
模組介紹 作者原文
GroundReset
A dedicated server mod that restores terrain back to its original state gradually over a configurable rate.
About
GroundReset is a dedicated server mod that gradually resets the ground terrain across the map automatically.
No terrain changes occur for areas within:
- Wards from vanilla Valheim
- Wards from AzuMatt's WardIsLove mod
- Wards from ArcaneWard mod
- Marketplaces from KGValheim's Marketplace and NPCs mod
How It Works
Terrain across Valheim is generated by the game with a heightmap, composed of a very large set of point values. This mod
identifies changed terrain and calculates the amount of change done to the original heightmap value, known as the
current delta value. The current delta value is positive or negative depending on if the ground has been lowered or
raised from its initial height.
- This mod will divide the current delta value by the Divider value set in the configuration for each point to get the
fraction amount to change the terrain by and towards the value of 0.
- Every amount of minutes defined in TheTriggerTime value in the configuration will have the mod modify the current
delta value by the fraction amount calculated by the division of current delta value by the Divider.
- When the value of the point is close enough to 0 (as defined by `Min Height To Stepped Reset`), the terrain fully
resets to the original height assigned to by the game at the start of the world.
- Points located in the area of the active ward or the territory of a marketplace are not touched.
Install Notes
Install only on dedicated servers. This mod should not be installed on clients. Players do not need to install this mod
on their side.
Configuration
Configuration values can be changed while in-game using a Configuration Manager mod. Otherwise, please
open `GroundReset.cfg` created in the "BepInEx\config" folder to manually modify configurable values.
The two important values are:
- `TheTriggerTime` \[Float]: The interpolation rate. This is the amount of real-clock minutes before the mod
progresses
to another round of changes for all modified points on the map that are not protected or in a marketplace
territory.
- `Divider` \[Float]: The divider for the terrain restoration. Setting this higher will make changes more gradual and
will require more time to get to the original terrain value.
For more detailed configuration, use the configs below:
- Paint To Ignore \[Boolean]: List of terrain paints that will be not reset. Valina paints are Dirt, Cultivated, Paved, Nothing. '(Cultivated), (Paved)' means that Cultivated and Paved paints won't be reset. For paints from mods you can pass color in rbga format '(r, b, g, a)'
- Reset Smoothing \[Boolean]: Should the terrain smoothing be reset
- Process Paint Lastly \[Boolean]: Set to true so that the paint is reset only after the ground height delta and
smoothing is completely reset. Otherwise, the paint will be reset at each reset step along with the height delta.
- Process Smoothing After Height \[Boolean]: Set to true so that the smoothing is reset only after the ground height
delta is completely reset. Otherwise, the smoothing will be reset at each reset step along with the height delta.
Read the configuration file for other adjustable values.
Compatibility
Marketplace And Server NPCs
WardIsLove
Arcane Ward
Credits
Discord — justafrogger
Mod page
This mod was commissioned by
VitByr. If you need a custom mod, do not hesitate to reach me out 😉.
Also, many thanks to
gdragon for the help with writing this text
If something does not work for you, you have found any bugs, or have suggestions — DM me or open a github issue
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: