Garry's Mod

Garry's Mod

Enemy Healthbars - Call of Duty Modern Warfare Zombies Inspired
114 Comments
lunsine 25 Nov, 2024 @ 8:44am 
Froze you know how I can change what name pops up on the healthbar? For example i want to change Combine Soldier to something like PMC, how can I do that?
Froze  [author] 23 Nov, 2024 @ 7:44am 
also it's one singular addon (not addons) that can be seen as a better alternative.
Froze  [author] 23 Nov, 2024 @ 7:40am 
because it wont ever appear again after it's been clicked
that other addon is also an improvement over this in some ways
xz_zombies3625mk23oly_zx 23 Nov, 2024 @ 7:19am 
why did you think it was a good idea to advertise your other addons as a overlay that prevents doing anything other than opening the workshop? super invasive
Zhu_YB[CN] 19 Nov, 2024 @ 2:09am 
okay I see,thank u~:steamthumbsup:
Froze  [author] 19 Nov, 2024 @ 1:28am 
it's not a blood effect but armor plate hit effect from armored npc combines
Zhu_YB[CN] 19 Nov, 2024 @ 1:13am 
may u tell me what that blood effect,thx very much😘
Froze  [author] 18 Nov, 2024 @ 10:26pm 
Froze  [author] 9 Nov, 2024 @ 11:16pm 
awesome to hear
i'm somewhat more active on this addon recently because of my newfound interest in nzombies rezurrection so if u have any suggestions or other bug reports, just write them down.
Loonicity 9 Nov, 2024 @ 10:38pm 
it works now, thank you thank you.
Froze  [author] 9 Nov, 2024 @ 10:01pm 
should be fixed
Froze  [author] 9 Nov, 2024 @ 9:45pm 
fix soon
Loonicity 9 Nov, 2024 @ 8:19pm 
it's still console spamming on servers

[Enemy Healthbars - Call of Duty Modern Warfare Zombies Inspired] lua/autorun/froze_modern_ehb.lua:271: attempt to index a nil value
1. unknown - lua/autorun/froze_modern_ehb.lua:271
Froze  [author] 8 Nov, 2024 @ 5:26pm 
fixed
Froze  [author] 8 Nov, 2024 @ 5:18pm 
forgot to upload the fix
fix will be uploaded soon
Akumo The Devil Spider 8 Nov, 2024 @ 8:06am 
My friend is subscribed to this add-on and whenever I join his server, I get console error spam that comes from this add-on, making it look like this add-on conflicts with everything, including the base game itself. We both use Add-On Share.

