Carnometer

版本 v2.1.0·更新於 2026-08-05

Damage and kill meter HUDs for Mycopunk — total damage, rolling DPS, kills, and cores destroyed, each with independent enable/position/color.

模組介紹 作者原文

Carnometer

A BepInEx mod for Mycopunk that adds damage and kill meter HUDs tracking your combat performance during missions.

Features

  • Damage HUD: Total damage & DPS, plus a configurable rolling-window recent damage/DPS
  • Kill HUD: Targets killed and cores killed, each with per-second rates
  • Independent HUDs: Enable, position, and color damage vs kill trackers separately
  • Auto-Reset: Stats reset automatically when a new mission starts
  • Configurable Position: Anchor each HUD anywhere on screen via config (parented to the reticle)
  • Configurable Color: Customize each HUD's value text color via config
  • Optional Drag Reposition: Registers with HudRepositionAPI when available for in-game dragging
  • Hot-Reload Config: Config file changes are picked up without restarting the game

Getting Started

Dependencies

  • Mycopunk (base game)
  • BepInEx — BepInExPack for Mycopunk 5.4.2403 or compatible
  • SparrohUILib — required UI library

Building

  • Clone this repository
  • Open the solution in Visual Studio, Rider, or your preferred C# IDE
  • Build in Release mode to generate the DLL

Alternatively, use the.NET CLI:

dotnet build --configuration Release

Output: bin/Release/netstandard2.1/Carnometer.dll

Installing (recommended):

  • Install with a mod manager (e.g. r2modman or App)
  • Ensure SparrohUILib is also installed (declared as a dependency)

Manual installation:

  • Install BepInEx and SparrohUILib for Mycopunk
  • Place Carnometer.dll in /BepInEx/plugins/

The mod loads automatically through BepInEx when the game starts. Check the BepInEx log for a successful load message.

Configuration

Settings are in /BepInEx/config/sparroh.carnometer.cfg.

| Section | Setting | Default | Description |

|-------------------|---------------------|------------|-------------------------------------------------|

| General | Enable Damage HUD | true | Enable or disable the damage meter HUD |

| General | Enable Kill HUD | true | Enable or disable the kill tracker HUD |

| General | DPS Window | 5 | Time window (seconds) for rolling DPS |

| HUD Positioning | DamageHUD X | 0.294803 | Damage HUD X anchor position (0–1) |

| HUD Positioning | DamageHUD Y | 0.285045 | Damage HUD Y anchor position (0–1) |

| HUD Positioning | KillHUD X | 0.294803 | Kill HUD X anchor position (0–1) |

| HUD Positioning | KillHUD Y | 0.225045 | Kill HUD Y anchor position (0–1) |

| Colors | Damage HUD Color | Rose | Damage value text color (RRGGBB or #RRGGBB) |

| Colors | Kill HUD Color | Rose | Kill value text color (RRGGBB or #RRGGBB) |

Changes to the config file are reloaded automatically. Enable/disable and anchor updates apply while the game is

running.

Note: Upgrading from 2.0.x renames several config keys (Enable Carnometer → Enable Damage HUD, etc.). Old keys

are ignored; set the new ones if you had custom values.

Help

  • Mod not loading? Verify BepInEx and SparrohUILib are installed, then check the BepInEx log for errors
  • HUD not appearing? Ensure the relevant enable toggle is true and you are in a mission with a local player
  • Stats not resetting? Stats reset when a new mission HUD spawns; leave and re-enter a mission if needed
  • Position wrong? Adjust each HUD's X/Y anchors, or drag if HudRepositionAPI is available

Authors

  • Sparroh

License

This project is licensed under the MIT License — see the LICENSE file for details.

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
  3. 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
  4. 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。

不同模組的安裝位置差異較大,包內說明是最可靠的依據。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPack_MycopunkSparroh-SparrohUILib

檔案與校驗

檔案名稱
Carnometer-2.1.0.zip
檔案大小
15.6 KiB