Skip to content

GAMMA: AI Cleanup

Choose a tag to compare

@JackHarris67 JackHarris67 released this 28 Oct 17:39
· 13 commits to main since this release
0ce4078

Experimental fix for G.A.M.M.A. AI Rework
Project started as a way to address Error Log spam and NPC being suicidal and b-line rush everything including inside the bushes and rush in the open behind enemy's cover

  1. Added new Tactical behavior on NPC losing line of sight in combat that scales dynamically with NPC equipped weapons and NPC Rank
  2. Fixed the "NPCs Dumb" behaviors, to correctly apply intended Dumb behaviors for selected NPC's
  3. Fixed "cannot check visibility" error log spam
  4. (Somewhat) Fixed NPC executions not functioning correctly, and making them stuck permanently holding their gun

Seeing through Bushes issue has to be tackled separately likely with an engine edit to correctly calculate NPC AI vision instead of being a Binary Check for Foliage.

Update v4.6:

  • Added safety check to avoid telling NPCs to move to restricted vertex

Update v4.5:

  • Added a global check so any AI rework mod can make a call to disable the mod without players have to manually disable it in mo2
  • Commented out debug messages, except the "GAMMA AI Disabled"

Update v4.4:

  • Increased default range from 30m to 40m
  • Copied .ltx config values from dev2 Commit 9e5a42c

Update v4.3:

  • Fixed random NPC memory reset
  • Fixed 30s lockout timer on Patience Loss to apply as intended instead of cancelling after 3s leading to stalemates
  • Rebalance timers per rank from 6s-20s to 8s-15s

Update v4.2:

  • Fixed visibility issues with .ltx by reverting to GAMMA config but changing transparency to "Anomaly" default
  • Fixed the AI lockup when NPC still targeting first killed target in combat
  • Changed hardcoded change for Wounded NPC execution script into a monkeypatch

Update v4:

  • Fixed additional logic bugs
  • Separated logic into their own scripts instead of using master switcher for everything
  • Added small fix to stop NPCs from being locked up when trying to execute wounded stalkers

Release v3.5:

  • Added and edited experimental .ltx values to fix visibility through bushes

Release v3:

  • Initial work on reviving dumb_npc and fixing logic bugs
  • Added basic tactical behavior

Release v2:

  • Additional edit to remove all error log spams related to visibility

Release v1:

  • The only change is to fix error log spam related to visibility