

B站视频教程: https://www.bilibili.com/video/BV1kNaizqEFD
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.
中文: 在攻击敌人后显示血条以及玩家对其造成的伤害数字的模组。所有功能都可以根据您的喜好进行配置。
Preview of the mod in action | 模组效果预览
Config GUI
| 配置项 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| ShowHealthBar | Boolean | true |
启用/禁用血条显示 Enable/disable health bar display |
| ShowDamageText | Boolean | true |
启用/禁用伤害文本显示 Enable/disable damage text display |
| ConfigGUI_Hotkey | KeyCode | Home |
配置面板热键 Hotkey to toggle config GUI |
| 配置项 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| DamageTextDuration | Float | 2.0 |
伤害文本显示持续时间(秒) Damage text display duration (seconds) |
| DamageTextFontSize | Integer | 55 |
伤害文本字体大小 Damage text font size |
| DamageTextColor | String | "#DC143CFF" |
伤害文本颜色(十六进制格式) Damage text color (hex format) |
| DamageTextUseSign | Boolean | true |
伤害文本是否显示符号(+/-) Whether to show signs in damage text (+/-) |
| 配置项 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| HealthBarFillColor | String | "#beb8b8ff" |
血条填充颜色(十六进制格式) Health bar fill color (hex format) |
| HealthBarWidth | Float | 165 |
血条宽度(像素) Health bar width (pixels) |
| HealthBarHeight | Float | 25 |
血条高度(像素) Health bar height (pixels) |
| ShowHealthBarNumbers | Boolean | true |
是否显示血量数值(当前HP/最大HP) Whether to show health numbers (current HP / max HP) |
| HealthBarNumbersFontSize | Integer | 20 |
血量数值文本字体大小 Health numbers text font size |
| HealthBarNumbersColor | String | "#000000FF" |
血量数值文本颜色(十六进制格式) Health numbers text color (hex format) |
| HealthBarHideDelay | Float | 1.5 |
血条无变化后自动隐藏延迟时间(秒) Auto-hide delay after no changes (seconds) |
| HealthBarNumbersVerticalOffset | Float | 0.25 |
血量数值文本垂直偏移值 Vertical offset of health numbers |
| HealthBarNumbersInsideBar | Boolean | true |
是否将血量数值显示在血条内部 Whether to display health numbers inside the health bar |
| HealthBarNumbersAutoWhiteOnLowHealth | Boolean | true |
低血量时自动变白色文本 Auto white text on low health |
| HealthBarShape | Integer | 2 |
血条形状(1=长方形,2=圆角) Health bar shape (1=Rectangle, 2=Rounded) |
| HealthBarCornerRadius | Integer | 5 |
血条圆角半径(像素) Health bar corner radius (pixels) |
| 配置项 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| BossHealthThreshold | Integer | 105 |
BOSS血量阈值(超过此值显示BOSS血条) Boss health threshold (show boss health bar when HP exceeds this) |
| BossHealthBarFillColor | String | "#beb8b8ff" |
BOSS血条填充颜色(十六进制格式) Boss health bar fill color (hex format) |
| BossHealthBarWidth | Float | 910 |
BOSS血条宽度(像素) Boss health bar width (pixels) |
| BossHealthBarHeight | Float | 25 |
BOSS血条高度(像素) Boss health bar height (pixels) |
| BossHealthBarBottomPosition | Boolean | true |
BOSS血条位置(true=底部,false=顶部) Boss health bar position (true=bottom, false=top) |
| BossHealthBarNameColor | String | "#beb8b8ff" |
BOSS名字文本颜色(十六进制格式) Boss name text color (hex format) |
| BossMaxHealth | Float | 3000 |
BOSS最大生命值上限(防止异常显示) Boss maximum health limit (prevents abnormal display) |
| BossHealthBarNumbersColor | String | "#000000FF" |
BOSS血量数值文本颜色(十六进制格式) Boss health numbers text color (hex format) |
| BossHealthBarShape | Integer | 2 |
BOSS血条形状(1=长方形,2=圆角) Boss health bar shape (1=Rectangle, 2=Rounded) |
| BossHealthBarCornerRadius | Integer | 15 |
BOSS血条圆角半径(像素) Boss health bar corner radius (pixels) |
| 配置项 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| EnableCustomTexture | Boolean | true |
启用/禁用自定义材质 Enable/disable custom texture |
| CustomTextureScalingMode | Integer | 0 |
材质缩放模式(0=拉伸适应,1=保持比例) Texture scaling mode (0=Stretch to fit, 1=Maintain aspect ratio) |
Custom Texture Usage | 自定义材质使用说明:
DLL directory/Texture/ folder | 将自定义材质文件放置在DLL目录/Texture/文件夹中HpBar.png for normal health bars | 使用HpBar.png作为普通血条材质HpBar_Boss.png for boss health bars | 使用HpBar_Boss.png作为BOSS血条材质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.
配置文件将在首次运行后自动生成。您可以修改设置并重启游戏以应用更改。
BepInEx/plugins folderBepInEx/plugins 文件夹Name | 姓名: Xiaohai 小海
Email | 邮箱: [email protected]
Bilibili | B站: https://space.bilibili.com/2055787437
如果您喜欢这个MOD,可以考虑打赏支持开发者继续创作更多优质内容!


Currently, only core functionality has been implemented. Future updates will include UI styling and beautification to better match the game's aesthetic.
暂时只做了核心功能,以后会进行UI的风格化和美化,使其更符合游戏的风格。
本MOD基于 知识共享署名 4.0 国际许可协议 (CC BY 4.0) 发布。
您可以自由地:
惟须遵守下列条件:
以下行为必须标记作者署名: