Garry's Mod

Garry's Mod

ATP's NPC Cover System
 This topic has been pinned, so it's probably important
ATP  [developer] 11 Jul, 2024 @ 9:18pm
FAQ
Q: does this support mod
A: try it for yourself and document the results
A: so far, VJ Base has been marked as semi-supported

Q: will you add thing
A: idk, maybe, is it worth adding??

Q: u should totally make idea
A: if i want to, sure
Last edited by ATP; 11 Jul, 2024 @ 9:35pm
< >
Showing 1-15 of 25 comments
takada.joao 13 Jul, 2024 @ 12:22pm 
you should add crouching, it would make battles feel so much better
Hell Kaiser 14 Jul, 2024 @ 11:24am 
I don't know if it's possible but can you add the cover animations from the beta?
Hell Kaiser 14 Jul, 2024 @ 11:28am 
So basically something like this: https://youtu.be/Q3KtFeI6u9U?feature=shared
ATP  [developer] 14 Jul, 2024 @ 12:31pm 
i will give that a shot in the future, releasing an update very soon which contains the following:
npcs taking into account all enemies they know of (implemented)
taking cover behind props more (wip)
animations (wip but works well enough)
better ai from source engine using an ai_goal_standoff (implemented, works fine)
>Dron44< 15 Jul, 2024 @ 2:27pm 
Originally posted by Hell Kaiser:
So basically something like this: https://youtu.be/Q3KtFeI6u9U?feature=shared

Agree, gonna be wild
ATP  [developer] 15 Jul, 2024 @ 2:34pm 
Originally posted by >Dron44<:
Originally posted by Hell Kaiser:
So basically something like this: https://youtu.be/Q3KtFeI6u9U?feature=shared

Agree, gonna be wild

after an analysis, i came up with the conclusion that it will be something a bit hard to implement
and after implementation, i will need to modify a lot of stuff, which will break support for things and yadda yadda

so unfortunately cant add that, if you have any more examples of better npc ai which i might be able to implement, reply to this with the idea/link
CreepyBlocks 16 Jul, 2024 @ 6:55pm 
So hunters have the capacity to shoot while moving, but only if they are assigned to guard a strider.

An example being the white forest defense segment from episode 2. So would it be feasible to disable the guard strider restriction, and allow the the hunter to fire while on the move.

Either as an update to this addon, or a separate one.
ATP  [developer] 17 Jul, 2024 @ 3:52am 
@creepyblocks
if you know what flag can be changed in order to achieve that i can implement it

i made a function that makes them force shoot a bullet but its just not gonna look great in certain situations

not only that but i also dont have hl2ep2 so i cant test it myself
CreepyBlocks 17 Jul, 2024 @ 6:15am 
When did i say i knew what flag it was. It was just an observation i know from playing.
ATP  [developer] 17 Jul, 2024 @ 9:06am 
@creepyblocks
and when did i say that you do know what flag it is?
i clearly stated a conditional with that big old "IF" there
anyway, the problem might be just from the npc itself deciding to go to the position and not strafe along, and i cant make it guard itself (doesnt do anything) to trigger this behavior more often
ATP  [developer] 19 Jul, 2024 @ 3:27pm 
@creepyblocks
check out the update, maybe it'll work now lol
Industrial_Idiot 21 Jul, 2024 @ 12:34pm 
If i may ask how does the suppression system work?
ATP  [developer] 21 Jul, 2024 @ 7:18pm 
you can check out the code, basically, bullet whizzes by? Npc gets scared, code gives higher tendency to play cower animation ( it has a cooldown cuz eventually they would ♥♥♥♥ themselves and not shoot at all )
ATP  [developer] 21 Jul, 2024 @ 7:19pm 
use gm publisher to view it
ATP  [developer] 23 Jul, 2024 @ 11:09pm 
took a look into it, maybe it IS possible but will require a lot of time to polish so it doesnt ruin the entire npc ai
< >
Showing 1-15 of 25 comments
Per page: 1530 50