Garry's Mod
3,065 lượt đánh giá
NPC Health Bar
4
2
6
4
2
   
Giải thưởng
Yêu thích
Đã yêu thích
Bỏ thích
Content Type: Addon
Addon Type: NPC
Addon Tags: Roleplay, Scenic, Realism
Kích cỡ file
Đã đăng
Đã cập nhật
5.710 KB
25 Thg07, 2018 @ 4:10pm
30 Thg08 @ 10:00pm
27 ghi chú thay đổi ( xem )

Đăng ký để tải xuống
NPC Health Bar

Mô tả
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.
Thảo luận nổi bật Xem tất cả (1)
0
19 Thg02 @ 6:30pm
make a console command
user
174 bình luận
Dobbi  [tác giả] 30 Thg08 @ 10:04pm 
@ビクターゲーマー @SharkWrecked I fixed the oversight, thank you for letting me know.
no funny 29 Thg08 @ 4:09am 
...
SharkWrecked 28 Thg08 @ 11:34am 
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 Thg08 @ 5:27pm 
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 Thg08 @ 4:52pm 
Alright goodluck
Dobbi  [tác giả] 24 Thg08 @ 5:31pm 
@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 Thg08 @ 3:11pm 
полезный мод
Aquila 24 Thg08 @ 12:18pm 
disabling for now
Aquila 24 Thg08 @ 12:16pm 
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  [tác giả] 19 Thg08 @ 1:44pm 
@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