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
Expose the possible start locations for a player or force #863
Comments
If it were this situation then I'm fine with the behaviour. From the perspective of BWAPI they are participants in the game for 2 reasons:
BWAPI should be able to function on all maps and all game types so using base detection with minerals is not a legitimate way to determine participation either. That being said I loaded the map up in Remastered and my own custom map editor to see what was going on, before realizing I didn't finish programming the player settings dialog in it. So I opened it in a hex editor to view the corresponding sections since it wouldn't open in SCMDraft. In Relevant code here: bwapi/bwapi/BWAPI/Source/BWAPI/GameEvents.cpp Lines 169 to 187 in 3438abd
There we do a naiive check to see if the start location is at the origin, when this is in fact incorrect. We need to
|
I've attached a copy of the map Aztec 2.1. The map has three playable start locations but BWAPI exposes eight start locations. The inability to determine which of these start locations are playable is a(n extremely minor) missing feature.
This map was probably converted from an "Observers" style map. That means it was originally meant to be played in Use Map Settings with some people playing and some people just observing. So it has a Players force with three normal start locations, and an Observers force with four start locations in the middle of the map, with the intent that Observers would play Terran and lift off and watch the game via Share Vision.
At some point in the map's history, the Observers force was rendered unplayable, so on the surface it appears to be a normal ladder map. But from the perspective of bots, it's an 8 player map and the API doesn't expose any information which indicates otherwise.
(3)Aztec2.1.zip
The text was updated successfully, but these errors were encountered: