Garry's Mod

Garry's Mod

Sninctbur's Artificial Intelligence Improvements
Showing 1-10 of 14 entries
< 1  2 >
Update: Aug 13, 2021 @ 5:47pm

Fixes
  • Fixed the saii_proficiency_enabled convar not actually doing anything

Update: Mar 3, 2021 @ 11:52am

Fixes
  • Awoke from hibernation
  • Fixed NPCs reacting to the sounds they make
  • Added convar to disable proficiency
  • Minor optimization

Update: Jan 2, 2019 @ 8:24pm

Fixes
  • Hotfix for bullet detection.

Update: Dec 10, 2018 @ 3:17pm

Features
By popular demand:
  • Extended Vision: NPCs can see farther in front of them.
  • Sound Detection: When something makes a sound, NPCs will investigate it. They will respond more urgently to louder noises.
  • saii_defaultsonly convar: If enabled, SAII will only affect the Half-Life 2 AI (more specifically, NPCs derived from base_ai).
Fixes
  • Fixed NPCs attempting to idle reload with a weapon that doesn't require ammo.
  • Minor optimization updates.

Update: Sep 22, 2018 @ 1:36pm

Tweaks
  • NPCs will now spread out farther in response to threats.
  • Debug print statements now have more information.
Fixes
  • (Hopefully) fixed the crashing bug.
  • Very slight optimization.
  • Fixed a few Lua errors.
  • NPCs will now run randomly if the damage they take does not come from an identifiable source.

Update: Jun 24, 2018 @ 2:59pm

Fixes
  • Fixed connected players being unable to open the spawnmenu as a result of the previous update.

Update: Jun 24, 2018 @ 5:53am

Additions
  • Added a configuration menu under Options > Sninctbur's Tweaks.
  • Added a few extra debug prints.
  • Threat detection no longer works on NPCs who are already in combat.
Fixes
  • Fixed various issues with bullet detection during movement.

Update: Jun 5, 2018 @ 2:13pm

Additions
  • NPCs will now alert nearby allies after identifying a target.
  • Instead of running to cover, NPCs will run in a random direction when alerted, resulting in less glitchy behavior.
  • NPCs will now time their reloads more efficiently.
    • When idle, they will reload if their weapon is below maximum capacity.
    • When alert, they will only reload if their weapon's clip is 75% full or less.
  • New convars:
    • saii_help_enabled: If enabled, NPCs will summon their friends upon spotting an enemy.
    • saii_help_radius: Upon spotting an enemy, NPCs will call their friends within this radius to their position.
    • saii_debugprints: If enabled, SAII will print statements to the console for debugging. Does nothing functionally (apart from spamming the console).
Fixes
  • Fixed weapon proficiency.
  • Bullet detection is now less glitchy.
  • Fixed bullet detection working to a degree even if its convars are turned off.
  • NPCs no longer stand still when there is no cover nearby.
  • Attempted to reduce crashing.

Update: Jun 2, 2018 @ 10:01pm

Fixes
  • Fixed Lua errors occurring if an NPC spawns without a weapon.

Update: Jun 2, 2018 @ 9:54pm

Fixes
  • Fixed Lua errors from various weapons as a result of the previous update.