Difference between revisions of "Carcols.dat"

From GTAMods Wiki
Jump to navigation Jump to search
(Added tables for III, VC and LCS)
 
(One intermediate revision by one other user not shown)
Line 76: Line 76:
 
|}
 
|}
  
Below are the colours available in the default carcols.dat file, numbered according to their respective index in the section. In GTA III and Vice City, the police scanner describes the color of the vehicle the player is currently in. The association between what [[SFX]] the games play for the police scanner and the color table index is hardcoded. The police scanner supports only 95 indices in both games. For GTA III v1.0, the array containing this data starts at 0x60E910. For Vice City v1.0, the array containing this data starts at 0x6D5338.
+
Below are the colours available in the default carcols.dat file, numbered according to their respective index in the section.
 +
 
 +
==== GTA III and Vice City ====
 +
In GTA III and Vice City, the police scanner describes the color of the vehicle the player is currently in. The association between what [[SFX]] the games play for the police scanner and the color table index is hardcoded. The police scanner supports only 95 indices in both games. For GTA III v1.0, the array containing this data starts at 0x60E910. For Vice City v1.0, the array containing this data starts at 0x6D5338. In the table below, the background color of the cell is the color defined for that index. Fourteen cells have two colors — the left side for GTA III and the right side for Vice City.
  
