You are viewing a potentially older version of this package. View all versions.
Moopfam-FarmGridRemake-1.1.1 icon

FarmGridRemake

Client-side cultivator grid snapping for current Valheim with automatic modded plant detection and optional custom grid size.

Date uploaded 3 weeks ago
Version 1.1.1
Download link Moopfam-FarmGridRemake-1.1.1.zip
Downloads 1238
Dependency string Moopfam-FarmGridRemake-1.1.1

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2350 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.2350

README

FarmGridRemake

FarmGridRemake is a client-side compatibility remake of the original FarmGrid mod for current Valheim versions.

Original FarmGrid creator: Sarcenzzz

Features

  • Snaps cultivator planting positions to an even farm grid.
  • Keeps crops, saplings, trees, bushes, pickables, and modded cultivator plants aligned.
  • Automatically discovers the current cultivator PieceTable, so Plant Everything and other cultivator-added plants can use the grid without needing every prefab hardcoded.
  • Optional custom grid size with a configuration slider.
  • Client-side only.
  • Server installation is not required.

All Cultivator Plants

FarmGridRemake 1.1.1 no longer relies only on a fixed list of known plants. When the cultivator is equipped, the mod reads the cultivator's current PieceTable and caches the registered prefab names and layers. This allows current and future Plant Everything cultivator entries to be recognized automatically.

Vanilla plants and modded plants that use Valheim's Plant component still use their real m_growRadius. Known pickable resources keep their built-in compatibility sizes, and other cultivator-added prefabs use a safe fallback radius for automatic spacing.

The existing customPlants config is still available when you want to override a specific prefab.

Custom Grid Size

Custom grid size is disabled by default. Enable it to force every plant onto the same cell size instead of calculating spacing from plant growth radius.

[Grid Size]
useCustomGridSize = false
customGridSize = 1.0

customGridSize has a range of 0.25 to 10 metres and appears as a slider in configuration managers that support AcceptableValueRange.

Configuration

The config file is generated at:

BepInEx/config/Moopfam.FarmGridRemake.cfg

[FarmGrid]
plantSpacing = 0.01
farmGridSections = 2
farmGridYOffset = 0.2
farmGridColor = 0.8, 0.8, 0.8, 0.2
farmGridFixedRotation = 0
plantObjectMasks = piece,piece_nonsolid,item
customPlants =

[Grid Size]
useCustomGridSize = false
customGridSize = 1.0

For additional non-Plant objects or size overrides:

customPlants = PrefabName:0.5, AnotherPrefab:1.0

Multiplayer / Servers

Server install is not required.

FarmGridRemake only changes the local player's cultivator placement ghost and grid snapping. It does not add custom network messages, synced prefabs, or server-side data.

Installation

  1. Install BepInExPack for Valheim.
  2. Place FarmGridRemake.dll inside: Valheim/BepInEx/plugins/
  3. Start Valheim.

Credits

Original FarmGrid creator: Sarcenzzz

Full credit for the original FarmGrid concept and implementation goes to Sarcenzzz.

Version

1.1.1

Changelog

1.0

  • Initial FarmGridRemake release.
  • Rebuilt FarmGrid for current Valheim 1.0.x.
  • Updated placement access for current Valheim.
  • Made the remake client-side only.
  • Preserved clear credit to original FarmGrid creator Sarcenzzz.

1.1

  • Fixed manifest.json.

1.1.1

  • Fixed all trees/plants.