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

Client bots can't issue grouped commands #872

Open
dgant opened this issue Apr 21, 2021 · 1 comment
Open

Client bots can't issue grouped commands #872

dgant opened this issue Apr 21, 2021 · 1 comment

Comments

@dgant
Copy link
Contributor

dgant commented Apr 21, 2021

The Brood War engine has some special rules for commands issued to multiple units at the same time. Commanding grouped units allows those units to do things which they can't do individually. Some examples:

The BWAPI module API allows issuing grouped commands via Game.issueCommand().

But the client API doesn't support grouped commands. The front-end splits the commands up because the back-end has no mechanism for receiving commands to more than one unit at a time.

In practice bots have gotten by without Mutalisk stacking or magic boxing (individual commands achieve the same effect), and Hold Position Lurkers may (I haven't tested) be achievable just by issuing hold position commands despite their absence from the command card (according to McRave, this works for workers and XIMP already does it). The Carrier trick and half-price Archons may actually require grouped commands, though.

Another use of grouped commands (yet unexplored) is allowing authors to lower the APM (actions per minute) of their bots to be comparable to human levels, addressing some complaints about bot-vs-human fairness.

@dgant
Copy link
Contributor Author

dgant commented Apr 22, 2021

https://youtu.be/6W0B0jZEQrc?t=260
A bit more on why the grouped command for Carriers appears to do something that an individual command would not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant