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.
ShowEnemyHealth Fixed
Fixed Edition of Rozza's ShowEnemyHealth for R.E.P.O.; shows numeric enemy health and damage text.
| Date uploaded | 2 weeks ago |
| Version | 1.0.5 |
| Download link | khalil-ShowEnemyHealth_Fixed-1.0.5.zip |
| Downloads | 13631 |
| Dependency string | khalil-ShowEnemyHealth_Fixed-1.0.5 |
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.2100README
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
CHANGELOG
- 1.0.5
- 优化遮挡逻辑
- 1.0.4
- 修复了血条偶然闪屏的问题
- 1.0.3
- 优化了部分流程
- 1.0.2
- 现在伤害损伤数字也能被正常遮挡
- 1.0.1
- 修复了血条只会在怪物受伤后出现的问题
- 1.0.0
- 初代版本发布