About this mod
Physical Material Translucency Fix to prevent NPCs seeing through the map and other materials related to fences, buildings, foliage. The performance changes for Garbage Collection are optional.
- Permissions and credits
Vanilla_AIGlobals_XRay_1_5Fix_P.pak helps limit NPCs seeing through grass, trees, leaves by adjusting the Physical Materials translucency. Also some sensor adjustments were added from felicheat based on Current Weather and Day/Night.
The place to fix the translucency issue is in AIGlobals.cfg. So if you're using a mod that alters AIGlobals.cfg you'll have to do a merge. Do not use Vanilla_AIGlobals_XRay_1_5Fix_P.pak with A-Life Uh.. Found A Way or DWO the translucency fix is already included.
---------
Good news the jailbreak is no longer needed. I'm going to move 2.1 into old files in case it's needed again in the future for whatever reason.
Collisions still need to be evaluated. Whether you remove them or not is up to you. You can always put them back if you notice something that wasn't happening previously.
The not so great news. GSC release version of S2 v1.4 introduced some kind of bug so npcs get stuck looking in and out of online/offline. Seems to be about 1 out of every 4 or 5 spawns. So far I haven't found any solutions from what modders have access to.
Instructions for Optional Garbage Collection!!!!
These will need to go in the bottom of you're engine.ini. If you do not have one you will need to create one or extract the one in the zip to the below location.
You can also try out Yerts Engine. Just make sure to read the comments in the file for adjusting Streaming.PoolSize for VRAM. Also update NumUnusedShaderCompilingThreads, ShaderCompilerCoreCountThreshold, and NumUsedShaderCompilingThreads to your cpu physical core count. There are also some other settings that can be customized.
Engine.ini Location:
Steam: %localappdata%\Stalker2\Saved\Config\Windows
GamePass: %localappdata%\Stalker2\Saved\Config\WinGDK
2.0 Optional Garbage Collection / Streaming
These are still optional. The goal is still to lessen stuttering, improve frame recovery with some streaming adjustments. Also to help with memoryleak issues by having Garbage Collection happen more regularly before you are low on memory. Did more research/testing - Realized AssetClustreringEnabled is actually the setting name even though it's a typo. Hopefully they'll be helpful to those who need it.
---
Gofundme - Help replace my 6-7 yr old laptop
---
---
Do Not Pick and Choose Individual Lines or edit them. Use entire sections in whole, as they are!
---
Optional Performance Addition. (Included in Optional Performance Add To Engine.ini - 2.0)
If you're not really having performance issues and are happy with your current setup, you can skip this section.
Otherwise it might be worth a try.
[/Script/Engine.StreamingSettings] to s.IoDispatcherCacheSizeMB=128
These settings adjust the timeouts for updating/removing visual elements as the map areas are loading into view.
---
These changes also pair well with my other mod:
A-Life Uh.. Found A Way
Instant Long Range Aggression Fix
NPC Combat Overhaul
Alife Mods to Check Out:
Roadside Panic - A-Life And Spawn Overhaul
Shay's Living Zone[An A-Life Mod]
Other Recommended Mods:
Maklane's Better gunfights 2.1 - NO Aimbot NPCs
Maklane's Better Zone - Total Overhaul