Navbot
Autonomous objective pathing for the Lua API.
What Navbot 2.0 Is
- Automatic pathing for objectives. Works for CTF, PL, and CP maps (given you have the navmesh generated)
- Utilizes TF2's native CNavArea::GetClosestPointOnArea and CNavArea::ComputeClosestPointInPortal functions to find best possible movement path
- Mimics NextBot's native NextBotPlayer::PhysicsSimulate, which synthesizes a real CUserCMD to give authentic movement, and uses NextBotGroundLocomotion::ResolveCollision for projecting hit planes iteratively so that corners, walls, and ledges are an impossible issue (major issue in the original Navbot)
Source
The open-source project lives on GitHub: s7nthesise/Verge-Navbot-2.0.