"Invalid model" error when spawning addon vehicles
-
Whenever I try to spawn an addon vehicle (in this case, Honda S2000 AP2 [https://www.gta5-mods.com/vehicles/honda-s2000-tunable] or AP1 [https://www.gta5-mods.com/vehicles/honda-s2000-ap1]), I get the "Invalid model" error from my trainer (Simple trainer [https://www.gta5-mods.com/scripts/simple-trainer-for-gtav]). I've tried using a new gameconfig.xml [https://www.gta5-mods.com/misc/gta-5-gameconfig-300-cars], ensured that the addon data is in the update folder, added the correct lines to extratitleupdate.meta and dlclist.xml (in both the "mods" version of the "update" folder and the actual version), all to no effect. I've checked the vehcile.meta and handling.meta files in the addon to ensure that I'm spawning them in using the correct name, but nothing seems to be working.
Anyone else having a similar problem?
-
I just test installed 'ap2' & it works correctly for me. Did you install the 'content.xml' to:
\mods\update\update.rpf\dlc_patch\ap2\content.xml
(you just create the 'ap2' folder as it doesn't exist).Note: 'update.rpf\dlc_patch' NOT 'update\x64\dlcpacks'
Checklist:
1 )- Make sure 'content.xml' looks exactly like this & is installed to the path mentioned above^:
<?xml version="1.0" encoding="UTF-8"?>
<CDataFileMgr__ContentsOfDataFileXml>
<disabledFiles />
<includedXmlFiles />
<includedDataFiles />
<dataFiles>
<Item>
<filename>dlc_ap2:/data/vehicles.meta</filename>
<fileType>VEHICLE_METADATA_FILE</fileType>
<overlay value="false" />
<disabled value="true" />
<persistent value="false" />
</Item>
<Item>
<filename>dlc_ap2:/data/carcols.meta</filename>
<fileType>CARCOLS_FILE</fileType>
<overlay value="false" />
<disabled value="true" />
<persistent value="false" />
</Item>
<Item>
<filename>dlc_ap2:/data/carvariations.meta</filename>
<fileType>VEHICLE_VARIATION_FILE</fileType>
<overlay value="false" />
<disabled value="true" />
<persistent value="false" />
</Item>
<Item>
<filename>dlc_ap2:/data/dlctext.meta</filename>
<fileType>TEXTFILE_METAFILE</fileType>
<overlay value="false" />
<disabled value="true" />
<persistent value="false" />
</Item>
<Item>
<filename>dlc_ap2:/data/handling.meta</filename>
<fileType>HANDLING_FILE</fileType>
<overlay value="false" />
<disabled value="true" />
<persistent value="false" />
</Item>
<Item>
<filename>dlc_ap2:/%PLATFORM%/vehicles.rpf</filename>
<fileType>RPF_FILE</fileType>
<overlay value="false" />
<disabled value="true" />
<persistent value="true" />
</Item>
<Item>
<filename>dlc_ap2:/%PLATFORM%/vehiclemods/ap2_mods.rpf</filename>
<fileType>RPF_FILE</fileType>
<overlay value="false" />
<disabled value="true" />
<persistent value="true" />
</Item>
</dataFiles>
<contentChangeSets>
<Item>
<changeSetName>ap2_AUTOGEN</changeSetName>
<filesToDisable />
<filesToEnable>
<Item>dlc_ap2:/data/handling.meta</Item>
<Item>dlc_ap2:/data/vehicles.meta</Item>
<Item>dlc_ap2:/data/carcols.meta</Item>
<Item>dlc_ap2:/data/carvariations.meta</Item>
<Item>dlc_ap2:/data/dlctext.meta</Item>
<Item>dlc_ap2:/%PLATFORM%/vehicles.rpf</Item>
<Item>dlc_ap2:/%PLATFORM%/vehiclemods/ap2_mods.rpf</Item>
</filesToEnable>
<txdToLoad />
<txdToUnload />
<residentResources />
<unregisterResources />
</Item>
</contentChangeSets>
<patchFiles />
</CDataFileMgr__ContentsOfDataFileXml>2 )- That the 'dlclist.xml' line looks exactly like this:
<Item>dlcpacks:\ap2\</Item>
& is installed to this folder path:
\mods\update\update.rpf\common\data\dlclist.xml
3 )- extratitleupdatedata.meta line should look like this:
<Item type="SExtraTitleUpdateMount"> <deviceName>dlc_ap2:/</deviceName> <path>update:/dlc_patch/ap2/</path> </Item>
& be installed here:
\mods\update\update.rpf\common\data\extratitleupdatedata.meta
4 )- The dlc.rpf is installed in this folder structure:
\mods\update\x64\dlcpacks\ap2\dlc.rpf
5 )- The car is located here:
\mods\update\x64\dlcpacks\ap2\dlc.rpf\x64\vehicles.rpf\ap2.yft
6 )- You are spawning the car with name 'ap2'. (I know, just being thorough)
7 )- I did notice 2 other people in the comment section of the download that mentioned 'invalid model' errors but as confirmed it does work for me. I'm using ENT (Enhanced Native Trainer: https://www.gta5-mods.com/scripts/enhanced-native-trainer-zemanez-and-others) to spawn the car, might be worth giving it a try.
8 )- Make sure you have the most recent version of the car/s or even redownload the car/s & reinstall with fresh files. You never know, something might be corrupted.
9 )- Try taking a car that you know spawns, find it's .yft & .ytd's & swap it for the ap2.yft/ytd's. Rename the new car to 'ap2' & replace all the files in:
\mods\update\x64\dlcpacks\ap2\dlc.rpf\x64\vehicles.rpf
then try spawning it using 'ap2'. This will tell you if the problem lies with the car model or with something else at least.
I've also just tried installing & spawning the AP1 (Spawn Name: 's2k') S2000 & it works correctly for me also.