Mod Details

Fenix's No AI ESP

Fenix's No AI ESP 1.0.3

Created by  FenixPK

26.8K Downloads

SPT 0.0.0 Compatible

Tired of the AI knowing you're aiming at the back of their head from 200 meters away and activating terminator mode? This is the mod for you!

Latest Version 1.0.3
SPT 0.0.0

Updated Aug 21, 2022 at 12:25 AM

Version Notes

Compatible with SPT-AKI 3.2.1

Changes:

-Included the BepInEx config file by default, might eliminate issues with the Menu? It should generate the config file the first time itself if not present but maybe that is causing issues for some users. Not sure but worth a shot.

This download is externally hosted.
Always scan for viruses.

This mod is simply a BepInEx plugin that uses AKI.Reflection (Harmony) to PrefixPatch the “IsEnemyLookingAtMe” method that the game uses in a few places eg. ShallAttack() and EndHoldPosition() and return false instead of evaluating.

There are config options accessed via in-game menu F12 but the game must be restarted for them to take effect.

You can turn on the ESP override for Players, and/or for Bots. When the Player override is enabled it means a Bot won’t know when a player is looking at it, but will know when another Bot is. When the Bot override is enabled it means a Bot won’t know when another Bot is looking at it but will when a player is. And when both checkboxes are enabled it means a Bot won’t know when either a Bot or a Player is looking at it.

I’ve used ILSpy to try and figure out where this function is used and it seems to me ShallAttack and EndHoldPosition are the only places, and there are other triggers for going into attack mode. For eg. bots will still spot you first if you are within their view distance. They react to being shot at and add danger points to investigate etc. I’ve had the whole map swarm my location after opening fire with a loud rifle with this enabled. I’ve been chased down and shot in the back many times even with this on too. Bots still engage each other in firefights with both settings enabled but I haven’t done enough testing to see if there are any issues with turning it off for bots too, hence the config options.

I have had a ton of fun crawling through the grass on woods and taking my time to line up shots on AI moving far away. Waiting for them to get caught up in brush up ahead and slow down before pulling the trigger. Or waiting for them to finish wandering through terrain that goes up and down a lot before taking the shot etc. Prior to this as soon as my crosshair went over their body they turned to aim at me and attack. Even if I was aiming at a stationary AI with their back turned to me. It was driving me crazy.

IMPORTANT NOTE:

I play with Fin’s AI Tweaks and AI Loader with fairly close to default values for most settings. I have not tested my mod with vanilla AI. The reason I made this mod is because even after tweaking all the AI look/aiming/mind variables with Fins I still couldn’t get them to stop this ESP behaviour. I’ve set the values back to Fin defaults and the game is a lot more fun while remaining challenging.

COMPATIBILITY:

As far as I know this should be forwards and backwards compatible so long as the method isn’t re-named or moved. It currently resides in EFT.BotOwner. I may need to update references and re-compile, not sure. If anyone has issues running this on 3.2.0 let me know and I’ll update.

KNOWN ISSUES:

I have had one occasion where a Bot I had fired at around 100m away took cover behind a bush and just stared at me without attacking. Once I looted him I realized he just had a pistol, so it was likely because I was out of his engagement range. However I believe with ESP still enabled he would have ended his hold position loop when I aimed down sights at him instead of just staring at me. Whether that means he rushed me or just found better cover I don’t know.

I personally am OK with this because

1) most times they have a rifle and will engage at that distance.

2) Without ESP disabled they would still just stare at you until you aimed-down-sights anyway (The check in code is player.GetPlayer.HandsController.IsAiming && bot.IsEnemyLookingAtMe(player) so you have to be aim down sights not just looking at them)

3) If you fire at them they do react.

SOURCE CODE:

I for some reason cannot receive the registration email for dev.sp-tarkov sign up so I’ve put the source code on GitHub for now. Feel free to peek around and see what I did. If someone wants to take a crack at properly overriding the method to take distance and angle into account so they will notice if you look at them ONLY if they are also looking at you and reasonably close enough to see you that would be great. I might get around to it, but vectors and angles are not my strong suit. Calculus class was 11 years ago for me now haha.

SPECIAL THANKS:

I have to thank Fin with Fin’s AI Loader and AI Tweaks for getting me looking at the AI variables. If it wasn’t for that configurability I wouldn’t have realized this was NOT just an AI variable you could tweak (ENEMY_LOOK_AT_ME_ANG for eg changes nothing about AI ESP regardless of the value I put in there).

Also SamSWAT for his FOV tweak and weather tweak which got me looking at BepInEx and how he patched the game with it. Without his source code I wouldn’t have learned you could even do this. Before reading into his changes I didn’t even know Harmony existed or that AKI.Reflection uses it. I’m into a whole new world of holy crap you can do that?! In fact what started all this was trying to make an FOV mod that made aim-down-sights more zoomed in for myself (haven’t figured that one out yet).

