In my current project I need to export a metallic map of my model for a project, but the texture baking function appears to limited for this.
This might help you: https://github.com/danielenger/Principled-Baker
Also the thread for that addon here: Principled Baker - Bake PBR textures with a few clicks
ah thanks, I will look into it