ShowDamage&HealthBar MOD | 伤害显示&敌人血条模组
Video Tutorial | 视频教程 (Only Chinese)
B站视频教程: https://www.bilibili.com/video/BV1kNaizqEFD
1.0.3教程 : https://www.bilibili.com/video/BV1PWYuzeEFh
Description | 简介
English: A mod that displays enemy health bars and damage numbers when attacking enemies in the game. All features are fully configurable to suit your preferences.
中文: 在攻击敌人后显示血条以及玩家对其造成的伤害数字的模组。所有功能都可以根据您的喜好进行配置。
Features | 功能
English
- Enemy Health Bar: Display health bars based on enemy health percentage after attacking. Health bars maintain fixed orientation (left to right) regardless of enemy facing direction
- Damage Text Display: Show damage numbers briefly when dealing damage to enemies
- Health Numbers Display: Show "Current HP/Max HP" text above health bars with customizable font size and color
- Fully Configurable: All features can be customized through configuration files
中文
- 敌人血条: 攻击敌人后,显示基于敌人生命值百分比的血条,血条不受敌人翻转方向影响,始终保持固定方向(从左向右)
- 伤害文本显示: 攻击敌人后,短暂地显示本次伤害值文本
- 血量数值显示: 血条上方可显示"当前血量/最大血量"的数值文本,支持自定义字体大小和颜色
- 完全可配置: 一切都是可以配置的
Screenshots | 截图
Preview of the mod in action | 模组效果预览
Health numbers display feature | 血量数值显示功能
Configuration | 可配置项
Display Settings | 显示设置
-
ShowHealthBar | 显示血条
- Type: Boolean | 类型:布尔值
- Default: true | 默认值:true
- Description: Enable/disable health bar display | 描述:启用/禁用血条显示
-
ShowDamageText | 显示伤害文本
- Type: Boolean | 类型:布尔值
- Default: true | 默认值:true
- Description: Enable/disable damage text display | 描述:启用/禁用伤害文本显示
Damage Text Settings | 伤害文本设置
Health Bar Settings | 血条设置
Health Numbers Settings | 血量数值设置
-
ShowHealthBarNumbers | 显示血量数值
- Type: Boolean | 类型:布尔值
- Default: true | 默认值:true
- Description: Enable/disable health numbers display above health bars | 描述:启用/禁用血条上方的血量数值显示
-
HealthBarNumbersFontSize | 血量数值字体大小
- Type: Integer | 类型:整数
- Default: 12 | 默认值:12
- Description: Font size for health numbers text (affected by HealthBarScale) | 描述:血量数值文本的字体大小(受HealthBarScale影响)
-
HealthBarNumbersColor | 血量数值颜色
- Type: String | 类型:字符串
- Default: "#FFFFFF" | 默认值:"#FFFFFF"
- Description: Color for health numbers text (hex format) | 描述:血量数值文本颜色(十六进制格式)
Configuration File Location | 配置文件位置
Path | 路径: BepInEx/config/Xiaohai.Silksong_HealthBar.cfg
The configuration file will be automatically generated after the first run. You can modify the settings and restart the game to apply changes.
配置文件将在首次运行后自动生成。您可以修改设置并重启游戏以应用更改。
Installation | 安装方法
English
- Install BepInEx if you haven't already
- Download the latest release from Thunderstore
- Extract the mod files to your
BepInEx/plugins folder
- Launch the game and enjoy!
中文
- 如果尚未安装,请先安装 BepInEx
- 从 Thunderstore 下载最新版本
- 将模组文件解压到
BepInEx/plugins 文件夹
- 启动游戏并享受!
Author | 作者
Name | 姓名: Xiaohai 小海
Email | 邮箱: [email protected]
Bilibili | B站: https://space.bilibili.com/2055787437
Changelog | 更新日志
Version 1.0.3
- New Feature: Health bars are no longer affected by enemy flip direction, always facing up and in a fixed direction (left to right)
- New Feature: Added configurable "Current HP/Max HP" text display above health bars (ShowHealthBarNumbers)
- New Feature: Added customizable font size for health numbers (HealthBarNumbersFontSize)
- New Feature: Added customizable color for health numbers (HealthBarNumbersColor)
- Enhancement: Dynamic Canvas sizing to prevent text display issues with large fonts
- Bug Fix: Real-time enemy max health updates to prevent issues with boss phase transitions
- Bug Fix: Health bars are properly destroyed when enemy health reaches 0 but enemy is not destroyed (fixes summoned creature health bar remnants)
- Note: Boss phase fixes are not fully tested. If issues persist, please provide save files to [email protected]
- 新功能: 血条不再受敌人的翻转方向影响,始终朝上并且是固定方向的(从左向右)
- 新功能: 添加了可配置的"当前血量/最大血量"文本显示功能 (ShowHealthBarNumbers)
- 新功能: 添加了血量数值字体大小自定义功能 (HealthBarNumbersFontSize)
- 新功能: 添加了血量数值颜色自定义功能 (HealthBarNumbersColor)
- 改进: 动态Canvas大小设置,防止字体太大时不显示的问题
- 修复: 实时更新敌人最大血量,防止类似转阶段的情况敌人生命值暴增后导致的可能出现的BUG
- 修复: 当敌人生命值为0时,如果该敌人没有被销毁,生命条也会被销毁(尝试修复召唤物血量残留)
- 注意: 关于BOSS阶段修复功能未经完全测试,如有问题请提供存档文件至邮箱 [email protected]
Version 1.0.2
- New Feature: Added configurable health bar fill color (HealthBarFillColor)
- New Feature: Added configurable health bar scale multiplier (HealthBarScale)
- Enhancement: Health bar appearance can now be customized through configuration
- 新功能: 添加了可配置的血条填充颜色 (HealthBarFillColor)
- 新功能: 添加了可配置的血条大小倍数 (HealthBarScale)
- 改进: 血条外观现在可以通过配置文件自定义
Version 1.0.1
- Bug Fix: Fixed the bug where the maximum font size could only be set to 50. The issue was caused by the Canvas size being too small.
- Initial Release: Basic enemy health bar and damage text display functionality
- 修复: 修复了最大字体大小只能设置为50的bug。这个问题是由于Canvas大小设置得过小导致的。
- 初始版本: 基本的敌人血条和伤害文本显示功能
Future Plans | 更新计划
English
Currently, only core functionality has been implemented. Future updates will include UI styling and beautification to better match the game's aesthetic.
中文
暂时只做了核心功能,以后会进行UI的风格化和美化,使其更符合游戏的风格。
License | 许可协议
本MOD基于 知识共享署名 4.0 国际许可协议 (CC BY 4.0) 发布。
您可以自由地:
- 共享 — 在任何媒介以任何形式复制、发行本作品
- 演绎 — 修改、转换或以本作品为基础进行创作,包括商业性使用
惟须遵守下列条件:
- 署名 — 您必须给出适当的署名(@小海 Xiaohai)。
以下行为必须标记作者署名:
- 在视频平台进行介绍推广
- 其他模组平台引用
- 对MOD进行二次开发和引用
- 任何商业用途或修改
- 本说明的主要用途是敬告某些平台,不要再偷我MOD但是说是自己的了!这样只会打击模组开发者的热情!