RMG Templates

So this thread is supposed to be place, where you can publish your custom RMG templates.
My first one template is for playing XL+U maps with 8 players (currently there are no templates for 8 players and XL).
Add this block to rmg.json (not forgetting to place quota after previous section)

    "totalAssault": {
        "minSize": "xl",
        "maxSize": "xl+u",
        "players": "8",
        "zones": {
            "1": {
                "type": "playerStart",
                "size": 45,
                "owner": 1,
                "matchTerrainToTown": true,
                "playerTowns": {
                    "castles": 1
                },
                "neutralTowns": {
                    "towns": 4
                },
                "monsters": "strong",
                "mines": {
                    "wood": 4,
                    "ore": 4,
                    "gems": 2,
                    "crystal": 2,
                    "sulfur": 2,
                    "mercury": 2,
                    "gold": 1
                },
                "treasure": 
                    {
                        "min": 15000,
                        "max": 32000,
                        "density": 2
                    },
                    {
                        "min": 500,
                        "max": 1600,
                        "density": 6
                    },
                    {
                        "min": 300,
                        "max": 3000,
                        "density": 14
                    }
                ]
            },
            "2": {
                "type": "playerStart",
                "size": 45,
                "owner": 2,
                "matchTerrainToTown": true,
                "playerTowns": {
                    "castles": 1
                },
                "neutralTowns": {
                    "towns": 4
                },
                "monsters": "strong",
                "mines": {
                    "wood": 4,
                    "ore": 4,
                    "gems": 2,
                    "crystal": 2,
                    "sulfur": 2,
                    "mercury": 2,
                    "gold": 1
                },
                "treasure": 
                    {
                        "min": 15000,
                        "max": 32000,
                        "density": 2
                    },
                    {
                        "min": 500,
                        "max": 1600,
                        "density": 6
                    },
                    {
                        "min": 300,
                        "max": 3000,
                        "density": 14
                    }
                ]
            },
            "3": {
                "type": "playerStart",
                "size": 45,
                "owner": 3,
                "matchTerrainToTown": true,
                "playerTowns": {
                    "castles": 1
                },
                "neutralTowns": {
                    "towns": 4
                },
                "monsters": "strong",
                "mines": {
                    "wood": 4,
                    "ore": 4,
                    "gems": 2,
                    "crystal": 2,
                    "sulfur": 2,
                    "mercury": 2,
                    "gold": 1
                },
                "treasure": 
                    {
                        "min": 15000,
                        "max": 32000,
                        "density": 2
                    },
                    {
                        "min": 500,
                        "max": 1600,
                        "density": 6
                    },
                    {
                        "min": 300,
                        "max": 3000,
                        "density": 14
                    }
                ]
            },
            "4": {
                "type": "playerStart",
                "size": 45,
                "owner": 4,
                "matchTerrainToTown": true,
                "playerTowns": {
                    "castles": 1
                },
                "neutralTowns": {
                    "towns": 4
                },
                "monsters": "strong",
                "mines": {
                    "wood": 4,
                    "ore": 4,
                    "gems": 2,
                    "crystal": 2,
                    "sulfur": 2,
                    "mercury": 2,
                    "gold": 1
                },
                "treasure": 
                    {
                        "min": 15000,
                        "max": 32000,
                        "density": 2
                    },
                    {
                        "min": 500,
                        "max": 1600,
                        "density": 6
                    },
                    {
                        "min": 300,
                        "max": 3000,
                        "density": 14
                    }
                ]
            },
            "5": {
                "type": "playerStart",
                "size": 45,
                "owner": 5,
                "matchTerrainToTown": true,
                "playerTowns": {
                    "castles": 1
                },
                "neutralTowns": {
                    "towns": 4
                },
                "monsters": "strong",
                "mines": {
                    "wood": 4,
                    "ore": 4,
                    "gems": 2,
                    "crystal": 2,
                    "sulfur": 2,
                    "mercury": 2,
                    "gold": 1
                },
                "treasure": 
                    {
                        "min": 15000,
                        "max": 32000,
                        "density": 2
                    },
                    {
                        "min": 500,
                        "max": 1600,
                        "density": 6
                    },
                    {
                        "min": 300,
                        "max": 3000,
                        "density": 14
                    }
                ]
            },
            "6": {
                "type": "playerStart",
                "size": 45,
                "owner": 6,
                "matchTerrainToTown": true,
                "playerTowns": {
                    "castles": 1
                },
                "neutralTowns": {
                    "towns": 4
                },
                "monsters": "strong",
                "mines": {
                    "wood": 4,
                    "ore": 4,
                    "gems": 2,
                    "crystal": 2,
                    "sulfur": 2,
                    "mercury": 2,
                    "gold": 1
                },
                "treasure": 
                    {
                        "min": 15000,
                        "max": 32000,
                        "density": 2
                    },
                    {
                        "min": 500,
                        "max": 1600,
                        "density": 6
                    },
                    {
                        "min": 300,
                        "max": 3000,
                        "density": 14
                    }
                ]
            },
            "7": {
                "type": "playerStart",
                "size": 45,
                "owner": 7,
                "matchTerrainToTown": true,
                "playerTowns": {
                    "castles": 1
                },
                "neutralTowns": {
                    "towns": 4
                },
                "monsters": "strong",
                "mines": {
                    "wood": 4,
                    "ore": 4,
                    "gems": 2,
                    "crystal": 2,
                    "sulfur": 2,
                    "mercury": 2,
                    "gold": 1
                },
                "treasure": 
                    {
                        "min": 15000,
                        "max": 32000,
                        "density": 2
                    },
                    {
                        "min": 500,
                        "max": 1600,
                        "density": 6
                    },
                    {
                        "min": 300,
                        "max": 3000,
                        "density": 14
                    }
                ]
            },
            "8": {
                "type": "playerStart",
                "size": 45,
                "owner": 8,
                "matchTerrainToTown": true,
                "playerTowns": {
                    "castles": 1
                },
                "neutralTowns": {
                    "towns": 4
                },
                "monsters": "strong",
                "mines": {
                    "wood": 4,
                    "ore": 4,
                    "gems": 2,
                    "crystal": 2,
                    "sulfur": 2,
                    "mercury": 2,
                    "gold": 1
                },
                "treasure": 
                    {
                        "min": 15000,
                        "max": 32000,
                        "density": 2
                    },
                    {
                        "min": 500,
                        "max": 1600,
                        "density": 6
                    },
                    {
                        "min": 300,
                        "max": 3000,
                        "density": 14
                    }
                ]
            },
            "9": {
                "type": "treasure",
                "size": 50,
                "neutralTowns": {
                    "towns": 3
                },
                "terrainTypes": 
                    "lava",
                    "grass",
                    "dirt",
                    "snow",
                    "sand"
                ],
                "matchTerrainToTown": true,
                "monsters": "strong",
                "mines": {
                    "wood": 4,
                    "ore": 4,
                    "gems": 2,
                    "crystal": 2,
                    "sulfur": 2,
                    "mercury": 2,
                    "gold": 2
                },
                "treasure": 
                    {
                        "min": 35000,
                        "max": 55000,
                        "density": 3
                    },
                    {
                        "min": 25000,
                        "max": 35000,
                        "density": 10
                    },
                    {
                        "min": 15000,
                        "max": 25000,
                        "density": 10
                    }
                ]
            },
            "10": {
                "type": "treasure",
                "size": 30,
                "neutralTowns": {
                    "towns": 2
                },
                "terrainTypes": 
                    "lava",
                    "grass",
                    "dirt",
                    "snow",
                    "sand"
                ],
                "matchTerrainToTown": true,
                "monsters": "strong",
                "mines": {
                    "wood": 3,
                    "ore": 3,
                    "gems": 1,
                    "crystal": 1,
                    "sulfur": 1,
                    "mercury": 1,
                    "gold": 1
                },
                "treasure": 
                    {
                        "min": 35000,
                        "max": 45000,
                        "density": 3
                    },
                    {
                        "min": 25000,
                        "max": 30000,
                        "density": 8
                    },
                    {
                        "min": 15000,
                        "max": 20000,
                        "density": 7
                    }
                ]
            },
            "11": {
                "type": "treasure",
                "size": 40,
                "neutralTowns": {
                    "castles": 2
                },
                "terrainTypes": 
                    "lava",
                    "grass",
                    "dirt",
                    "snow",
                    "sand"
                ],
                "matchTerrainToTown": true,
                "monsters": "strong",
                "mines": {
                    "wood": 2,
                    "ore": 2,
                    "gems": 1,
                    "crystal": 1,
                    "sulfur": 1,
                    "mercury": 1,
                    "gold": 2
                },
                "treasure": 
                    {
                        "min": 25000,
                        "max": 45000,
                        "density": 3
                    },
                    {
                        "min": 30000,
                        "max": 35000,
                        "density": 7
                    },
                    {
                        "min": 12000,
                        "max": 25000,
                        "density": 7
                    }
                ]
            }
        },
        "connections": 
            {
                "a": "1",
                "b": "9",
                "guard": 35000
            },
            {
                "a": "2",
                "b": "9",
                "guard": 35000
            },
            {
                "a": "3",
                "b": "10",
                "guard": 35000
            },
            {
                "a": "4",
                "b": "10",
                "guard": 35000
            },
            {
                "a": "5",
                "b": "9",
                "guard": 35000
            },
            {
                "a": "6",
                "b": "10",
                "guard": 35000
            },
            {
                "a": "7",
                "b": "11",
                "guard": 35000
            },
            {
                "a": "8",
                "b": "11",
                "guard": 35000
            },
            {
                "a": "9",
                "b": "10",
                "guard": 35000
            }
        ]
    }

I would like to create some random maps.
Where can i find the information i need to understand the template as described above?

Regards
Glenn

The template format is not documented yet. In the end, it’s compatible with original H3 formats, just coded in JSON.

If you have no idea about templates yet, try these:
heroescommunity.com/viewthread.p … 6557#focus

There is also a lot of info in either Polish or Russian over internet.

Now it will be possible to put templates in mods, so this topic makes more sense.