nav: added fall control so that bots now take a new path when falling from heights.

nav: increase player avoidance distance.
combat: added zoom check for better use of the sniper gun (inspired by podbot).
This commit is contained in:
commandcobra7 2024-04-30 14:13:32 +03:00 committed by jeefo
commit b720eaf51e
6 changed files with 198 additions and 121 deletions

View file

@ -1467,6 +1467,11 @@ void Bot::newRound () {
m_timeDoorOpen = 0.0f;
for (auto &fall : m_checkFallPoint) {
fall = nullptr;
}
m_checkFall = false;
resetCollision ();
resetDoubleJump ();