Difference between revisions of "Carcols.dat"

From GTAMods Wiki
Jump to navigation Jump to search
(police scanner names)
Line 75: Line 75:
 
|}
 
|}
  
Below are the colours available in the default carcols.dat file, numbered according to their respective entry.
+
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.
  
 +
{|
 +
|style="vertical-align: top;" |
 
====GTA III====
 
====GTA III====
{| cellpadding="10" cellspacing="0" style="text-align: center;"
+
{|class="wikitable center-col-1 collapsible collapsed"
 +
!Index ||Police scanner name
 +
|-
 +
|style="background:#050505; color:#FFFFFF" |0 ||black
 +
|-
 +
|style="background:#F5F5F5; color:#000000" |1 ||white
 +
|-
 +
|style="background:#2A77A1; color:#FFFFFF" |2 ||blue
 +
|-
 +
|style="background:#B3363A; color:#FFFFFF" |3 ||red
 +
|-
 +
|style="background:#263739; color:#FFFFFF" |4 ||dark blue
 +
|-
 +
|style="background:#86446E; color:#FFFFFF" |5 ||purple
 +
|-
 +
|style="background:#F3ED47; color:#000000" |6 ||yellow
 +
|-
 +
|style="background:#4C75B7; color:#FFFFFF" |7 ||bright blue
 +
|-
 +
|style="background:#667292; color:#FFFFFF" |8 ||light blue grey
 +
|-
 +
|style="background:#5E7072; color:#FFFFFF" |9 ||light
 +
|-
 +
|style="background:#352224; color:#FFFFFF" |10 ||dark
 +
|-
 +
|style="background:#5A2124; color:#FFFFFF" |11 ||dark
 +
|-
 +
|style="background:#662B2B; color:#FFFFFF" |12 ||dark red
 +
|-
 +
|style="background:#63322E; color:#FFFFFF" |13 ||red
 +
|-
 +
|style="background:#842827; color:#FFFFFF" |14 ||red
 +
|-
 +
|style="background:#8A3A42; color:#FFFFFF" |15 ||red
 +
|-
 +
|style="background:#682731; color:#FFFFFF" |16 ||red
 +
|-
 +
|style="background:#8B3C44; color:#FFFFFF" |17 ||red
 +
|-
 +
|style="background:#9E2F2B; color:#FFFFFF" |18 ||red
 +
|-
 +
|style="background:#A33A2F; color:#FFFFFF" |19 ||light
 +
|-
 +
|style="background:#D25633; color:#FFFFFF" |20 ||dark
 +
|-
 +
|style="background:#925635; color:#FFFFFF" |21 ||dark
 +
|-
 +
|style="background:#F4723A; 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:#998D79; 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:#3A6C60; color:#FFFFFF" |45 ||green
 +
|-
 +
|style="background:#3A623C; 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:#1F3468; 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:#E6E6E6; 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:#BBBEB5; color:#FFFFFF" |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:#FFFFFF" |89 ||light
 
|-
 
|-
| style="background:#050505; color:#FFFFFF" | 0
+
|style="background:#21292B; color:#FFFFFF" |90 ||dark
| style="background:#F5F5F5; color:#000000" | 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:#000000" | 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:#D25633; color:#FFFFFF" | 20
+
|style="background:#343842; color:#FFFFFF" |91 ||dark
| 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:#1A332E; color:#FFFFFF" | 40
+
|style="background:#414648; color:#FFFFFF" |92 ||dark
| style="background:#062505; 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:#101450; 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:#3D2333; color:#FFFFFF" | 60
+
|style="background:#4E5960; color:#FFFFFF" |93 ||dark
| 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:#000000" | 78
 
| style="background:#E6E6E6; color:#000000" | 79
 
 
|-
 
|-
| style="background:#AAAFAA; color:#FFFFFF" | 80
+
|style="background:#41454C; color:#FFFFFF" |94 ||dark
| 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
 
 
|}
 
|}
 
+
|style="vertical-align: top;" |
 
====Vice City====
 
====Vice City====
{| cellpadding="10" cellspacing="0" style="text-align: center;"
+
{|class="wikitable center-col-1 collapsible collapsed"
 +
!Index ||Police scanner name
 +
|-
 +
|style="background:#050505; color:#FFFFFF" |0 ||black
 +
|-
 +
|style="background:#F5F5F5; color:#000000" |1 ||white
 +
|-
 +
|style="background:#2A77A1; color:#FFFFFF" |2 ||blue
 +
|-
 +
|style="background:#840410; color:#FFFFFF" |3 ||red
 +
|-
 +
|style="background:#263739; color:#FFFFFF" |4 ||dark blue
 +
|-
 +
|style="background:#86446E; color:#FFFFFF" |5 ||purple
 +
|-
 +
|style="background:#FFB610; color:#000000" |6 ||yellow
 +
|-
 +
|style="background:#4C75B7; color:#FFFFFF" |7 ||bright blue
 +
|-
 +
|style="background:#BDBEC6; color:#000000" |8 ||light blue grey
 +
|-
 +
|style="background:#5E7072; color:#FFFFFF" |9 ||light
 +
|-
 +
|style="background:#310000; color:#FFFFFF" |10 ||dark
 +
|-
 +
|style="background:#5A2124; color:#FFFFFF" |11 ||dark
 +
|-
 +
|style="background:#840410; color:#FFFFFF" |12 ||dark red
 +
|-
 +
|style="background:#63322E; color:#FFFFFF" |13 ||red
 +
|-
 +
|style="background:#B51400; color:#FFFFFF" |14 ||red
 +
|-
 +
|style="background:#8A3A42; color:#FFFFFF" |15 ||red
 +
|-
 +
|style="background:#640D1A; color:#FFFFFF" |16 ||red
 +
|-
 +
|style="background:#8B3C44; color:#FFFFFF" |17 ||red
 +
|-
 +
|style="background:#9E2F2B; color:#FFFFFF" |18 ||red
 +
|-
 +
|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:#050505; color:#FFFFFF" | 0
+
|style="background:#21292B; color:#FFFFFF" |90 ||dark
| style="background:#F5F5F5; color:#000000" | 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:#000000" | 6
 
| style="background:#4C75B7; color:#FFFFFF" | 7
 
| style="background:#BDBEC6; color:#000000" | 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:#D25633; color:#FFFFFF" | 20
+
|style="background:#343842; color:#FFFFFF" |91 ||dark
| 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:#1A332E; color:#FFFFFF" | 40
+
|style="background:#414648; color:#FFFFFF" |92 ||dark
| style="background:#062505; color:#FFFFFF" | 41
 
| style="background:#1D373F; color:#FFFFFF" | 42
 
| style="background:#3C4A3B; color:#FFFFFF" | 43
 
| 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:#070F37; 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:#3D2333; color:#FFFFFF" | 60
+
|style="background:#4E5960; color:#FFFFFF" |93 ||dark
| 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:#000000" | 78
 
| style="background:#DEDFE7; color:#000000" | 79
 
 
|-
 
|-
| style="background:#AAAFAA; color:#FFFFFF" | 80
+
|style="background:#41454C; color:#FFFFFF" |94 ||dark
| style="background:#6A736B; color:#FFFFFF" | 81
+
|}
| style="background:#AAAFAA; color:#FFFFFF" | 82
 
| style="background:#BBBEB5; color:#FFFFFF" | 83
 
| style="background:#E0E0D6; color:#000000" | 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:#000000" | 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
 
 
|}
 
|}
  
