Garry's Mod

Garry's Mod

3,305 ratings
NPC Health Bar
4
2
6
4
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: NPC
Addon Tags: Roleplay, Scenic, Realism
File Size
Posted
Updated
8.193 KB
25 Jul, 2018 @ 4:10pm
27 Dec, 2024 @ 6:42pm
31 Change Notes ( view )

Subscribe to download
NPC Health Bar

Description
THANK YOU FOR THE MEGA UPLOAD!
This addon is based off of the Original Health Bar addon made by horner.tj and Yarr
I did NOT make this addon from the ground up, I just modified the original addon.


Current Version: Version 2.21
This add-on is supported.

Me and Zach88889 have an official discord, come join!
https://discord.gg/vwy8fnZvwg


This addon contains some of the features from the previous add-on, and more for my own personal tastes. Let me know if you guys like it or not.

- Health Bar will change colors based off the health of the NPC
- Added ability to tell if the entity is currently on fire


- - Console Commands - -
npchp_showhealthbar (1/0) - Enable/disable entity health bars globally.
npchp_shownpcname (1/0) - Show name over health.
npchp_showfirename (1/0) - Adds icon to indicate if entity is on fire.
npchp_healthtext (0/1) - Show text over the actual bar.
npchp_useold (0/1) - Enables the Health Bar look before the 2.0 Update.

Conflicting Addons:
- Matrix Weapon Selector

If any of the original authors want me to remove this addon from the workshop, I will 100% comply
Also this is the first addon that I've worked on that is not NPC related, so don't hate on me too hard if you don't like it.
188 Comments
Daftrio 28 Jan @ 12:05pm 
evelyn you dumb bufoon
evelyn 2 Jan @ 2:16pm 
StrawWagen 27 Dec, 2024 @ 6:43pm 
:steamhappy:
Dobbi  [author] 27 Dec, 2024 @ 6:43pm 
@StrawWagen Should be fixed now, ty for letting me know.
StrawWagen 27 Dec, 2024 @ 1:36pm 
Doesn't hide when cl_drawhud is 0
SoulesBreakBlight servrblghtkilr 19 Oct, 2024 @ 9:26am 
ah thanks, though i will say the current bar looks better now your doing good
Dobbi  [author] 5 Oct, 2024 @ 4:27pm 
@BuB The error should be fixed. If it persist, let me know the error and how it happened.

@lmtstewart2002 - One of the recent updates allows you to enable the old health bar.
npchp_useold (0/1) - Enables the Health Bar look before the 2.0 Update.
BuB 5 Oct, 2024 @ 9:45am 
[NPC Health Bar] lua/autorun/healthbar.lua:76: attempt to index a nil value
1. NewHealthBar - lua/autorun/healthbar.lua:76
2. v - lua/autorun/healthbar.lua:130
3. unknown - lua/includes/modules/hook.lua:96
SoulesBreakBlight servrblghtkilr 14 Sep, 2024 @ 7:22am 
but if i had to be honest, the old version before the white text or before that, with the black box over the health bar was perfect
SoulesBreakBlight servrblghtkilr 14 Sep, 2024 @ 7:21am 
ah new issue, cant see the numbers when the health is low, so maybe have the numbers be white with black outline? that was its comfortable to look at when their over the bar or when the bar is depleting past them