Garry's Mod

Garry's Mod

Simple NPC Revival System
54 Comments
GregTheIdiot 6 Jul @ 2:18am 
oh my god it works with dismemberment mods by not reviving mutilated corpses I love it
TapeWorm 30 Dec, 2024 @ 11:49pm 
bt either way this is great
!
TapeWorm 30 Dec, 2024 @ 11:48pm 
theres another mod that does both
san juanito  [author] 15 Dec, 2024 @ 10:18am 
@goon It does not as I only intended it to work with NPCs. More specifically Combine NPCs
TapeWorm 15 Dec, 2024 @ 9:38am 
does it work with players?
Bananaqthccjj 3 Dec, 2024 @ 12:46pm 
Can the mod revive VJ Base Npcs?
san juanito  [author] 15 Nov, 2024 @ 10:03am 
@bendyisthebest2010 no, there’s specific white lists to prevent this from running with every single npc.
bendyisthebest2010 19 Oct, 2024 @ 9:25pm 
cant this just respawn any npc? im just asking as a question
Resignation Spongebob 5 Oct, 2024 @ 2:20pm 
and citizens
Resignation Spongebob 5 Oct, 2024 @ 2:20pm 
update this by reving the player by rebels/medics
san juanito  [author] 30 Aug, 2024 @ 4:18pm 
@gm_Redlerman16 alright I added a potential fix but do let me know how that goes
gm_Redlerman16 30 Aug, 2024 @ 9:34am 
found this error, fix?

[Simple NPC Revival System] lua/autorun/server/sv_pickmeup.lua:225: Tried to use a NULL entity!
1. GetSkin - [C]:-1
2. unknown - lua/autorun/server/sv_pickmeup.lua:225
robgabv 12 Aug, 2024 @ 12:00pm 
whats the key
san juanito  [author] 10 Aug, 2024 @ 8:36pm 
@Snekenjoyer6 I like those suggestions thanks! I'll be working on this addon sooner after i finish with my vox mod
Snekenjoyer6 10 Aug, 2024 @ 6:48pm 
Ok i do have a suggestion, maybe add a period of time where an npc CANT be revived, so that npcs arent constantly stopping to run and revive an ally

