Garry's Mod

Garry's Mod

3,237 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
Jul 25, 2018 @ 4:10pm
Dec 27, 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 Jan 28 @ 12:05pm 
evelyn you dumb bufoon
evelyn Jan 2 @ 2:16pm 
liked! please like mine in return :-D Thanks! :papyruswacky:
https://steamcommunity.com/sharedfiles/filedetails/?id=3382087657
StrawWagen Dec 27, 2024 @ 6:43pm 
:steamhappy:
Dobbi  [author] Dec 27, 2024 @ 6:43pm 
@StrawWagen Should be fixed now, ty for letting me know.
StrawWagen Dec 27, 2024 @ 1:36pm 
Doesn't hide when cl_drawhud is 0
SoulesBreakBlight servrblghtkilr Oct 19, 2024 @ 9:26am 
ah thanks, though i will say the current bar looks better now your doing good
Dobbi  [author] Oct 5, 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 Oct 5, 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 Sep 14, 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 Sep 14, 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