Project Zomboid

Project Zomboid

7,852 ratings
Combat Text (B40+B41+B42)
8
10
28
8
2
12
2
6
4
4
2
2
3
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
2.018 MB
Nov 13, 2020 @ 1:47pm
Apr 18 @ 11:57am
30 Change Notes ( view )

Subscribe to download
Combat Text (B40+B41+B42)

Description
Show health bar above zombie heads and damage dealt

Health bar features:
  • shown when player hit zombie for first time and health bar is not visible (100% = current zombie health)
  • health loss is animated (orange part of bar)
  • bar will hide itself after 10 in-game minutes without receiving damage
  • can be tweaked in options

Floating text features:
  • text is shown once damage is detected (this is currently done during OnPlayerUpdate which is way faster than OnZombieUpdate)
  • fire damage is displayed with orange text (damage is accumulated and shown each 5 in-game seconds otherwise it show extreme small numbers)
  • other damage types are show ASAP with red color
  • green text means zombie is being healed (yes zombies can heal when they eat corpse)
  • can be tweaked in options

Current/Max HP features:
  • text anchor around health bar (max = zombie health when player hit zombie for first time)
  • visible only on reasonable zoom levels
  • not enabled by default
  • can be tweaked in options

Mod options:
  • there is new "tab" in game options screen which contain mod configuration
  • some configuration is not reflected immediately for zombie which has already health bar in active state
  • changes in configuration are persistent and global (client side only)

Older versions: can be found on github[github.com]

Superb Survivors! compatibility - 02/05/2021
Last update of this mod should be working with Superb Survivors without known issues, and how it works? in Superb Survivors are survivors spawned as AI controlled players so they share all functionality e.g. if survivor is attacking zombie, health bar will show up and you will see damage dealt. Health bar will also appear above survior head when damaged.



Advance Trajectory compatibility
Unfortunately compatibility with Advance Trajectory mod is not possible, this mod rely on events that are triggered on hits and Advance Trajectory mod is setting health values directly (which wont trigger needed events)



Arsenal(26)Gunfighter mod compatibility
Enabling "Debug Confirmation Level" option in the mod options menu will cause damage numbers print out in the chat under "radio" in Multiplayer (figured out by Burylown)


Known issues:
  • B41 - car "hits" are not shown (11/25/2020 - currently there is no lua even on vehicle hit, so this goes on hold for now)

Future plans:
  • Mod is currently considered as feature complete

Tested on SP-B40.43 | SP-B41.78 | MP-B41.78

Multiplayer support
  • B40 - not supported
  • B41.78 - working (06/23/2023)

Tags: B40,B41,B42,Combat

Workshop ID: 2286124931
Mod ID: CombatText
Popular Discussions View All (10)
11
Mar 23 @ 5:06pm
Not Working in Build 42.
ValerieThePalerie
40
Aug 11 @ 9:37am
PINNED: Bugs
Rezistor
10
Jan 12 @ 8:08am
Translation
Mesosolatum
374 Comments
steep Aug 11 @ 9:36am 
Latest version B42: minor problems (when hitting an enemy with a melee weapon, if you push him, he restores HP (+ ** and also at the bar level * Green * l)
And also the progress was visible even in new places where I have not been and have not seen zombies.
FEEÐBACK Jul 29 @ 11:45am 
Latest version of the B42: minor issues (when you hit an enemy with a melee weapon, if you push him, he regains HP (+ ** as well as at the bar leve * Green * l)
leooogoat17 Jul 8 @ 10:02pm 
does it work on build 42?
Salder May 21 @ 1:26am 
Re sirve 10/10:steamthumbsup:
Flexible Games Apr 24 @ 2:14pm 
I love this mod, bless your heart for all the work it took to make it.
Vampirenostra Apr 19 @ 3:41pm 
All works as a charm after your last fix. Thanx man!
FreakyFerret Apr 19 @ 10:06am 
It may be a mod making the zombies super strong. I don't have the issue. Was using your mod in existing game. Checked there. Also started a new game.

Zombie health is the same as before.
Vampirenostra Apr 19 @ 7:07am 
@Rezistor yes it happens on any save, just start the game, hit a zed and its there
SuperSiggii Apr 18 @ 2:04pm 
Does not work. Mod creates bugs at server
:steamthumbsdown:
Rezistor  [author] Apr 18 @ 11:41am 
Hey @Vampirenostra, does it happen also on fresh save? do you have any more details which can help replicate that error? Thanks