You are viewing a potentially older version of this package. View all versions.
Omniscye-Enemy_Health_Bars-1.0.4 icon

Enemy Health Bars

Health bars above every enemy. Host not required.

Date uploaded 2 days ago
Version 1.0.4
Download link Omniscye-Enemy_Health_Bars-1.0.4.zip
Downloads 6480
Dependency string Omniscye-Enemy_Health_Bars-1.0.4

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100

README

Enemy Health Bars v1.0.4

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

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_