cathook
cathook copied to clipboard
Navbot no longer takes teleporters due to SoundESP.
Back when it was just followbot (for medics), the bot would attempt to walk to the last known location of a player. This also meant if the player took a teleporter, the last breadcrumb would be on said teleporter. This caused the followbot to path to the teleporter, then not have a next task and just stand there, and would accidentally take it.
When Navbot was introduced, it wouldn't take teleports. Like ever. Then navbot got compatible with followbot, and followbot would start taking teleporters again - unless the teleporter exit was in visible range, in which case navbot would take over and it would slowly yeet the bot across the map.
But now that SoundESP is a thing, navbot can just infinitely find players for the most part. No matter where the exit teleporter is, navbot is going to start taking over from followbot and take the long way across the entire map to get to the follow'd player. This means that the combination of navbot&followbot will no longer take teleporters.
My request is to make navbot compatible with teleporters, as well as respect the decision of followbot.
For navbot: Have navbot path to entrance teleporters within a certain range. (ignore level 1 teleporters, unless they're ready to take)
This will let navbot take teleporters made at spawn, to get to the fight quicker. The distance check is to prevent the bot from walking aaalll the way back to spawn just to re-take the teleporter. However, if for some reason navbot paths all the way back to spawn anyway, it'll take the teleporter again.
For followbot: Have followbot disable navbot when within a certain range of an entrance teleporter. (ignore level 1 teleporters)
This results in navbot being disabled when followbot is enabled around teleporters. If the followed user walks over a teleporter and just keeps going, followbot will continue to take breadcrumbs and skip the teleporter, following the player. However, if the followed user takes the teleporter, followbot will do it's orriginal design of going to the breadcrumb on said player then stopping on it without navbot taking over and walking across the map manually. This would cause followbot to successfully/accidentally take the teleporter.
Might want to make navbot ignore teleporters if it's pathing for health/ammo, that way it doesn't accidentally get yeet'd across the map on 15hp straight into enemies.