
You are viewing a potentially older version of this package. View Latest Version
Ruler
Adds a simple ruler for measuring distances.Ruler
Adds a new command for measuring and visualizing distances.
Manual Installation
- Install the BepInExPack Valheim
- Download the latest zip.
- Extract it in the <GameDirectory>\BepInEx\plugins\ folder.
- 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.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!