Bots are now mantling in "stand" stance, that prevents them from stuck.
This commit is contained in:
IKennyAgain 2021-05-19 15:10:34 +03:00 committed by GitHub
parent a2ef57ff50
commit 953d694a74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -550,7 +550,7 @@ doBotMovement()
// climb through windows
if (self isMantling())
self crouch();
self stand();
startPos = self.origin + (0, 0, 50);
@ -1974,11 +1974,11 @@ movetowards(goal)
lastOri = self.origin;
}
else if(timeslow > 1.5)
else if(timeslow > 0.75)
{
self thread doMantle();
}
else if(timeslow > 0.75)
else if(timeslow > 1.5)
{
self crouch();
}