Tool for analyzing Starcraft 2 maps by region decomposition
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
demo
src
.gitignore
LICENSE.md
README.md
docConfig

README.md

This project has been moved to Gitlab. Thanks everyone for the attention we've gotten here, we hope you'll follow and stay updated! /mejan, pimmen

Overseer

alt text

Library for analyzing Starcraft 2 maps by region decomposition. Based on the Brood War Easy Map architecture created by Igor Dimitrijevic. It uses the MIT license.

Getting started

Demo for Commandcenter is found here. Which is a very short demo just to get started.

Include the file MapImpl.h into your project to get started.

#include "Overseer/src/MapImpl.h"

You need to pass a pointer to your Agent to the map to have it fully configured. Then you need to call Intialize() to construct the map. Now you're good to go! This is how it would look on Interloper LE

{
	Overseer::MapImpl map;

	map.setBot(&bot); //Pass a pointer to your sc2::Agent
	map.Initialize(); //Intialize the map

	std::cout << "Number of tiles on map: " << map.size() << std::endl;
	std::cout << "Number of regions: " << map.getRegions().size() << std::endl;
}

Example output:

Number of tiles on map: 26752
Number of regions: 18

If you want the number of ChokePoint you have to check for each region pair since a pair of regions could have multiple ChokePoint

Project status

Overseer is currently under construction. Feel free to make a pull request!

Documentation

The documentation is for local use only and can be found here. To open it on your local machine go into the doc/html/ and open index.html in your webbrowser.

License

The license for this software (Overseer) can be found here.

Third party software license