Auto-translated
It is impossible to configure this in the template. The only option (for single-player) is to open the map in the editor after generation and allow these heroes in the map specifications (if you also want them to be available as starting heroes, you need to disable one regular hero of the same town for each allowed special hero).