Garry's Mod

Garry's Mod

NPCMedkits [Rewritten]
60 kommentarer
nextmorgan 29. maj 2024 kl. 5:48 
oh ok. could you add that then?
The G-Man  [ophavsmand] 29. maj 2024 kl. 5:32 
No
nextmorgan 29. maj 2024 kl. 4:25 
do npcs use suit battery also?
Random Freedom Stalker 15. feb. 2024 kl. 1:59 
If only people could make more mods like this, that'd be amazing
5. feb. 2024 kl. 21:05 
nice
☀Σλάιβερ Βιρλιαν 15. nov. 2023 kl. 9:00 
Battery suit?
confusedcombine 18. sep. 2023 kl. 8:24 
the command that enables it doesnt work
:captainclown:
SomeStupidIdiot 1. juni 2023 kl. 10:38 
@confusedcombine you dont need to spawn anything, they use the normal hl2 health kits / health vials
clboom 24. feb. 2023 kl. 21:46 
Sometimes i dream about cheeseeeeeeeee....
confusedcombine 24. nov. 2022 kl. 5:37 
how to spawn it
Watch 10. nov. 2022 kl. 1:01 
finally time to die in half life 2 in follow freeman WITHOUT ANY MEDICS
ʞritzo 11. sep. 2022 kl. 0:56 
now that the NPC actually properly use the medkits like players, NOW THEY NEED TO USE THE ARMOR CHIPS AND CHARGERS LIKE THE PLAYER DOES
Заморил деда 26. aug. 2022 kl. 2:00 
yes it does work
The G-Man  [ophavsmand] 23. aug. 2022 kl. 14:22 
The command for enabling chargers is "NPCMK_UseChargers 1", but honestly, I'm not sure if this mod even works anymore
Shadow 21. aug. 2022 kl. 16:02 
do they really use the health chargers? they only seem to run onto medkits only, is there a config on something to make it work?
Black Hat 20. aug. 2022 kl. 20:39 
does this include overwatch soldiers?
The G-Man  [ophavsmand] 25. feb. 2021 kl. 5:57 
PS. Your English is very nice
The G-Man  [ophavsmand] 25. feb. 2021 kl. 5:49 
The blacklist for npcs was on the todo list for a while, yeah. I will attempt to address your issues in the next update. The next update won't be very soon as i'm somewhat busy currently, but i'll try to do it within the next few months. Thanks for your feedback!
Mr Garfias 24. feb. 2021 kl. 21:40 
I hope you understand me, excuse my English, I still don't speak the language very well