(Also would it be possible to add something like a chance system? like whenever there's a dead ally, an npc would have a Chance to either ignore them or try to revive, with medic npcs having a higher chance)
ajchamber 9 Aug, 2024 @ 1:01am 
anyway great mod
ajchamber 9 Aug, 2024 @ 1:01am 
Warning @tatumflame2011 no one freakin cares(but BrockKids1 cares for you)
BrockKids1 5 Aug, 2024 @ 6:40am 
Warning @tatumflame2011 no one freakin cares
water 5 Aug, 2024 @ 6:25am 
with the player revival thing... you can just get a defib mod (theres one that even doubles the hp of the revived npc)
seabazian 5 Aug, 2024 @ 3:42am 
now you have a reason to kill all of them
Quik 5 Aug, 2024 @ 2:50am 
now the medic npcs can now do there jobs, HOORAY!!
Epiccoolman 5 Aug, 2024 @ 1:54am 
tatumflame face the truth (no one cares)
tatumflame2011 5 Aug, 2024 @ 12:35am 
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 u copy and paste this to ten comments in the next ten minutes u will have the best of your life.
san juanito  [author] 4 Aug, 2024 @ 8:57pm 
@Jason I absolutely agree, however, I did end up adding the gib feature, since in the long run it made more sense realistically lol
.json 4 Aug, 2024 @ 8:16pm 
with the tech the combine have, you'd think they would have something to bring someone back to life
san juanito  [author] 4 Aug, 2024 @ 6:42pm 
@Dog not currently, but I was thinking of adding a system where players could revive NPCs and vice-versa.
I STAPLE TAPEWORMS ON MY 4 Aug, 2024 @ 6:38pm 
are players able to do this
Limakenori 4 Aug, 2024 @ 12:02am 
Glad to hear it! And alright, I'm looking forward!
san juanito  [author] 3 Aug, 2024 @ 11:47pm 
@Limakenori also shoutout to you lol, your stuff was definitely an inspiration when I first got into the Garry’s Mod LUA API lol
san juanito  [author] 3 Aug, 2024 @ 11:45pm 
@Limakenori in regards to missing limbs, i will probably pull some of that bone magic in the near future (with testing ofc) to check for injuries and etcetera. Currently, ragdolls don’t have any information attached to them, as the reviving works off a simple Boolean value. I’ll work on making this system more comprehensive but this was mainly a sketch add-on
Limakenori 3 Aug, 2024 @ 10:28pm 
About that missing limbs, you can make soldiers check if all ragdolls manipulate bones scale is normal(Vector( 1, 1, 1 )).
Also, not sure if it's added. But what about making soldiers unable to revive the same soldier multiple times? Like body becoming so injured, so it can't be revived.
Vance 3 Aug, 2024 @ 9:00pm 
Very simple mod yet changing a small battle into a bigger one with one addon.
Very well done!
stew 3 Aug, 2024 @ 1:18pm 
please no
Sabitsuki 2 Aug, 2024 @ 8:56pm 
zander needs to be on an electric chair
san juanito  [author] 2 Aug, 2024 @ 8:31pm 
@Jaid yeah... This mod was primarily designed for ragdolls that... stay in tact lol
but just pretend they all have magical syringes that when applied they grow back their limbs like a lizard
Jaid 2 Aug, 2024 @ 8:23pm 
The combine soldier casually picking his squad mate back up despite them missing their head, arms, legs, and are on fire.
Lord of Puzzles 2 Aug, 2024 @ 1:27pm 
WARNING! Carry on reading! Or you will die, I have severe brain damage.
Person Guy 2 Aug, 2024 @ 8:04am 
Zander stfu
ЛетающийХлеб 2 Aug, 2024 @ 7:24am 
давно ждал такого мода автору респект и уважуха :gordon:
GZAntiair 1 Aug, 2024 @ 7:08pm 
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 u copy and paste this to ten comments in the next ten minutes u will have the best of your life
san juanito  [author] 31 Jul, 2024 @ 2:55pm 
@Daenthio I have no idea who works on Dynamic Rebels anymore, or if it's even maintained, but this mod works with a majority of other rebel replacements. So I have no clue why it wouldn't work for a mod like that. I will try sooner but until then I will just mark it as incompatible
san juanito  [author] 31 Jul, 2024 @ 2:34pm 
@Daenthio I've tried it with multiple other addons that have rebel replacements and for some reason Dynamic Rebels is the only one causing a major issue, I will look into that and see what I can do
Daenthio 31 Jul, 2024 @ 1:56pm 
I have the "Dynamic Rebels" addon, and upon one trying to revive a fellow rebel, an error appeared. It then tried to (I think) add more rebels in that place, but it just popped up as a red error. [PickMeUp] Added npc_citizen
[PickMeUp] Added npc_citizen
[PickMeUp] Added npc_citizen
[PickMeUp] Added npc_citizen
san juanito  [author] 31 Jul, 2024 @ 1:25pm 
@Brendan Makes that's wild
Adrian 31 Jul, 2024 @ 12:08pm 
or at least when it got on the front page
Adrian 31 Jul, 2024 @ 12:08pm 
you wannna know a coincidence

i literally searched this up 5 minutes before this came out
san juanito  [author] 31 Jul, 2024 @ 8:25am 
@BrockKids1 once I learn how to do animation and all that I will lol, promise :steamsad:
san juanito  [author] 31 Jul, 2024 @ 8:24am 
@Specneo I think I fixed it, it's updating now
Specneo 31 Jul, 2024 @ 8:11am 
"[Simple NPC Revival System] lua/autorun/server/sv_pickmeup.lua:173: Tried to use a NULL entity!
1. GetPos - [C]:-1
2. v - lua/autorun/server/sv_pickmeup.lua:173
3. unknown - lua/includes/modules/hook.lua:96" Got this error when removing.
BrockKids1 31 Jul, 2024 @ 7:31am 
Next update give them an animation of patching their teammate up