Sikro Posted July 29, 2020 Posted July 29, 2020 (edited) Hi guys, I've tried to do the best of research but I can't figure out why I cannot spawn my vehicle (police mod, downloaded and had only yft and ytd files). What I did: 1. Create new dlc.rpf according to Guide: https://wiki.rage.mp/index.php?title=Using_DLC_Packs_with_Custom_Textures 2. Insert the content.xml and setup2.xml (see below) 3. Add the ytd and yft files in the right maps 4. Extract the RPF to the client_packages\game_resources\dlcpacks\something map Nothing happens when I create a vehicle with the name "dlc_cops123". No errors nor crashes. I did manage to do this with an existing .rpf (all compiled already) so I guess it's something with my content.xml or setup2.xml. Any thought? I spawn the vehicle using where model is the inserted command text: var veh = mp.vehicles.new(model, new mp.Vector3(player.position.x + 2, player.position.y, player.position.z), { numberPlate: "tt", dimension: player.dimension, color: [ [255, 0, 0], [255, 0, 0] ] }); Setup2.xml: <?xml version="1.0" encoding="UTF-8"?> <SSetupData> <deviceName>dlc_cops123</deviceName> <datFile>content.xml</datFile> <timeStamp>03/30/2018 17:26:39</timeStamp> <nameHash>dlc_cops123</nameHash> <contentChangeSetGroups> <Item> <NameHash>GROUP_STARTUP</NameHash> <ContentChangeSets> <Item>dlc_cops123</Item> </ContentChangeSets> </Item> </contentChangeSetGroups> </SSetupData> Content.xml: <?xml version="1.0" encoding="UTF-8"?> <CDataFileMgr__ContentsOfDataFileXml> <disabledFiles /> <includedXmlFiles /> <includedDataFiles /> <dataFiles> <Item> <filename>dlc_cops123:/%PLATFORM%/textures/police.rpf</filename> <fileType>RPF_FILE</fileType> <overlay value="true" /> <disabled value="true" /> <persistent value="true" /> </Item> </dataFiles> <contentChangeSets> <Item> <changeSetName>dlc_cops123_AUTOGEN</changeSetName> <filesToDisable /> <filesToEnable> <Item>dlc_cops123:/%PLATFORM%/textures/police.rpf</Item> </filesToEnable> <txdToLoad /> <txdToUnload /> <residentResources /> <unregisterResources /> </Item> </contentChangeSets> <patchFiles /> </CDataFileMgr__ContentsOfDataFileXml> Edited July 29, 2020 by Sikro 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now