Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve AI squad pathing and regrouping behavior. #20228

Merged
merged 1 commit into from
Sep 11, 2023

Commits on Sep 7, 2023

  1. Improve AI squad pathing and regrouping behavior.

    Ensure the target location can be pathed to by all units in the squad, so the squad won't get stuck if some units can't make it. Improve the choice of leader for the squad. We attempt to a choose a leader whose locomotor is the most restrictive in terms of passable terrain. This maximises the chance that the squad will be able to follow the leader along the path to the target. We also keep this choice of leader as the squad advances, this avoids the squad constantly switching leaders and regrouping backwards in some cases.
    RoosterDragon committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    30a5bff View commit details
    Browse the repository at this point in the history