Difference between revisions of "Carcols.dat"
(→COL) |
(→COL) |
||
Line 32: | Line 32: | ||
http://stm.gtagaming.com/carcols/80-89.png | http://stm.gtagaming.com/carcols/80-89.png | ||
http://stm.gtagaming.com/carcols/90-94.png | http://stm.gtagaming.com/carcols/90-94.png | ||
− | |||
− | |||
==CAR== | ==CAR== |
Revision as of 00:06, 2 March 2006
Contents
Introduction
Car Colors file (carcols.dat) contains a color palette and numbers to asociate them with specific cars. Cars may or may not have a color palette.
Structure
The carcols.dat file is split up into two or three sections named "col", "car" and "car4" (car4 being only used in gta-sa). Each section starts with a section identifier and ends with the keyword "end", both in a single line.
comments in this file are done by using the numbersign "#" symbol in start of line.
Example:
# a comment! col ... end car ... end car4 ... end
COL
Col section contain color palette, the data is made of text lines, every line contains 3 numbers seperated with a comma ',' sign. The 3 numbers in a line specifify the Red, Green and Blue component of that line's color. With all three values, a colour can be formed, and applied to a car. New colours can be added by simply adding a new line at the bottom of the list, and making sure it's #ID number is not already used by another colour.
Below are the colours available in an unedited Vice City carcols.dat file, numbered according to their respective lines.
http://stm.gtagaming.com/carcols/0-9.png http://stm.gtagaming.com/carcols/10-19.png http://stm.gtagaming.com/carcols/20-29.png http://stm.gtagaming.com/carcols/30-39.png http://stm.gtagaming.com/carcols/40-49.png http://stm.gtagaming.com/carcols/50-59.png http://stm.gtagaming.com/carcols/60-69.png http://stm.gtagaming.com/carcols/70-79.png http://stm.gtagaming.com/carcols/80-89.png http://stm.gtagaming.com/carcols/90-94.png
CAR
CAR section asociate specific colors from color palette with cars, data in a line is separated same as in COL section (with a comma ','). Every line contains car's model name, and numbers which specify car's color pairs (2 colors per color pair - primary and secondary).
here is an made-up example:
thiscar, 1, 3, 4, 8
game will interpret the data like this:
- the color pair data belongs to car 'thiscar'
- numbers '1' and '3' are first color pair
- numbers '4' and '8' are second color pair
Carname
CAR4
San andreas only, contains same data as CAR section but specifies 4 colors for specific cars, that is instead of two colors in a color pair there are four.