O rida - Materials override helper script

O rida - Materials override helper script
Show more
O rida - Materials override helper script
O rida - Materials override helper script

Description

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.

Basic usage:

  1. Right click on the animation set you want to apply override materals to.
  2. Select the "Add override materials" option
  3. Right click the animation set again
  4. Choose Rig->Orida
  5. 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.

Included templates:

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.

  • template_all_alpha.json:

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.

  • template_all_empty_basetexture.json:

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.

  • template_all_color_black.json

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.

  • template_all_phong.json

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.

FilenameDownloadsCreatedFilesize
Files
  orida_1_0.zip  6642018-01-07 01:04:363.56 KB
🇳🇱 EU0 Download (Patrons only)    🇳🇱 EU1 Download    🇨🇦 NA Download
  orida_1_1.zip  10012018-02-22 19:30:073.9 KB
🇳🇱 EU0 Download (Patrons only)    🇳🇱 EU1 Download    🇨🇦 NA Download
Thumbnail image for O rida - Materials override helper script
Importing SFM Maps into Blender
REDxEYE recently updated his SourceIO plugin. The latest version allows you to import SFM maps.

Loading...