Steamhammer 1.2.2 orientation

A tiny starter guide to the code. “So you want to make a bot....”

First look at the configuration file (documentation). Steamhammer’s opening build orders and some details of its play are in there, plus debug options and more. You will definitely want to make some changes—start with configuring your bot’s name. If you want to change the name of the config file, it is in Steamhammer/Source/Config.cpp.

If you only change the config file, you haven’t made your own bot yet. A serious Starcraft bot takes a lot of coding (probably why most bots are not so serious). If you keep at it, you’ll get used to reading and changing the code, and you’ll learn the correct curse words for every bug. Here are the most important bits, so you can start to incubate your nefarious plot.

At the top level, the project has 3 parts.

Here are some of the important classes in the Steamhammer source. The entry point is UAlbertaBotModule, which sets things up and then passes control for each game event to GameCommander. Then GameCommander calls on the various other modules to do the work.


this version 4 April 2017