You are viewing a potentially older version of this package. View all versions.
CaptainTeam-NativeEnemyHealthBars-1.1.0 icon

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.

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-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305

README

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 Offset lowered 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.