{|
 
|style="vertical-align: top;" |
 
====GTA III====
 
 
{|class="wikitable center-col-1 collapsible collapsed"
 
{|class="wikitable center-col-1 collapsible collapsed"
 
!Index ||Police scanner name
 
!Index ||Police scanner name
Line 90: Line 90:
 
|style="background:#2A77A1; color:#FFFFFF" |2 ||blue
 
|style="background:#2A77A1; color:#FFFFFF" |2 ||blue
 
|-
 
|-
|style="background:#B3363A; color:#FFFFFF" |3 ||red
+
|style="background:linear-gradient(to right, #B3363A 50%, #840410 50%); color:#FFFFFF" |3 ||red
 
|-
 
|-
 
|style="background:#263739; color:#FFFFFF" |4 ||dark blue
 
|style="background:#263739; color:#FFFFFF" |4 ||dark blue
Line 96: Line 96:
 
|style="background:#86446E; color:#FFFFFF" |5 ||purple
 
|style="background:#86446E; color:#FFFFFF" |5 ||purple
 
|-
 
|-
|style="background:#F3ED47; color:#000000" |6 ||yellow
+
|style="background:linear-gradient(to right, #F3ED47 50%, #FFB610 50%); color:#000000" |6 ||yellow
 
|-
 
|-
 
|style="background:#4C75B7; color:#FFFFFF" |7 ||bright blue
 
|style="background:#4C75B7; color:#FFFFFF" |7 ||bright blue
 
|-
 
|-
|style="background:#667292; color:#FFFFFF" |8 ||light blue grey
+
|style="background:linear-gradient(to right, #667292 50%, #BDBEC6 50%); color:#FFFFFF" |8 ||light blue grey
 
|-
 
|-
 
|style="background:#5E7072; color:#FFFFFF" |9 ||light
 
|style="background:#5E7072; color:#FFFFFF" |9 ||light
 
|-
 
|-
|style="background:#352224; color:#FFFFFF" |10 ||dark
+
|style="background:linear-gradient(to right, #352224 50%, #310000 50%); color:#FFFFFF" |10 ||dark
 
|-
 
|-
 
|style="background:#5A2124; color:#FFFFFF" |11 ||dark
 
|style="background:#5A2124; color:#FFFFFF" |11 ||dark
 
|-
 
|-
|style="background:#662B2B; color:#FFFFFF" |12 ||dark red
+
|style="background:linear-gradient(to right, #662B2B 50%, #840410 50%); color:#FFFFFF" |12 ||dark red
 
|-
 
|-
 
|style="background:#63322E; color:#FFFFFF" |13 ||red
 
|style="background:#63322E; color:#FFFFFF" |13 ||red
 
|-
 
|-
|style="background:#842827; color:#FFFFFF" |14 ||red
+
|style="background:linear-gradient(to right, #842827 50%, #B51400 50%); color:#FFFFFF" |14 ||red
 
|-
 
|-
 
|style="background:#8A3A42; color:#FFFFFF" |15 ||red
 
|style="background:#8A3A42; color:#FFFFFF" |15 ||red
 
|-
 
|-
|style="background:#682731; color:#FFFFFF" |16 ||red
+
|style="background:linear-gradient(to right, #682731 50%, #640D1A 50%); color:#FFFFFF" |16 ||red
 
|-
 
|-
 
|style="background:#8B3C44; color:#FFFFFF" |17 ||red
 
|style="background:#8B3C44; color:#FFFFFF" |17 ||red
Line 128: Line 128:
 
|style="background:#925635; color:#FFFFFF" |21 ||dark
 
|style="background:#925635; color:#FFFFFF" |21 ||dark
 
|-
 
|-
|style="background:#F4723A; color:#FFFFFF" |22 ||dark
+
|style="background:linear-gradient(to right, #F4723A 50%, #B87C26 50%); color:#FFFFFF" |22 ||dark
 
|-
 
|-
 
|style="background:#D35733; color:#FFFFFF" |23 ||orange
 
|style="background:#D35733; color:#FFFFFF" |23 ||orange
Line 154: Line 154:
 
|style="background:#948C66; color:#FFFFFF" |34 ||yellow
 
|style="background:#948C66; color:#FFFFFF" |34 ||yellow
 
|-
 
|-
|style="background:#998D79; color:#FFFFFF" |35 ||yellow
+
|style="background:linear-gradient(to right, #998D79 50%, #FF9C10 50%); color:#FFFFFF" |35 ||yellow
 
|-
 
|-
 
|style="background:#D8A534; color:#FFFFFF" |36 ||yellow
 
|style="background:#D8A534; color:#FFFFFF" |36 ||yellow
Line 174: Line 174:
 
|style="background:#2D5037; color:#FFFFFF" |44 ||green
 
|style="background:#2D5037; color:#FFFFFF" |44 ||green
 
|-
 
|-
|style="background:#3A6C60; color:#FFFFFF" |45 ||green
+
|style="background:linear-gradient(to right, #3A6C60 50%, #526952 50%); color:#FFFFFF" |45 ||green
 
|-
 
|-
|style="background:#3A623C; color:#FFFFFF" |46 ||green
+
|style="background:linear-gradient(to right, #3A623C 50%, #2D683E 50%); color:#FFFFFF" |46 ||green
 
|-
 
|-
 
|style="background:#7CA282; color:#FFFFFF" |47 ||green
 
|style="background:#7CA282; color:#FFFFFF" |47 ||green
Line 190: Line 190:
 
|style="background:#1C2745; color:#FFFFFF" |52 ||dark
 
|style="background:#1C2745; color:#FFFFFF" |52 ||dark
 
|-
 
|-
|style="background:#1F3468; color:#FFFFFF" |53 ||blue
+
|style="background:linear-gradient(to right, #1F3468 50%, #070F37 50%); color:#FFFFFF" |53 ||blue
 
|-
 
|-
 
|style="background:#2B4878; color:#FFFFFF" |54 ||blue
 
|style="background:#2B4878; color:#FFFFFF" |54 ||blue
Line 242: Line 242:
 
|style="background:#CFCFCF; color:#000000" |78 ||silver
 
|style="background:#CFCFCF; color:#000000" |78 ||silver
 
|-
 
|-
|style="background:#E6E6E6; color:#000000" |79 ||light
+
|style="background:linear-gradient(to right, #E6E6E6 50%, #DEDFE7 50%); color:#000000" |79 ||light
 
|-
 
|-
 
|style="background:#AAAFAA; color:#FFFFFF" |80 ||light
 
|style="background:#AAAFAA; color:#FFFFFF" |80 ||light
Line 252: Line 252:
 
|style="background:#BBBEB5; color:#FFFFFF" |83 ||light
 
|style="background:#BBBEB5; color:#FFFFFF" |83 ||light
 
|-
 
|-
|style="background:#BBBEB5; color:#FFFFFF" |84 ||light
+
|style="background:linear-gradient(to right, #BBBEB5 50%, #E0E0D6 50%); color:#FFFFFF" |84 ||light
 
|-
 
|-
 
|style="background:#6A6F70; color:#FFFFFF" |85 ||light
 
|style="background:#6A6F70; color:#FFFFFF" |85 ||light
Line 274: Line 274:
 
|style="background:#41454C; color:#FFFFFF" |94 ||dark
 
|style="background:#41454C; color:#FFFFFF" |94 ||dark
 
|}
 
|}
|style="vertical-align: top;" |
+
 
====Vice City====
+
====GTA III====
{|class="wikitable center-col-1 collapsible collapsed"
+
 
!Index ||Police scanner name
+
{| cellpadding="10" cellspacing="0" style="text-align: center;"
 
|-
 
|-
|style="background:#050505; color:#FFFFFF" |0 ||black
+
| style="background:#050505; color:#FFFFFF" | 0
 +
| style="background:#f5f5f5; color:#FFFFFF" | 1
 +
| style="background:#2a77a1; color:#FFFFFF" | 2
 +
| style="background:#b3363a; color:#FFFFFF" | 3
 +
| style="background:#263739; color:#FFFFFF" | 4
 +
| style="background:#86446e; color:#FFFFFF" | 5
 +
| style="background:#f3ed47; color:#FFFFFF" | 6
 +
| style="background:#4c75b7; color:#FFFFFF" | 7
 +
| style="background:#667292; color:#FFFFFF" | 8
 +
| style="background:#5e7072; color:#FFFFFF" | 9
 +
| style="background:#352224; color:#FFFFFF" | 10
 +
| style="background:#5a2124; color:#FFFFFF" | 11
 +
| style="background:#662b2b; color:#FFFFFF" | 12
 +
| style="background:#63322e; color:#FFFFFF" | 13
 +
| style="background:#842827; color:#FFFFFF" | 14
 +
| style="background:#8a3a42; color:#FFFFFF" | 15
 +
| style="background:#682731; color:#FFFFFF" | 16
 +
| style="background:#8b3c44; color:#FFFFFF" | 17
 +
| style="background:#9e2f2b; color:#FFFFFF" | 18
 +
| style="background:#a33a2f; color:#FFFFFF" | 19
 
|-
 
|-
|style="background:#F5F5F5; color:#000000" |1 ||white
+
| style="background:#d25633; color:#FFFFFF" | 20
 +
| style="background:#925635; color:#FFFFFF" | 21
 +
| style="background:#f4723a; color:#FFFFFF" | 22
 +
| style="background:#d35733; color:#FFFFFF" | 23
 +
| style="background:#e25a59; color:#FFFFFF" | 24
 +
| style="background:#772a25; color:#FFFFFF" | 25
 +
| style="background:#e17743; color:#FFFFFF" | 26
 +
| style="background:#c44636; color:#FFFFFF" | 27
 +
| style="background:#e17844; color:#FFFFFF" | 28
 +
| style="background:#c35938; color:#FFFFFF" | 29
 +
| style="background:#464840; color:#FFFFFF" | 30
 +
| style="background:#747761; color:#FFFFFF" | 31
 +
| style="background:#757763; color:#FFFFFF" | 32
 +
| style="background:#918a3d; color:#FFFFFF" | 33
 +
| style="background:#948c66; color:#FFFFFF" | 34
 +
| style="background:#998d79; color:#FFFFFF" | 35
 +
| style="background:#d8a534; color:#FFFFFF" | 36
 +
| style="background:#c9bd7d; color:#FFFFFF" | 37
 +
| style="background:#c9c591; color:#FFFFFF" | 38
 +
| style="background:#d4c84e; color:#FFFFFF" | 39
 
|-
 
|-
|style="background:#2A77A1; color:#FFFFFF" |2 ||blue
+
| style="background:#1a332e; color:#FFFFFF" | 40
 +
| style="background:#242f2b; color:#FFFFFF" | 41
 +
| style="background:#1d373f; color:#FFFFFF" | 42
 +
| style="background:#3c4a3b; color:#FFFFFF" | 43
 +
| style="background:#2d5037; color:#FFFFFF" | 44
 +
| style="background:#3a6c60; color:#FFFFFF" | 45
 +
| style="background:#3a623c; color:#FFFFFF" | 46
 +
| style="background:#7ca282; color:#FFFFFF" | 47
 +
| style="background:#4c524e; color:#FFFFFF" | 48
 +
| style="background:#56775b; color:#FFFFFF" | 49
 +
| style="background:#1c4650; color:#FFFFFF" | 50
 +
| style="background:#485e84; color:#FFFFFF" | 51
 +
| style="background:#1c2745; color:#FFFFFF" | 52
 +
| style="background:#1f3468; color:#FFFFFF" | 53
 +
| style="background:#2b4878; color:#FFFFFF" | 54
 +
| style="background:#475c83; color:#FFFFFF" | 55
 +
| style="background:#447c92; color:#FFFFFF" | 56
 +
| style="background:#3d67ab; color:#FFFFFF" | 57
 +
| style="background:#4b7d82; color:#FFFFFF" | 58
 +
| style="background:#80b0b7; color:#FFFFFF" | 59
 
|-
 
|-
|style="background:#840410; color:#FFFFFF" |3 ||red
+
| style="background:#3d2333; color:#FFFFFF" | 60
 +
| style="background:#1c2948; color:#FFFFFF" | 61
 +
| style="background:#343941; color:#FFFFFF" | 62
 +
| style="background:#40454c; color:#FFFFFF" | 63
 +
| style="background:#4a2d2b; color:#FFFFFF" | 64
 +
| style="background:#563e33; color:#FFFFFF" | 65
 +
| style="background:#41464c; color:#FFFFFF" | 66
 +
| style="background:#672731; color:#FFFFFF" | 67
 +
| style="background:#835a75; color:#FFFFFF" | 68
 +
| style="background:#868587; color:#FFFFFF" | 69
 +
| style="background:#171717; color:#FFFFFF" | 70
 +
| style="background:#2e2e2e; color:#FFFFFF" | 71
 +
| style="background:#454545; color:#FFFFFF" | 72
 +
| style="background:#5c5c5c; color:#FFFFFF" | 73
 +
| style="background:#737373; color:#FFFFFF" | 74
 +
| style="background:#8a8a8a; color:#FFFFFF" | 75
 +
| style="background:#a1a1a1; color:#FFFFFF" | 76
 +
| style="background:#b8b8b8; color:#FFFFFF" | 77
 +
| style="background:#cfcfcf; color:#FFFFFF" | 78
 +
| style="background:#e6e6e6; color:#FFFFFF" | 79
 
|-
 
|-
|style="background:#263739; color:#FFFFFF" |4 ||dark blue
+
| style="background:#aaafaa; color:#FFFFFF" | 80
 +
| style="background:#6a736b; color:#FFFFFF" | 81
 +
| style="background:#aaafaa; color:#FFFFFF" | 82
 +
| style="background:#bbbeb5; color:#FFFFFF" | 83
 +
| style="background:#bbbeb5; color:#FFFFFF" | 84
 +
| style="background:#6a6f70; color:#FFFFFF" | 85
 +
| style="background:#60635f; color:#FFFFFF" | 86
 +
| style="background:#6a736b; color:#FFFFFF" | 87
 +
| style="background:#aaafaa; color:#FFFFFF" | 88
 +
| style="background:#bbbeb5; color:#FFFFFF" | 89
 +
| style="background:#21292b; color:#FFFFFF" | 90
 +
| style="background:#343842; color:#FFFFFF" | 91
 +
| style="background:#414648; color:#FFFFFF" | 92
 +
| style="background:#4e5960; color:#FFFFFF" | 93
 +
| style="background:#41454c; color:#FFFFFF" | 94
 +
|}
 +
 
 +
 
 +
====GTA Vice City====
 +
 
 +
{| cellpadding="10" cellspacing="0" style="text-align: center;"
 
|-
 
|-
|style="background:#86446E; color:#FFFFFF" |5 ||purple
+
| style="background:#050505; color:#FFFFFF" | 0
 +
| style="background:#f5f5f5; color:#FFFFFF" | 1
 +
| style="background:#2a77a1; color:#FFFFFF" | 2
 +
| style="background:#840410; color:#FFFFFF" | 3
 +
| style="background:#263739; color:#FFFFFF" | 4
 +
| style="background:#86446e; color:#FFFFFF" | 5
 +
| style="background:#ffb610; color:#FFFFFF" | 6
 +
| style="background:#4c75b7; color:#FFFFFF" | 7
 +
| style="background:#bdbec6; color:#FFFFFF" | 8
 +
| style="background:#5e7072; color:#FFFFFF" | 9
 +
| style="background:#310000; color:#FFFFFF" | 10
 +
| style="background:#5a2124; color:#FFFFFF" | 11
 +
| style="background:#840410; color:#FFFFFF" | 12
 +
| style="background:#63322e; color:#FFFFFF" | 13
 +
| style="background:#b51400; color:#FFFFFF" | 14
 +
| style="background:#8a3a42; color:#FFFFFF" | 15
 +
| style="background:#640d1a; color:#FFFFFF" | 16
 +
| style="background:#8b3c44; color:#FFFFFF" | 17
 +
| style="background:#9e2f2b; color:#FFFFFF" | 18
 +
| style="background:#a33a2f; color:#FFFFFF" | 19
 
|-
 
|-
|style="background:#FFB610; color:#000000" |6 ||yellow
+
| style="background:#d25633; color:#FFFFFF" | 20
 +
| style="background:#925635; color:#FFFFFF" | 21
 +
| style="background:#b87c26; color:#FFFFFF" | 22
 +
| style="background:#d35733; color:#FFFFFF" | 23
 +
| style="background:#e25a59; color:#FFFFFF" | 24
 +
| style="background:#772a25; color:#FFFFFF" | 25
 +
| style="background:#e17743; color:#FFFFFF" | 26
 +
| style="background:#c44636; color:#FFFFFF" | 27
 +
| style="background:#e17844; color:#FFFFFF" | 28
 +
| style="background:#c35938; color:#FFFFFF" | 29
 +
| style="background:#464840; color:#FFFFFF" | 30
 +
| style="background:#747761; color:#FFFFFF" | 31
 +
| style="background:#757763; color:#FFFFFF" | 32
 +
| style="background:#918a3d; color:#FFFFFF" | 33
 +
| style="background:#948c66; color:#FFFFFF" | 34
 +
| style="background:#ff9c10; color:#FFFFFF" | 35
 +
| style="background:#d8a534; color:#FFFFFF" | 36
 +
| style="background:#c9bd7d; color:#FFFFFF" | 37
 +
| style="background:#c9c591; color:#FFFFFF" | 38
 +
| style="background:#d4c84e; color:#FFFFFF" | 39
 
|-
 
|-
|style="background:#4C75B7; color:#FFFFFF" |7 ||bright blue
+
| style="background:#1a332e; color:#FFFFFF" | 40
|-
+
| style="background:#242f2b; color:#FFFFFF" | 41
|style="background:#BDBEC6; color:#000000" |8 ||light blue grey
+
| style="background:#1d373f; color:#FFFFFF" | 42
|-
+
| style="background:#3c4a3b; color:#FFFFFF" | 43
|style="background:#5E7072; color:#FFFFFF" |9 ||light
+
| style="background:#2d5037; color:#FFFFFF" | 44
 +
| style="background:#526952; color:#FFFFFF" | 45
 +
| style="background:#2d683e; color:#FFFFFF" | 46
 +
| style="background:#7ca282; color:#FFFFFF" | 47
 +
| style="background:#4c524e; color:#FFFFFF" | 48
 +
| style="background:#56775b; color:#FFFFFF" | 49
 +
| style="background:#101450; color:#FFFFFF" | 50
 +
| style="background:#485e84; color:#FFFFFF" | 51
 +
| style="background:#1c2745; color:#FFFFFF" | 52
 +
| style="background:#1c376f; color:#FFFFFF" | 53
 +
| style="background:#2b4878; color:#FFFFFF" | 54
 +
| style="background:#475c83; color:#FFFFFF" | 55
 +
| style="background:#447c92; color:#FFFFFF" | 56
 +
| style="background:#3d67ab; color:#FFFFFF" | 57
 +
| style="background:#4b7d82; color:#FFFFFF" | 58
 +
| style="background:#80b0b7; color:#FFFFFF" | 59
 
|-
 
|-
|style="background:#310000; color:#FFFFFF" |10 ||dark
+
| style="background:#3d2333; color:#FFFFFF" | 60
 +
| style="background:#1c2948; color:#FFFFFF" | 61
 +
| style="background:#343941; color:#FFFFFF" | 62
 +
| style="background:#40454c; color:#FFFFFF" | 63
 +
| style="background:#4a2d2b; color:#FFFFFF" | 64
 +
| style="background:#563e33; color:#FFFFFF" | 65
 +
| style="background:#41464c; color:#FFFFFF" | 66
 +
| style="background:#672731; color:#FFFFFF" | 67
 +
| style="background:#835a75; color:#FFFFFF" | 68
 +
| style="background:#868587; color:#FFFFFF" | 69
 +
| style="background:#171717; color:#FFFFFF" | 70
 +
| style="background:#2e2e2e; color:#FFFFFF" | 71
 +
| style="background:#454545; color:#FFFFFF" | 72
 +
| style="background:#5c5c5c; color:#FFFFFF" | 73
 +
| style="background:#737373; color:#FFFFFF" | 74
 +
| style="background:#8a8a8a; color:#FFFFFF" | 75
 +
| style="background:#a1a1a1; color:#FFFFFF" | 76
 +
| style="background:#b8b8b8; color:#FFFFFF" | 77
 +
| style="background:#cfcfcf; color:#FFFFFF" | 78
 +
| style="background:#dedfe7; color:#FFFFFF" | 79
 
|-
 
|-
|style="background:#5A2124; color:#FFFFFF" |11 ||dark
+
| style="background:#aaafaa; color:#FFFFFF" | 80
|-
+
| style="background:#6a736b; color:#FFFFFF" | 81
|style="background:#840410; color:#FFFFFF" |12 ||dark red
+
| style="background:#aaafaa; color:#FFFFFF" | 82
|-
+
| style="background:#bbbeb5; color:#FFFFFF" | 83
|style="background:#63322E; color:#FFFFFF" |13 ||red
+
| style="background:#e0dfd6; color:#FFFFFF" | 84
|-
+
| style="background:#6a6f70; color:#FFFFFF" | 85
|style="background:#B51400; color:#FFFFFF" |14 ||red
+
| style="background:#60635f; color:#FFFFFF" | 86
|-
+
| style="background:#6a736b; color:#FFFFFF" | 87
|style="background:#8A3A42; color:#FFFFFF" |15 ||red
+
| style="background:#aaafaa; color:#FFFFFF" | 88
|-
+
| style="background:#bbbeb5; color:#FFFFFF" | 89
|style="background:#640D1A; color:#FFFFFF" |16 ||red
+
| style="background:#21292b; color:#FFFFFF" | 90
|-
+
| style="background:#343842; color:#FFFFFF" | 91
|style="background:#8B3C44; color:#FFFFFF" |17 ||red
+
| style="background:#414648; color:#FFFFFF" | 92
|-
+
| style="background:#4e5960; color:#FFFFFF" | 93
|style="background:#9E2F2B; color:#FFFFFF" |18 ||red
+
| style="background:#41454c; color:#FFFFFF" | 94
|-
 
|style="background:#A33A2F; color:#FFFFFF" |19 ||light
 
|-
 
|style="background:#D25633; color:#FFFFFF" |20 ||dark
 
|-
 
|style="background:#925635; color:#FFFFFF" |21 ||dark
 
|-
 
|style="background:#B87C26; color:#FFFFFF" |22 ||dark
 
|-
 
|style="background:#D35733; color:#FFFFFF" |23 ||orange
 
|-
 
|style="background:#E25A59; color:#FFFFFF" |24 ||orange
 
|-
 
|style="background:#772A25; color:#FFFFFF" |25 ||orange
 
|-
 
|style="background:#E17743; color:#FFFFFF" |26 ||orange
 
|-
 
|style="background:#C44636; color:#FFFFFF" |27 ||orange
 
|-
 
|style="background:#E17844; color:#FFFFFF" |28 ||orange
 
|-
 
|style="background:#C35938; color:#FFFFFF" |29 ||light
 
|-
 
|style="background:#464840; color:#FFFFFF" |30 ||dark
 
|-
 
|style="background:#747761; color:#FFFFFF" |31 ||dark
 
|-
 
|style="background:#757763; color:#FFFFFF" |32 ||dark
 
|-
 
|style="background:#918A3D; color:#FFFFFF" |33 ||yellow
 
|-
 
|style="background:#948C66; color:#FFFFFF" |34 ||yellow
 
|-
 
|style="background:#FF9C10; color:#FFFFFF" |35 ||yellow
 
|-
 
|style="background:#D8A534; color:#FFFFFF" |36 ||yellow
 
|-
 
|style="background:#C9BD7D; color:#FFFFFF" |37 ||yellow
 
|-
 
|style="background:#C9C591; color:#FFFFFF" |38 ||yellow
 
|-
 
|style="background:#D4C84E; color:#FFFFFF" |39 ||light
 
|-
 
|style="background:#1A332E; color:#FFFFFF" |40 ||dark
 
|-
 
|style="background:#062505; color:#FFFFFF" |41 ||dark
 
|-
 
|style="background:#1D373F; color:#FFFFFF" |42 ||dark
 
|-
 
|style="background:#3C4A3B; color:#FFFFFF" |43 ||green
 
|-
 
|style="background:#2D5037; color:#FFFFFF" |44 ||green
 
|-
 
|style="background:#526952; color:#FFFFFF" |45 ||green
 
|-
 
|style="background:#2D683E; color:#FFFFFF" |46 ||green
 
|-
 
|style="background:#7CA282; color:#FFFFFF" |47 ||green
 
|-
 
|style="background:#4C524E; color:#FFFFFF" |48 ||green
 
|-
 
|style="background:#56775B; color:#FFFFFF" |49 ||light
 
|-
 
|style="background:#101450; color:#FFFFFF" |50 ||dark
 
|-
 
|style="background:#485E84; color:#FFFFFF" |51 ||dark
 
|-
 
|style="background:#1C2745; color:#FFFFFF" |52 ||dark
 
|-
 
|style="background:#070F37; color:#FFFFFF" |53 ||blue
 
|-
 
|style="background:#2B4878; color:#FFFFFF" |54 ||blue
 
|-
 
|style="background:#475C83; color:#FFFFFF" |55 ||blue
 
|-
 
|style="background:#447C92; color:#FFFFFF" |56 ||blue
 
|-
 
|style="background:#3D67AB; color:#FFFFFF" |57 ||blue
 
|-
 
|style="background:#4B7D82; color:#FFFFFF" |58 ||blue
 
|-
 
|style="background:#80B0B7; color:#FFFFFF" |59 ||light
 
|-
 
|style="background:#3D2333; color:#FFFFFF" |60 ||dark
 
|-
 
|style="background:#1C2948; color:#FFFFFF" |61 ||dark
 
|-
 
|style="background:#343941; color:#FFFFFF" |62 ||dark
 
|-
 
|style="background:#40454C; color:#FFFFFF" |63 ||purple
 
|-
 
|style="background:#4A2D2B; color:#FFFFFF" |64 ||purple
 
|-
 
|style="background:#563E33; color:#FFFFFF" |65 ||purple
 
|-
 
|style="background:#41464C; color:#FFFFFF" |66 ||purple
 
|-
 
|style="background:#672731; color:#FFFFFF" |67 ||purple
 
|-
 
|style="background:#835A75; color:#FFFFFF" |68 ||purple
 
|-
 
|style="background:#868587; color:#FFFFFF" |69 ||light
 
|-
 
|style="background:#171717; color:#FFFFFF" |70 ||dark
 
|-
 
|style="background:#2E2E2E; color:#FFFFFF" |71 ||dark
 
|-
 
|style="background:#454545; color:#FFFFFF" |72 ||dark
 
|-
 
|style="background:#5C5C5C; color:#FFFFFF" |73 ||silver
 
|-
 
|style="background:#737373; color:#FFFFFF" |74 ||silver
 
|-
 
|style="background:#8A8A8A; color:#FFFFFF" |75 ||silver
 
|-
 
|style="background:#A1A1A1; color:#FFFFFF" |76 ||silver
 
|-
 
|style="background:#B8B8B8; color:#FFFFFF" |77 ||silver
 
|-
 
|style="background:#CFCFCF; color:#000000" |78 ||silver
 
|-
 
|style="background:#DEDFE7; color:#000000" |79 ||light
 
|-
 
|style="background:#AAAFAA; color:#FFFFFF" |80 ||light
 
|-
 
|style="background:#6A736B; color:#FFFFFF" |81 ||light
 
|-
 
|style="background:#AAAFAA; color:#FFFFFF" |82 ||light
 
|-
 
|style="background:#BBBEB5; color:#FFFFFF" |83 ||light
 
|-
 
|style="background:#E0E0D6; color:#000000" |84 ||light
 
|-
 
|style="background:#6A6F70; color:#FFFFFF" |85 ||light
 
|-
 
|style="background:#60635F; color:#FFFFFF" |86 ||light
 
|-
 
|style="background:#6A736B; color:#FFFFFF" |87 ||light
 
|-
 
|style="background:#AAAFAA; color:#FFFFFF" |88 ||light
 
|-
 
|style="background:#BBBEB5; color:#000000" |89 ||light
 
|-
 
|style="background:#21292B; color:#FFFFFF" |90 ||dark
 
|-
 
|style="background:#343842; color:#FFFFFF" |91 ||dark
 
|-
 
|style="background:#414648; color:#FFFFFF" |92 ||dark
 
|-
 
|style="background:#4E5960; color:#FFFFFF" |93 ||dark
 
|-
 
|style="background:#41454C; color:#FFFFFF" |94 ||dark
 
|}
 
 
|}
 
|}
 +
  
 
