greetings! i am trying to make a mod but i have a small bump in the road. How do i make the car colorable for the new version? the newer version doesnt seem to be working. Any help would be greatly appreciated.
Make an image called car-name_c.dds and color it white where you want to be colorable. Leave all else transparent. It uses the same mapping as the diffuse map.
I know about the dds files. Sorry if that came off rude it was not intended to be so. Im just having issues with the materials.cs files.
I didn't take it as rudeness. In the materials.cs file, go to the main body material and add Code: colorMap[2] = xxx if I'm not mistaken. Good day.
cant find what you are talking about. I even tried to redo the file and now all i have is a car with a no texture and a no texture skin.
Example color texture from one of my mods. singleton Material(_1102_paint) { mapTo = "paint"; diffuseMap[0] = "vehicles/common/null.dds"; diffuseColor[0] = "1 1 1 1"; diffuseColor[1] = "0.1 0.1 0.1 0.5"; specularPower[0] = "16"; specularPower[1] = "16"; useAnisotropic[0] = "1"; useAnisotropic[1] = "1"; castShadows = "1"; translucent = "1"; translucentBlendOp = "None"; alphaTest = "0"; alphaRef = "0"; dynamicCubemap = true; instanceDiffuse[2] = true; materialTag0 = "beamng"; materialTag1 = "vehicle"; colorMap[0] = "vehicles/common/null.dds"; colorMap[1] = "vehicles/ZAZ_1102/1102_paint.png"; colorMap[2] = "vehicles/ZAZ_1102/1102_c.dds"; doubleSided = "0"; };
Is this the new way for coding colorable textures? --- Post updated --- this worked thank you so much!