This project takes in a build order and reads it using text-to-speech based on the timestamps included in the build order itself. The supply markers, currently, are purely cosmetic.
This does not work without timestamps.
An example build is included in this repo. Copying and pasting a build from SpawningTool should be good enough, but make sure there aren't empty lines at the start or at the end of the file.
This project requires Python 3. Install the necessary requirements using pip3 install -r requirements.txt
.
Place a build file into the builds
folder with the build order. Run:
python3 ./main.py --build=name-of-build.txt --shorthand=True --supply=False --delay=0
The application takes the following command line arguments:
--build
: Filename of the build order
--shorthand
: Whether to abbreviate the names of units/buildings to common shorthand (eg. "Barracks" -> "Rax")
--supply
: Whether to read out the supply along with the action that needs to be performed
--delay
: How long to delay the start of the speech (negative means starts sooner)
- Start the build right as the "3" in the countdown to the start of the game begins with a -2 delay. 5 seconds is a decent enough time for the lines to become reminders of what to build in the future, rather than markers of units or buildings that you should already have built.
- Feel free to add in actions that aren't strictly build items in your build order file. Spreading creep, dropping mules, or moving out your army are great candidates for reminders.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.