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

Ruler

Adds a simple ruler for measuring distances.

Date uploaded 2 weeks ago
Version 1.6.0
Download link JereKuusela-Ruler-1.6.0.zip
Downloads 139
Dependency string JereKuusela-Ruler-1.6.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.

Install on the client (modding guide).

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.

Credits

Thanks for Azumatt for creating the mod icon!

Sources: GitHub

Donations: Buy me a computer

CHANGELOG

  • v1.6

    • Adds coordinates to the ruler command to support Infinity Hammer integration.
  • 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.