ShowDamage HealthBar
Displays enemy health bars and actual player damage numbers, with boss bars and configurable custom textures.
截圖 共 8 張
模組介紹 作者原文
ShowDamage&HealthBar MOD | 傷害顯示&敵人血條模組
Video Tutorial | 視頻教程
B站視頻教程:
English community tutorial:
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.
中文: 在攻擊敵人後顯示血條以及玩家對其造成的傷害數字的模組。所有功能都可以根據您的喜好進行配置。
Version 2.1.1 Compatibility | 2.1.1 版本兼容說明
- Revalidated against the latest supplied game API and updated for the Unity 6.NET Standard 2.1 runtime.
- 已根據最新提供的遊戲 API 重新驗證,並更新爲適配 Unity 6.NET Standard 2.1 運行環境。
- installations use the maintained silksong_modding-BepInExPack_Silksong dependency.
- 安裝使用當前維護的 silksong_modding-BepInExPack_Silksong 依賴包。
Download | 下載
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
- Boss Health Bar: Special health bar for high-health enemies with customizable threshold, colors, and positioning
- Custom Texture Support: Support for custom health bar textures with automatic loading from DLL/Texture/ folder. Place HpBar.png for normal health bars and HpBar_Boss.png for boss health bars. Features configurable scaling modes and automatic fallback to default textures
- In-Game GUI Configuration: Press HOME to open configuration panel with real-time settings adjustment and bilingual support (Chinese/English)
- Fully Configurable: All features can be customized through configuration files or in-game GUI
- Accurate Player Damage: Display actual player damage only, including redirected damage, without counting environmental or non-player hits
- Optimized Runtime: Lazily create health bars after the first valid hit and reuse up to 32 damage-text objects
- Independent Controls: Toggle normal enemy bars, boss bars, and damage numbers independently
- Texture Accuracy: Automatically trim transparent borders from fill textures and optionally use BG_Enemy.png / BG_Boss.png backgrounds
中文
- 敵人血條: 攻擊敵人後,顯示基於敵人生命值百分比的血條,血條不受敵人翻轉方向影響,始終保持固定方向(從左向右)
- 傷害文本顯示: 攻擊敵人後,短暫地顯示本次傷害值文本
- 血量數值顯示: 血條上方可顯示"當前血量/最大血量"的數值文本,支持自定義字體大小和顏色
- BOSS血條: 針對高血量敵人的特殊血條,支持自定義閾值、顏色和位置
- 自定義材質支持: 支持自定義血條材質,自動從DLL/Texture/文件夾加載。放置HpBar.png用於普通血條,HpBar_Boss.png用於BOSS血條。支持可配置的縮放模式和自動回退到默認材質
- 遊戲內GUI配置: 按HOME打開配置面板,支持實時調整設置和中英文雙語切換
- 完全可配置: 所有功能都可以通過配置文件或遊戲內GUI進行自定義
- 準確的玩家傷害: 只顯示玩家實際造成的傷害,包含轉發傷害,不計入環境和非玩家攻擊
- 運行時優化: 首次有效攻擊後才創建血條,並複用最多 32 個傷害數字對象
- 獨立顯示開關: 普通敵人血條、BOSS 血條和傷害數字可分別啓用或關閉
- 材質顯示修復: 自動裁掉填充圖外圍透明像素,並可爲普通敵人和 BOSS 分別使用 BG_Enemy.png / BG_Boss.png 背景
Screenshots | 截圖
Preview of the mod in action | 模組效果預覽
Config GUI
Configuration | 可配置項
Display Settings | 顯示設置
| 配置項 | 類型 | 默認值 | 說明 |
|--------|------|--------|------|
| ShowEnemyHealthBar | Boolean | true | 啓用/禁用普通敵人血條
Enable/disable normal enemy health bars |
| ShowBossHealthBar | Boolean | true | 啓用/禁用 BOSS 血條
Enable/disable boss health bars |
| ShowDamageText | Boolean | true | 啓用/禁用傷害文本顯示
Enable/disable damage text display |
| ConfigGUI_Hotkey | KeyCode | Home | 配置面板熱鍵
Hotkey to toggle config GUI |
Damage Text Settings | 傷害文本設置
| 配置項 | 類型 | 默認值 | 說明 |
|--------|------|--------|------|
| 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 (+/-) |
Health Bar Settings | 血條設置
| 配置項 | 類型 | 默認值 | 說明 |
|--------|------|--------|------|
| HealthBarFillColor | String | "#beb8b8ff" | 血條填充
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: