Skip to content
Snippets Groups Projects
BotConfig.txt 6.61 KiB
Newer Older
  • Learn to ignore specific revisions
  • {
        "Bot Info" :
        {
            "BotName"                   : "CommandCenter",
            "Authors"                   : "David Churchill",
            "PrintInfoOnStart"          : false
        },
    
        "BWAPI" : 
        {
            "SetLocalSpeed"             : 5,
            "SetFrameSkip"              : 0,
            "UserInput"                 : true,
            "CompleteMapInformation"    : false
        },
        
        "SC2API" :
        {
            "BotRace"                   : "Terran",
            "EnemyDifficulty"           : 2,
            "EnemyRace"                 : "Random",
            "MapFile"                   : "InterloperTest.SC2Map",
            "StepSize"                  : 1
        },
            
        "Micro" :
        {
            "KiteWithRangedUnits"       : false,
            "ScoutHarassEnemy"          : true
        },
        
        "Macro" :
        {
            "WorkersPerRefinery"        : 3,
            "BuildingSpacing"           : 0,
            "PylonSpacing"              : 3
        },
    
        "Debug" :
        {
            "DrawGameInfo"              : true, 
            "DrawProductionInfo"        : true, 
            "DrawBaseLocationInfo"      : true,
            "DrawTileInfo"              : false,
            "DrawWalkableSectors"       : false,
            "DrawScoutInfo"             : false,
            "DrawEnemyUnitInfo"         : false,
            "DrawResourceInfo"          : false,
            "DrawUnitTargetInfo"        : false,
            "DrawLastSeenTileInfo"      : false,
            "DrawSquadInfo"             : false,
            "DrawWorkerInfo"            : false,
            "DrawBuildingInfo"          : false,
            "DrawReservedBuildingTiles" : false
        },
        
        "Modules" :
        {
            "UseAutoObserver"           : false
        },
        
        "BWAPI Strategy" :
        {
            "Protoss"                   : "Protoss_ZealotRush",
            "Terran"                    : "Terran_MarineRush",
            "Zerg"                      : "Zerg_ZerglingRush",
            
            "ScoutHarassEnemy"          : true,
            
            "Strategies" :
            {
                "Protoss_ZealotRush"    : 
                { 
                    "Race"              : "Protoss", 
                    "OpeningBuildOrder" : ["Probe", "Probe", "Probe", "Probe", "Pylon", "Probe", "Gateway", "Gateway", "Probe", "Probe", "Zealot", "Pylon", "Zealot", "Zealot",  "Probe", "Zealot", "Zealot", "Probe", "Pylon", "Zealot", "Gateway", "Probe", "Pylon", "Probe", "Zealot", "Probe", "Zealot", "Zealot", "Zealot", "Zealot", "Pylon", "Probe", "Zealot", "Zealot", "Zealot" ],
                    "ScoutCondition"    : [ ["Self", "Pylon"], ">", [ 0 ] ],
                    "AttackCondition"   : [ ["Self", "Zealot"], ">=", [ 3 ] ]
                },
                "Protoss_DragoonRush"   : 
                { 
                    "Race"              : "Protoss", 
                    "OpeningBuildOrder" : ["Probe", "Probe", "Probe", "Probe", "Pylon", "Probe", "Probe", "Gateway", "Probe", "Assimilator", "Probe", "Probe", "Cybernetics_Core", "Probe", "Probe", "Gateway", "Singularity_Charge", "Dragoon", "Gateway", "Pylon", "Dragoon", "Dragoon", "Probe", "Gateway", "Pylon", "Probe", "Dragoon", "Dragoon", "Dragoon"],
                    "ScoutCondition"    : [ ["Self", "Pylon"], ">", [ 0 ] ],
                    "AttackCondition"   : [ ["Self", "Dragoon"], ">=", [ 3 ] ]
                },
                "Terran_MarineRush"     : 
                { 
                    "Race"              : "Terran",  
                    "OpeningBuildOrder" : ["SCV", "SCV", "SCV", "SCV", "Barracks", "Barracks", "SCV", "Supply Depot", "SCV", "Marine", "Marine", "Marine", "Marine", "Supply Depot"], 
                    "ScoutCondition"    : [ ["Self", "Supply Depot"], ">", [ 0 ] ],
                    "AttackCondition"   : [ ["Self", "Marine"], ">=", [ 4 ] ]
                },
                "Zerg_ZerglingRush"     : 
                { 
                    "Race"              : "Zerg",    
                    "OpeningBuildOrder" : ["Drone", "Spawning Pool", "Zergling", "Zergling", "Zergling", "Zergling"],
                    "ScoutCondition"    : [ ["Self", "Spawning Pool"], ">", [ 0 ] ],
                    "AttackCondition"   : [ ["Self", "Zergling"], ">=", [ 0 ] ]
                }
            }
        },
        
        "SC2API Strategy" :
        {
            "Protoss"                   : "Protoss_ZealotRush",
            "Terran"                    : "Terran_MarineRush",
            "Zerg"                      : "Zerg_2HatchRoach",
            
            "ScoutHarassEnemy"          : true,
            
            "Strategies" :
            {
                "Protoss_ZealotRush"    : 
                { 
                    "Race"              : "Protoss", 
                    "OpeningBuildOrder" : ["Probe", "Probe", "Pylon", "Probe", "Probe", "Gateway", "Pylon", "Probe", "Gateway", "Probe", "Gateway", "Pylon", "Probe", "Zealot", "Zealot", "Pylon", "Zealot", "Zealot", "Pylon", "Zealot", "Zealot", "Zealot", "Zealot", "Zealot", "Zealot", "Zealot", "Zealot", "Zealot", "Zealot"],
                    "ScoutCondition"    : [ ["Self", "Pylon"], ">", [ 0 ] ],
                    "AttackCondition"   : [ ["Self", "Zealot"], ">=", [ 8 ] ]
                },
                "Terran_MarineRush"     : 
                { 
                    "Race"              : "Terran",  
                    "OpeningBuildOrder" : ["SCV", "SCV", "SupplyDepot", "SCV", "SCV", "Barracks", "Barracks", "Barracks", "Barracks", "SupplyDepot", "SupplyDepot", "Marine", "Marine", "Marine", "Marine", "Marine", "Marine", "Marine", "Marine", "Marine", "Marine", "Marine", "Marine", "Marine", "Marine", "Marine", "Marine", "Marine", "Marine", "Marine", "Marine"],
                    "ScoutCondition"    : [ ["Self", "SupplyDepot"], ">", [ 0 ] ],
                    "AttackCondition"   : [ ["Self", "Marine"], ">=", [ 8 ] ]
                },
                "Zerg_ZerglingRush"     : 
                { 
                    "Race"              : "Zerg",    
                    "OpeningBuildOrder" : ["SpawningPool", "Drone", "Overlord", "Drone", "Zergling", "Zergling", "Zergling", "Zergling", "Zergling", "Zergling", "Zergling", "Zergling"], 
                    "ScoutCondition"    : [ ["GameFrame"], ">=", [ 100 ] ],
                    "AttackCondition"   : [ ["Self", "Zergling"], ">", [ 0 ] ]    
                },
                "Zerg_2HatchRoach"      : 
                { 
                    "Race"              : "Zerg",    
                    "OpeningBuildOrder" : ["SpawningPool", "Drone", "Overlord", "Drone", "Drone", "Extractor", "Drone", "Drone", "Hatchery", "Drone", "Overlord", "Drone", "RoachWarren", "Drone", "Drone", "Drone", "Drone", "Roach", "Overlord", "Roach", "Roach", "Roach", "Roach", "Overlord", "Roach", "Roach", "Roach", "Roach", "Roach", "Roach", "Roach"],
                    "ScoutCondition"    : [ ["self", "SpawningPool"], ">=", [ 1 ] ],
                    "AttackCondition"   : [ [["Self", "Roach"], ">=", [ 12 ]], "AND", [["Self", "Overlord"], ">=", [ 1 ]] ]    
                }
            }
        }
    }