Vehicle Files Overview
An overview of all the important files used in FiveM vehicle modding.
Main Vehicle Files
vehicles.meta
The primary file defining vehicle properties:
- Vehicle model name and hash
- Handling model reference
- Class and type
- Seat configuration
- Door and window information
File Type: Binary XML (requires conversion to text to edit)
carcols.xml
Defines paint colors and primary/secondary color combinations:
- Color IDs and RGB values
- Paint material properties
- Metallic and matte finishes
- Team colors and faction colors
File Type: Plain XML
carvariations.xml
Handles visual customization options:
- Wheel variations
- Bumper/spoiler options
- Roof and hood options
- Livery/decal variations
- Special visual modifications
File Type: Plain XML
handling.meta
Controls vehicle physics and performance:
- Acceleration and top speed
- Braking and traction
- Steering response
- Engine damage and durability
- Suspension and bounce
- Weight distribution
File Type: Binary XML
vehiclelayouts.xml
Defines the skeletal structure of vehicles:
- Bone/node hierarchy
- Seat positions
- Door mechanisms
- Bumper and light positions
File Type: Plain XML
Support Files
Audio Files
- Engine sounds (.wem, .ogg)
- Door open/close sounds
- Horn sounds
- Alarm sounds
Texture Files (.ytd)
- Paint textures
- Interior textures
- Decal textures
- Damage textures
Model Files (.yft)
- Vehicle body mesh
- Window glass mesh
- Door meshes
- Wheel models
File Relationships
vehicles.meta (main vehicle definition)
├── References → carcols.xml (colors)
├── References → carvariations.xml (customization)
├── References → handling.meta (physics)
├── References → vehiclelayouts.xml (structure)
└── References → model files (3D assets)
File Editing Workflow
- Extract original vehicle files from game
- Edit meta files (convert to XML first)
- Test changes in resource
- Refine based on in-game results
- Package for distribution
Pro Tips
- Keep multiple versions of files for comparison
- Use consistent naming conventions
- Document custom changes with comments
- Test all color variations in-game
- Verify handling feels realistic