敌方生命值HUD重型持久显示,每次命中附带伤害数字(MDL3构建)

敌方生命值HUD重型持久显示,每次命中附带伤害数字(MDL3构建)

重型敌人跟随血条 HUD与伤害跳字(MDL3 版)Enemy HP HUD with damage number per hit (MDL3 build) 3.12.71

Enemy HP HUD Heavy Persistent 3.12.71

File / 文件: Enemy-HP-HUD-Heavy-Persistent-3.12.71.zip Prerequisite / 前置: MDL3 3.0.0-dev.33 (with HD2 Data Hub 0.3.0) — Chef Shared Loader is NOT required and must NOT be deployed alongside. 前置: MDL3 3.0.0-dev.33(含 HD2 Data Hub 0.3.0)——不需要、也不要再部署 Chef Shared Loader。


English

What it is

A heavy-unit health HUD for Helldivers 2, built for MDL3 (HD2 Data Hub). It reads game events from the Data Hub — never from game memory — and draws with the engine screen GUI, so it works on current builds where Cheff-style drawing is disabled.

Features

  • Persistent card (mid-right): a fixed card shows the enemy you are currently damaging — Chinese/English name, HP / Max, and distance in metres, plus a colour-coded bar (white → yellow → red) with a delayed "trail" segment.
  • Heavy unit head bars: only heavy-class enemies get a bar above their model; it follows the unit and stays visible until the unit dies. Range is selectable (100 / 150 / 200 m).
  • Spawn tether bars: when a heavy (or a destructible structure such as the Spore Spewer nest / Shrieker nest) spawns and the Hub has no health data yet, a ??? tether bar is placed at its position and turns into a real bar on first hit. Structures keep an event-position snapshot and fold after 15 s without damage.
  • Alpha Commander spawn bar: a separate switch, because Alpha Commander is medium armour and not in the heavy table.
  • Damage numbers: your own damage pops above the crosshair, colour-coded (white / yellow at ≥50 % of max HP / red on kill), with a short bounce and fade.
  • DoT merge: fire / gas / corrosion ticks are merged into a single orange running total instead of spamming a number every tick.
  • One-shot top-up: when a unit dies in a single hit (no damage event), a red number is estimated from the last seen HP (or max HP).
  • Damage total (optional): a 10-second rolling total of all damage you dealt, digit-by-wheel animation, auto-clears after 10 s of no damage.
  • Three text languages: Simplified Chinese / Traditional Chinese / English. Chinese names use the Battlefield 5 hit-and-kill-feedback translations; it falls back to English automatically if the game font has no CJK glyphs.
  • Back-facing cull: bars for units behind the camera are hidden instead of projected onto the screen edge.
  • Automatic recovery: the mod is defensive — engine calls are wrapped, the GUI is rebuilt when the UI world changes, and drawing switches itself off after repeated failures instead of crashing the game.

Settings (esc→ MOD settings → "ENEMY HP HUD")

Setting Default Range
Enemy text language 简体中文 简体中文 / 繁體中文 / English
Card horizontal position 0.72 0.30 – 0.90
Card vertical position 0.50 0.20 – 0.80
Card background panel On On / Off
HUD size 1.00 0.60 – 2.00
Heavy bar range 200 m 100 / 150 / 200 m
Damage numbers On On / Off
Damage numbers follow unit head On On / Off
Damage number size 1.00 0.60 – 2.00
Damage number font size 30 px 14 – 96
Damage number duration 0.90 s 0.40 – 1.60 s
Damage number opacity 100 % 0 – 100 %
Separate DoT damage On On / Off
One-shot kill top-up On On / Off
Damage total Off On / Off
Total font size 24 px 24 – 96
Total horizontal position 0.42 0.10 – 0.90
Total vertical position 0.52 0.10 – 0.90
Total opacity 100 % 0 – 100 %
Heavy / structure spawn bar On On / Off
Alpha Commander spawn bar On On / Off
Isolation test All on all on / pause events / pause positions / pause camera / all paused

Prerequisites & install

  1. MDL3 3.0.0-dev.33 (which ships HD2 Data Hub 0.3.0) installed through HD2 Arsenal.
  2. Install this zip with HD2 Arsenal, enable it, then Deploy.
  3. Deploy MDL3 last / highest priority. If another mod with its own boot script sits after MDL3, MDL3 will not start.
  4. Do not deploy Chef Shared Loader. MDL3 replaces the game's boot slot; a second loader in the same slot breaks both.
  5. Recommended: disable Enemy-HP-HUD-1.1.0 to avoid two HUDs drawing at once.

Known limits

  • No limb/part health bars (the Hub does not expose per-part health).
  • Bars are placed from event positions and a bounded refresh loop — very fast-moving targets may lag a frame.
  • The Hub must be ready (D.ready()) before any bar appears; on a build mismatch the Hub reports not_ready.
  • Damage numbers only count damage attributed to you; teammate DoT is not shown.

