TerrainMod
TerrainMod - Thumbnail

TerrainMod

lets you paint terrain texture layers directly in Sons of the Forest.


R9X3M
0
0
62
Quality of Life

      
Download Statistics
Comments
About

TerrainMod v1.0.1

lets you paint terrain texture layers directly in Sons of the Forest.

Type

Mod

Mod Side

Client Side

Has NSFW content?

No

Multiplayer Compatible

No

Reviews

Coming soon

Version history
1.0.1
60
  • Code cleanup and performance improvements
  • Cached the main terrain collider after the first lookup instead of repeatedly searching for the terrain object during normal update/aiming behavior.
  • Reset the cached terrain reference when the active world/save state is cleared, preventing stale terrain references between sessions.
  • Replaced unnecessary reflection for standard Unity TerrainData properties with direct property access.
  • Updated brush preview logic to use direct TerrainData access for alphamap dimensions, terrain size, and height sampling.
  • Updated aiming and painting coordinate calculations to use direct TerrainData properties.
  • Replaced reflected GetInterpolatedHeight calls with direct TerrainData.GetInterpolatedHeight(...) calls.
  • Updated pending save replay logic to use the cached terrain lookup path.
  • Kept the lower-level alphamap mutation and restore logic unchanged where IL2CPP-specific handling is still needed.
1.0.0
2
  • First release