You are viewing a potentially older version of this package. View all versions.
Searica-Extra_Snap_Points_Made_Easy-1.0.5 icon

Extra Snap Points Made Easy

Quality of life building mod that adds snap points to most vanilla pieces and allow you to manually select snap points for the piece you are placing and the piece you are snapping to.

Date uploaded 7 months ago
Version 1.0.5
Download link Searica-Extra_Snap_Points_Made_Easy-1.0.5.zip
Downloads 337
Dependency string Searica-Extra_Snap_Points_Made_Easy-1.0.5

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2202 icon
denikson-BepInExPack_Valheim

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

Preferred version: 5.4.2202

README

ExtraSnapPointsMadeEasy

This is a quality of life building mod for Valheim.

Acknowledgements

This mod was inspired by Snap Points Made Easy which is originally by yardik and FenceSnap by MSchmoecker and parts of the code are based on those mods.

Features

  • Adds custom snap points to most vanilla build pieces in the game that did not have them.
  • Adds extra snap points to wooden beams at the halfway points.
  • Adds a snap point to the local center of all build pieces, even those added by other mods.
  • Has configuration options to enable or disable extra snap points on a piece by piece basis.
  • Allows for manual selection of snap points for both the piece you are placing and the piece you are snapping to.
  • Allows for manual selection of snap points on only the piece being placed.
  • Provides notifications of which snapping mode is active and the snap points selected.

New Snap Points

New snap points have been added to most crafting and furniture items. Snap points on items like chests, torches, sconces, and banners. Snap points have been chosen to minimize clipping when snapping banners and sconces to walls of any material.

Extra Snap Points

Extra snap points at the halfway position have been added to all wooden beams and the diagonal wood wall pieces.

Local Center Snap Points

A snap point is added to center of nearly all build pieces (including those added by mods). The exception to this is pieces that will be unssupported if snapped to their local center during placement. For pieces with support issues an alternative custom snap point is added instead.

Manual Snapping

Press a key to toggle Manual Snapping Mode, which allows you to cycle through snap points when targeting a piece in game - without needing to point at them directly with the mouse!

Manual (Closest) Snapping

Press a key to toggle Manual (Closest) Snapping Mode, which allows you to cycle through the snap points of the piece you are placing while snapping to the closest snap-point on the piece being targeted with your mouse.

Key Bind Configuration

The key-binds for manual snapping are configurable via editing of the configuration file at Valheim/BepInEx/config/searica.valheim.extrasnappointsmadeeasy.cfg or via an in-game configuration manager (live updates, no restart required).

The default key-bindings are:

  • Toggle Manual Snapping Mode: Left-Alt
  • Toggle Manual (Closest) Snapping Mode: Caps-Lock
  • Cycle Snap Points on the piece you are placing (source piece): Left-Ctrl
  • Cycle Snap Points on the piece you are snapping to (target piece): Left-Shift

Usage

Grab a hammer and select a piece to place. Hit Left-Alt to enable Manual Snapping Mode, a notification will then appear in the center of your screen indicating whether the snapping mode is set to Auto or Manual. Point your piece at the piece you want to snap to and hit Left-Control to cycle through the snap points on the piece you're holding. Use Left-Shift to cycle through destination snap points. For example you can snap a horizontal pillar to the middle of the vertical pillar by cycling both to their midpoint snap points. While cycling through snap points you will also receive notifications indicating which snap point is currently selected on each piece. Alternatively press Caps-Lock to enable Manual (Closest) snapping mode which will snap to the closest snap point on the target piece while still allowing you to manually select the snap point of the piece you are placing.

Source Code

Github: https://github.com/searica/ExtraSnapPointsMadeEasy

Donations/Tips

My mods will always be free to use but if you feel like saying thanks you can tip/donate here: https://ko-fi.com/searica

Contributions

If you would like to provide suggestions, make feature requests, or reports bugs and compatability issues you can either open an issue on the Github repository or tag me (@searica) with a message on the Odin Plus discord.

I'm a grad student and have a lot of personal responsibilities on top of that so I can't promise I will respond quickly, but I do intend to maintain and improve the mod in my free time.

CHANGELOG

Version Notes
1.3.1
  • Improved warnings in log file for pieces added by mods that cannot have extra snap points added.
1.3.0
  • Updated for Ashlands release.
1.2.4
  • Bugfix to correct typo that broke adding extra snap points.
1.2.3
  • Changed it so snapping mode only changes while in placement mode.
1.2.2
  • Added option to set terrain tools to have snap point or not.
  • Minor optimizations.
  • Changed removal of extra snap points to prevent possible side-effects.
1.2.2
  • Compiled against newest game version.
  • Improves snap points for item stands.
  • Update short description to mention world grid snapping.
1.2.0/1.2.1
  • Changed configuration file formatting. You need to regenerate your config file.
  • Added Grid Snap mode.
  • New icon.
1.1.3
  • Added more configuration options.
  • Changed public API to no longer require a string argument.
1.1.2
  • Removed accidental Jotunn dependency due to using a nuget package build file.
  • Improved shutdown performance.
  • Built against BepInEx 5.4.2202
1.1.1
  • Improved robustness of classifying pieces as RoofTop pieces. Should hopefully reduce classification errors for non-Vanilla pieces added by other mods.
  • Improved shutdown performance.
  • Improved automatic classification of torches.
1.1.0
  • Altered internal function of mod to automatically infer the type of build piece and add snap points accordingly.
  • Re-wrote mod to dynamically update to config changes while in-game.
  • Improved interactions with MoreVanillaBuildPrefabs and other mods that add build pieces.
  • Added option to disable adding extra snap points for all pieces at once.
1.0.6
  • Update for patch 0.217.25
  • Slight improvements in load times.
1.0.5
  • Fixed null excpetion error caused when in manual snap mode and switching to place pieces that have no snap points.
1.0.4
  • Added a built-in config file watcher to ensure configuration changes are not lost.
1.0.3
  • Speed up inital load time slightly.
  • Added prefabs from MoreVanillaBuildPrefabs that will be ignored.
1.0.1/1.0.2
  • Update for patch 0.217.22
  • Added snap points to new build piece.
1.0.0
  • Feature complete release.
  • Added snap points to all build pieces with the option to enable/disable snap points on a piece by piece basis.
  • Added Manual (Closest) snapping mode.
0.0.1/0.0.2
  • Initial release and README updates.