这是什么

《绝地潜兵2》重甲单位血量 HUD,为 MDL3(HD2 Data Hub)适配。数据全部来自 Data Hub 的事件,不读游戏内存;绘制走引擎的 screen GUI,所以在「Chef 风格绘制被禁用」的现行版本上依然能显示。

功能

  • 常驻卡片(屏幕中间偏右):固定位置显示你正在攻击的那只敌人——中文/英文名、当前血量 / 上限、与你之间的距离(米),血条按比例变色(白 → 黄 → 红),并带一段延迟回落的残影。
  • 重甲头顶血条:只有重甲级别的敌人会在模型上方挂血条,跟随单位移动、一直停留到单位死亡。识别距离可选 100 / 150 / 200 米。
  • 出生跟随条:重甲或可破坏结构体(如孢子喷涌虫、尖啸虫巢)刚生成、Hub 还没有血量数据时,先在它的位置挂一条 ??? 的跟随条,首次受击后自动变成正常血条;结构体只吃事件坐标快照,15 秒没有伤害就收起。
  • 阿尔法指挥官出生条:单独开关,因为它是中甲、不在重甲表里。
  • 伤害数字:只显示你造成的伤害,在准星上方弹出,按规则变色(白 / 达到上限 50% 转黄 / 击杀转红),带短促的弹跳与淡出。
  • 持续伤害合并:火、毒、腐蚀这类每跳一次的小伤害会合并成一个橙色累计数字,不再每跳刷屏。
  • 一击必杀补数字:一枪打死(Hub 来不及发伤害事件)时,用最后看到的血量(没看到过就用上限)补一个红色数字。
  • 伤害总和(可选):10 秒内你造成的全部伤害滚动累计,逐位滚动动画;10 秒没有伤害自动清零隐藏。
  • 三语文案:简体中文 / 繁體中文 / English。中文译名取自《战地5命中与击杀反馈》;若游戏字体没有中文字形会自动回落英文。
  • 背对剔除:视野后方的单位不再把血条投到屏幕边缘。
  • 自我恢复:所有引擎调用都有保护,换 UI 世界时自动重建 GUI,连续失败达到阈值就自动关闭绘制,而不是把游戏带崩。

设置(esc→ MOD 设置 → 「敌人血量 HUD」)

设置 默认 范围
敌人单位文本语言 简体中文 简体中文 / 繁體中文 / English
常驻血条 横向位置 0.72 0.30 – 0.90
常驻血条 纵向位置 0.50 0.20 – 0.80
常驻血条 背景板 开 开 / 关
血条大小 1.00 0.60 – 2.00
重甲血条识别距离 200 米 100 / 150 / 200 米
伤害数字 开 开 / 关
跳字跟随单位头顶 开 开 / 关
伤害数字大小 1.00 0.60 – 2.00
伤害数字字号 30 px 14 – 96
伤害数字停留时间 0.90 秒 0.40 – 1.60 秒
伤害数字不透明度 100 % 0 – 100 %
区分持续伤害 开 开 / 关
一击必杀补数字 开 开 / 关
伤害总和 关 开 / 关
总和数字字号 24 px 24 – 96
总和 横向位置 0.42 0.10 – 0.90
总和 纵向位置 0.52 0.10 – 0.90
伤害总和 不透明度 100 % 0 – 100 %
重甲/结构体出生跟随条 开 开 / 关
阿尔法指挥官出生跟随条 开 开 / 关
隔离测试 全部开启 全部开启 / 暂停事件订阅 / 暂停坐标刷新 / 暂停相机读取 / 全部暂停

前置与安装

  1. 通过 HD2 Arsenal 安装 MDL3 3.0.0-dev.33(内含 HD2 Data Hub 0.3.0)。
  2. 用 HD2 Arsenal 安装本 zip → 勾选启用 → Deploy。
  3. MDL3 必须最后部署(最高优先级);若有别的自带启动脚本的 mod 排在 MDL3 之后,MDL3 不会启动。
  4. 不要部署 Chef Shared Loader:MDL3 占用了游戏 boot 槽,同一个槽里塞两个加载器会双双失效。
  5. 建议停用 Enemy-HP-HUD-1.1.0,避免两套 HUD 同时绘制。

已知限制

  • 没有部位血条——Hub 不提供分部位血量。
  • 血条位置来自事件坐标 + 有频率限制的刷新,极高速移动的目标可能慢一帧。
  • Hub 必须处于 ready 状态才会出条;构建号不匹配时 Hub 会报 not_ready。
  • 伤害数字只统计归因于你的伤害,队友的持续伤害不会显示。