Featured Looting Bots 1.3.0

This mod aims to add more life to the bots by enhancing some EFT looting behaviors letting bots loot items, containers, and corpses during patrols. More features to come!

[tabmenu]


If you enjoy my work, support me at Ko-Fi!

  • Version 1.3.0

    Update GClasses to support AKI 3.8.0

  • Version 1.2.2

    Compatible with AKI 3.7.1 - 3.7.6

    Changes

    • Prevent caching and finding loot if the BotOwner.name is empty. Should prevent exceptions from being thrown by the ActiveLootCache
  • Version 1.2.1

    Compatible with AKI 3.7.1 - 3.7.6

    Changes

    • Prevent scavs from looting memory 🤖 . Fixed a memory leak due to excessive regex calls and log message concatenation
  • Version 1.2.0

    There is a known memory leak in this version, working on a fix!

    Compatible with AKI 3.7.1 - 3.7.6

    For Modders

    Thanks to DanW!


    Adds support for external commands without requiring LootingBots as a dependency for mods.


    Currently the two external commands are:

    • Force a loot scan: Forces a bot to scan for loot the next time it is able to do so
    • Inhibit looting: Stops a bot from looting and prevents them from scanning for loot for a specified amount of seconds

    For more details view the Full documentation


    New Features

    • New Setting Loot Finder (Timing): Enable examine time - Adds a delay before looting an item to simulate the time it takes for a bot to "uncover (examine)" an item when searching containers, items and corpses. The delay is calculated using the ExamineTime of an object and the AttentionExamineTime of the bot. Without any mods changing these values, it seems like the average examine time is 1 second. Looting should take a bit more time now depending on the amount of items in the container/corpse
    • Added a checkbox for PlayerScav to all the Loot Finder settings. Now you can enable/disable looting for player scavs separately from normal scavs

    Changes

    • Lowered delay at the beginning of container/corpse looting to 2500 ms (simulates UI opening and waiting for the search process to start)
    • Renamed Transaction Delay to Delay after taking item and clarified the behavior in the description
    • Allow bots to try and loot "searchable" items even if they do not have room to pick them up. Was preventing loose items like backpacks and rigs from being considered as valid loot
    • Prevent friendly bots from looting things the player is looting. Enemies can still try to loot the same object as the player
    • Hide debugging F12 settings under the "advanced settings" checkbox at the top of the menu
    • A bot will now end exit the loot finding logic if the first three items found are not within the acceptable looting range. This is to prevent bots from performing the expensive path distance calculation multiple times unnecessarily as its usually the case that if the first 3 items are not in range then none of the following items will be in range.
    • Only show top level items in looting results when searching containers/equipment
    • Fixed issue with debug spheres not working
  • Version 1.1.5 (AKI 3.7.1+)

    Changes

    • When scanning for loot, calculate the distance the bot has to walk in order to reach the loot. If this distance is larger than the loot detection radius, the loot will be considered too far to loot. This should prevent bots on maps like interchange from pathing from the second floor to the parking garage if some loot was detected in the garage with a small vertical distance
    • Change old loot value threshold settings to Min loot value threshold
    • Scav: Max loot value threshold and PMC: Max loot value threshold - When a value other than 0 is specified, bots will not loot items with a value that exceeds the maximum threshold. By default this is set to `0` for both scav and PMC
    • Change Delay between looting setting to Loot scan interval. This now accurately controls the time between loot scans for a bot. When a bot completes a scan or leaves the looting logic, the bot will wait the specified amount of seconds before scanning again. Previously there were 2 timers and they were not playing nicely together
    • Default Loot scan interval has been increased: 6 seconds -> 10 seconds
    • Allow bots to pick up stacks of money
    • Sort the initial results from a loot scan by distance, greatly reducing the amount of times needed to iterate through the results (Thanks Drakia)
    • Move loot finding calculations into a coroutine to avoid blocking thread with heavy calculations
    • Do not allow the looting layer to activate if the bot is healing
    • Do not allow the looting layer to activate if the bot type is not enabled for any looting. Previously bots not enabled for looting would still scan but not loot
  • Version 1.1.4 (AKI 3.7.1)

    Finally updated GClasses and NoDiscardLimit implementation to work with AKI 3.7.1! Thank you everyone for your patience! ^^

    Changes

    • Added LootingLayer to the following new bot brains: BossBoar, BoarSniper, FlBoar, Obdolbs and ArenaFighter
    • Fix issue where bots were not picking up usable magazines after equipping a new weapon
    • Fix issue where PMCs/scavs with boss brains were being treated as bosses and not allowed to swap gear
    • Fix issue where helmets were not recognized as equippable
    • Fix mistake in distance math where shortest distance was not being updated resulting in horribly incorrect loot finding.
  • Version 1.1.4 (AKI 3.7.0)

    Finally updated GClasses and NoDiscardLimit implementation to work with AKI 3.7.0!!

    Changes

    • Added LootingLayer to the following new bot brains: BossBoar, BoarSniper, FlBoar, Obdolbs and ArenaFighter
    • Fix issue where bots were not picking up usable magazines after equipping a new weapon
    • Fix issue where PMCs/scavs with boss brains were being treated as bosses and not allowed to swap gear
    • Fix issue where helmets were not recognized as equippable
    • Fix mistake in distance math where shortest distance was not being updated resulting in horribly incorrect loot finding.
  • Version 1.1.3 (AKI 3.6.1)

    New Features

    • NoDiscardLimit: Settings to remove loot from bot spawns - Thanks to Fontaine, the NoDiscardLimit mod now has options to prevent PMCs and Scavs from spawning with loot already in their inventories. Items such as meds/ammo/food/drinks will still be added to their inventory as part of bot loot generation


      • Settings can be found in user/NoDiscardLimit/config/config.json
      • pmcSpawnWithLoot: When set to true, PMCs will spawn with loot in their bags/pockets (default SPT behavior)
      • scavSpawnWithLoot: When set to true, Scavs will spawn with loot in the bags/pockets (default SPT behavior)
      • Default config: {"pmcSpawnWithLoot": false, "scavSpawnWithLoot": true }
    • Loot Finder (Timer) settings: Delay after spawn - Setting to control the amount of seconds a bot will wait to start their first loot scan after spawning into raid.
    • Loot Settings: Transaction Delay - New setting to control the amount of time a bot will wait after executing a looting transaction before performing another one. Used to simulate the amount of time a bot will take to loot things from a container/corpse. A looting transaction is when a bot decides to take/equip an item

    Changes

    • Loot Finder scans will only run if the bot has more than 2 available slots in their inventory
    • Loot Finder scans will ignore loose items that will not fit in the bot's current inventory
    • Increased base looting time for containers and corpses to 3 seconds
    • BotDebug menu "Available space" now updated in real time as loot is transferred
    • Fix issue where bots were treated as bosses preventing them from swapping any equipment
    • Fix issue where gear looted from containers or the ground would not be equipped/swapped
    • Bots will forget their target loot when interrupted during looting, triggering a new scan when returning to the looting layer. Previously bots would attempt to navigate to the same loot after the interruption.
    • Fix issue where some items were still not insurable such as the Ronin mask
    • Fix issue where destination was not being reset after LootingLogic had ended. Caused an issue with bots thinking they were close enough to a new lootable container when they were actually not.
    • Show "Calculating path..." in BotDebug menu when distance to loot is being initialized
  • Version 1.1.2 (AKI 3.6.0)

    Update of 1.1.2 to support AKI 3.6.0. Thanks DrakiaXYZ for the updates to GClasses!

  • Version 1.1.2 (AKI 3.5.8)

    Community was quick to sort this one out!


    Update to NoDiscardLimit server mod to fix issue where items like keys and cases were able to be insured when the EnableDiscardLimit server config option was set to false. For items that have a DiscardLimit set, the server mod will now flag those items as InsuranceDisabled which will continue to prevent the user from being able to insure items like keys and cases. Restores what is allowed to be insured back to the EFT Live behavior and fixes the exploit where items can be duplicated via insurance of items in pouches. If you had previously insured items that were not supposed to be insurable, they will no longer be insured.


    You should delete Skiwzzy-NoDiscardLimit-1.0.0 mod in your user directory if you had the previous version installed.

  • How to download the beta version? i try do download but it's says "Not Found" from github itself, please reupload the beta version. Thanks!

  • Hi, PMC still spawning with loot in their inventory. "Pmc spawn with loot" is set correctly to false. Load order is set to the last one and still get the message on logs that pmc inventory is empty. I'm only using sain mod and swag donuts, but when the match starts I run directly to the guns shot, kill that pmc and there it is, random loot in their inventories...


    Anyone notice that too?

    • disable bot loot in ALP too. thats what sorted it out for me

    • So, I find out that was SWAG + DONUTS mod that is causing this. I will try to ask there for help. Thanks

  • I love this mod but when I check BepInEx log it gives a lot of error, is this okay?