[ERROR] lua/autorun/froze_modern_ehb.lua:279: attempt to index a nil value
1. v - lua/autorun/froze_modern_ehb.lua:279
2. unknown - lua/includes/modules/hook.lua:96
Hanzer Dragon 2 Nov, 2024 @ 1:08pm 
yes, i wanted to die, i shall stop reading mid-sentence.
Cubert23 19 Oct, 2024 @ 1:29pm 
WARNING! Carry on reading! Or you will die, even if you only looked at the word warning! Once there was a little girl called Clarissa, she was ten-years-old and she lived in a mental hospital, because she killed her mom and her dad. She got so bad she went to kill all the staff in the hospital so the More- government decided that best idea was to get rid of her so they set up a special room to kill her, as humane as possible but it went wrong the machine they were using went wrong. And she sat there in agony for hours until she died. Now every week on the day of her death she returns to the person that reads this letter, on a monday night at 12:00a.m. She creeps into your room and kills you slowly, by cutting you and watching you bleed to death. Now send this to ten other profiles on this one site, and she will haunt someone else who doesn't. This isn't fake. apparently, if you copy and paste this to ten comments in the next ten minutes you will have the best of your
Froze  [author] 26 Sep, 2024 @ 12:40am 
hmm i already have a stream of me playing nzombies rezurrection on a local server just fine with the addon
i guess if i'm up to it i'd try learning how to host a dedicated server but i dunno depends on my laziness
https://www.youtube.com/watch?v=xLq9RBCxZaY&t=60s
KingViper115 25 Sep, 2024 @ 10:01pm 
hey , for some reason your addon isn't really working on dedicated server , im tryna use it on my nZombie gamemode but no matter how many times i've uninstalled and reinstalled and cleaned files from any potential conflict it just wont work , any idea?
Froze  [author] 14 Sep, 2024 @ 8:00am 
npcs and nextbots atm
GeNeRaL 14 Sep, 2024 @ 7:01am 
does it work on players? Or only at the NPC?
Froze  [author] 10 Sep, 2024 @ 3:06am 
might do it sure
HeyItsJaydon 10 Sep, 2024 @ 3:01am 
this might be a little dumb but i remember you had this dota 2 addon that did the same thing and also displayed for players, i was wondering if you could make this one do that too (its fine if you cant or dont want to, im just kinda curious)
Froze  [author] 8 Sep, 2024 @ 1:33am 
awesome thanks for the info
will try using it next update
Zippy 8 Sep, 2024 @ 1:06am 
Really well made my man. Although it seems to name NPCs a bit inaccurately... You can use "hook.Run("GetDeathNoticeEntityName", ent)" serverside to retrieve the most accurate name. I noticed that NPCs of the same class might steal each others names... My manhacks are now called "[ANP] Splitter" :(
Wavy 6 Sep, 2024 @ 4:02pm 
hi also nzr dev here, i whipped up a couple lines to make a convar that detects if the enemy is a boss in nzombies, so it only renders the healthbar if its a boss zombie. if you want you can add me on discord or something else and i can send it to you
EatSumCrow 6 Sep, 2024 @ 3:57pm 
thank you for fixing them :steamthumbsup:
Froze  [author] 6 Sep, 2024 @ 8:06am 
yo that's crazy an nzr dev
love the fire guy btw
Owlie 6 Sep, 2024 @ 8:00am 
I just want to say as one of the nZR developers this is really cool, seeing the names of the zombies within the code has been very comedic and may have just created an incentive to keep the names going since the last few ports (Mimic, Disciple, v20 enemies) have been lacking code names.
Froze  [author] 6 Sep, 2024 @ 4:43am 
nzombies zombie health only showing grey's been fixed, not a sophisticated fix though, but it works

and nzombie zombie names will show up as their printnames, apparently the developers of the zombies have some quirky names for some of them
Froze  [author] 5 Sep, 2024 @ 11:55pm 
a week's passed and now the workshop has featured new front page addons
thank you for everyone that's left positive comments :steamthumbsup:
Froze  [author] 5 Sep, 2024 @ 11:06pm 
hmm i'll try running nzombies rezurrection again
last time it just spammed errors on my console over and over again
EatSumCrow 5 Sep, 2024 @ 9:20pm 
The problem with nZombies rezzurection is that the health is grey and does not display the name
ᗷYᒪᗰEᑎI 4 Sep, 2024 @ 4:01pm 
Z Z Z Z.O.V Гойда
Joyous 4 Sep, 2024 @ 1:33pm 
gayest game ever
HereTic 4 Sep, 2024 @ 12:15am 
The light effects(?) everytime damage is dealt is distracting IMO
Tyrannical T.C 3 Sep, 2024 @ 11:43am 
Feels more Warframe inspired imo. cuz of the purple overshields bar... Thats a win in my book.
EatSumCrow 3 Sep, 2024 @ 11:22am 
Did you get it to work with nZombies yet?
GoodFishMan 2 Sep, 2024 @ 7:28am 
okay now this is pog
Froze  [author] 2 Sep, 2024 @ 6:28am 
no your insight is what i'm going to try out next time
im going to test out ignoreplayers 1 on local server and singleplayer
.kkrill 2 Sep, 2024 @ 6:26am 
@Froze run my code. It works perfectly fine for me.
Btw, what npcs are you using for testing? Some npcs like antlion guard seem to either have i-frames or they stop networking their hp during some actions (like during its stagger animation)
Froze  [author] 2 Sep, 2024 @ 6:17am 
actually no, since 2022 i've had ent:Health() broken for me in singleplayer
hope you're not just saying things to win an internet argument
Froze  [author] 2 Sep, 2024 @ 6:14am 
will try it out again
mind you i've had this problem for 16 months
i hope you are correct about the ai_ignoreplayers thing
i've tested this over and over again and so far it only works on local servers for me
.kkrill 2 Sep, 2024 @ 5:58am 
@Froze works perfectly fine for me
lua_run_cl hook.Add( "HUDPaint", "AAAAAAA", function() draw.SimpleText( LocalPlayer():GetEyeTrace().Entity:Health() ) end)
Though it appears that health doesnt get networked when ai_ignoreplayers is 1 (to verify: is it the same in mp and is it the same with ai_disabled 1)
Froze  [author] 2 Sep, 2024 @ 5:46am 
just make a healthbar addon yourself with clientside ent:Health() and ent:GetMaxHealth(), shoot the npcs and the healthbar won't update in real time.
.kkrill 2 Sep, 2024 @ 5:22am 
@Froze is it? It seems to work perfectly fine for me both in sp and on local server
lua_run_cl print( LocalPlayer():GetEyeTrace().Entity:Health() )
Froze  [author] 2 Sep, 2024 @ 5:04am 
ent:Health() and ent:GetMaxHealth() is broken in singleplayer
.kkrill 2 Sep, 2024 @ 3:57am 
why is this addon using nwvars to network health when its already automatically networked by source? Both ent:Health() and ent:GetMaxHealth() are available on client
Froze  [author] 1 Sep, 2024 @ 6:10pm 
i already checked the addon with no other addon loaded and there's no error like that
when did this error occur?