Garry's Mod

Garry's Mod

332 ratings
NPC Suppression
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Movie, Roleplay, Realism
File Size
Posted
Updated
6.140 KB
5 May, 2024 @ 2:35am
21 Apr @ 10:39am
7 Change Notes ( view )

Subscribe to download
NPC Suppression

Description
Lets NPC's suppress you while you're in cover.
The visual effect seen in the thumbnail: https://cs2bus.com/sharedfiles/filedetails/?id=2920824143

sv_npc_suppression - 0/1
sv_npc_suppression_range - any number - how far is considered a "cover"
sv_npc_suppression_range_divisions - any number - how often to stop and check visibility with the enemy during the cover check
sv_npc_suppression_ticks_skip - any number - how many ticks to skip. the higher - slower reaction time, but more performance
sv_npc_suppression_sync - in case the npc list gets desynced from reality
26 Comments
The Party Man 11 May, 2024 @ 3:33pm 
ok thanks for letting me know
certainly and boldly black  [author] 11 May, 2024 @ 2:54am 
it affects every npc that can attack at all
The Party Man 10 May, 2024 @ 8:52pm 
anyways its a cool mod keep it up :steamhappy:
The Party Man 10 May, 2024 @ 8:50pm 
does this only affect the half life 2 npcs or does it also affect nextbots (vj base, drgbase, ect.)?
... 9 May, 2024 @ 7:31am 
@relaxtakenotes Can't wait for that!
certainly and boldly black  [author] 9 May, 2024 @ 5:14am 
just map walls for now. i am planning to do something with props though
swei_la98 9 May, 2024 @ 5:12am 
does it work if you hide behind walls in the map or just props?
EliteDoughSmasher 8 May, 2024 @ 11:20am 
Oh Okay
certainly and boldly black  [author] 8 May, 2024 @ 11:16am 
@I <3 SCIENCE
social guarantee might have the best maps in terms of being fun in the entirety of the workshop

@EliteDoughSmasher
he does know where you are, as soon as the game registers you as his enemy. if you come close enough to the cover, he will shoot you, if you go far enough, he'll stop and do the necessary steps (reach you, retreat, whatever the npc thinks will work the best at the moment). if i just made the npc treat the last seen player position as shootable, it would shoot there indefinitely, which is kind of a problem.
EliteDoughSmasher 8 May, 2024 @ 11:10am 
Is it like the enemy Just shoots around the area you we're last seen cause he doesn't know where you are?