====San Andreas====
 
====San Andreas====
Line 609: Line 625:
 
| style="background:#EC6AAE; color:#FFFFFF" | 126
 
| style="background:#EC6AAE; color:#FFFFFF" | 126
 
|}
 
|}
 +
 +
 +
====Liberty City Stories====
 +
 +
{| cellpadding="10" cellspacing="0" style="text-align: center;"
 +
|-
 +
| style="background:#0f0f0f; color:#FFFFFF" | 0
 +
| style="background:#cacaca; color:#FFFFFF" | 1
 +
| style="background:#2a77a1; color:#FFFFFF" | 2
 +
| style="background:#8f0a0a; color:#FFFFFF" | 3
 +
| style="background:#01244f; color:#FFFFFF" | 4
 +
| style="background:#86446e; color:#FFFFFF" | 5
 +
| style="background:#ffb610; color:#FFFFFF" | 6
 +
| style="background:#4c75b7; color:#FFFFFF" | 7
 +
| style="background:#bdbec6; color:#FFFFFF" | 8
 +
| style="background:#5e7072; color:#FFFFFF" | 9
 +
| style="background:#46597a; color:#FFFFFF" | 10
 +
| style="background:#656a79; color:#FFFFFF" | 11
 +
| style="background:#5d7e8d; color:#FFFFFF" | 12
 +
| style="background:#58595a; color:#FFFFFF" | 13
 +
| style="background:#d6dad6; color:#FFFFFF" | 14
 +
| style="background:#9ca1a3; color:#FFFFFF" | 15
 +
| style="background:#335f3f; color:#FFFFFF" | 16
 +
| style="background:#730e1a; color:#FFFFFF" | 17
 +
| style="background:#7b0a2a; color:#FFFFFF" | 18
 +
| style="background:#9f9d94; color:#FFFFFF" | 19
 +
|-
 +
| style="background:#3b4e78; color:#FFFFFF" | 20
 +
| style="background:#732e3e; color:#FFFFFF" | 21
 +
| style="background:#691e3b; color:#FFFFFF" | 22
 +
| style="background:#96918c; color:#FFFFFF" | 23
 +
| style="background:#515459; color:#FFFFFF" | 24
 +
| style="background:#3f3e45; color:#FFFFFF" | 25
 +
| style="background:#a5a9a7; color:#FFFFFF" | 26
 +
| style="background:#635c5a; color:#FFFFFF" | 27
 +
| style="background:#3d4a68; color:#FFFFFF" | 28
 +
| style="background:#979592; color:#FFFFFF" | 29
 +
| style="background:#421f21; color:#FFFFFF" | 30
 +
| style="background:#5f272b; color:#FFFFFF" | 31
 +
| style="background:#8494ab; color:#FFFFFF" | 32
 +
| style="background:#767b7c; color:#FFFFFF" | 33
 +
| style="background:#646464; color:#FFFFFF" | 34
 +
| style="background:#5a5752; color:#FFFFFF" | 35
 +
| style="background:#252527; color:#FFFFFF" | 36
 +
| style="background:#2d3a35; color:#FFFFFF" | 37
 +
| style="background:#93a396; color:#FFFFFF" | 38
 +
| style="background:#6d7a88; color:#FFFFFF" | 39
 +
|-
 +
| style="background:#221918; color:#FFFFFF" | 40
 +
| style="background:#6f675f; color:#FFFFFF" | 41
 +
| style="background:#7c1c2a; color:#FFFFFF" | 42
 +
| style="background:#5f0a15; color:#FFFFFF" | 43
 +
| style="background:#193826; color:#FFFFFF" | 44
 +
| style="background:#5d1b20; color:#FFFFFF" | 45
 +
| style="background:#9d9872; color:#FFFFFF" | 46
 +
| style="background:#7a7560; color:#FFFFFF" | 47
 +
| style="background:#989586; color:#FFFFFF" | 48
 +
| style="background:#adb0b0; color:#FFFFFF" | 49
 +
| style="background:#848988; color:#FFFFFF" | 50
 +
| style="background:#304f45; color:#FFFFFF" | 51
 +
| style="background:#4d6268; color:#FFFFFF" | 52
 +
| style="background:#162248; color:#FFFFFF" | 53
 +
| style="background:#272f4b; color:#FFFFFF" | 54
 +
| style="background:#7d6256; color:#FFFFFF" | 55
 +
| style="background:#9ea4ab; color:#FFFFFF" | 56
 +
| style="background:#9c8d71; color:#FFFFFF" | 57
 +
| style="background:#6d1822; color:#FFFFFF" | 58
 +
| style="background:#4e6881; color:#FFFFFF" | 59
 +
|-
 +
| style="background:#9c9c98; color:#FFFFFF" | 60
 +
| style="background:#917347; color:#FFFFFF" | 61
 +
| style="background:#661c26; color:#FFFFFF" | 62
 +
| style="background:#949d9f; color:#FFFFFF" | 63
 +
| style="background:#a4a7a5; color:#FFFFFF" | 64
 +
| style="background:#8e8c46; color:#FFFFFF" | 65
 +
| style="background:#341a1e; color:#FFFFFF" | 66
 +
| style="background:#6a7a8c; color:#FFFFFF" | 67
 +
| style="background:#aaad8e; color:#FFFFFF" | 68
 +
| style="background:#ab988f; color:#FFFFFF" | 69
 +
| style="background:#851f2e; color:#FFFFFF" | 70
 +
| style="background:#6f8297; color:#FFFFFF" | 71
 +
| style="background:#585853; color:#FFFFFF" | 72
 +
| style="background:#9aa790; color:#FFFFFF" | 73
 +
| style="background:#601a23; color:#FFFFFF" | 74
 +
| style="background:#3b3b4b; color:#FFFFFF" | 75
 +
| style="background:#a4a096; color:#FFFFFF" | 76
 +
| style="background:#aa9d84; color:#FFFFFF" | 77
 +
| style="background:#78222b; color:#FFFFFF" | 78
 +
| style="background:#0e316d; color:#FFFFFF" | 79
 +
|-
 +
| style="background:#722a3f; color:#FFFFFF" | 80
 +
| style="background:#7b715e; color:#FFFFFF" | 81
 +
| style="background:#741d28; color:#FFFFFF" | 82
 +
| style="background:#1e2e32; color:#FFFFFF" | 83
 +
| style="background:#4d322f; color:#FFFFFF" | 84
 +
| style="background:#7c1b44; color:#FFFFFF" | 85
 +
| style="background:#2e5b20; color:#FFFFFF" | 86
 +
| style="background:#395a83; color:#FFFFFF" | 87
 +
| style="background:#6d2837; color:#FFFFFF" | 88
 +
| style="background:#a7a28f; color:#FFFFFF" | 89
 +
| style="background:#afb1b1; color:#FFFFFF" | 90
 +
| style="background:#364155; color:#FFFFFF" | 91
 +
| style="background:#6d6c6e; color:#FFFFFF" | 92
 +
| style="background:#0f6a89; color:#FFFFFF" | 93
 +
| style="background:#204b6b; color:#FFFFFF" | 94
 +
| style="background:#efe8c8; color:#FFFFFF" | 95
 +
| style="background:#0c275e; color:#FFFFFF" | 96
 +
| style="background:#ffffff; color:#FFFFFF" | 97
 +
| style="background:#5e7072; color:#FFFFFF" | 98
 +
| style="background:#2b2f3a; color:#FFFFFF" | 99
 +
|-
 +
| style="background:#414f37; color:#FFFFFF" | 100
 +
|}
 +
  
 
