XiaohaiMod-HealthBar icon

HealthBar

Adds basic health bars and floating damage indicators to enemies.

Last updated 3 days ago
Total downloads 1054
Total rating 0 
Categories Tools Misc
Dependency string XiaohaiMod-HealthBar-1.0.1
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2304 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2304

README

Yap Health Bar MOD / 敌人血条插件

**针对一些国内的游戏博主:该MOD可以搬运,但请标记出处,如果你在B站使用该mod为你引流,麻烦你艾特一下@小海同学ovo,在其他平台也请说明一下作者是"小海".

Yap Health Bar 是一款用于 YAPYAP 的 BepInEx 插件,在敌人头顶显示 3D 血条和飘字伤害,方便观察战斗过程与调试伤害数值。

Yap Health Bar is a BepInEx plugin for YAPYAP that renders a 3D health bar and floating damage text above enemies, making combat and damage debugging more readable.


功能特点 (Features)

  • 在敌人头顶显示 3D 血条,自动跟随并面向摄像机
  • 显示伤害飘字(Damage Text)
  • 自动根据敌人大小与高度计算血条位置,可在配置中微调
  • 基于 BepInEx + Harmony,无需修改游戏原文件

安装 (Installation)

  1. 确保游戏已正确安装 BepInEx 5
  2. 编译或获取 Yap_HealthBar.dll
  3. Yap_HealthBar.dll 复制到:
    • 推荐路径:BepInEx\plugins\血条\
    • 或任何你喜欢的子文件夹(例如 BepInEx\plugins\Yap_HealthBar\)。
  4. 启动游戏,确认 BepInEx 控制台中出现 Yap Health Bar MOD loaded successfully! 日志。

配置 (Configuration)

插件会在首次运行时生成配置文件(通常位于 BepInEx\config\ 目录)。

主要配置项示例:

  • ExtraHeightOffset / 增高偏移
    • 说明:在自动计算敌人高度的基础上额外向上偏移血条(单位:米)。
    • 用途:如果某些敌人头顶被遮挡或太低,可以适当调大该数值。

你可以在游戏运行时多次调整该值,重新进入关卡后生效,直至找到自己满意的视觉效果。


使用说明 (Usage)

插件加载后无需额外操作,即可在战斗中看到敌人血条与伤害飘字:

  • 攻击敌人时,血条会同步变化
  • 受到伤害时,头顶会短暂显示伤害数值
  • 血条在短时间内无战斗时会自动隐藏,避免画面过于杂乱

This mod works automatically once installed:

  • Health bars update when enemies take damage
  • Floating damage numbers appear briefly above enemies
  • Bars fade out when there is no recent combat to keep the view clean

兼容性 & 反馈 (Compatibility & Feedback)

  • 只读方式 Hook 游戏逻辑,不修改存档
  • 理论上兼容大部分其他 BepInEx MOD
  • 如果你遇到兼容性问题或有改进建议,可以对本项目的源码进行二次开发或自行修改配置

If you run into issues, conflicts with other mods, or have feature ideas, feel free to tweak the source and config to fit your own setup.

作者 (Author): xiaohai B站:小海同学ovo 反馈邮箱 (Feedback Email): [email protected]