Huge thanks to @ozen-m for helping with 3.11 updates!
Changes from the 0.9.1 release:
- Updated to SPT 3.11.x (3.11.2 or later required per #55)
- Increased required version of Waypoints from 1.6.2 to 1.7.1 (#74)
- Increased required version of BigBrain from 1.2.0 to 1.3.2
- Added new quests for the following areas: (#64)
- Customs expansion
- Labs containment block
- Marked Circle Bunker on Woods
- Unity Credit Union on Streets
- Updated bot generation code:
- Follow new SPT approach of generating and caching bots in the client, not the server (#58)
- Disable SPT's PMC generator when using the Questing Bots spawning system
- Use SPT code to generate names for player Scavs (#53)
- Add game versions and game member categories to player Scavs
- Expand blacklisted brain types to include player Scavs (#61)
- Changed all bots to be generated with player side
EPlayerSide.Savage
, as expected by the EFT client. SPT then changes this for PMC's. - If the number of bots generated is less than the number requested, try again and show a warning message
- If a player Scav was requested but not generated, try again and show an error message
- Show the names of bots generated in game console messages (as a check to ensure PMC's aren't mixed with PScavs)
- Reduced delay between generating bots from 20ms to 5ms
- Ensure bot questing data is destroyed before the bot can be recycled and spawned later (as part of the bot cache per #71)
- Improved robustness of code that detects of a bot is a player Scav
- [WIP] If SAIN is not installed, try using EFT's extraction logic instead (#67)
- Rewrote all debug gizmo code:
- Implemented abstract gizmos and a system that allows new ones to be generated and managed easily
- Added gizmo to view both paths
- Added gizmo to view the next node in a bot's path
- Added gizmo to view the target location of a bot's path
- Added advanced F12 menu option to only show bot info overlays for certain bot numbers (all are shown if no number are entered)
- Added options in the F12 menu to enable gizmos separately for bots that are questing, followers of questing bots, and all other bots
- Show the brain names of bots in their info overlays
- Hide questing information in bot info overlays when they're sleeping
- Minor performance and memory-consumption improvements
- Improved handing of bot sprinting:
- Copied new EFT code when bots sprint, which also ensures they're standing and makes them stop aiming at targets
- Detect when EFT wants bots to sprint, and try to make them if they aren't already sprinting
- Added debounce timer to force bots not to sprint again for a certain time (3s by default) after they stop sprinting
- Only allow bots to sprint if they're allowed by EFT
- Force bot path data to update in the following cases (preventing bots from standing still until "stuck"):
- Questing Bots doesn't have any path data for the bot
- Questing Bots has path data for the bot but EFT doesn't
- Allow different brain-layer priorities to be used when SAIN is or is not installed
- Allow bots to check for mines and check their magazines while moving
- Show a warning message in the game console every 3s if bot groups fail to spawn (#70)
- Only recalculate a bot's path if its target location moves beyond a certain distance (3m when following bosses per #68, otherwise 0.2m by default)
- Only recalculate a bot's path if a Questing Bots brain layer is active
- After a bot completes its objective, clear its path data
- If a bot gets stuck, only allow it to jump or vault if it's on the ground
- Before making bots jump or vault, stop their movement and ensure they're standing first (#73)
- Improved performance when retrieving bot questing data
- Instead of returning
null
ifBotPathingHelpers.GetCurrentPath
finds a null path, return an empty array - Improved server messages while applying initial changes for Questing Bots
- Added unused code to reverse a bot's path
- Lots of refactoring
- Removed unused code
- Bug fix for EFT exception causing bots to "break" when they die or despawn (#62)
- Bug fix for duplicate bot groups spawning (#69)
- Bug fix for PMC's not being hostile toward bots of the same side (#66)
- Bug fix for bots not being able to resolve some quest locations on Lighthouse (#75)
Known Issues:
- [EFT Bug] Bots sometimes teleport and move erratically when opening doors (#51)
- [EFT Bug] Bots sometimes teleport and move erratically when unlocking doors
- Bots sometimes move erratically when following their bosses
- Locations for some quest items cannot be resolved (will be fixed before the 0.10.0 release)
config.json files from previous releases are not compatible.