Credit to Uglehs for the vid and the awesome color spreadsheet
This tutorial will explain how to easy paint a hat from within SFM and allow for multiple hats of a differetn color to exist at one time.
What you need:
1. My cheap proxy import file
2. Basic SFM know how
3. Notepad ++ (or any other program you have that can open text
ok, lets get started.
1. First lets spawn a hat, we will use the pugilist_protector.mdl in this example.
2. Right click on the animation set of the hat and select "Show in Element Viewer -> Model"
3. At the top right click the green name "*_Gamemodel" (* being the name of the hat) and go to the Add Atribute option.
4. Select "Element Array" and give it the name "materials" when prompted
5. Right click the newly created option and select Import Element
6. Browse to the file I have uploaded and select it.
7. If it imported correctly you should see things like the cloak factor and what not. What we need to do now is properly link the material back to the model.
8. Go back to the animation set and right click the hat. Select the option "Show Game Model in Explorer"
9. Open the model with Notepad ++ or any other program you choose and go to the very end of the file. In the case of the pugilist_protector you should see something like "sparring.... sparring_blue....\models\player\items\heavy\"
It will be differnet for each model but for the most part it will give you the path and then give you the different materials to the model. In this case if we wanted the change the color of the default red skin of the hat the path would be "models\player\items\heavy\sparring"
10. Now that we have our texture path we want to go back into the element viewer and paste our material path where it says "Place Material Here"
11. If everything has worked correctly you should then see the hat turn black instantly. This is a good thing and means that color changing is now ready.
12. In the field that says $colortint_base you will see 3 zeros. This is the color you want in R G B format with numbers from 0-1. So red would be "1 0 0" and flat grey would be "0.5 0.5 0.5"
Experiment with the colors and have fun with it. As i keep poking around the element viewer and learning more things i will try to get more tutorials out.