oxwhirl / smac

SMAC: The StarCraft Multi-Agent Challenge
MIT License
1.08k stars 228 forks source link

How to understand the parameters listed in smac/env/starcraft2/maps/smac_maps.py? #118

Closed BUPT-zeld151 closed 1 year ago

BUPT-zeld151 commented 1 year ago

I want to create my own SMAC map for my research, and I succeeded editing my map through SC2 map editor in Windows. When I try to add my map into SMAC, I faced smac/env/starcraft2/maps/smac_maps.py, which includes multiple SMAC maps' parameters. Specifically, the parameters of one map are like: "25m": { "n_agents": 25, "n_enemies": 25, "limit": 150, "a_race": "T", "b_race": "T", "unit_type_bits": 0, "map_type": "marines", }, I recently have no idea what 'limit'、'a_race', 'b_race', 'unite_type_bits' and 'map_type' is. Where can I find these information? It's obvious that these parameters are significant to the map.

samvelyan commented 1 year ago

Hi. Here are the meanings of the following parameters:

Feel free to reopen if there are more questions.