First open carcols.dat file (located in data folder) with Notepad or any other text editor and go to:
col
0,0,0 # 0 black black
245,245,245 # 1 white white
As you can see there is group of three numbers, then sign # and another number with a color name. But only this numbers are important because first three numbers represent the color by RGB standard and fourth number after # sign represent serial number of the color.
Changing the first three numbers you will change the color but make sure that you type everything correctly since numbers go from 0 to only 255. While number is lower then color is darker and opposite. So for example 0,0,0 is pure black and 255,255,255 is pure white. Each number represents one basic color from the RGB standard such as Red, Green, Blue, and mixing those colors, you can get any other color.
|
255
0
0
COLOR: 255, 0, 0
|
255,0,0 red 0,255,0 green 0,0,255 blue 128,0,0 dark red 0,128,0 dark green 0,0,128 dark blue 255,128,0 orange 128,0,128 purple 128,128,128 gray |
With Microsoft Paint or any other similar photo editing program, you can create RGB numbers for any color by simply going to Edit colors.
But for adding a new color in the game, you must go to the last color with the serial number # 126 and add another one by this way:
236,106,174 # 126 pink light
255,0,0 # 127 red light
Then of course put a new color for any desired vehicle, like this:
dft30, 1,1, 127,1
It's pretty much the same in the GTA Vice City and GTA Liberty City except they both have only 95 available colors. But also many other games use similar RGB standards for adding colors.
Also, it's very important to know that some vehicles in GTA games, such as the rhino, can't change color. To make that kind of vehicle with changeable colors, first you must edit that vehicle with programs such as Blender, ZModeler or 3D Studio Max. And in GTA San Andreas vehicles can also have three or four changeable colors, so if you use this kind of mods, make sure to add that vehicle name in the car4 section of the carcols.dat file, otherwise third and fourth colors will always spawn black.
car4
camper, 1,31,1,0, 1,31,1,0, 1,20,3,0, 1,5,0,0, 0,6,3,0, 3,6,3,0, 16,0,8,0, 17,0,120,0
BACK