Garry's Mod

Garry's Mod

261 ratings
NPCMedkits [Rewritten]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: NPC
Addon Tags: Fun, Realism
File Size
Posted
Updated
5.807 KB
12 Jun, 2019 @ 5:05pm
30 May, 2020 @ 12:59pm
13 Change Notes ( view )

Subscribe to download
NPCMedkits [Rewritten]

Description
Gives NPCs an ability to use Medkits and Health Vials. When there are no enemies around and they are hurt, they will run to the nearest medkit/health vial if they see one.

I have rewritten the addon from scratch, and hopefully now it's much more optimized

Console Commands:
NPCMK_enabled (1/0) (Enable/Disable NPCMedkits)
NPCMK_RunToMedkits (1/0) (Enable/Disable the ability to run to medkits)
NPCMK_MedkitHealth (def. 25) (How much health will NPCs get from a medkit?)
NPCMK_VialHealth (def. 10) (How much health will NPCs get from a health vial?)
NPCMK_HumanoidOnly (def. 0) (Can only humanoid creatures use health?)
NPCMK_UseChargers (def. 0) (Will NPC's use chargers?)



Top priority issues:
Hopefully none

TODO:
Drain chargers when used by NPCs
Finish blacklist feature



My other addons:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1494884021 (NPCDeathmatch)
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1437320777 (Revengeful Citizens)
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1828678843 (Ragdoll Incineration)
Popular Discussions View All (3)
7
25 Jun, 2024 @ 5:31am
Suggestions/Bug Reports here
The G-Man
4
30 May, 2020 @ 8:50pm
nova prospekt antlions using health chargers on the wall
Delta29
0
30 May, 2020 @ 11:55am
PINNED: Suggestions/Bug Reports here #2
The G-Man
60 Comments
nextmorgan 29 May, 2024 @ 5:48am 
oh ok. could you add that then?
The G-Man  [author] 29 May, 2024 @ 5:32am 
No
nextmorgan 29 May, 2024 @ 4:25am 
do npcs use suit battery also?
Random Freedom Stalker 15 Feb, 2024 @ 1:59am 
If only people could make more mods like this, that'd be amazing
5 Feb, 2024 @ 9:05pm 
nice
☀Σλάιβερ Βιρλιαν 15 Nov, 2023 @ 9:00am 
Battery suit?
confusedcombine 18 Sep, 2023 @ 8:24am 
the command that enables it doesnt work
:captainclown:
SomeStupidIdiot 1 Jun, 2023 @ 10:38am 
@confusedcombine you dont need to spawn anything, they use the normal hl2 health kits / health vials
clboom 24 Feb, 2023 @ 9:46pm 
Sometimes i dream about cheeseeeeeeeee....
confusedcombine 24 Nov, 2022 @ 5:37am 
how to spawn it