Bots crouch when following pings if commander was crouched#1930
Bots crouch when following pings if commander was crouched#1930sunzenshen wants to merge 1 commit intoNeotokyoRebuild:masterfrom
Conversation
|
Demo: bot-cmd-follow-waypoint-crouch.mp4Testing Notes:
Potential Controversial Points:
|
|
Whats the purpose of this? I can understand holding the walk key when placing a ping to have bots approach a location quietly, but I don't see the vision here |
My thinking was that there's currently no way to order a bot to crouch behind some cover and wait in ambush, or to sit crouched from a sniping position. After thinking about this PR some more, I wonder if it might be better to have the bots run as normal between waypoints but when they are not pressing any movement buttons, then they crouch. So the pattern of movement from a crouched position would be to standup to a running movement, arrive at the waypoint, and then crouch. |
Decided to finally tackle this silent walk behavior in this PR: #1937 bot-cmd-walk-silent.mp4 |
Description
Allow ordering bots to stay in a crouched position by having bots check the commander's crouch state when they receive a ping waypoint. If the commander was crouched, bots will stay crouched when moving to and waiting at the ping waypoint.
Toolchain