XH DamageShow EnemyHealthBar
Enemy Health Bar and Damage Value Display by Xiaohai
About this mod Machine translation
XH_DamageShow&EnemyHealthBar v1.0.3
XiaoHai_REPO_DamageShow&EnemyHealthBar / Xiaohai R.E.P.O damage display & monster health bar MOD
Instructions/Installation instructions
- Place contents in BepInEx/plugins. / Place the files in the BepInEx/plugins directory.
- No extra steps required. / No additional steps required, just install and use.
- Config supported since v1.0.3. / v1.0.3 supports configuration items.
Changelog / update log
v1.0.0
- Release. / First release.
v1.0.1
- Fixed host/client desync where clients sometimes didn’t show UI. / Fixed host/client desync where clients sometimes didn’t show UI.
v1.0.3
- Fixed host/client desync for health bar & damage display (HurtRPC patch signature aligned).
/ Completely fixed the host/client health bar and damage display out-of-sync issue (HurtRPC patch parameter alignment).
- Fixed health bar not following enemies during drag/knockdown displacement (follow target prioritizes Rigidbody/center and auto-rebinds at runtime).
/ Fixed the problem that the health bar does not follow the enemy when it is dragged/falled and other displacements (following the target gives priority to using the rigid body/center point, and automatically rebinds during operation).
- Improved positioning logic: auto-calculates head height using Collider/Renderer (Mesh) Bounds for better results on both large and small enemies.
/ Optimize the health bar display and positioning logic: automatically calculate the height of the head based on the enemy collision body/renderer (Mesh/Renderer) Bounds, making both large and small monsters more reasonable.
- Fixed bars sinking into models when enemies topple/rotate: positions are computed in world-up space instead of local axes.
/ Fixed an issue where enemy overturning/rotating caused the health bar to drill into the model: Use world coordinates to position the health bar "upward" instead of being affected by the local coordinate axis.
- Added config “ExtraHeightOffset / Increased height offset” (default 1.25): always added after the auto height calculation.
/ New configuration item "ExtraHeightOffset / Increase height offset (default 1.25)": always increase the height after automatic height calculation.
- Performance & memory optimizations: shared white Sprite (less allocations), throttled visibility updates to reduce per-frame cost.
/ Optimize performance and memory: health bars use shared white sprites to reduce texture/object allocation; visibility update throttling reduces per-frame overhead.
- Stability improvements: safer initialization and null checks to prevent edge-case errors.
/ Improve stability: Add initialization and null reference protection to avoid errors in individual cases.
- Less log spam: verbose logs are disabled by default (enable VerboseLogging if needed).
/ Noise reduction: High-frequency logging is turned off by default (VerboseLogging can be turned on if needed).
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.
Install these first, or the mod will not work: