In this video, I demonstrate how to add new material elements (or material ID) to your static meshes using the modeling mode tools in unreal engine.
https://dev.epicgames.com/community/learning/tutorials/YbDx/how-to-add-material-elements-in-unreal-engine