You are viewing a potentially older version of this package. View all versions.
XiaohaiMod-XH_DamageShow_EnemyHealthBar-1.0.3 icon

XH DamageShow EnemyHealthBar

Enemy Health Bar and Damage Value Display by Xiaohai

Date uploaded 2 weeks ago
Version 1.0.3
Download link XiaohaiMod-XH_DamageShow_EnemyHealthBar-1.0.3.zip
Downloads 75535
Dependency string XiaohaiMod-XH_DamageShow_EnemyHealthBar-1.0.3

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

XH_DamageShow&EnemyHealthBar v1.0.3

XiaoHai_REPO_DamageShow&EnemyHealthBar / 小海 R.E.P.O 伤害显示 & 怪物血条 MOD

Instructions / 安装说明

  • Place contents in BepInEx/plugins. / 将文件放入 BepInEx/plugins 目录。
  • No extra steps required. / 无需额外操作,安装即用。
  • Config supported since v1.0.3. / v1.0.3 起支持配置项。

Changelog / 更新日志

v1.0.0

  • Release. / 首次发布。

v1.0.1

  • 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).
    / 彻底修复主机/客户端血条与伤害显示不同步问题(HurtRPC 补丁参数对齐)。
  • Fixed health bar not following enemies during drag/knockdown displacement (follow target prioritizes Rigidbody/center and auto-rebinds at runtime).
    / 修复敌人被拖拽/摔倒等位移时血条不跟随的问题(跟随目标优先使用刚体/中心点,并在运行中自动重绑定)。
  • Improved positioning logic: auto-calculates head height using Collider/Renderer (Mesh) Bounds for better results on both large and small enemies.
    / 优化血条显示与定位逻辑:基于敌人碰撞体/渲染器(Mesh/Renderer)Bounds 自动计算头顶高度,大小怪都更合理。
  • Fixed bars sinking into models when enemies topple/rotate: positions are computed in world-up space instead of local axes.
    / 修复敌人翻倒/旋转导致血条钻进模型的问题:使用世界坐标“向上”定位血条,而不是受局部坐标轴影响。
  • Added config “ExtraHeightOffset / 增高偏移” (default 1.25): always added after the auto height calculation.
    / 新增配置项“ExtraHeightOffset / 增高偏移(默认 1.25)”:在自动高度计算后始终额外增加该高度。
  • Performance & memory optimizations: shared white Sprite (less allocations), throttled visibility updates to reduce per-frame cost.
    / 优化性能与内存:血条使用共享白色 Sprite,减少贴图/对象分配;可见性更新节流,降低每帧开销。
  • Stability improvements: safer initialization and null checks to prevent edge-case errors.
    / 提升稳定性:增加初始化与空引用保护,避免个别情况下报错。
  • Less log spam: verbose logs are disabled by default (enable VerboseLogging if needed).
    / 降噪:高频日志默认关闭(需要时可开启 VerboseLogging)。