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:
parent
1443d8b4d0
commit
b720eaf51e
6 changed files with 198 additions and 121 deletions
|
|
@ -1467,6 +1467,11 @@ void Bot::newRound () {
|
|||
|
||||
m_timeDoorOpen = 0.0f;
|
||||
|
||||
for (auto &fall : m_checkFallPoint) {
|
||||
fall = nullptr;
|
||||
}
|
||||
m_checkFall = false;
|
||||
|
||||
resetCollision ();
|
||||
resetDoubleJump ();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue