Is it possible to create a file that tells the game to paint the car in a particular color ? If yes, can someone explain me how ? Thanks
for each car version, there is a .json that looks like this: Code: { "Configuration":"8.4L V10 AWD (DCT)", "Transmission":"Automatic", "Description":"This car swaps in a massive V10 engine for some serious power.", "Drivetrain":"AWD", "Value":"175000", "Performance Class":"9", "Config Type":"Custom", "default_color":"Flame Orange" } "default_color":"Flame Orange" is how you specify a color. I believe you can use factory colors (so check the names of the colors in the selector for the 22b) and color values in the form of R G B Chrome e.g. "1 0 0 1.25" will generate a glossy red color. colors are defined in info.json for each car: Sunburst example: Code: { "Name":"Sunburst", "Brand":"Hirochi", "Author":"BeamNG", "Country":"Japan", "Type":"Car", "Body Style":"Sedan", "Years":{"min":2009, "max":2014}, "Derby Class":"Compact Car", "default_pc":"sport_S_M", "default_color":"Silver", "colors":{ "Pearl White": "1 1 1 1.2", "Charcoal": "0.25 0.25 0.25 1.1", "Silver": "0.65 0.65 0.65 1.1", "Light Brown": "0.6 0.45 0.35 1.4", "Jet Black": "0 0 0 1.2", "Sky Blue": "0.052 0.448 0.921 1.2", "Sea Blue": "0.2 0.3 0.6 1.2", "Aquamarine": "0.15 0.35 0.6 1.2", "Bermuda Blue": "0.06 0.145 0.17 1.2", "Navy Blue": "0.0 0.05 0.25 1.1", "Rally Blue": "0.0 0.05 0.55 1.2", "Burgundy": "0.5 0 0 1.2", "Fire Red": "1 0 0 1.1", "Vibrant Red": "0.9 0.05 0.04 1.3", "Flame Orange": "1 0.3 0 1.2", "Bumblebee Yellow": "0.96 0.80 0 1.5", "Solar Yellow": "0.95 0.7 0.1 1.3", "Forest Green": "0.1 0.4 0.2 1.2", "Lime Green": "0.651 1 0 1.2", "Seafoam Green": "0.24 0.48 0.48 1.2", "Anthracite": "0.11 0.08 0.08 1.2", "Dusk": "0.06 0.04 0.16 1.2", "Electric Blue": "0.0 0.30 0.86 1.2", "Technetium": "0.15 0.21 0.254 1.2", "Cold Steel": "0.149 0.241 0.391 1.1", "Earth": "0.294 0.163 0.085 1.12", "Cyan Steel": "0.047 0.234 0.33 1.12", "Shale Green": "0.22 0.27 0.23 1.3", "Submarine Blue": "0.0 0.06 0.16 1.2", "Marine Blue": "0.0 0.124 0.355 1.2", "Steel Gray": "0.478 0.543 0.578 1.3" } }
I tried that a little earlier but there's no "default_pc" since there are no pc files at all ! Is that the issue ?
the default_pc is simply the default version of the car that's spawned if no version is given. It won't affect the color or anything. default_pc works by loading the .pc filename specified there.. if the default_pc for the subaru 22b was "subaru_a" then the parts list/model subaru_a.pc would be loaded. a .pc file is simply a file that tells the game a list of parts to load for a vehicle.
Not an issue, it's just an old mod so it doesn't have the pc files. You can make your own pc files and look for help at wiki or the official vehicles.
So I can just delete the line ? EDIT : I deleted the line, it works ! Btw cobalt is pretty close to the 22B color Thanks !