ShowEnemyHealth Fixed
Fixed Edition of Rozza's ShowEnemyHealth for R.E.P.O.; shows numeric enemy health and damage text.Show Enemy Health - Fixed Edition
Fixed Edition of Rozza's original R.E.P.O. mod ShowEnemyHealth.
Original author/mod: Rozza / ShowEnemyHealth. This package keeps the original purpose of the mod: showing digital enemy health text and damage numbers. It is not a graphical health bar mod.
What it does
- Shows enemy health as a numeric text label above enemies.
- Shows damage text when enemies take damage.
- Supports REPOConfig-generated in-game configuration and manual BepInEx configuration.
Fixed Edition changes
This Fixed Edition focuses on reliability and compatibility with the current R.E.P.O. behavior:
- Creates persistent health text on
EnemyHealth.Awake/EnemyHealth.OnSpawn, so health can appear before the enemy is damaged. - Handles multiplayer clients by locally subtracting positive
HurtRPCdamage fromhealthCurrent. - Does not restore the old negative
HurtRPCcustom sync or old transpiler, avoiding double damage / double subtraction issues. - Uses
Camera.mainfor occlusion checks, ignores the enemy's own colliders, and avoids self-occlusion false positives. - Keeps damaged enemies' health text visible through occluders within 10m, then restores normal occlusion once the player moves farther away until the enemy is damaged again.
- Cleans up UI on enemy death, death impulse, health reaching zero, client-side
HurtRPCreaching zero, despawn, andEnemyBang.ExplodeRPC. - Starts delayed UI creation from the plugin coroutine runner instead of inactive enemy/controller objects, preventing inactive GameObject coroutine errors.
- Fixes package naming/version metadata for Thunderstore packaging.
Installation
Thunderstore / mod manager
Install the package with a Thunderstore-compatible mod manager. The package places the plugin DLL under:
BepInEx/plugins/REPO_ShowEnemyHealth.dll
Manual
- Install BepInEx Pack for R.E.P.O.
- Copy
REPO_ShowEnemyHealth.dllinto your game'sBepInEx/plugins/directory. - Launch the game once to generate the config file.
Configuration
All current options are defined by the mod's ConfigManager and can be changed in either of these ways:
- In-game through REPOConfig if installed.
- Manually in
BepInEx/config/REPO_ShowEnemyHealth.cfgafter launching the game once with the mod installed.
Available colors for all color settings:
black, blue, cyan, green, grey, magenta, orange, red, white, yellow
Health
| Setting | Type / Range | Default | Description |
|---|---|---|---|
ShowEnemyHealth |
bool |
true |
Enables or disables numeric enemy health text. |
HealthFontSize |
float, 10-50 |
15 |
Size of the enemy health text. |
HealthFontColor |
listed colors | grey |
Color of the enemy health text. |
Damage
| Setting | Type / Range | Default | Description |
|---|---|---|---|
ShowEnemyDamage |
bool |
true |
Enables or disables damage number text. |
DamageFontSize |
float, 10-50 |
25 |
Size of the damage text. |
DamageFontHighlightColor |
listed colors | red |
Highlight color used in damage text. |
DamageFontColor |
listed colors | orange |
Primary damage text color. |
Example config
[Health]
ShowEnemyHealth = true
HealthFontSize = 15
HealthFontColor = grey
[Damage]
ShowEnemyDamage = true
DamageFontSize = 25
DamageFontHighlightColor = red
DamageFontColor = orange
Links
- Original Thunderstore mod: https://thunderstore.io/c/repo/p/Rozza/ShowEnemyHealth/
- Original source: https://gitlab.com/rozza_mods/repo-showenemyhealth
