Create an account

Combat Text (B40+B41)  

Upload: 12 Aug 2022, 12:53
Created by: Rezistor [X]
Uploaded by: Aqxaro
Combat Text (B40+B41)

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

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.


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:

  • Player healthbar - when player received damage (on hold - will be created as separeted mod due player oriented complexity)
  • attach zombie health accuracy to medical skill, or create custom skill (idea by BeyondLucky)
  • improve performance (12/27/2020 - done - 350+ zombies with healthbars and burning are working without significant FPS drop)

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

Multiplayer support

  • B40 - not supported
  • B41.71 - working (07/24/2022)
Comments
The minimum comment length is 10 characters.