configure Randomhammer differently for each race
I added a feature to make random play more configurable. Steamhammer 1.2 (which is identical to Randomhammer 1.2) has configuration lines to set the maximum number of workers per mineral patch before a base is “full”.
"Terran_WorkersPerPatch" : 2.8, "Protoss_WorkersPerPatch" : 2.6, "Zerg_WorkersPerPatch" : 1.8,
For the next version I simplified it (and decreased the numbers, they were too high; someday I’ll do mineral locking and maybe drop this).
"WorkersPerPatch" : { "Zerg" : 1.6, "Protoss" : 2.3, "Terran" : 2.6 },
And I allow the same syntax for several other config options in the Micro and Macro sections.
"RetreatMeleeUnitHP" : { "Zerg" : 8 }, "RegroupRadius" : 600, "UnitNearEnemyRadius" : 600, "ScoutDefenseRadius" : { "Terran" : 400 }
You can specify an integer to get the same value for all races, or break out different values for each race. If you leave out a race, it defaults to 0. Here I want terran to pull an SCV to defend itself against the enemy scout (within a radius of 400 pixels) to protect its SCVs while they are building; the other races don’t have that problem and keep mining as much as possible (ScoutDefenseRadius 0 means “don’t bother”).
Comments