JereKuusela-Ruler icon

Ruler

Adds a simple ruler for measuring distances.

Last updated a year ago
Total downloads 4144
Total rating 2 
Categories Utility Client-side
Dependency string JereKuusela-Ruler-1.2.0
Dependants 12 other mods depend on this mod

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.1901 icon
denikson-BepInExPack_Valheim

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

Preferred version: 5.4.1901

README

Ruler

Adds a new command for measuring and visualizing distances.

Manual Installation

  1. Install the BepInExPack Valheim
  2. Download the latest zip.
  3. Extract it in the <GameDirectory>\BepInEx\plugins\ folder.
  4. Optionally also install the Configuration manager.

Usage

  • ruler: Spawns the ruler object at your current position. If used at the same position, the ruler is removed.
  • ruler [radius]: Spawns the ruler with a custom radius. This can be used to visualize the distance.

For example bind o ruler to quickly use the ruler with the O key. Or bind o ruler 10 if you want to visualize a radius of 10 meters.

The distance is shown on the left side of the HUD. Following information is shown:

  • Distance on each axis.
  • Total distance.
  • Distance on the XZ plane (without up / down direction).

Configuration

  • Color (default: red): Color of the ruler object.
  • Draw 3d (default: true): Whether to draw the ruler object as a sphere or as a circle.
  • Draw axis (default true): Whether to draw axis lines on the ruler object.
  • Line width (default: 10): Size of the ruler object lines.
  • Show text (default: true): Whether to show text on the HUD.

Changelog

  • v1.2

    • Changes the GUID which resets the configuration.
    • Fixes the interact distance being increased.
    • Fixes visuals not showing with the new Unity version.
  • v1.1

    • Adds a new setting for drawing axis lines on the ruler sphere.
    • Adds a new setting to disable HUD text.
    • Adds a new setting to only draw the circle.
  • v1.0

    • Initial release.

Thanks for Azumatt for creating the mod icon!

Available versions

Please note that the install buttons only work if you have compatible client software installed, such as the Thunderstore Mod Manager. Otherwise use the zip download links instead.

Upload date Version number Downloads Download link  
2022-6-21 1.2.0 3303 Version 1.2.0 Install
2022-5-14 1.1.0 632 Version 1.1.0 Install
2022-3-27 1.0.0 209 Version 1.0.0 Install