P.S. It would be great if I added a list of the npcs that cannot be cured.
I say this because it is somewhat stupid and annoying that in, for example, zombie maps, when killing someone who was a doctor (Saber-aN's Headcrab Zombie Mod)
and this threw up a healtvial, immediately another zombie passing for healing.
I would like you to add a list or restriction of each npc and that it can be cured or not
since the system that only humans heal, leaves aside the combine and I want them to be able to heal, but not zombies or antlions.
Mr Garfias 24. feb. 2021 kl. 21:40 
Finally 3: and it is the fact that I want them to desperately run for some item of healing every time they get injured, leaving whatever they are doing to save their life, for example in battles or while chasing some npc or player.
Unfortunately, the npcs do not react to anything like the healtvidal or medkit until they are idle.
In the case of the loader, it completes the function that I mentioned before (leave what they are doing to recover) but as I mentioned in point 1, sometimes they just don't.
Mr Garfias 24. feb. 2021 kl. 21:40 
2: Sometimes the npcs don't take the medkits and they also don't recover with the health chargers.
This mainly happens when I have put a lot of npcs.
It is somewhat annoying that they, being very injured and having an item such as a healtvial or being near a charger
they don't use it.
Mr Garfias 24. feb. 2021 kl. 21:39 
1: The Lag
I have to admit that it is much lighter and better optimized than the 2019 version, but it does make the game a bit slow at times.
Mr Garfias 24. feb. 2021 kl. 21:39 
Well ... I find three main problems.
The G-Man  [ophavsmand] 24. feb. 2021 kl. 7:05 
Can you describe your issues in more detail?
Mr Garfias 23. feb. 2021 kl. 17:48 
I really like this addon, but it still has some issues, for example that sometimes the npcs just don't want to grab the medkit despite being injured and I wish they would run for the medkit while fighting, and they don't :(
Please upgrade this addon gem, the concept is great :)
The G-Man  [ophavsmand] 30. maj 2020 kl. 11:54 
Hello everyone! I have rewritten the entire addon, so the bugs that existed, shouldn't anymore. Also optimization should be much better.
Потужнiй 18. apr. 2020 kl. 6:28 
npcs can't pick up medkit
The G-Man  [ophavsmand] 1. mar. 2020 kl. 13:33 
Sure just give credit
Delycan 28. feb. 2020 kl. 23:04 
I want to make food supplies for noc survivors to seek out and eat
The G-Man  [ophavsmand] 28. feb. 2020 kl. 6:03 
Depends
Delycan 27. feb. 2020 kl. 18:44 
Can i make an edit of this?
The G-Man  [ophavsmand] 21. nov. 2019 kl. 5:13 
I tried fixing it, but it seems i will have to do it later when i have more free time, sorry.
Farbott 3. nov. 2019 kl. 11:35 
I found out what causes the problem! They try to continue fighting and use a medkit/health charger at the same time, probably causing the game to flood with two actions at once and bash the game with too much for it to chew at once.
Farbott 14. okt. 2019 kl. 11:27 
I have no NPC ai changing addons, i was using default citizens/combine/zombies, it does not lag when they are injured, but it does when they are injured during a fight and trying to take a medkit. As long as they dont fight and try to heal, no lag happens.
The G-Man  [ophavsmand] 14. okt. 2019 kl. 10:56 
Apparently my addon passively takes like 40 FPS when someone is injured... thats pretty bad.
The G-Man  [ophavsmand] 14. okt. 2019 kl. 10:53 
I just checked and it seems to lag everytime someone gets shot (doesnt lag with the addon disabled). I will try to fix it.
The G-Man  [ophavsmand] 14. okt. 2019 kl. 10:46 
And does it lag while someone is injured, or does it lag everytime someone loses a bit of their health?
The G-Man  [ophavsmand] 14. okt. 2019 kl. 10:44 
Also what NPC's you were using and do you have any addons that may affect their AI?
The G-Man  [ophavsmand] 14. okt. 2019 kl. 10:32 
Does the lagging stop with the NPCMK_enabled 0? I will look into it
Farbott 4. okt. 2019 kl. 18:31 
I seem to have run into a problem though, on NPC_Lockdown, any time one gets injured in a firefight my game lags to hell until the fight stops. Is this due to them constantly looking for medkits and stations?
Farbott 4. okt. 2019 kl. 17:24 
I looked so long for this mod but i was typing the name in reversed!
Drunk Headcrab 25. aug. 2019 kl. 12:04 
Good work so far! I hope the blacklist feature comes soon (but do take your time).
The G-Man  [ophavsmand] 21. juli 2019 kl. 14:29 
Thanks guys
S. HITMAN 17. juni 2019 kl. 20:40 
an actual coder on the gmod workshop, getting praise. I'm so proud of this community
Cheezbrgr 16. juni 2019 kl. 23:10 
This is amazing.
Every single NPC can get medkits.
Tyranty 16. juni 2019 kl. 10:50 
You are holy...HOLY CHEESUS
Zach88889 14. juni 2019 kl. 19:10 
Probably could make a table with all the classnames that you want to have pick up the medkits and then have a check for if the NPC's class is one of those in the table and the ones that aren't can't pick up medkits.
The G-Man  [ophavsmand] 14. juni 2019 kl. 12:08 
Perhaps I could add a blacklist. Though I'm going away tomorrow for some time and won't be able to support the mod for that while. I'll do something when I come back
Drunk Headcrab 13. juni 2019 kl. 17:58 
Although technically not a bug, any NPC can take a medkit. This leads to silly stuff like zombies going for medkits. Can the system you use differentiate between different npc classes? Because I'd really like some sort of option to restrict medkits to citizens and combine soldiers.
The G-Man  [ophavsmand] 13. juni 2019 kl. 17:50 
Addon turned out to be very buggy, so please report any bugs you come across. Thanks.