I can give you a quickie for metalstuff here.
It's not the whole secret but it's a start. Use a Slope formula. When you open the browser for formula you can find a magnifying glass. Click it and type 'slope' to search the formula base. Now you will find most slope formulas. Then try those colorings: Decomposition and Lightning from standard.ucl. S.F.B.M pixel from sam.ucl. Use a black and white gradient. This is a good start. But to make metal and shiny stuff you also have to know what it should look like if it was real. So just try more formulas to see what you will get.