TintMaterialConfigs

Tracking Issue: #356

Tags: customization, pawns

When determining which values to pass to the material using which parameter names, the game matches against a hardcoded list of material names. As a result, mods need to confusingly name their modified materials exactly the same as base-game materials. This change moves these hardcoded names to config lists:

var config(Content) array<name> HairMaterial;
var config(Content) array<name> SkinMaterial;
var config(Content) array<name> ArmorMaterial;
var config(Content) array<name> WepAsArmorMaterial;
var config(Content) array<name> EyeMaterial;
var config(Content) array<name> FlagMaterial;

You can add your own materials by creating the following lines in XComContent.ini:

[XComGame.CHHelpers]
+EyeMaterial="MyCustomEyesCustomizable_TC"

Source code references