Skip to content

Your first vehicle

This walkthrough takes a car resource you already have, for example one you bought or downloaded, and gets it ready for your server: you look at it in 3D, tune how it drives, make sure it doesn’t clash with other cars, and package it.

Video coming soon
WalkthroughYour first vehicle: preview, handling and IDs

You need the car’s resource folder: the .yft model files, their .ytd textures, and the .meta files (vehicles.meta, handling.meta, carcols.meta, carvariations.meta).

  1. On the start screen, click New project.

  2. Under Project type, pick Vehicle.

  3. Type a Project name, for example Police cars.

  4. Under Project folders, click Add folder… and pick the car’s resource folder. You can add several folders, or the whole folder that holds all your car resources.

  5. Click Create project.

The New project form with the project kinds, the name field and the Add folder button

Quicker: Open folder on the start screen loads a resource folder as a project straight away. A folder with only car files opens as a Vehicle project.

The studio changes files in the folder you added, not a copy. If you want to try things out first, add a copy of the resource.

The Overview counts what the project holds: VEHICLES, META FILES, MODELS / TEXTURES, STREAM SIZE and LOCKED FILES (escrow-protected files, which the studio leaves alone). LARGEST FILES lists the heaviest files, each with Optimize.

The WHAT TO DO NOW card says Look at …, then build it and has buttons for the next steps: Preview, Handling, the IDs check and Build.

The vehicle Overview with the WHAT TO DO NOW card and the counts row

If it says No vehicle models found, the folder has no .yft files. Make a new project from the folder that holds them.

Click Preview in the toolbar, or on the Overview. If the car doesn’t show, click Open model… and pick its .yft.

Drag to orbit and scroll to zoom. On the right, under APPEARANCE:

  • Paint changes the body colour, so you can see which parts take the paint.
  • Livery switches between the car’s liveries. This car has no liveries yet. means it has none.
  • Edit in Texture Studio… opens the livery to paint on it. A livery you save there shows on the car right away.
  • New livery… adds the car’s next livery and opens it in Texture Studio.

Cars show without wheels until you set a wheel model in Settings → Vehicle wheel model (.ydr). See Preview, paint and liveries.

Click Handling in the toolbar. The page edits the car’s handling.meta, grouped into Setup, Mass & drag, Centre of mass, Drivetrain, Traction, Suspension, Brakes, Damage & misc and Identity.

  1. Click Import current to load the handling the car has now.

  2. Under GENERATE FROM A REAL CAR, search for the real car your model is based on, for example Mercedes G, Supra or GT-R.

  3. Check the REAL SPECS it fills in (mass, power, drivetrain, gears, top speed, tyres, brakes) and change any you know better.

  4. Click Generate ▸ fill all fields. Every field gets a value worked out from those specs.

  5. Tune any field you like, then click Save version.

Save version does not change your file yet. It stages the new handling. Go back to the Overview, find it under VERSION HISTORY and click Apply to write it into handling.meta. To write a separate file instead, use Save handling.meta….

See Handling.

Emergency cars carry numbers in carcols.meta: a siren setting ID, a modkit ID and light setting IDs. When two packs use the same number, the game uses only one of them, so a car flashes another car’s lights or gets another car’s tuning parts.

  1. Click Vehicle IDs in the toolbar.

  2. Click Check my project. It reads every car’s light settings and changes nothing.

  3. If it finds clashes, they are listed under THE PROBLEMS. Click Fix it: each clashing car gets its own new number.

  4. Restart those resources on your server to see it in game.

Tick Also compare with the rest of my server to check against every other car on your server, not only this project. Undo my fixes… puts back the files the fix changed.

The Vehicle IDs page after a check, listing a siren ID clash with the Fix it button

See Vehicle IDs.

Click Build in the toolbar. Build packages models and textures into a new, ready-to-drop FiveM resource.

  1. Under ASSETS, click Add folder and pick the car’s resource folder. RESOURCE NAME fills in from the folder name; change it if you like.

  2. OUTPUT is next to your project folder unless you click Choose folder….

  3. Leave Optimize on build ticked to shrink the textures as it builds, and Skip escrow-protected files ticked to copy locked files untouched.

  4. Click Build resource.

You get a new resource with a stream folder and an fxmanifest.lua. Your original files are only read, not changed.

Copy the resource into your server’s resources folder, add a line to server.cfg and restart the server:

ensure police_cars

The game reads .meta files only when a resource starts, so restart the resource after every handling or ID change.