Closed woaipichuli closed 5 years ago
@woaipichuli The action space includes not only direction, but also range.
The mapping for that picture is
For different game config, the range of moving and attacking is different. The turn actions are disabled by default. https://github.com/geek-ai/MAgent/blob/872680a8b9fee02c527306e65c4aeee1641b11a5/python/magent/builtin/config/battle.py#L17
You can confirm the mapping for your game by letting all your agents take a same action and watch the video.
@merrymercy Thank you, that will be helpfull. Yes, watch the video can help, but that will needs lots of try. Does the mapping rules (from right to left, from top to bottom) of actions as shown in the figure are the same even when the game config changes?
I have read the code and have some questions about the action label. In the doc file (get_start.md) you have provided, there are 23 different actions agents can take. However, I have no idea about how to map the action label to a specific action (left or right,1 step or 2 step,etc). I would be appreciate if you can provide more details.