====Vice City Stories====
 
====Vice City Stories====
 +
 
{| cellpadding="10" cellspacing="0" style="text-align: center;"
 
{| cellpadding="10" cellspacing="0" style="text-align: center;"
 
|-
 
|-
Line 721: Line 852:
 
| style="background:#FFEF64; color:#000000" | 101
 
| style="background:#FFEF64; color:#000000" | 101
 
|}
 
|}
 +
  
 
====GTA IV====
 
====GTA IV====

Latest revision as of 15:20, 18 December 2017

The carcols.dat file is located in the .\data directory of GTA III, Vice City, and San Andreas, or the .\common\data directory of GTA IV. It contains a color table and its index can be used to associate a color in the table with specific vehicle models. The games use this data when generating vehicles with random colors.

Overview

The file is in plain text format so it can be opened with any text editor (like Notepad). Line comments are indicated by the character # (number sign) and empty lines are allowed. They can be placed anywhere in the file. Each section starts with a section identifier indicating how the content of the section gets interpreted by the game. The identifier is followed by the definition entries. Each entry takes up one line and follows a specific format detailed below. The end of any section is indicated by the terminating string end. Both the section identifier and terminating string are case sensitive. Data in each entry are usually separated by the character , (comma) but can be separated by  (space). Extra tabs and spaces anywhere in the beginning of the line, between data, or after the data are omitted by the game and can be used to improve readability for human eyes.

