If you mean adding a fourth color selector slot in the vehicle editor, I think it's physically impossible with the current way textures are done in-game... I could be wrong though.
Ah, well... If you have a recent enough version of the game, you should be able to simply use the vehicle editor in-game and make a color to your liking and save it as a preset color.
If he do it, the color will able on his computer only. But he said: "for my mod" so I think he made a new car and wants to add default colors to it.
i want to add colors only for vanilla cars. And i don't want to add vanilla colors. I want to add custom colors (make custom color in-game, save it and make it visible in stock colors palette.)
Yeah, it seems like you should just be able to use the in-game vehicle editor to save your preset color... I don't know if that makes it available for all vehicles though.
Yeah. But if i save it in-game it appear in "custom" Label. But i want to make it appear in label with vanilla colors. And i want to make it work in my mod (i want to have files of colors in my mod zip to make this colors mod content).
OOoooOKAaaaAYYyyyy I think I get it now lol. That'll be in "vehicles/yourvehicle" (obviously, "yourvehicle" is whatever vehicle you want the colors for... so let's say "pickup") It'll be "BeamNG.drive-version.12345/content/vehicles/pickup". "pickup" is a .zip in this case, so you'll obviously need a .zip opener like winRAR. Inside "pickup.zip" are folders "vehicles/pickup," inside the "pickup" folder are all the files that comprise the pickup. The file that contains the vanilla colors is called "info.json". You'll just need any old text editor such as notepad or notepad++. Once you have that file I'm still not 100% sure how to add more vanilla colors without overriding the existing ones, but it's at least a start. I'm pretty sure you'll have to copy the "info.json" into all the vehicles you want to add your colors to. Then go into the copied "info.json" and erase all the colors you don't want to overwrite, then add the colors you want to add, following this syntax: (hopefully the image will actually show up...) Make sure you close every opened bracket and don't miss any commas. I was fighting a custom skin for a solid week trying to figure out why it wouldn't work... I finally figured out that I had missed a single comma... It works perfectly now. Anyway, I hope this helps. lol
Sorry, I've been kind of absent lately. I don't EXACTLY understand what it is you're trying to do, I get the general idea, but I don't have details. It makes it a little difficult to help. lol
oh okay. If you still don't understand. I wanted to make my custom colors appear here. Sorry for my English but its my first time talking about colors lol
I was really hoping Agent_Y was wrong, so I tried out what I was thinking of. I made my own "info.json" and put together a little mod. Unfortunately, when I removed all the vanilla preset colors from the list and added my own, it didn't avoid overwriting them, my "info.json" simply overwrote the entire vanilla "info.json" and the ONLY color in the selector was the one I made for my "mod" test. I was really hoping that would work, but oh well.... R.I.P. I would've taken screenshots to show what I mean, but what's the point screenshotting something that didn't work? lol Sorry I couldn't help.
Something you could do is copy the vanilla "info.json" but instead of erasing the vanilla colors from the list, simply add your custom colors to the bottom of the existing list. It would still overwrite the vanilla "info.json" making the mod non-repo-friendly, but it wouldn't totally remove the vanilla colors as mine did, and you could release it on the forums (I think). Good luck in your future modding endeavors.