Glock-19 Modeling

After finishing Robotic Planet, I tried to model a Glock-19. In the modeling part, I assigned four materials to it. When I completed the texturing part, I found I needed to export 28 textures. 😲 That’s crazy, bro! Actually, I just unwrapped it for one texture using RizoomUV. How can I fix that? I know if I assign just one material, it can work, but I need to redo some masks to match the materials. can i merge 28 to 1 ? Any solutions? Tysm !