Materials override
Remember to check for any notes left by the tagger at this article's talk page.
To add materials override you need to right click on animation set and select "Add override materials". This will allow you to see "materials" folder if you open this model in Element Viewer. There you will be able to open any material and add some custom attributes that will override corresponding parameter in this model VMT file.
Once your animation set has override materials enabled, you can right-click on any material in the Element Viewer under "gameModel > materials", highlighted in green, and choose "Add Attribute", then select the type of custom attribute you wish to add. A small window will show up, allowing you to define the name of the attribute, which must be the name of a material command (as you would see in a VMT material file). Then click "OK" to create the custom attribute. You can now set whatever value or string you want for the attribute, depending on the type of attribute you have chosen.
Types of attributes that can be overridden (or added) in SFM:
List of attributes that can be overridden (or added) in SFM:
$basetexture
<String>
- VTF path for texture replacement
$phong
<Float>
- brightness of phong effect
$color
<RGB Material Vector>
- changes color of the material.
$detailblendfactor
<Normal>
- Controls the amount that the detail texture affects the base texture. A value of 0 usually makes the detail texture have no effect, whilst a value of 1 applies the full effect.
List of attributes that cannot be overridden (or added) in SFM: