github Skwizzy/SPT-LootingBots v1.0.2-aki-3.5.5
Version 1.0.2 (AKI 3.5.5)

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

Updates Version 1.0.2 for use in AKI 3.5.5

New Features

  • Reserve Patrol Container Looting - First iteration of container looting. Hooks into the method that is called during a patrol that makes a bot pretend to loot a container in raid and actually lets the bots take the items from the container. This version is low cost but also very limited as I havent seen too many bots that are using these specific patrols that have the container points in them. A more expensive solution is needed to satisfy our gamer needs

  • Dynamic Looting System - New dynamic looting system that relies on the logic used by the bots to loot corpses. Runs additional logic alongside the corpse looting methods to check for nearby containers within a sphere around the player and finds the closest container that has a valid navigation path. Once the bot reaches the container they will exhibit the same behavior as corpse looting where they crouch, look at the container, and initiate the same looting logic used by corpse looting. After looting, the bot will wait a certain amount of time before trying to find another nearby container to loot.

    • If a container is behind a door, the bot will open the door after running into it for a few seconds to get to the container
    • If a bot is stuck on an open door, the bot will close it
    • Not all containers are able to be reached. This entirely depends on if there is a valid NavMesh nearby that the bot can use to navigate close enough to the container
  • Mod Menu - Container Looting: Enable reserve patrols (Used to be just Enable) - Enables looting of containers for bots on patrols that stop in front of lootable containers (reserve patrols). Not needed if using dynamic looting.

  • Mod Menu - Container Looting: Enable dynamic looting - Enable dynamic looting of containers for selected bot types. Will detect containers within the set distance and navigate to them similar to how they would loot a corpse. More resource demanding than reserve patrol looting.

  • Mod Menu - Container Looting: Dynamic Looting: Dynamic looting: Delay between containers - The amount of time the bot will wait after looting a container before trying to find the next nearest contianer

  • Mod Menu - Container Looting: Dynamic looting: Detect container distance - Distance (in meters) a bot is able to detect a container

  • Mod Menu - Container Looting: Debug: Show navigation points - Renders spheres to help visualize the decision making process for where a bot should move to. (Credits to DrakiaXYZ for the helper)

    • Red - container position.
    • Black - "Optimized" container position.
    • Green - Calculated bot destination
    • Blue - Where the bot will actually move. (Position snapped to NavMesh)

Fixes

  • Properly disable new corpse looting for bot types when disabling looting #27
  • Update bot's gearValue when new weapons are equipped #28
  • Correct weapon swap logic when looted weapon is worth more than both the primary and secondary weapon. (Bot throws secondary, moves primary to secondary, and equips looted weapon as primary) #30
  • Fix issue where bots always swapped from armor vest to armor rig #31

Don't miss a new SPT-LootingBots release

NewReleases is sending notifications on new releases.