And of course the AKI team for their great documentation and examples of using AKI.Reflection.

And the HarmonyLib team for their documentation on how PreFix and PostFix patches work etc.

Version 1.0.3
Download Mod Version
SPT 0.0.0
Latest Compatible SPT Version

23.9K Downloads

Created Aug 21, 2022 at 12:25 AM

Updated Aug 21, 2022 at 12:25 AM

Virus Total Results

Compatible with SPT-AKI 3.2.1

Changes:

-Included the BepInEx config file by default, might eliminate issues with the Menu? It should generate the config file the first time itself if not present but maybe that is causing issues for some users. Not sure but worth a shot.

Version 1.0.2
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

603 Downloads

Created Aug 19, 2022 at 5:44 PM

Updated Aug 19, 2022 at 5:44 PM

Virus Total Results

For AKI 3.2.1

Changes:

-Rebuilt DLL against latest AKI 3.2.1 DLLs.

No other changes were made.

Readme is in .zip as per usual.

Version 1.0.1
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

1.2K Downloads

Created Aug 11, 2022 at 2:00 AM

Updated Aug 11, 2022 at 2:00 AM

Virus Total Results

-Updated to Google Drive as my GitHub account was flagged for some reason? Same file as before. Compatible and tested with 3.1.1 but probably forward compatible with 3.2.0 as well.

Version 1.0.0
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

1.1K Downloads

Created Aug 8, 2022 at 4:53 PM

Updated Aug 8, 2022 at 4:53 PM

Virus Total Results
datgakenbi1

is this work on 3.8.0?

0 Likes
koiecks

Is there a way for this to work without having to start a fresh character?

0 Likes
Vakari

Just thought I would mention that this ‘feels’ like it’s working in 3.7.6. I only have anecdotal evidence, but it seems to work for me.

Without this mod, I zoomed in on a scav from ~130m that was facing away and it immediately turned to fire at me. It reminded me to download this mod, even though it appears outdated. After a couple of raids with it installed and staring at scavs for several seconds at a time through my scope, they don’t sense me at those ranges anymore.

0 Likes
Aviergence

Any plans to update this for 3.7?

0 Likes
Cosm1c Gam3r

Anyone tested if this mod is still needed in 3.7.0/1 ?
I did not yet had opportunity to snipe some fools from far away to test if they have this spiderman sense on them.

1 Like

Yea it is. Literally went into a night raid and got domed in the head by a scav from 100 meters or a little less. I don’t think scavs are supposed to have imaginary night vision, lmao.

0 Likes
Slyder

I still get one tapped through bushes. This mod doesn’t work properly! I just died to a bot on the other side of a bush that I had no LOS on but he still dommed me in the chest even after I went prone!! I hate this game’s AI so much!! I think it’s even worse than Ready or Not…

0 Likes
Cosm1c Gam3r

On what version? Why you do not mention what SPT you use. For me on 3.4.0 it works.
I think that it is no more needed on 3.7.0 as live version somehow have it already. At least for SCAVs as I did not test all bots because I play live version for very little just to see new stuff ETC.

AI set by BSG is just plain dumb and silly. It is somewhat made to be a challenge for those way to good players to give them some challenge. Thats why for other players they are like cheating AI aimbot. There are some mods that change their accuracy and behaviour. Just find one for yourself.

I went into tweaking AI myself and as I got deeper into AI parameters I noticed that they are damn unhuman alike. I am still tweaking them for my level of skills so they are not like cyborgs but more like humans, ranging from poor Tarkov fellas who want to just make some money and have no skills to rogues and bosses that are mostly very trained humans and they have skills and reactions matching what human can achieve with his senses. Anyway it is not that easy to tweak their behaviour. They have lots of parameters but making them less accurate is quite easy. So if you want them to be less accurate then search for such mod.
In bot params I also found some params for seeing through bush so this can be tweaked too.

0 Likes
Karma

just so im clear, when the boxes are checked its enabled, and when unchecked it’s disabled?

0 Likes
DeLunaticAngel

Needs 3.6.1 ngl-

0 Likes
nyrus

Is it planned to carry on with this mod? I would be a happy man if no scavs would sniff me our from 400m away when I just happen to make aim on him.

0 Likes
SirDigby

I’m using this on 3.5.8 and seems to work fine.

1 Like
Cosm1c Gam3r

Good to know. I will try this mod on 3.4.0

0 Likes
Radicon111

Is it possible please to disable whatever function it is that lets bots know where you’re aiming? - ie. that makes them stop and run the other way if you try to lead them?? - is it the same ESP that this mod disables but then lets re-engage after you open fire? No problem with bots knowing where you are after you start firing, but knowing where you’re aiming is just no good at all at any time or under any circumstances.

0 Likes

Details