Line 704: Line 889:
 
|A ||ModelName ||string ||Model name of vehicle.
 
|A ||ModelName ||string ||Model name of vehicle.
 
|-
 
|-
|B ||FirstColor1 ||integer ||First car color of first pair. The value represents the entry number in the <code>col</code> section starting with 0.
+
|B ||FirstColor1 ||integer ||First car color of first pair. The value represents the index number in the <code>col</code> section starting with 0.
 
|-
 
|-
|C ||SecondColor1 ||integer ||Second car color of first pair. The value represents the entry number in the <code>col</code> section starting with 0.
+
|C ||SecondColor1 ||integer ||Second car color of first pair. The value represents the index number in the <code>col</code> section starting with 0.
 
|-
 
|-
 
|D ||FirstColor2 ||integer ||First car color of second pair.
 
|D ||FirstColor2 ||integer ||First car color of second pair.
 
|-
 
|-
 
|E ||SecondColor2 ||integer ||Second car color of second pair.
 
|E ||SecondColor2 ||integer ||Second car color of second pair.
 +
|-
 +
|colspan="4" {{a|l}} |Repeat for a total of 8 pairs for GTA III, Vice City, and San Andreas; and 24 pairs for GTA IV.
 
|}
 
|}
Vehicles that spawn with a randomized color will choose a pair of colors for the vehicle model from this section. 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.
+
Vehicles that spawn with a randomized color will choose a random pair of colors for the vehicle model from this section. 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===
 
===car3===

Revision as of 09:01, 2 September 2017

carcols.dat is a file located in the data folder from GTA 3 to San Andreas or the common\data folder for GTA 4. The file contains a colour palette and numbers to associate them with specific cars. Cars may or may not have a colour palette.

Overview

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 one line and every line follows a specific format. The end of any section is indicated by the terminating string end. Both the section identifier and terminating string are case sensitive. Data 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

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. 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.

GTA III

Vice City

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

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

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.

Vehicles that spawn with a randomized color will choose a random pair of colors for the vehicle model from this section. 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 GTA4, this section contains the same data as CAR section from previous games but has a third value, the specular colour.

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