Garry's Mod

Garry's Mod

ATP's NPC Cover System
Showing 11-15 of 15 entries
< 1  >
Update: 19 Jul, 2024 @ 4:12am

fourth update

additions
npcs use prop_dynamic for cover aswell, useful for destructible maps/maps that generate stuff whilst ur in them

Update: 18 Jul, 2024 @ 5:16pm

third update

tweaks
tweaked crouching and the conditions required to do it
dont crouch if you are in a reloading schedule
less cowardice (should jump from cover to cover less)

animations
npcs can now crouch in order to achieve a lower stance, they like doing this in the right circumstances aswell, or if they're pressured

optimization
instead of a think hook, timer as replacement, 2nd timer moderates in case of an error and restarts the first timer (in case theres a silly error that stops the timer)

suppression
npcs can now be suppressed, by shooting near them (cover doesnt matter, they still get scared)
the suppression influences how often they cower, they have a high cooldown, so it shouldnt be spammy (else they wont shoot at all lol)

fixes
prop cover generation now works better, they should use it more often (tweaked the way it chooses the positions)

Update: 15 Jul, 2024 @ 10:10am

second update

tweaks
cover quality tweaks part two

animations
beta sequence changing yay

bugfixes
npcs that cant use weapons wont take cover
fixed attempt to compare number with nil

Update: 14 Jul, 2024 @ 4:29pm

first update

animations
added (lower posture whilst shooting, crouching (ACT_COWER) once we reach our goal, etc)

cover selection
props are used more often as cover now

development failure
checks for all enemies the npc knows of were added, however the performance was terrible so i had to remove them

behavioural changes thanks to valve
ai_goal_standoff spawned into the world automatically, affects all npcs
this changes their behavior, you should observe valve's work with this one, in general better quality of life

Update: 11 Jul, 2024 @ 8:41pm

uploaded the addon