Example

# line comment
col
# default style in col section
5,5,5
# valid style
	    5 5 5 # unread data
end

Format

Section Supported games Description
col GTA III Vice City San Andreas GTA IV Color table
car GTA III Vice City San Andreas GTA IV Car color assignments
car4 San Andreas GTA IV
car3 GTA IV

col

The col section is used to define colors in the color table. The index of the color in the table can be used in other sections to assign the vehicle colors.

col
# III/VC/SA
R, G, B
# IV
R, G, B, Prefix, Color
end
GTA III Vice City San Andreas GTA IV Identifier Type Description
A,B,C R, G, B integer[3] The color in RGB.
- D Prefix string Police scanner prefix name:
  • -
  • bright
  • light
  • dark
- E Color string Police scanner color name:
  • black
  • blue
  • brown
  • beige
  • graphite
  • green
  • grey
  • orange
  • pink
  • red
  • silver
  • white
  • yellow
  • GrottiRed
  • DewbaucheGreen

Below are the colours available in the default carcols.dat file, numbered according to their respective index in the section.

GTA III and Vice City

In GTA III and Vice City, the police scanner describes the color of the vehicle the player is currently in. The association between what SFX the games play for the police scanner and the color table index is hardcoded. The police scanner supports only 95 indices in both games. For GTA III v1.0, the array containing this data starts at 0x60E910. For Vice City v1.0, the array containing this data starts at 0x6D5338. In the table below, the background color of the cell is the color defined for that index. Fourteen cells have two colors — the left side for GTA III and the right side for Vice City.

