Map mode is a script or code you edit it from rule file to make new features for unit and infantry and building, which is not in the normal maps.
How to make that?
where to put this mode in map?
This tutorial is an example how to make mode.
All you need to make your own maps and mode this three things.