Speedometer
Displays your current movement speed on the HUD with configurable position and toggle.
模組介紹 作者原文
Speedometer
A BepInEx client mod for Mycopunk that displays your current movement speed on the HUD.
Features
- Live speed display — Shows your current movement speed in m/s
- Toggleable HUD — Enable or disable the speedometer from the config file
- Configurable position — Adjust X/Y anchor position to place the HUD wherever you like
- Configurable color — Customize the speed value color (default: sky blue)
- Hot reload — Config changes are picked up automatically while the game is running
- Optional HUD repositioning — Registers with HudRepositionAPI when available for in-game dragging
Dependencies
- Mycopunk
- BepInEx 5.4.2403 or compatible (BepInExPack_Mycopunk)
- SparrohUILib 1.2.0 or compatible
Installation (recommended)
- Install with a -compatible mod manager (e.g. r2modman or Mod Manager).
- Required dependencies are installed automatically.
Manual installation
- Install BepInEx and SparrohUILib for Mycopunk.
- Place Speedometer.dll in /BepInEx/plugins.
The mod loads automatically through BepInEx when the game starts. Check the BepInEx log for a successful load message.
Building
- Clone this repository.
- Open the solution in Visual Studio, Rider, or another C# IDE.
- Ensure game and dependency assembly paths in the project file match your install.
- Build in Release mode:
dotnet build --configuration Release
The output DLL is written to bin/Release/netstandard2.1/Speedometer.dll.
Configuration
Settings are stored at:
/BepInEx/config/sparroh.speedometer.cfg
| Section | Key | Default | Description |
|-----------------|--------------------|----------|-----------------------------------------------|
| General | Enable Speedometer | true | Toggles the speedometer HUD on or off |
| HUD Positioning | Speedometer X | ~0.064 | Horizontal anchor (0–1) |
| HUD Positioning | Speedometer Y | ~0.230 | Vertical anchor (0–1) |
| Colors | Speed Color | sky blue | Rich-text value color (RRGGBB or #RRGGBB) |
Troubleshooting
- Mod not loading? Confirm BepInEx and SparrohUILib are installed, then check the BepInEx log for errors.
- Speed not updating? Make sure you are in-game with a local player loaded.
- HUD position wrong? Adjust Speedometer X / Speedometer Y in the config, or use a HUD reposition mod if available.
- No speed detected? The mod tries several player velocity sources; if none report motion you will see "No Speed
Detected".
Authors
- Sparroh
License
This project is licensed under the MIT License — see the LICENSE file for details.
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
下面這些內容需要先安裝,否則該模組不會生效: