The Complete GTA 5 & FiveM Developer Guide Carvariations.Meta

The Complete GTA 5 & FiveM Developer Guide Carvariations.Meta

Full carvariations.meta reference for FiveM: the 6-slot color index matrix, GTA 5 vehicle color IDs, livery arrays, and fixes for wrong spawn colors.

carvariations.meta: Complete Color ID Mapping & Vehicle Setup Guide


It is six numbers per color block. Add a seventh or drop one and the whole array shifts: the wheel color lands on the interior, the interior lands on the dashboard, and the car spawns looking nothing like it did in the preview. This is the full reference: the 6-slot color index matrix, the GTA 5 color IDs worth knowing by heart, how livery arrays gate spawn combinations, and how carvariations.meta binds to vehicles.meta and carcols.meta.

1. The Role of carvariations.meta in Vehicle Spawning

In Grand Theft Auto V (RAGE) and FiveM, carvariations.meta dictates the exact visual state of a vehicle when it is spawned into the server. While vehicles.meta establishes core archetype flags and carcols.meta catalogs mod parts and emergency lighting, carvariations.meta binds these elements together and applies initial cosmetic variations such as paint schemes, livery availability, default extras, and siren linkages.

2. Anatomy of the 6-Slot Color Index Matrix (<indices>)

Inside every <colors> item block, vehicle paint is assigned via the <indices content="char_array"> node. This node requires a strict sequential array of exactly six numeric color IDs:

<Item> <indices content="char_array"> 134 <!-- Slot 0: Primary Color --> 0 <!-- Slot 1: Secondary Color --> 0 <!-- Slot 2: Pearlescent Color --> 156 <!-- Slot 3: Wheel Color --> 156 <!-- Slot 4: Interior Trim Color --> 0 <!-- Slot 5: Dashboard / Accent Color --> </indices> <liveries> <Item value="true"/> <Item value="false"/> </liveries> </Item>
Array Index Color Channel Target Mesh & Visual Application
Slot 0 (Line 1)Primary PaintMain body shell, hood, roof panels, and primary aerodynamic components.
Slot 1 (Line 2)Secondary PaintSide mirror caps, secondary roof pillars, stripes, and accent trim.
Slot 2 (Line 3)Pearlescent LayerReflective specular clear-coat highlight reflected over the primary base coat.
Slot 3 (Line 4)Wheel / Rim PaintFinish applied to stock wheel meshes and aftermarket rims.
Slot 4 (Line 5)Interior Trim ColorLeather seat inserts, door card fabrics, and cabin stitching.
Slot 5 (Line 6)Dashboard & Dial ColorGauge cluster surround, ambient dashboard trim, and center console accents.

3. RAGE Vehicle Color ID Reference Palette

Grand Theft Auto V uses indexed color values ranging from 0 to 159 across different material finishes (Classic, Metallic, Matte, Metals, Pearls). You can retrieve the complete interactive index table and visual swatch palette directly from the RAGE MP Vehicle Colors Wiki Documentation.

Categorized High-Frequency Color IDs:

Finish Category Color ID Color Name Typical Usage
Blacks & Monochromes0Metallic BlackStandard deep gloss black
1Metallic Graphite BlackSubtle charcoal reflection
12Matte BlackNon-reflective flat black stealth finish
147MODSHOP BLACK1 (Carbon)Carbon-fiber companion shading
Whites & Silvers111Metallic Pure WhiteHigh-clarity clean white
131Matte White / Ice WhiteChalk/powder white without clear-coat
112Metallic Frost WhiteSlight blue-shift clear coat
Reds & Warm Accents27Metallic RedStandard automotive red
28Metallic Torino RedDeep saturated track red
38Metallic OrangeHigh-visibility performance amber/orange
Blues & Cool Accents64Metallic BlueClassic primary blue
70Metallic Ultra BlueBright, vibrant electric blue
73Metallic Racing BlueDarker track blue
Metals & Specialized156Metallic Alloy / Polished MetalDefault wheel and silver alloy rim finish
158Pure GoldVIP / Luxury highlight finish

