Adds floating damage numbers and health bars above zombies in Project Zomboid. Includes customizable options and support for multiplayer in Build 41.78.

Combat Text (B40+B41+B42) v25.08.2026 · ModsFire, 1.8 МБ · 13 downloads
Contents

Combat Text (B40+B41+B42) adds dynamic health bars and floating damage numbers above zombies in Project Zomboid, providing real-time feedback during combat.

Health Bar Features

  • Health bars appear above a zombie's head when the player hits it for the first time and the bar is not already visible (100% = current zombie health).
  • Health loss is animated, with the lost portion shown in orange.
  • The health bar hides itself after 10 in-game minutes without the zombie taking damage.
  • Health bar behavior can be customized in the mod options.

Floating Text Features

  • Floating text appears when damage is detected (using OnPlayerUpdate, which is faster than OnZombieUpdate).
  • Fire damage is displayed in orange text; damage is accumulated and shown every 5 in-game seconds to avoid displaying very small numbers.
  • Other types of damage are shown immediately in red.
  • Green text indicates the zombie is being healed (for example, when eating a corpse).
  • Floating text settings can be adjusted in the options.

Current/Max HP Display

  • Displays current and maximum HP as text near the health bar (maximum is set when the zombie is first hit by the player).
  • Visible only at reasonable zoom levels.
  • Not enabled by default.
  • Can be enabled and configured in the options.

Mod Options

  • A new tab is added to the game options screen for mod configuration.
  • Some settings changes may not immediately affect zombies with an active health bar.
  • Configuration changes are persistent and global (client-side only).

Compatibility

  • Superb Survivors!: The latest version works without known issues. Survivors spawned as AI-controlled players share all functionality; health bars and damage numbers appear above survivors and zombies as appropriate.
  • Advance Trajectory: Not compatible, as this mod relies on hit events that Advance Trajectory bypasses by setting health values directly.
  • Arsenal(26)Gunfighter: Enabling the "Debug Confirmation Level" option will print damage numbers in the chat under "radio" in multiplayer.

Known Issues

  • In Build 41, car hits are not shown, as there is currently no Lua event for vehicle hits.

Multiplayer Support

  • Build 40: Not supported.
  • Build 41.78: Working as of 06/23/2023.

Additional Information

  • The mod is considered feature complete.
  • Tested on SP-B40.43, SP-B41.78, and MP-B41.78.
  • Older versions are available on the developer's GitHub.

Screenshots 6

Add to collection Report