BurnySc2

Results 49 comments of BurnySc2

Hello, is the `target` a unit or a position? According to https://github.com/BurnySc2/python-sc2/blob/f175e8160762dcba9a1524b3491cf5f522e01fde/sc2/dicts/unit_abilities.py#L322-L324 it is the correct abilityID

Similar auto-improvements are suggested in https://github.com/BurnySc2/sc2-planner/issues/5 but in my opinion very hard to implement. It would need some 'autofiller' or 'autoimprove' button, but adding such a feature seems like a...

Hey, that is quite a good question to consider for other RTS games. In https://github.com/BurnySc2/sc2-planner/blob/d4b88c289d95081b5115a69090224e725a60cdff/src/game_logic/income.ts I tried to emulate the income, which works because normally bases will be built always...

One such parser was created to cover a number of edge cases: But so far I don't know of any bot that implements it, as I suppose it is a...

The unit and structure count reflect how many units / structures are ready (= unit is fully trained, or structure completed). Perhaps I could add a `+ number` which reflects...

The formula is `time_in_seconds * 22.4 == frames`, based on 16 frames per second of the SC2 engine, and because they used the 'faster' mode which multiplies it by 1.4...

Can you post a code example please? How are you attempting to use it? It returns 0 when there is no valid path, I believe

I haven't used it in a long time but there may be cases where the target_position is something that ground units can't reach, in which case it returns 0. Can...

Python 3.11 is not out yet :) It will be out some time in october, and then it will take a few months before all major packages support Python 3.11,...

Calling `self.build_gas` should not work inside the step function body of a bot class. The only definition of `build_gas` is in the `unit.py` file. https://github.com/BurnySc2/python-sc2/blob/15fbac3f2645cc2641ce9a56d481f1f7a7f2a814/sc2/unit.py#L1299-L1325 The bot class defines a...