4. Multi-Livery Arrays and Variant Combinations (<liveries>)

The <liveries> block controls which embedded .ytd texture liveries are eligible to spawn with each color combination:

<liveries> <Item value="true"/> <!-- Livery Index 0: Permitted --> <Item value="false"/> <!-- Livery Index 1: Restricted --> <Item value="false"/> <!-- Livery Index 2: Restricted --> </liveries>
  • Multiple Color Sets: You can add dozens of <Item> blocks under <colors> to create diverse civilian spawns, each with tailored paint, trim, and livery permissions.
  • All-False Array: If every livery item is set to value="false", the car always spawns with its clean baseline factory paint.

5. Cross-Metadata Architecture Matrix

To prevent server initialization errors and ensure that mod parts and lights work seamlessly, cross-reference all metadata definitions:

carvariations.meta Tag Linked File Linked XML Node Technical Function
<modelName> vehicles.meta <modelName> Binds variation data to the vehicle spawn code.
<kits><Item> carcols.meta <kitName> Connects the ModKit parts catalog to the vehicle.
<sirenSettings value="..."/> carcols.meta <id value="..."/> (<sirens>) Assigns Non-ELS lightbar sequencers and flash patterns.
<lightSettings value="..."/> carcols.meta <id value="..."/> (<lights>) Assigns headlight color, projection cone, and bulb intensity.

6. FiveM Resource Setup (fxmanifest.lua)

Mount your carvariations.meta along with all other vehicle metadata files inside your resource manifest:

fx_version 'cerulean' game 'gta5' files { 'carcols.meta', 'carvariations.meta', 'handling.meta', 'vehicles.meta' } data_file 'CARCOLS_FILE' 'carcols.meta' data_file 'VEHICLE_VARIATION_FILE' 'carvariations.meta' data_file 'HANDLING_FILE' 'handling.meta' data_file 'VEHICLE_METADATA_FILE' 'vehicles.meta'

7. Troubleshooting Common Configuration Issues

  • Array Shift Error (Mismatched Indices): If your vehicle spawns with the wrong interior or wheel colors, verify that exactly six numeric lines exist inside <indices>. Adding or omitting a line breaks the sequence.
  • Modifications Missing from Shops: Confirm that the string declared in <kits><Item> is spelled identically to <kitName> inside carcols.meta.
  • Crash on Vehicle Spawn: If the <modelName> does not exist inside vehicles.meta or the streaming folder, spawning the vehicle causes an instant client/server crash.

SUPPORT & COMMUNITY CONTACT


Find more custom FiveM cars, peds, clothing packs, and maps at TTModz.

Add taxis and medical response with the FiveM city fleet pack, or browse all lore-friendly FiveM cars.


Discord 
Yamaha YZF-R1M FiveM sportbikes in yellow and white-grey, seen head-on in a villa courtyardYamaha YZF-R1 Custom Drag FiveM bikes in silver and copper red on a wet driveway lined with palm treesSilver MV Agusta Superveloce FiveM bike in profile with a black one from behind before a white colonnadeAprilia RSV4 X Trenta FiveM bikes in blue and grey, tucked between shipping containers on wet groundBMW F 800 GS Adventure bikes for FiveM and GTA5, black and blue with crash bars in a forest clearingFiveM and GTA5 Honda CBR1000RR Fireblade (2015) superbikes in grey and white under a pergola on a brick patioBMW S 1000 RR (2015 - 2018) superbikes in blue and grey, FiveM models parked in front of a red warehouseFiveM Honda ADV150 (2023) scooters in grey and bronze with a top box, front three-quarter in a city alleyFiveM ready Honda CRF1100L Africa Twin (2020) adventure bikes with yellow spoked rims and panniers on a streetA FiveM pair of Benelli TRK 502 (2022) adventure bikes in black and white, standing side by side on a sunny lotYamaha YZF-R125 FiveM sportbikes, one grey with a top case and one orange, standing in a parking lotRear view of a Yamaha YZF-R1 Custom Stunt Edition FiveM pair on a city sidewalk with parked carsDMCA.com Protection Status
DMCA.com Protection Status