Hello guys, today I wanna show you how to make a replace car to addon.
I know that there are some tutorials out there but I want you to learn gta 5 modding as easy as you can. So I make a simple How-To, Tutorial for you guys.
-
Download your Replace Car Example Website
-
Create a folder (Doesn’t matter where you create the folder) Picture
-
Drag and drop the files you downloaded into your folder. (for example: dubsta.yft, dubsta.ydt, dubsta_hi_yft)
-
Start OpenIV and search for “handling”, click search XXX in all archives
-
Right click on the first handling.meta and select open Picture
-
In my case I want to make my “dubsta” to addon. So in the handling.meta I search for “Dubsta” Pic
-
Copy everything from
Item type=“CHandlingData”
handlingName>YOUVEHICLENAME</handlingName -
Until
</SubHandlingData>
</Item>
and paste it into the handling.meta Download put the handling.meta you just downloaded into your car folder)
-
After that, search “vehicles.meta”, open again and search for your vehicle name. (For me it’s the dubsta again)
-
Copy from the Item Line
<Item>
<modelName>YOURMODELNAME</modelName>
to the other Item Line
</firstPersonDrivebyData>
</Item>
and paste it into your downloaded vehicles.meta Download
-
Now we come to the end. (There are the carcols and the carvariations left, but in this case we want to leave it as simple as possible)
-
Now you have to open the fxmanifest.lua you also downloaded and delete for example carcols.meta, and data_file ‘CARCOLS_FILE’ ‘carcols.meta’ as well as ‘carvariations.meta’, data_file ‘VEHICLE_VARIATION_FILE’ 'carvariations.meta’
You may ask yourself why we have to delete those lines? Your server would look for a carcols.meta and if there is no carcols.meta the server will give you errors. -
Before we edit the metas, we will rename the carnames: “dubsta.yft” -> “g63.yft” “dubsta_hi.yft” -> “g63_hi.yft” and do that with all the other ytd, yft… make sure to not delete for example “_hi” you have to keep that in the name.
-
Now you have to edit the handling and vehicles.meta
-
First of all open your vehicles.meta, i prefare notepad++ and vsc
-
Now you have to replace the ModelName, txdName… Just put the vehicle’s name in there.
<modelName>CARNAME</modelName>
<txdName>CARNAME</txdName>
<handlingId>CARNAME</handlingId>
<gameName>CARNAME</gameName>
should look like this:
<modelName>G63</modelName>
<txdName>G63</txdName>
<handlingId>G63</handlingId>
<gameName>G63</gameName>
you can change the car’s name by editing the line:
<audioNameHash>casco</audioNameHash>
there are a lot of car sounds you can put in there. Just put a car’s spawnname in there to make the Audio work. ( Needs a Server restart to work )
- Now open the handling.meta
<handlingName>CARNAME</handlingName>
Put your car’s name in that again
<handlingName>G63</handlingName>
There are a lot of things you can change in the handling.meta. This should help
Note: Please also delete ‘vehiclelayouts.meta’, in the fxmanifest
I forgot to delete this by myself
Let me know if I did a mistake. Thank you for reading this and I hope that you know how to make a replace car to addon now!
Links:
OpenIV: https://openiv.com/
Notepad++: Downloads | Notepad++