Featured Looting Bots 1.5.1 (SPT 3.11)

Do not ask when mod authors will update their mods or if they can upload older versions of their mods.
Bothering mod authors will lead to warnings and repeat offenses will lead to bans.
Due to an unusually high volume of traffic, our site may be experiencing intermittent slowdowns. If you notice any issues, log out of your account and browse anonymously so you can better utilize caching or try using forge.sp-tarkov.com to search for and download mods.

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!

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


[tabmenu]

REQUIRED DEPENDENCY: BigBrain This mod will not work unless the BigBrain mod is also installed!

View readme for more details. Please report any issues in the comments section here or feel free to open an issue on the github. Having debug enabled in the mod menu is recommended when reporting issues.


GitHub issue custom search in repo - Check here for an existing issue before reporting a bug

GitHub issue custom search in repo

Base game behavior:

  • Scavs start a raid on patrol, when they finish a combat engagement they will return to patrol mode after the amount of seconds specified in the Mind.TIME_TO_FORGOR_ABOUT_ENEMY_SEC bot config property
  • When scavs are on patrol, they have a chance to inspect a nearby corpse and loot simple things such as weapons and
  • When scavs are on patrol, sometimes they stop in front of a lootable container and pretend to loot it
  • PMCs and Scavs in SPT spawn with some potentially valuable loot already in their inventory

Modded behavior:

  • New bot brain layer (LootingLayer) added for looting that replaces the base game logic responsible for "looting"
  • LootingLayer will activate every 10 seconds (by default) during a patrol causing the bots to scan for the closest lootable item, container, or corpse. Scan distance configured by the "Detect Loot Distance" setting (75m by default)
  • Once a lootable object has been found, bots will attempt to navigate to the object and commence looting
  • Bots will attempt to loot everything from within corpse and a container
  • Bots will examine each item for about 1 second before looting it (simulates discovering items when searcing containers/corpses)
  • If a bot cannot equip a piece of gear, they will attempt to place it in their inventory
  • Not all loot is navigable, relies heavily on the availability of a nearby NavMesh that bots can use to navigate
    • If a container is behind a door, bots will open the door if unlocked.
    • If a bot is stuck in place or if the bot spends too much time moving, the loot will be ignored
  • Once looting has finished, bots will wait the amount of time specified
    in the "Delay between looting" setting before the next loot scan occurs (15s by default)

Gear Swap Criteria

  • Bot will always swap to gear that has higher armor rating (helmets, armor vests, armored rigs)
  • Backpack will be swapped if backpack being looted has more slots
  • When looting larger rigs, bots will swap if currently equipped rig is of equal or lower armor class
  • When throwing old backpacks/tactical rigs, bots try to take all the loot from the container thrown
  • When looting weapons, bots will compare the item's Handbook(default) or Flea market price in rubles to the value of the weapons currently equipped.
    • Looted weapons with higher value will replace an equipped weapon with the lowest value
    • Bots prefer to use the highest value weapon as their primary (if they have ammo)

Package Contents

  • BepInEx/plugins/skwizzy.LootingBots.dll - Client plugin responsible for all the new corpse looting logic
  • user/mods/Skwizzy-LootingBots-ServerMod - Server mod responsible for:
    1. Marks all items with DiscardLimits as InsuranceDisabled. It then disables the DiscardLimit settings for the server via the EnableDiscardLimits option in Server/database/globals.json. SPT PMC bots by default spawn with loot already in their backpacks, this loot is not marked Found In Raid and thus is subject to BSG's RMT protection logic. With discard limits enabled, when a bot drops their backback to swap to a new one any loot with discard limits in their bag will be deleted immediately when the bag is dropped. To avoid this we set the EnableDiscardLimits to false, and also make sure to flag all items with a DiscardLimit >= 0 as InsuranceDisabled to prevent items suchs as keys and cases to be insured.
    2. Provides the option to clear out the loot that PMC/Scav bots start with
      in their backpacks. This does not include meds, ammo, grenades ect. These options can be found in the Skwizzy-LootingBots-ServerMod/config/config.json.

Install

  • Extract the contents of the .zip file into your SPT directory
  • Recommended to have LootingBots-ServerMod loaded last in the mod order to make sure discard limits arent enabled by another server mod