GTA III

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94


GTA Vice City

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94


San Andreas

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
120 121 122 123 124 125 126


Liberty City Stories

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
100


Vice City Stories

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
100 101


GTA IV

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136

134, 135, 136 - TBoGT

car

The car section contains pairs of colors assigned to a vehicle model. Vehicles that spawn with a randomized color will choose a random pair of colors for the vehicle model from this section.

car
# III/VC/SA
ModelName, FirstColor1, SecondColor1, FirstColor2, SecondColor2, FirstColor3, SecondColor3, FirstColor4, SecondColor4, FirstColor5, SecondColor5, FirstColor6, SecondColor6, FirstColor7, SecondColor7, FirstColor8, SecondColor8
# IV
ModelName, FirstColor1, SecondColor1, FirstColor2, SecondColor2, FirstColor3, SecondColor3, FirstColor4, SecondColor4, FirstColor5, SecondColor5, FirstColor6, SecondColor6, FirstColor7, SecondColor7, FirstColor8, SecondColor8, FirstColor9, SecondColor9, FirstColor10, SecondColor10, FirstColor11, SecondColor11, FirstColor12, SecondColor12, FirstColor13, SecondColor13, FirstColor14, SecondColor14, FirstColor15, SecondColor15, FirstColor16, SecondColor16, FirstColor17, SecondColor17, FirstColor18, SecondColor18, FirstColor19, SecondColor19, FirstColor20, SecondColor20, FirstColor21, SecondColor21, FirstColor22, SecondColor22, FirstColor23, SecondColor23, FirstColor24, SecondColor24
end
GTA III Vice City San Andreas GTA IV Identifier Type Description
A ModelName string Model name of vehicle.
B FirstColor1 integer First car color of first pair. The value represents the index number in the col section starting with 0.
C SecondColor1 integer Second car color of first pair. The value represents the index number in the col section starting with 0.
D FirstColor2 integer First car color of second pair.
E SecondColor2 integer Second car color of second pair.
Repeat for a total of 8 pairs for GTA III, Vice City, and San Andreas; and 24 pairs for GTA IV.

