Enemy Health Bars v1.0.0
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.