Garry's Mod

Garry's Mod

3,065 évaluations
NPC Health Bar
4
2
6
4
2
   
Récompenser
Ajouter aux favoris
Favoris
Retirer des favoris
Content Type: Addon
Addon Type: NPC
Addon Tags: Roleplay, Scenic, Realism
Taille du fichier
Publié le
Mis à jour le
5.710 KB
25 juil. 2018 à 16h10
30 aout à 22h00
27 notes de changement ( voir )

S'abonner pour télécharger
NPC Health Bar

Description
Version 2.0 Major Overhaul
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.042
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.

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.
Discussions populaires Tout voir (1)
0
19 févr. à 18h30
make a console command
user
174 commentaires
Dobbi  [créateur] 30 aout à 22h04 
@ビクターゲーマー @SharkWrecked I fixed the oversight, thank you for letting me know.
no funny 29 aout à 4h09 
...
SharkWrecked 28 aout à 11h34 
same problem as last dude, npc name stays even with it off, anyone else have that problem or is it just caused with addons?
ビクターゲーマー 25 aout à 17h27 
For some reason when i type npchp_showfirename 0 and npchp_shownpcname 0 for example, the names are still there despite being turned off. Please fix.
Aquila 25 aout à 16h52 
Alright goodluck
Dobbi  [créateur] 24 aout à 17h31 
@Aquila I was unable to personally reproduce the error posted, but your logs helped in making a possible failsafe in case it happens again.
Дубовая ириска 24 aout à 15h11 
полезный мод
Aquila 24 aout à 12h18 
disabling for now
Aquila 24 aout à 12h16 
it breaks with matrix weapon selector all the time as the second player in a multiplayer session

[NPC Health Bar] lua/autorun/healthbar.lua:73: attempt to index a nil value 1. fn - lua/autorun/healthbar.lua:73 2. unknown - lua/ulib/shared/hook.lua:109
-
[Matrix Weapon Selector] lua/autorun/client/matrixweaponselector.lua:223: Tried to use a NULL entity! 1. GetPrintName - [C]:-1 2. fn - lua/autorun/client/matrixweaponselector.lua:223 3. unknown - lua/ulib/shared/hook.lua:109
Dobbi  [créateur] 19 aout à 13h44 
@Nightmare I pushed out an update that might fix the problem. If it persist, please let me know and provide with logs. Ty for letting me know