It is not required to fill all 8 or 24 pairs of colors for each model; the games will ignore unused pairs. It is not even required for a model to have an entry in this section; the games will default to the pair 0,0.

car3

Only used in GTA IV, the car3 section contains the same data as car section from previous games but has a third value, the specular colour.

car3
ModelName, FirstColor1, SecondColor1, SpecularColor1, FirstColor2, SecondColor2, SpecularColor2, FirstColor3, SecondColor3, SpecularColor3, FirstColor4, SecondColor4, SpecularColor4, FirstColor5, SecondColor5, SpecularColor5, FirstColor6, SecondColor6, SpecularColor6, FirstColor7, SecondColor7, SpecularColor7, FirstColor8, SecondColor8, SpecularColor8, FirstColor9, SecondColor9, SpecularColor9, FirstColor10, SecondColor10, SpecularColor10, FirstColor11, SecondColor11, SpecularColor11, FirstColor12, SecondColor12, SpecularColor12, FirstColor13, SecondColor13, SpecularColor13, FirstColor14, SecondColor14, SpecularColor14, FirstColor15, SecondColor15, SpecularColor15, FirstColor16, SecondColor16, SpecularColor16, FirstColor17, SecondColor17, SpecularColor17, FirstColor18, SecondColor18, SpecularColor18, FirstColor19, SecondColor19, SpecularColor19, FirstColor20, SecondColor20, SpecularColor20, FirstColor21, SecondColor21, SpecularColor21, FirstColor22, SecondColor22, SpecularColor22, FirstColor23, SecondColor23, SpecularColor23, FirstColor24, SecondColor24, SpecularColor24
end

