Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
You are viewing a potentially older version of this package.
View all versions.
NativeEnemyHealthBars
Native-style enemy health bars above the enemy head when damaged. Works for host and clients, stays anchored to the enemy, no enemy-breaking cleanup.
By CaptainTeam
| Date uploaded | a week ago |
| Version | 1.1.0 |
| Download link | CaptainTeam-NativeEnemyHealthBars-1.1.0.zip |
| Downloads | 2542 |
| Dependency string | CaptainTeam-NativeEnemyHealthBars-1.1.0 |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2305README
Native Enemy Health Bars
Native-style enemy health bars for R.E.P.O.: the game's own HUD health widget, shown above an enemy's head when it takes damage.
Features
- Uses the game's native HUD health style (current / max).
- Appears when an enemy is hit and fades after a few seconds.
- Anchored above the enemy's head (visible model bounds + configurable extra height). Hidden when the enemy is out of view; kept on screen at point-blank range.
- Works for every player: damage is only computed by the host, so clients track the enemy's health from the game's hurt RPC with the same formula.
- Resets when the enemy respawns.
Config (chatgpt.repo.nativeenemyhealthui.cfg)
Max Distance(40),Visible Seconds After Damage(4),UI Scale(0.5),Extra Height Offset(0.35),Screen X Offset(10).
Installation
Client-side UI: every player who wants to see the bars installs it.
AI disclosure
AI tools were used during development and to create the package artwork.
CHANGELOG
Changelog
1.1.0
- Removed
NativeEnemyHealthUIFix.dll: its death cleanup destroyed the enemy's own GameObject (controller + PhotonView), which broke enemy respawns. The bar already hides itself when health reaches 0. - Bars now work for clients, not only the host (driven by
EnemyHealth.HurtRPC, health tracked locally). - Bar height measured from the enemy's visible model instead of its colliders; default
Extra Height Offsetlowered from 1.25 to 0.35 (old default migrated automatically). - Position updated after the camera moves (no more lag/swimming when turning), hidden when the enemy is out of view.
- Bar resets on enemy respawn; per-hit logs moved to debug level.
1.0.0
- First complete Thunderstore package.