You are viewing a potentially older version of this package. View all versions.
Searica-Extra_Snap_Points_Made_Easy-0.0.2 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 2 years ago
Version 0.0.2
Download link Searica-Extra_Snap_Points_Made_Easy-0.0.2.zip
Downloads 423
Dependency string Searica-Extra_Snap_Points_Made_Easy-0.0.2

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 by MathiasDecrock and FenceSnap by MSchmoecker and parts of the code are based on those mods.

Features

  • Adds snap points to most vanilla items in the game that did not have them.
  • Adds extra snap points to wooden beams at the halfway points.
  • Allows for manual selection of snap points for both the piece you are placing and the piece you are snapping to.
  • 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.

Manual Snapping

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

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 Snapping Mode: Left-Alt
  • Cycle Snap Points on the piece you are placing (source piece): Left-Ctrl
  • Cycle Snap Points ont he 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.

Source Code

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

CHANGELOG

Version Notes
2.0.5
  • Added center snap points to the end of core wood horizontal logs.
2.0.4
  • Reduced logging.
2.0.3
  • Fix torch classification bugs.
  • Refactoring.
2.0.2
  • Adjust snap points on torches in dungeons and those added by MVBP.
  • Adjust snap points on rugs to reduce clipping with wood floors.
  • Removed unneeded log messages.
  • Added support for shudnal's config manager.
2.0.1
  • Fixed missing origin snap points on pieces.
  • Adjust snap point on portal to reduce clipping with wood floors.
2.0.0
  • Added support for named snap points (huge thanks to flo123333 for contributing a ton to that!).
  • Added config option to disable Vanilla manual snapping so you don't need to rebind the default cycle snap points keys (disabled by default now).
  • Added key hints for cycling placing & target snap points.
  • Added key hints for toggling snapping modes.
  • Hide key hint regarding using `Shift` to toggle snapping when not in `Auto` snap mode.
  • Renamed snapping modes to align with Vanilla snapping mode names.
  • Optimized and refactored a lot of code (thanks to flo123333 again for contributing to that as well).
1.4.0
  • Updated for Bog Witch.
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.