Edit : Sorry i'm blind, just saw that vehicles & handling meta must be modified in update/common
First thank for this great tutorial
With all modifications i've made to the game during a long time, i can't remember everything. And because there is a lot a thing i don't like in the end (vehicle without breaking glass, bad color, wrong flag, broken mods etc...), i decided to start from 0, and using your tutorial for a clean modding i can manage more easy.
My main goal is to use replacer (mostly) + addon vehicle as replacer for existing one.
Now i wanted to try, i decided to start with replacing issi2 with mini cooper (addon version) :
- In "update/x64/dlcpacks/A2NS1/dlc.rpf/x64/vehicles.rpf", added issi2.yft | issi2.ytd | issi2_hi.yft (they was named coopperworks in the addon)
- In "update/x64/dlcpacks/A2NS1/dlc.rpf/x64/vehiclesmod/issi2_mods.rpf", added all the .yft from the mod (i let them named cooperwork_xxx.yft)
I tested in-game, and the visual replacing was working (except for the mods but it's normal for now). So i continue with data modification.
Added according data to vehicles/handling/carcols & carvariations.met.
So back in game, carvariations & carcols are used correctly (mods was 100% perfect, was the main reason i choose to restart modding gta from start).
But for something i don't understand, data/vehicles.meta & data/handling.meta are not used.
I've not saw it directly cause the original & replacement car are not so different, but something say me it was not used, it's the game keeping saying me that i have to use controller button to open roof, which i have nulled, so it must not ask me for this ^^
To be sure i changed gameName by another existing one, and the name don't changed when i enter vehicle.
In content.xml | setup2.xml, i simply replaced all FOLDERNAME by A2NS1 with search/replace, and added item for issi2_mods.rpf. So i assume the files are good or the mods part will not be good too, the same for carcols/carvariations who are used correctly.
Sorry for the soooo long message.
Edit : actually my message was more complete with all files content, but askimet keeping flagging it as spam...
Here the start of item in vehicles.meta (yeah i use different handling name for convenience) :
model name : issi2
txf : issi2
handlingid : COOPERWORKS
If i write the full text like in the meta file, post is flagged as spam everytime, pffffff