Garry's Mod

Garry's Mod

Sninctbur's Artificial Intelligence Improvements
 This topic has been pinned, so it's probably important
GaussTheWizard  [developer] Jun 1, 2018 @ 1:37pm
Bug Report-a-thon
Many bug reports are being sent out, and that's great. However, due to the influx of comments, I would recommend posting them here instead, both to reduce clutter and prevent the reports from getting buried so I can respond more easily.

Also, keep in mind that "it breaks the game" is not a good bug report. The more specific you are in the report, the more easily I can fix your issue.
Last edited by GaussTheWizard; Jun 1, 2018 @ 1:39pm
< >
Showing 1-15 of 98 comments
espacito Jun 1, 2018 @ 3:30pm 
So when i try to get my npcs to pathfind around a map they just stop every 1 foot or so and go back to where they were and try a diffrent direction, the tinest props mess up there pathfinding aswell.
GaussTheWizard  [developer] Jun 1, 2018 @ 3:40pm 
I'll see if I can address problems with random patrolling in the next version.
thesteakguy120 Jun 1, 2018 @ 4:16pm 
well on a map I play on they just stumble around not really doing any thing
ileryon Jun 1, 2018 @ 4:37pm 
Originally posted by thesteakguy120:
well on a map I play on they just stumble around not really doing any thing

maybe that map has no AI nodes.
thesteakguy120 Jun 1, 2018 @ 7:14pm 
okay
thesteakguy120 Jun 1, 2018 @ 7:14pm 
so now they either go for a few steps than changes direction or they just dont do anything
C0ZYNAK Jun 2, 2018 @ 1:35am 
Can you make better patrolling, because it's looking very bad. NPS's turn very sharply and go zigzagging. I don't know, maybe it's bug, but if not fix it pls
Verarrh Jun 2, 2018 @ 9:16am 
When patrolling, all NPCs begin to walk one direction for about 1 second and immediately choose another route and begin to walk that way before choosing another and the process continues. Sometimes they will get stuck on the edge of a node they have twisted around and struggle to walk any direction whatsoever, coming to a complete stop ( https://steamcommunity.com/sharedfiles/filedetails/?id=1401012258 ). Overall, they don't really move from the spot they spawned in because of how much they twist around in one location. The map is AI noded (gm_construct), and it doesn't matter where I put them, the result is the same.
Last edited by Verarrh; Jun 2, 2018 @ 9:17am
michi no bakemono Jun 2, 2018 @ 10:55am 
I've found that they just move, stop, pick another direction and repeat. They only move for one step as well. (gm_devruins)
GaussTheWizard  [developer] Jun 2, 2018 @ 5:23pm 
I've implemented a change that has fixed a significant number of cases of awkward patrolling, which will be live in the next version.
GaussTheWizard  [developer] Jun 2, 2018 @ 11:07pm 
It turns out that the default values of saii_bulletdetection_radius and saii_bulletdetection_attackradius are reversed. If you're having problems, try switching them. This will be corrected in the next version.

It turns out that I'm an idiot and only assumed this was the case because one is bigger than the other.
Last edited by GaussTheWizard; Jun 4, 2018 @ 4:05pm
IvanVladimir0435 Jun 3, 2018 @ 10:09am 
Originally posted by Sninctbur:
Many bug reports are being sent out, and that's great. However, due to the influx of comments, I would recommend posting them here instead, both to reduce clutter and prevent the reports from getting buried so I can respond more easily.

Also, keep in mind that "it breaks the game" is not a good bug report. The more specific you are in the report, the more easily I can fix your issue.
I have a question that maybe could sound stupid: this conflicts with iNPC? (sorry for the dumb question but its cause im curious)
Last edited by IvanVladimir0435; Jun 3, 2018 @ 10:10am
life4trinity Jun 5, 2018 @ 12:12am 
Just tried out SAII the other day, and so far I'm seeing some slight differences and improvements, though it appears that when an NPC reloads, they continue to reload until they die.
Golden Vortex Jun 5, 2018 @ 6:07pm 
do you need to node them to a map?
Ray Jun 7, 2018 @ 4:07am 
when shooting a group of civilians, they start running towards your face even though they are unarmed.
When wounding one they run away.
< >
Showing 1-15 of 98 comments
Per page: 1530 50