Documentation
Carcols & Carvariations
How emergency lighting kits and livery slots are wired together.
These two files work together to define how your vehicle looks and lights up in-game.
carcols.meta — Kit structure
<Item type="CVehicleModelInfoVarGlobal__Lights">
<id value="1234" />
<Kit>
<id value="1234" />
<name>my_vehicle_siren</name>
<lightSettings>
<!-- Each entry: position, color sequence, flash pattern -->
</lightSettings>
</Kit>
</Item>The kit ID must match the one referenced in vehicles.meta — or use Easy Meta to wire them automatically.
carvariations.meta — Livery entry
<Item>
<modelName>my_vehicle</modelName>
<variationData>
<Item>
<liveries0>
<Item>my_vehicle_livery1</Item>
<Item>my_vehicle_livery2</Item>
</liveries0>
</Item>
</variationData>
</Item>Each string in liveries0 is the name of a texture inside the vehicle's YTD. They must match exactly (case-sensitive).
Livery texture names in carvariations.meta are case-sensitive and must exactly match the texture names inside the YTD. A mismatch causes the livery slot to appear blank in-game.
Discussion