Rangefinder
Displays the distance to whatever you're aiming at in the center of the HUD.
| Last updated | 5 hours ago |
| Total downloads | 2 |
| Total rating | 0 |
| Categories | Client-Side |
| Dependency string | Sparroh-Rangefinder-1.0.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack_Mycopunk
BepInEx pack for Mycopunk. Preconfigured and ready to use.
Preferred version: 5.4.2403Sparroh-SparrohUILib
Shared UI library for Sparroh Mycopunk mods. Provides themed widgets, HUD builders, windows, and resolution-aware layout.
Preferred version: 1.1.1README
Rangefinder
A BepInEx mod for MycoPunk that displays the distance to whatever you're aiming at in the center of the HUD.
Features
- Distance Readout: Shows the range (in meters) to the surface under your crosshair
- Configurable Max Range: Set how far the rangefinder will measure
- Toggleable HUD: Enable or disable the display via config
- Hot Reload: Config changes are picked up automatically while the game is running
Getting Started
Dependencies
- MycoPunk (base game)
- BepInEx - Version 5.4.2403 or compatible
- .NET Framework 4.8
- HarmonyLib (included via NuGet)
Building/Compiling
- Clone this repository
- Open the solution file in Visual Studio, Rider, or your preferred C# IDE
- Build the project in Release mode to generate the .dll file
Alternatively, use dotnet CLI:
dotnet build --configuration Release
Installing
Via Thunderstore (Recommended):
- Download and install via Thunderstore Mod Manager
- The mod will be automatically installed to the correct directory
Manual Installation:
- Place the built
Rangefinder.dllin your<MycoPunk Directory>/BepInEx/plugins/folder
Executing program
The mod loads automatically through BepInEx when the game starts. Check the BepInEx console for loading confirmation messages.
Configuration
Access mod settings through the BepInEx configuration file at <MycoPunk Directory>/BepInEx/config/sparroh.rangefinder.cfg. Options include:
- EnableRangefinderHUD: Toggle the rangefinder display on or off (default: true)
- RangefinderMaxRange: Maximum measurement distance in meters (default: 500)
Help
- Mod not loading? Verify BepInEx is installed correctly and check console logs for errors
- No distance shown? Confirm the HUD is enabled in the config and that you are in a mission
- UI elements missing? Confirm mod version compatibility and verify no other mods are interfering
Authors
- Sparroh
License
This project is licensed under the MIT License - see the LICENSE file for details