github Skwizzy/SPT-LootingBots v1.0.0
Version 1.0.0 (AKI 3.5.3)

latest releases: v1.3.5-spt-3.9.0, v1.3.4-aki-3.8.0, v1.3.3-aki-3.8.0...
18 months ago

This mod aims to add a bit more life to the bots by enhancing some of the base EFT looting behaviors, allowing bots to pick up loot in the current raid.

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
  • Scavs by default have their Patrol.CAN_LOOK_TO_DEADBODIES property set to true which allows them to check dead bodies during patrols
  • When scavs are on patrol, they have a chance to inspect a nearby corpse and only loot their primary weapon
  • When scavs are on patrol, sometimes they stop in front of a lootable container and pretend to loot it

Modded behavior:

  • Base game corpse looting behavior added to all bot types (option for pmc)
  • When a bot goes to loot the primary weapon of a corpse they now attempt to loot everything from the corpse, equipping things in empty slots and swapping out gear for better gear.
  • If a bot cannot equip a piece of gear, they will attempt to place it in their bag/rig

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 value 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)

Conflicts

This mod may conflict with any client mod that attempts to alter the following bot settings: (bots may not exhibit base EFT looting behavior)

Patrol.CAN_LOOK_TO_DEADBODIES
Mind.HOW_WORK_OVER_DEAD_BODY
Patrol.DEAD_BODY_SEE_DIST
Patrol.DEAD_BODY_LEAVE_DIST
Patrol.DEAD_BODY_LOOK_PERIOD

This mod will conflict with any server mod that sets the globals.config.DiscardLimitsEnabled to true. PMC bots will throw exceptions when attempting to discard gear with DiscardLimits set. This needs to be false for the mod to function properly with pmc looting.

Package Contents

  • BepInEx/plugins/skwizzy.LootingBots.dll - Client plugin responsible for all the new corpse looting logic
  • user/mods/Skwizzy-NoDiscardLimits-1.0.0 - Small server plugin that sets DiscardLimitsEnabled to false in the server/globals/config. Fixes issues with PMC bots throwing exceptions when discarding items with DiscardLimits (this is the EFT live RMT protection logic)

Install instructions

Simply extract the contents of the .rar file into your SPT directory.

Don't miss a new SPT-LootingBots release

NewReleases is sending notifications on new releases.