Garry's Mod

Garry's Mod

ATP's NPC Cover System
220 Comments
DOOM 28 Aug @ 3:50pm 
thank you
DOOM 27 Aug @ 7:31pm 
What is the name of the map in the video?
Snekenjoyer6 24 Aug @ 9:00pm 
day 100304543 of asking ATP to include <Insert shitty joke suggestion here> into the mod
ATP  [author] 24 Aug @ 8:01pm 
@Goonqil Muntkus, before the latest major vj base update, npcs used to not do this, i might remove their support until i find a workaround or until vrej fixes the ai
Goonqil Muntkus 23 Aug @ 10:38pm 
This mod conflicts with VJ NPCs. Every time the NPCs get into a fight, if one loses sight of another, they won't search for them to engage in combat as they usually would. They just walk away unless the enemy is in their view again.
ATP  [author] 7 Aug @ 8:02am 
@Gake you can configure the mod to make em throw grenades more often

also, influencing ai in order to act in these stages accordingly while not messing stuff up can be difficult, i looked into custom schedules, but they only seem to be for custom npcs
Gake 6 Aug @ 6:53pm 
I have a couple of AI mods that are probably conflicting, but even with that grenade mod (I got it about a week ago) they still don't throw grenades all that often. Maybe they need stages where something like:

1) Suppressing fire stage where they shoot as often as they can and unload a full clip onto the enemy before considering a new stage.
2) Grenade stage that happens with enemies behind cover or grouped up enemies.
3) Cover stage where they run and gun to cover with allies giving suppressing fire.

Something else to consider would be flash bangs, smoke grenades, and flares, but that would be a lot of work. Idk, I was considering the idea of making a flash bang, smoke grenade, and flare mod personally where both the NPCs and players get the ability to use them... Though I'd need to ask the people behind Arc Stim for Vmanip very nicely to use their code on the player side of things and I'd want to include other things, but I don't really have the time to make it.
ATP  [author] 6 Aug @ 3:52pm 
@Gake add me on steam, i could make some changes and have you test them

about the grenade thing, you should get https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3258385599
allows more npcs to throw grenades, and i suggest fighting enemy rebels, not combine, because the game intentionally nerfs the combine

thanks tho, i worked a lot on the cover selection, i needed a balance between performance and good spots, i think what i made is good enough

you can look at the code in gmpublisher to see how it works exactly

for future updates (which will probably be in a year, ETA july 2026) i was planning on making the npcs cover their teammates if they decide to go somewhere farther than the closest most optimal cover spot

right now their get cover quality is weird aswell, i don't understand how a point near a prop gets automatically invalidated even if they're not stuck anywhere, weird ahh gmod
Gake 5 Aug @ 4:54pm 
It occurred to me that the way this reads makes it seem like I don't think what you made isn't amazing. The amount of correct cover identifications is actually pretty good, I'm just burned by the fact for as good of code as this is it makes the NPCs less difficult to deal with which should counter intuitive since getting an angle on the enemy is better than duking it out until death and it did actually inspire the feeling that I needed to do the same which legit made shootouts way more fun... It's just that disconnect when I finally looked down at my health and realized I'm basically topped off.

