Car Colours: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{toc}} | {{toc}} | ||
The '''carcols.dat''' file sets the | The '''carcols.dat''' file sets the colors of vehicles for the [[GTA III Era]] and [[GTA IV Era]] games. When a vehicle spawns, it will take any of the colors specified in the carcols file. This is usually selected at random, although many spawns are of specific colors. | ||
The carcols.dat file is located in the "<code>Data</code>" folder in the GTA III Era, and the "<code>Common | The carcols.dat file is located in the "<code>Data</code>" folder in the GTA III Era, and the "<code>Common/Data</code>" folder in the GTA IV Era. It can be modified by any simple text editor. | ||
The file is split up into a COL section (specifying the available | The file is split up into a COL section (specifying the available colors) and a CAR section (assigning the colors to vehicles). | ||
== COL Section == | |||
The file contains the RGB color codes for each colour to be used in the file. These colors can be referred to with their ID number, and listed (in pairs) next to each vehicle name to make those colors available for that vehicle (see CAR section). Each game has a separate default palette of colors, so carcol entries are not generally transferable between games (without the palette being altered). | |||
Each COL line consists of the RGB value, the name of the color, the prefix, and description of the color (used in [[Emergency Vehicle Radio|police radio]]). After the # is a comment ignored by the game. | |||
For example, <code> 88,89,90,dark,grey # 3 pewter gray poly</code> is a dark gray color, with the RGB code (88,89,90) which the developers called "pewter gray poly". The prefix (dark) and color (gray) are used together in police radio for describing the vehicle the [[Protagonist|suspect]] is in. | |||
Below are the colors available in each unedited carcols.dat file, numbered according to their respective lines. | |||
; GTA III | |||
{{/gtaiiicol}} | |||
; GTA Vice City | |||
{{/gtavccol}} | |||
; GTA San Andreas | |||
{{/gtasacol}} | |||
; GTA IV | |||
{{/gtaivcol}} | {{/gtaivcol}} | ||
Additional colors can be added simply by specifying a new entry in the COL section. This step is often required when installing [[modifications]], to allow the vehicles to use colors not included in the game by default. Beware, as having more than 179 colors in GTA San Andreas can crash the game. | |||
== CAR Section == | |||
The CAR section is for listing the pairs of colors (from the palette) available for each vehicle. | |||
All vehicles require (at least) two separate colors for each option. Some vehicles can use these multiple colors, whether for separate parts of the body or for decals (signs). All vehicles have some non-colorable textures (such as the interior, fender, wheels, etc.). Some vehicles are entirely texture-based and not affected by color (such as the [[Rhino]]). | |||
For a vehicle that requires two colors, they are specified in pairs (with a comma after each value and pair). Using the above GTA IV color palette, this example provides the options for the [[Kuruma]] being either black and gray (1,5) or red-and-red (33,33): | |||
kuruma, 1,5 33,33 | |||
=== CAR3 + CAR4 === | |||
For most of the GTA III Era, vehicles have no more than two colors, and so all have two values (as in the above example). In GTA San Andreas, some vehicles require four colors. Where 4 values are required, these vehicles are listed separately in a CAR4 section. | |||
In GTA IV, all vehicles require a specular (shine) color and thus have 3 values, and so the main CAR section is named CAR3; whilst some also require a fourth color and are listed in CAR4. For example, a CAR4 entry could be: | |||
[[futo]], 32,0,30,1, 0,0,8,133 | |||
Trainers and car-spawning utilities can override the color of a vehicle whilst spawning or later, and do not rely entirely on the colors available to that vehicle in the CAR section of carcols. However, they are restricted to the colors available in the COL palette at the top of the carcols file. | |||
== | == Original Files == | ||
On the following pages are the original Carcols.dat files from each game, and a rendering of each game's default color palette: | |||
* [[/gtaiii|GTA III]] | |||
* [[/GTAVC|GTA Vice City]] | |||
* [[/gtasa|GTA San Andreas]] | |||
* [[/gtalcs|GTA Liberty City Stories]] | |||
* [[/gtavcs|GTA Vice City Stories]] | |||
* [[/gtaiv|GTA IV]] | |||
* [[/gtav|GTA V]] | |||
{{modding}}{{lowercase title}} | |||
[[Category:Modding]] | [[Category:Modding]] |
Revision as of 23:16, 26 April 2015
The carcols.dat file sets the colors of vehicles for the GTA III Era and GTA IV Era games. When a vehicle spawns, it will take any of the colors specified in the carcols file. This is usually selected at random, although many spawns are of specific colors.
The carcols.dat file is located in the "Data
" folder in the GTA III Era, and the "Common/Data
" folder in the GTA IV Era. It can be modified by any simple text editor.
The file is split up into a COL section (specifying the available colors) and a CAR section (assigning the colors to vehicles).
COL Section
The file contains the RGB color codes for each colour to be used in the file. These colors can be referred to with their ID number, and listed (in pairs) next to each vehicle name to make those colors available for that vehicle (see CAR section). Each game has a separate default palette of colors, so carcol entries are not generally transferable between games (without the palette being altered).
Each COL line consists of the RGB value, the name of the color, the prefix, and description of the color (used in police radio). After the # is a comment ignored by the game.
For example, 88,89,90,dark,grey # 3 pewter gray poly
is a dark gray color, with the RGB code (88,89,90) which the developers called "pewter gray poly". The prefix (dark) and color (gray) are used together in police radio for describing the vehicle the suspect is in.
Below are the colors available in each unedited carcols.dat file, numbered according to their respective lines.
- GTA III
- GTA Vice City
- GTA San Andreas
- GTA IV
Additional colors can be added simply by specifying a new entry in the COL section. This step is often required when installing modifications, to allow the vehicles to use colors not included in the game by default. Beware, as having more than 179 colors in GTA San Andreas can crash the game.
CAR Section
The CAR section is for listing the pairs of colors (from the palette) available for each vehicle.
All vehicles require (at least) two separate colors for each option. Some vehicles can use these multiple colors, whether for separate parts of the body or for decals (signs). All vehicles have some non-colorable textures (such as the interior, fender, wheels, etc.). Some vehicles are entirely texture-based and not affected by color (such as the Rhino).
For a vehicle that requires two colors, they are specified in pairs (with a comma after each value and pair). Using the above GTA IV color palette, this example provides the options for the Kuruma being either black and gray (1,5) or red-and-red (33,33):
kuruma, 1,5 33,33
CAR3 + CAR4
For most of the GTA III Era, vehicles have no more than two colors, and so all have two values (as in the above example). In GTA San Andreas, some vehicles require four colors. Where 4 values are required, these vehicles are listed separately in a CAR4 section.
In GTA IV, all vehicles require a specular (shine) color and thus have 3 values, and so the main CAR section is named CAR3; whilst some also require a fourth color and are listed in CAR4. For example, a CAR4 entry could be:
futo, 32,0,30,1, 0,0,8,133
Trainers and car-spawning utilities can override the color of a vehicle whilst spawning or later, and do not rely entirely on the colors available to that vehicle in the CAR section of carcols. However, they are restricted to the colors available in the COL palette at the top of the carcols file.
Original Files
On the following pages are the original Carcols.dat files from each game, and a rendering of each game's default color palette:
Technical | IMG | DFF | TXD | IDE | GXT | Handling | Carcols | Dynamic Object |
Mods | Hot Coffee Modification | Create a Mission |
Tools | GGMM |
Game Files | Animviewer.dat/GTAVC | Bink | Default.dat/GTAVC | Chassis Vlo | Fistfite.dat/GTAVC | Flight.dat | Gta vc.dat | Object.dat/GTAVC | OpenGTA2 |Particle.cfg/GTAVC | Particle (SA) | Paths | Ped.dat/GTAVC | Pedgrp.dat/GTAVC | Pedstats.dat/GTAVC | Scenarios.dat | Scripted Path | Surface.dat/GTAVC | Surfaud.dat | TimeCyc Definition | Timecyc.dat/GTAVC | Train.dat/GTAVC | Train.dat/GTAVC | Train.dat/GTAVC | Train2.dat/GTAVC | WAD | WBD-WBN | WPFL | Water.dat | Water.dat/GTAVC | Weapon.dat/GTAVC Weaponinfo.xml |
Multiplayer | Multi Theft Auto, Vice City Multiplayer, San Andreas Multiplayer |