Repository navigation
Releases
GAMMA: LMG Fixes
Fixes stationary LMGs to make them rotate and for NPCs to jump out of them when flanked
All 6 existing LMG spots were changed.
The only 2 untested ones are in the Hospital
v1.1:
- Cleaned up lint from the
ph_minigunscript - Hospital z1 spot to lowest priority (10) cuz that spot is too bugged due to geometry
GAMMA: HUB Tweaks
Several config tweaks for animpoints to make Hubs act more dynamic but also run better
Yanov station
Lowered population to increase FPS
Permanently assigned Guard posts
Dynamically shuffled beds and other spots for NPCs to sit at during the night
Zhuk moved to Vano spot permanently
Jupiter Scientist Bunker
Lowered population to increase FPS
Permanently assigned Guard posts
Guards rotate inside the bunker during the night, and sit outside during the day
Stopped NPCs from clipping inside each other sitting in same spots
Skadovsk
Lowered population to increase FPS
Permanently assigned Guard posts
Dynamically assigned spots at the bar tables during the night
100 Rads Bar
Increased Bar population so more random NPCs come visit
Visiting NPCs keep outside during the day
Visiting NPCs hang out inside the Bar during the night
Duty smoking spot outside the bar during the day
NPCs do the custom animation/behavior of trading with Barkeep
Dead City
Cut population in half
6 Custom Animpoints with NPC teleporting to them to reduce pop in and 2 normal Animpoints at campfire
Added several new NPC behaviors and them playing different animations during day time
NPCs should almost never hog the stairs
Day/Night rotation, of Mercs going inside during the night
Outskirts
Loner Base
Locked Cashier to sit in a chair instead of wander around
Populated the cozy beds on the second floor
Additional one or two extra slots which should eliminate NPCs just sitting on the ground in the corner
Merc Base
Reduced population to only consist of Unique NPCs and their Guards
Disallowing random generic NPCs to camp there should (theoretically) keep the base Neutral permanently like its supposed to
Dynamic Inventory Stacker
Iterate inventories and containers to not parse through every single possible item and only parse stacks.
Makes inventories and trading menus open and perform much faster.
May cause crashes.
GAMMA: AI Cleanup
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
- Added new Tactical behavior on NPC losing line of sight in combat that scales dynamically with NPC equipped weapons and NPC Rank
- Fixed the "NPCs Dumb" behaviors, to correctly apply intended Dumb behaviors for selected NPC's
- Fixed "cannot check visibility" error log spam
- (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
.ltxby 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
.ltxvalues to fix visibility through bushes
Release v3:
- Initial work on reviving
dumb_npcand 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
Remove Signal Flares in Red Forest, Limansk and Zaton
Mod Page: https://www.moddb.com/mods/stalker-anomaly/addons/remove-signal-flares
Simple script deleting signal_rocket entities to stop the light flickering on each quickload in those maps.
Bug comes from vanilla anomaly, therefore fixes it in any modpacks as well including GAMMA.
Install wherever, shouldn't conflict with anything.
GAMMA: Better Knife Skinning
Attempt to modernize and optimize 2 scripts that used hardcoded tables that led to a few UI bugs
Logic is designed so Player can use multiple knives without any downsides or bugs
We sync separate logics like FDDA Skinning + knives conditions + pelts conditions
We filter out Axe/Sledgehammer from being used in any way, defining them as not tools
Separate logic for Active Equipped in your hands melee to overwrite Priority logic
Update v3.7:
- Rewrote
item_knife.scriptto make condition degradation consistent with our logic and not split/spill across different knives.
GAMMA: Better One Shot protection
Experimental
Improves one-shot protection to calculate burst damage and protect the player within 500ms window, instead of only calculating strict "one shot".
This should eliminate instant deaths from 9x39 or other heavy and high RoF calibers.
Additionally fixes Props from Hideout Furniture from damaging and killing the player
Place anywhere in MO2 as long as its below G.A.M.M.A. Actor Damage Balancer
GAMMA: Autolit Campfires
Experimental alternative solution to:
- "Fake Lit" campfires like the one in Merc Base in Dead City
- NPCs getting stuck pathfinding to campfires and lighting them through the walls
- Faction bases being unlit despite people living there, breaking the immersion
All campfires are hand picked. Most of the locations are listed in the file with comments.
What exactly does it do:
Lits up all listed campfires
Checks if player extinguished any of them, and remembers to not lit them up if so
However that flag gets reset on level transitions
Some campfires gonna be lit up despite the rain because of my personal creative liberty and me liking those spots
Performance cost is small to *possibly positive improvement.
In-theory: Whatever performance we add with extra shadow or two, we also reduce that overhead by NPCs not having to recalculate the pathfinding on the grid and constantly check their brain against other NPCs.
Either way shouldn't be noticable, unless you suffer from the bug where looking at any campfire makes your game lag.
Install like any other mod
Can be installed and uninstalled mid-save
Placement in MO2 doesnt matter as long as its below G.A.M.M.A. Cooking Overhaul
I'll test it for a week or two, see if it requires improvement then possibly PR it on github to GAMMA see if it gets accepted.
GAMMA: BHS UI Update Lock
Experimental
Locks the UI for BHS to be updated at selected refresh rate instead of being updated every single frame.
Can be enabled or disabled in: MCM -> Body Health System -> fps_ui_update_lock
Lacks the proper menu localization; testing for possible GAMMA implementation.
GAMMA: Inverted NPC Loot Claim Remade
It's like GAMMA Loot Claim but inverted!
Specifically:
NPCs loot bodies like in default Anomaly EXCEPT Player kills.
Now Player claims their kills to disallow NPCs from looting their stuff.
Requirements:
Go to Mod Configuration Menu (MCM) -> Useful Idiots -> Looting and Gathering Options
Disable / Untick Only Companions Can Loot or Gather Items setting
v1.2 Release:
Fix for logic error, not allowing Player to loot anything off the corpses besides Weapon/Ammo/Money
v1.1 Release:
Added a stub function to fix do_use_release_action_manually crash
Cleaned up the code