car4

Included in GTASA, this section contains the same data as CAR section but has colours in sets of 4 instead of 2. These cars will need to have not only primary and secondary materials assigned within the dff, but also tertiary and quaternary materials. By default, only the Campervan, Cement Mixer and Squalo boat use 4 colours in the game.

In GTA4 the data is the same as in the CAR3 section but with a fourth value, the tertiary colour.

Adding new colours

This is incredibly simple. To begin with, you must come up with an RGB code that matches the colour you want a car to spawn as. As explained earlier, choose any number between 0 and 255 for each 3 values. If you choose 255,0,0 you will have the strongest red colour possible.

Now in the COL section, add a new line at the bottom, and give it a # number that follows on from the very last colour.

Make sure your new line does not have the same # number as any other line.

Once you have your new line ready, you can add a name for it on the right, similar to the other lines, but this is not necessary. You have now finished with the COL section.

Now we move onto the CAR and CAR4 sections. Find the vehicle you want your new colour(s) to apply to. This vehicle should already have one or more pairs assigned to it. You can either remove these, or add your new pair to the end. Whichever you choose will make no difference, but don't forget the last number of the car's line must not have a comma ending it.

A pair can also have the same colour in it twice, all this will do is match the primary and secondary colours together. Remember, many cars only make use of the primary colour in a pair - the dff model file will need editing if you want the secondary colour to function somewhere on a car. The secondary colour (and perhaps tertiary and quaternary if using CAR4) can be set to anything should the model not actually have any materials assigned to those values.

Note: In San Andreas, having more than 179 colors will crash the game.

Adding carcols functionality to your own model (ZModeler only)

This can be achieved simply using tags on the ends of your model's material names. You can force the game to apply the primary colour setting to a material by adding:

[prim]

to the end of the material name, separated by a space. Secondary is [sec], tertiary is [ter] and quaternary is [qua]. A model can have multiple materials using a specific data type.

Tool