LS 22 Placeable Colors v1.0.0.1
This mod extends the coloring system for placeables, making all 8 buildingShader.xml color “sections” to be changeable in-game. For example, instead of just changing the siding color of a building, you could color 8 different parts of a building different colors. The roof could be silver, siding red, doors black, trim white, etc. The next one you place could be all different colors.
This next part is for modders. Setting a shape or mesh to use colorScale1 – colorScale7 requires setting the UV positions like you would with the vehicleShader, except it only uses the y axis.
UV 0,1 = colorScale1
UV 0,2 = colorScale2
UV 0,3 = colorScale3
The xml configuration is pretty straight forward, and examples are included in the sdk folder of this mod. For more examples, check out TPF’s new placeables here.
Default binds for changing colorable section are left-shift + M and left-shift + N by default. These are changeable in-game.