So, yeah, this mod massively improves the "feel" of the gunfight, but... They REALLY need to learn how to spray and pray as well as toss grenades in between cover seeking with this mod.
Gake 5 Aug @ 4:47pm 
Anyway of making it so they run and gun? Or grenade out then run while the enemy is panicking? Even a good spray and pray before bolting for the nearest piece of cover would be better- they just take a single shot with their fully automatic machine gun before casually jogging to the nearest signpost right now.
ATP  [author] 5 Aug @ 11:38am 
@gake this gives em anxiety, and they prefer hiding more than actually shooting, i COULD make them more aggressive but idk
Gake 4 Aug @ 6:18pm 
ATP causes NPCs to become significantly less threatening because they're shooting way less often. I find that they shoot maybe once or twice then take a ten second break.
ATP  [author] 1 Aug @ 7:24am 
@biene this mod grants npcs the ability to jump when they need to, however, something for changing movement would require say an npc pathfinding mod, which i am working on, but i believe i'll never finish it
biene 31 Jul @ 11:51pm 
please we need a mod so npcs can scale props and sometimes absolutely fail and die
Petra 24 Jul @ 1:09am 
what
ATP  [author] 24 Jul @ 12:48am 
bloody hell
Petra 24 Jul @ 12:27am 
i told ivor to hack it
ATP  [author] 24 Jul @ 12:23am 
@gazzer i dont overwrite damage, so idk why this happens
Gazzer 23 Jul @ 5:43am 
seems to be incompatible with lynch's npc essentials
npcs cant damage each other when both lynch's npc essentials and your addon is enabled
ATP  [author] 18 Jul @ 10:47pm 
200th comment
matthewwwww 17 Jul @ 4:28pm 
player support omg finally ily
Snekenjoyer6 17 Jul @ 4:23pm 
Huzzah! a new update hath been giventh by our lord!
ATP  [author] 27 Jun @ 3:28pm 
ye
Raccoon 27 Jun @ 6:26am 
Does this work with VJ Base NPCs?
CosmicInterloper 9 May @ 9:15am 
Nvm
CosmicInterloper 9 May @ 9:10am 
What does that mean?
ATP  [author] 9 May @ 7:14am 
@Glass of Lime Soda
suppression does indeed work, just not taking cover

@CosmicInterloper
i c
Glass of Lime Soda 8 May @ 9:48pm 
honestly, it does seem to work against players too.


atleast the suppression system
CosmicInterloper 26 Apr @ 4:06pm 
Yo, I was the dude that "made" the fake mod. I apologize as it was a friends mod but he got banned from workshop uploading because of some weird shit he did so he asked me, all those comments that was posted attacking you was made by him, we have a shared account since we were ex-roommates when the mod was created. I've since then removed the trace of his mod. Anyways, cool mod bro.
дабстеп мытищи 20 Apr @ 1:59pm 
Regarding manhacks, you can configure the 'NPC Grenade Throwing' addon so that metrocops will throw manhacks!
小卡齐娜3095 3 Apr @ 11:40am 
Yep I also experience that they staying stagnant when they stand on the wall behind and not move but not sure is it a bug or something?
leszek 3 Apr @ 10:10am 
could you fix the bug with the medics not healing
ATP  [author] 30 Mar @ 2:13pm 
@Snekenjoyer6 send me a friend request i'll talk to you about it
Snekenjoyer6 30 Mar @ 12:07am 
I know this mod si all about cover and realism and what not but i'm curious, what if it was the opposate? where npcs are constantly moving to far away areas that result in the firefight moving all across the map instead of staying stagnant?
<<Mr. (ant) tenna>> 23 Mar @ 6:27am 
@atp thanks i will
<<Mr. (ant) tenna>> 23 Mar @ 4:05am 
@atp i wish they could use the manhacks when hey hide in cover
ATP  [author] 23 Mar @ 2:14am 
my mod doesn't make metrocops throw manhacks, it makes npcs take cover against each other in combat
<<Mr. (ant) tenna>> 21 Mar @ 11:07pm 
im sorry but the npc_metropolice cant throw their manhacks, hell they dont even use them. can you fix it?
ATP  [author] 17 Mar @ 9:31am 
fr, have fun
Petra 17 Mar @ 8:55am 
yeah ofc because he made a shit mod
ATP  [author] 17 Mar @ 8:53am 
@Sieur Bærnay III he disappointed me, i do not know the guy
Petra 16 Mar @ 6:19pm 
it appears you got into a fight with the person who made the fake mod lmao
Petra 15 Mar @ 1:57pm 
I'VE BEEN FUCKING LOOKING FOR THIS FOR SO FUCKING LONG THANK YOU SO MUCH YOU ARE MY MAN
soggy cereal 11 Mar @ 9:35pm 
avocados
LeoGamesLol 4 Mar @ 3:26pm 
Does this support Inpc?
ATP  [author] 1 Mar @ 4:45am 
@pimped up monkey

doesnt replace any of them so it shouldn't, expect a rewrite of this anyway
pimped up monkey 25 Feb @ 10:07pm 
i think this mod breaks some female rebel and metrocop animations
Edgetard 7 Jan @ 9:16am 
Avocados