Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
TerraHoe
Expand Valheim terrain tool radius with synced preview ring, Ctrl+Wheel radius adjust, and optional full terraforming mode. Author: SoulEmper0r
By SoulEmper0r
CHANGELOG
Changelog
2.0.0
- Full terraforming mode: extend the vanilla +/- 8 m height limit to -200/200 m by configuring
General.FullTerraformingEnabledandFullTerraforming.MinHeight/MaxHeight. The clamps are global configuration, not a session hotkey, so the heightmap owner and every client agree and terrain survives a re-log. - Network-synchronized radius: the scrolled radius is now embedded in the RPC payload (
RadiusWirev2). The placing client and the heightmap owner see the same radii, so the preview ring and the actual operation always match. - Terrain clamps derived from config, not from a session value, so they are identical on the server and on every client.
- Unit-test suite (
TerraHoe.WireTest, 65 cases) covering the wire format, the clamp wrappers and Harmony patch resolution — runs outside the game. - Author: SoulEmper0r.
1.0.0
- Finalized MyDirtyHoe-style radius control.
- Added full terraforming mode with F8 toggle and global enable switch.
- Added runtime Debug control with F9.
- Updated Thunderstore metadata and documentation.
0.4.0
- Full terraforming now forces the selected operation to
LevelTerrainonly. - Added runtime
DebugToggle(defaultF9) for diagnostic logging. - Full-mode changes are applied immediately to the currently selected operation.
0.3.0
- Added global
FullTerraformingEnabledsetting. - Added runtime
FullTerraformingToggle(defaultF8). - Ported MyDirtyHoe heightmap limit transpilers for
LevelTerrain,RaiseTerrainandApplyToHeightmap. - Added configurable
MinHeightandMaxHeightlimits (default-200/200).
0.2.0
- Radius control rewritten to follow the working MyDirtyHoe 2.0.2 path.
- Reads
Input.mouseScrollDeltafrom the pluginUpdate()loop. - Changes the selected
TerrainOp.m_settingsdirectly and scales_GhostOnly. - Added
[Debug]settings for modifier, wheel and selected-operation logging.
0.1.1
- Fixed the argument binding of
TerrainComp.DoOperationvia the Harmony position__2. - Eliminated the
Parameter "tc" not founderror that prevented actual terrain changes.
0.1.0
- Legacy MyDirtyHoe for Valheim 1.0.x.
TerrainComp.DoOperationPrefix: scales all 4 radii (level/raise/smooth/paint) by_currentRadius / 2f.TerrainOp.Settings.GetRadiusPrefix (ref, return false): preview ring and heightmaps receive the new radius.Player.UpdatePlacementPrefix: Ctrl+Wheel interceptsm_scrollCurrAmount, changes radius, resets the counter (build menu does not scroll).- Top-left message: "TerraHoe radius: N m".
- Configuration via
BepInEx/config/terrahoe.cfg. - Dependency: BepInExPack.
- Stable: no custom prefabs (no "Failed to deserialize TerrainOp").