python-sc2
python-sc2 copied to clipboard
A StarCraft II bot api client library for Python 3
Hi I just begun to learn to build a bot and I found the default game path is "C:\Program Files (x86)\StarCraft II\Versions\SC2_x64.exe" in this library. The problem is I don't...
Hi, I started with this package not long ago and I'm working on a Protoss bot trying to make it follow build orders written as a .yaml file. I came...
Simplify map/path usage in run_game Fix misnomer of map_settings -> map_path Refactored calls to run_game and maps.get Added Units.health_highest, Units.health_lowest Added BotAI.enemies_all and deprecated BotAI.all_enemy_units and misc cleanup Ignoring virtual...
This works for me: ``` python3 watch_replay.py some/replay.Sc2Replay ```
This pull request briefly addresses the problems that were met when attempting to run replays. For now I am reproducing what made my bot work but I am open to...
When developing bots, it can be annoying to wait for SC2 to launch before the bot connects to it. Following idea could speed up development: 1) Script to launch a...
In case of iteration over UpgradeId to poll current upgrades
I installed starcraft via lutris. Running it with the battle.net launcher works fine. When I try to run the sample i get this error: ``` :914: ImportWarning: _SixMetaPathImporter.find_spec() not found;...
Change the following to: `UnitTypeId.VIKINGASSAULT: {UnitTypeId.VIKINGFIGHTER},` https://github.com/BurnySc2/python-sc2/blob/8ba74f80a55d37c99ee2804175ba3afccb760544/sc2/dicts/unit_tech_alias.py#L41-L42 Edit: The error lies within https://github.com/BurnySc2/sc2-techtree because the `dicts` are autogenerated.
Python-SC2 flaws: - How to 'renew' Unit objects - How to keep track of a Unit object over multiple frames - Snapshots (once seen, not currently visible) have different tag...