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

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.4
Download link khalil-ShowEnemyHealth_Fixed-1.0.4.zip
Downloads 19077
Dependency string khalil-ShowEnemyHealth_Fixed-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

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 HurtRPC damage from healthCurrent.
  • Does not restore the old negative HurtRPC custom sync or old transpiler, avoiding double damage / double subtraction issues.
  • Improves occlusion checks so the raycast ignores the enemy's own colliders and avoids self-occlusion false positives.
  • Cleans up UI on enemy death, death impulse, health reaching zero, client-side HurtRPC reaching zero, despawn, and EnemyBang.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

This Thunderstore package places the plugin DLL under:

BepInEx/plugins/REPO_ShowEnemyHealth.dll

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.cfg after 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

问题反馈

CHANGELOG

- 1.0.4

  • 修复了血条偶然闪屏的问题

- 1.0.3

  • 优化了部分流程

- 1.0.2

  • 现在伤害损伤数字也能被正常遮挡

- 1.0.1

  • 修复了血条只会在怪物受伤后出现的问题

- 1.0.0

  • 初代版本发布