Garry's Mod

Garry's Mod

ATP's NPC Cover System
Showing 1-10 of 15 entries
< 1  2 >
Update: 18 Jul @ 12:07pm

ninth update

improvements & bugfixes
fixed attempt to call method 'HasAmmo' (a nil value)
improved the way player can attack is defined
forgot to mention this in eight update: npcs manning turrets are no longer affected by the mod

animations
should be less janky now

better cover logic
npcs should move across the map better (spreading out)
fixed good cover being invalidated (????)

config
increased default value for max cover spots (15 -> 30)
increased max max cover spots value (50 -> 150)

Update: 17 Jul @ 4:08pm

eight update

bugfixes
fixed some bugs left in earlier versions
fixed walking instead of running when in combat

player support
npcs now take cover from players! also updated description cuz of this

better animation accuracy
self explanatory, also includes better custom weapon support + better vj base support
cowering now has more accurate animations

improved cover logic
revamped the way cover quality is decided, and made it so that cover is invalidated if ANY of the npc's known enemies can see it
ALL prop cover positions are inserted into the main cover scanning function, unlike before, where it would add only the best one (npcs have more options for cover in regards to props)

better suppression
it's now based off damage the bullet would deal, 1tap weapons will immediately scare the shit out of npcs

removed some settings
self explanatory, i believe some settings were useless to be able to configure

Update: 31 Jul, 2024 @ 3:36am

Update: 31 Jul, 2024 @ 3:32am

seventh update

bugfixes
that's it, just various bugfixes

Update: 27 Jul, 2024 @ 9:16pm

apparently the bugfix wasnt bugfixed

Update: 26 Jul, 2024 @ 2:47pm

how do i always miss these bugs bro

Update: 26 Jul, 2024 @ 2:27pm

sixth update

animations
made animations have variety, when the npc isnt very suppressed, it will use a crouching animation that raises the weapon aswell and that is relatively fast to switch to/from, it also isnt "cowering" so they can shoot from this pose, unlike when they're more heavily suppressed

optimization
what else can i add here

additions
crouch-shooting has been added, amazing am i right
also, npc sight distance has been increased, and they now get the long range spawnflags, meaning they should engage from farther distances

bugfixes
fixed attempt to compare number with userdata

Update: 19 Jul, 2024 @ 3:36pm

oops bug fix

Update: 19 Jul, 2024 @ 3:25pm

fifth update

options in the spawn menu
yes, we finally have options in the spawn menu, probably the most sought after addition aside from this mod actually working well

animations
fixed most of the animations looking goofy, now combine have them too, of course, with their own goof (aka not properly raising the weapon to shoot), but nonetheless its better than none, and for rebels, they have proper animations now

tweaks
how suppressed the npc is affects both chances of cowering AND the duration of the cooldown, the more suppressed, the lower the cooldown, have fun keeping them in cover

conflicts
applied possible fix for conflicts with the npc suppression mod, however idk if it works cuz i havent tested it (im too lazy)

additions
moving whilst shooting, if they dont have the capability already, it is added

Update: 19 Jul, 2024 @ 4:13am

oops pushed dev code by accident