Altimeter
Client-side HUD that shows your altitude above ground in meters.
模組介紹 作者原文
Altimeter
A BepInEx mod for Mycopunk that adds a simple client-side altitude HUD, showing how high you are above the ground.
Features
- Altitude HUD: Displays your current height above ground in meters
- Ground / ceiling states: Shows "On Ground" when near the floor and "Too High" when nothing is hit within range
- Configurable position: Move the HUD with X/Y anchor settings
- Configurable color: Set the altitude value color via hex in the config
- Toggleable: Enable or disable the display from the config file
- Hot reload: Config changes are picked up while the game is running
- Optional drag reposition: Uses SparrohUILib's soft dependency on ModSettingsMenu so the HUD can be moved in-game (
F9)
Dependencies
- Mycopunk (base game)
- BepInEx (BepInExPack for Mycopunk, 5.4.2403 or compatible)
- SparrohUILib (required)
Installing (recommended)
- Install with a mod manager (r2modman, App, etc.)
- Ensure SparrohUILib is installed as a dependency
Manual installation
- Install BepInEx and SparrohUILib
- Place Altimeter.dll in /BepInEx/plugins/
The mod loads automatically through BepInEx when the game starts. Check the BepInEx log for a load confirmation.
Configuration
Settings are in /BepInEx/config/sparroh.altimeter.cfg. Changes hot-reload while the game is
running.
| Section | Setting | Default | Description |
|-------------------|--------------------|--------------|---------------------------------------------------|
| General | Enable Altimeter | true | Enables the Altimeter HUD display |
| HUD Positioning | Altimeter X | 0.06355292 | X anchor position (0–1) |
| HUD Positioning | Altimeter Y | 0.2589327 | Y anchor position (0–1) |
| Colors | Altimeter Color | shamrock | Rich-text value color (hex RRGGBB or #RRGGBB) |
Building
- Clone this repository
- Restore references (game assemblies, BepInEx, SparrohUILib) as needed for your setup
- Build in Release mode:
dotnet build --configuration Release
Output DLL: bin/Release/netstandard2.1/Altimeter.dll
Help
- Mod not loading? Verify BepInEx and SparrohUILib are installed, then check the BepInEx log for errors
- HUD not visible? Confirm Enable Altimeter is true and that you are in-game with a local player
- Wrong position? Adjust Altimeter X / Altimeter Y, or use ModSettingsMenu drag-reposition (F9) when installed
Authors
- Sparroh
License
This project is licensed under the MIT License — see the LICENSE file for details.
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
下面這些內容需要先安裝,否則該模組不會生效: