Enemy Health Bars

版本 v1.0.6·更新於 2026-02-23

Health bars above every enemy. Host not required.

模組介紹 作者原文

Enemy Health Bars v1.0.6

This mod adds Health bars above enemies. Simple. Clean. Always readable. Shows damage clearly so you can finish the job.

Message to my awesome friends and the players who use my mods.

  • I was banned from the REPO modding server when I was taking a temp leave from the server due to drama. I was not even in the server when the ban happened. As such, if you need support for my mods or just want to hang out join my new personal server on Discord:

What the mod does

  • Puts a health bar above each enemy
  • Bar stays above the model and faces your camera
  • Size stays sensible at any distance
  • Shows a damage chip so big hits are obvious
  • Optional always-on or only after damage
  • Works in multiplayer

Multiplayer info

Only the player who wants the bars needs the mod. Host not required. Other players do not need it.

Config settings

You can tune how it looks and when it shows. These are the key options.

  • AlwaysShow: keep bars visible at all times or only after damage
  • ShowOnDamageSeconds: how long bars stay up after a hit when not always shown
  • BarWidth: base width of the bar
  • BarHeight: base height of the bar
  • OffsetPercentOfHeight: how far above the enemy to float the bar
  • ExtraOffsetMeters: extra space above the head
  • DistanceScaleFactor: how much the bar grows with distance so it stays readable
  • MinScale: smallest it can get
  • MaxScale: largest it can get
  • OnlyWhenVisible: hide the bar when the enemy is off screen or fully hidden
  • LerpSpeed: how smooth the front bar moves when healing
  • ChipDropSpeed: how fast the damage chip falls after you hit
  • HealCatchupSpeed: how fast the chip catches up when healing
  • UseMeshParentIfAvailable: lock to the mesh root when possible

Technical details

  • BepInEx plugin with Harmony patches
  • Attaches to EnemyHealth when enemies spawn and when health changes
  • World space UI canvas with a frame, a front fill, and a damage chip
  • Bounds based placement at the top of the enemy model
  • Distance based scale with clamps for close and far
  • No networking hooks. Purely client-side visual

Credits

Made by @omniscye / Empress. You wanted clean bars. I made clean bars.

Idea asked by @endershade_

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

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

BepInEx-BepInExPack

檔案與校驗

檔案名稱
Enemy_Health_Bars-1.0.6.zip
檔案大小
58.6 KiB