You are viewing a potentially older version of this package. View all versions.
JereKuusela-Ruler-1.2.0 icon

Ruler

Adds a simple ruler for measuring distances.

Date uploaded 2 years ago
Version 1.2.0
Download link JereKuusela-Ruler-1.2.0.zip
Downloads 3671
Dependency string JereKuusela-Ruler-1.2.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2200 icon
denikson-BepInExPack_Valheim

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

Preferred version: 5.4.2200

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!

CHANGELOG

  • v1.5

    • Fixed for the new game version.
  • v1.4

    • Fixed for the new update.
  • v1.3

    • Fixed for the new update.
  • 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.