I am making mod that makes rear turn signal repeaters on Bolide orange. I changed textures, but how can I change color of flare? Also how can i separate it from official one?
Flare color is set in the "props" section of the part in object. Like, these are Miramar (amber) front blinkers: Code: "props":[ ["func","mesh","idRef:","idX:","idY:","baseRotation","rotation","translation","min","max","offset","multiplier"], { "lightInnerAngle":0, "lightOuterAngle":140, "lightBrightness":0.1, "lightRange":20, "lightColor":{"r":255,"g":255,"b":0,"a":255}, "lightAttenuation":{"x":0,"y":1,"z":1}, "lightCastShadows":false, "flareName":"vehicleBrakeLightFlare", "flareScale":0.1, }, lightColor is the attribute you want to change, amber color (in RGBA) is 255,255,0,255. You also need to update both the ON and OFF textures constituting the glowMap for the blinker.
In addition, the last value in the lightColor controls the intensity of the flare. ie. If you set it to zero, the flare is invisible. 127 and it's half the original opacity. The lightColor is mixed with the flare's texture color too (in case you are using custom flares that are not white)
Thank you very much! It works! And how can I make it into a mod? Maybe with different body or "Additional Modification" slot?
Which part of the vehicle hosts blinkers? Assuming it's the body, a duplicate part might be your best bet.