This script will greatly reduce the time you spend on applying override materials, especially for those of you who want to re-use the same materials override setup across multiple projects. This script will allow you to load/save override materials configurations as json-files.
If you don't know about override materials, there's a good tutorial here: https://steamcommunity.com/sharedfiles/filedetails/?id=291500222
Once added to SFM, the script can be accessed from the animation set rig menu.
- Right click on the animation set you want to apply override materals to.
- Select the "Add override materials" option
- Right click the animation set again
- Choose Rig->Orida
- Select what you want to do from the O rida dialog.
For more information on loading/saving override configurations, please refer to the "Help" option.
Four template files are included. These can be used to apply the same common attribute to all materials. The main idea behind these is to remove the time it takes to manually apply these attributes using the clunky GUI provided by the element viewer.
Adds the attribute $alpha as a float and sets it to 0 for all materials. This will probably render the animation set (or at least the majority of it) invisible. This can come in handy when you want to hide materials but don't know which one, since deleting attributes using the element viewer is way quicker than adding new ones. This philosophy applies to the other templates as well.
Adds the attribute $basetexture as a string and sets it to "" for all materials. This will render the animation set as untextured. override texture files can be set from the element viewer.
Adds the attribute $color as a color and sets it to RGBA(0,0,0,255) for all materials. This will make the animation set all black. You can specify colors for all materials in the element viewer.
Adds the attributes $phongboost and $phongexponent as floats and sets them to 0 for all materials. You can add/remove/edit the values for each individual material from the element viewer.
SFMLab is a free service. However, it costs about $0.03 to deliver you a 1GB file. With over 20TB of traffic every month and growing, SFMLab needs your help. If only 1% of our users each gave us $5 for a single month, we could keep the site running for several years.
|orida_1_0.zip||1664||2018-01-07 01:04:36||3.56 KB|
|orida_1_1.zip||2099||2018-02-22 19:30:07||3.9 KB|