[Tutorial] It's as easy as it gets | The new way of merging cars

Hello guys, most of you knows this way of merging cars and a lot of you doesn’t.

I will make it short and easy to understand.

First get the vehicles you want to merge, make a new folder and call it mergedpack (anyname)

Now make stream folder and data folder, copy the meta files of the vehicle to a sub folder in the data folder we previously created and call it whatever you want. Copy YTD | YFTs of the vehicle to a sub folder inside stream folder and call it whatever you want.

Here comes the trick which is the __resource.lua
Instead of spamming your __resource.lua with punch of stuff, just copy the below and paste it in your __resource.lua

resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937'

files {

    'data/**/carcols.meta',

    'data/**/carvariations.meta',

    'data/**/handling.meta',

    'data/**/vehiclelayouts.meta',

    'data/**/vehicles.meta',

}

    data_file 'VEHICLE_LAYOUTS_FILE'    'data/**/vehiclelayouts.meta'

    data_file 'HANDLING_FILE'           'data/**/handling.meta'

    data_file 'VEHICLE_METADATA_FILE'   'data/**/vehicles.meta'

    data_file 'CARCOLS_FILE'            'data/**/carcols.meta'

    data_file 'VEHICLE_VARIATION_FILE'  'data/**/carvariations.meta'

You are done, you now can merge as much cars as you want. before i had 450 resources and now after merging stuff i left with 96 resources.

If you don’t understand any of the above, please tell me below and i will make a tutorial video.w

Discord: jkjk

Example:

9 Likes

You should modify this to use fxmanifest, _resource.lua is deprecated. :+1:

https://docs.fivem.net/docs/scripting-reference/resource-manifest/resource-manifest/

2 Likes

Thanks and they both work fine for now.

This isn’t new…

well am sure it’s not, let’s say it’s more like a reminder and to teach others as well.

1 Like

Sure they both work but you shouldn’t use deprecated methods :slight_smile: fxmanifest is the way to go to use the new manifest versions now.

On the topic. This isn’t new as I’ve seen it in a few other posts just don’t know if I’ve seen it as an actual post itself. Either way a good learning tool for others starting out. Though they should use fxmanifest on the newer server artifacts :slight_smile:

1 Like

Yes and thank you for passing by.

1 Like

Thank you for this! Merging files has proven to be kind of a headache…

1 Like

No problem! Yes in the past it was a headache but now thanks to FiveM and it’s staff for making it easier to work with Either making resources or merging cars etc…

1 Like

Why do I lose tuning with this method? Like after merging I’m not able to tune a car at all not even engine stuff.

You are doing it wrong, don’t put all vehicles together, each vehicle has to has it’s own folder in stream and in data folder send me 2 vehicles and i will merge it for you so you get a better example

cars.rar (59.4 MB)

Thank you man :slight_smile:

1 Like

@DRIFTKING.EVO

Here you go man, let me know if you got it. If not i will make a video for you on how to do it.

Merged.rar (59.4 MB)

3 Likes

I see now, but let’s look at this one


Left your’s right mine.

This is my actual config where the tuning doesn’t get recognized at all, do you have that issue on any of your cars? I have 300 cars on mine. And yeah let’s just forget about the streaming issue, that’s a different thing I’m currently fixing.

@DRIFTKING.EVO i think your error is in the files { }

try this


fx_version 'adamant'

game 'gta5'

files {

    'data/**/carcols.meta',

    'data/**/carvariations.meta',

    'data/**/handling.meta',

    'data/**/vehiclelayouts.meta',

    'data/**/vehicles.meta',

}

    data_file 'VEHICLE_LAYOUTS_FILE'    'data/**/vehiclelayouts.meta'

    data_file 'HANDLING_FILE'           'data/**/handling.meta'

    data_file 'VEHICLE_METADATA_FILE'   'data/**/vehicles.meta'

    data_file 'CARCOLS_FILE'            'data/**/carcols.meta'

    data_file 'VEHICLE_VARIATION_FILE'  'data/**/carvariations.meta'

Your manifest file is fine.

The tuning issue will likely be due to conflicting id values in carcols.

1 Like

I’ve tried a lot of different values but not sure why they are not working anymore, I had a drag and drop pack that I used to have fixed but tuning doesn’t load anymore… any ideas of what values can I use?

Its not a new method but its the safest way to merge vehicles without break your mind :slight_smile: Ty

1 Like

True, there’s newer methods but this still works as well (:

Like what?

1 Like