Custom Addon-Props DLC?
-
Anyone know how to make a hybrid of the addonprops folder (like rename and have basically a custom addonprops folder). I have tried this, but I can only have one "props" directory (either addonprops or my custom-props). They both don't work at the same time. I've even tried to edit the setup2.xml and the content.xml files to replace the "addonprops" stuff with my "custom-props" but it doesn't seem to allow me to have both folders. (Meaning only one's props will be loadable in game)
If anyone knows how to do this that would be great! I know you can do something similar with custom vehicles, so maybe it applies to props as well?
-
I was thinking it was coming with the setup or content but if you already try then I guess it's coming from the def file isn't it ? may you could try a commun def file ( input all object into one def.ytyp and place it in both folder ?)
I already asked method about that but he seems to not care anymore about his prop editor xS
-
@sollaholla I basically built my own files and did not use the one from AddonProps. I only used the tool to build the def.ytyp. That worked without a problem.
Is it possible that you maybe forgot something in the content.xml? Maybe the line to enable the files?
-
@Oskar Here's what I got in my content.xml
<?xml version="1.0" encoding="UTF-8"?> <CDataFileMgr__ContentsOfDataFileXml> <disabledFiles /> <includedXmlFiles /> <includedDataFiles /> <dataFiles> <Item> <filename>dlc_spaceModProps:/props.rpf</filename> <fileType>RPF_FILE</fileType> <overlay value="false" /> <disabled value="true" /> <persistent value="true" /> </Item> <Item> <filename>dlc_spaceModProps:/def_props.ityp</filename> <fileType>DLC_ITYP_REQUEST</fileType> <overlay value="false" /> <disabled value="true" /> <persistent value="true" /> <contents>CONTENTS_PROPS</contents> </Item> </dataFiles> <contentChangeSets> <Item> <changeSetName>SPACEMODPROPS_AUTOGEN</changeSetName> <mapChangeSetData /> <filesToInvalidate /> <filesToDisable /> <filesToEnable> <Item>dlc_spaceModProps:/props.rpf</Item> <Item>dlc_spaceModProps:/def_props.ityp</Item> </filesToEnable> <txdToLoad /> <txdToUnload /> <residentResources /> <unregisterResources /> <requiresLoadingScreen value="false" /> </Item> </contentChangeSets> <patchFiles /> </CDataFileMgr__ContentsOfDataFileXml>
And my setup2.xml
<?xml version="1.0" encoding="UTF-8"?> <SSetupData> <deviceName>dlc_spaceModProps</deviceName> <datFile>content.xml</datFile> <timeStamp>04/07/2016 17:26:39</timeStamp> <nameHash>spaceModProps</nameHash> <contentChangeSets /> <contentChangeSetGroups> <Item> <NameHash>GROUP_STARTUP</NameHash> <ContentChangeSets> <Item>SPACEMODPROPS_AUTOGEN</Item> </ContentChangeSets> </Item> </contentChangeSetGroups> <startupScript /> <scriptCallstackSize value="0" /> <type>EXTRACONTENT_COMPAT_PACK</type> <order value="25" /> <minorOrder value="0" /> <isLevelPack value="false" /> <dependencyPackHash /> <requiredVersion /> <subPackCount value="0" /> </SSetupData>
-
@sollaholla I'm not sure if it makes a difference (probably not) but try to switch the props.rpf and the def_props.ityp. That's how I did it. Apart from that I can't really find a mistake.
-
@Oskar Like how do you mean?
-
@Oskar In filesToEnable?
EDIT: Do you think it's possibly the "orderValue" ?
-
@sollaholla In filesToEnable and in the blocks above.
Maybe. But I don't know, it's just how I did and it worked. Worth a try at least.
-
@Oskar Can you share your setup?
What do you have as your orderValue?
-
I figured it out, here's what I did:
First of all you need to duplicate the addonprops folder. And drag it somewhere else because we'll be updating some things.
- With openiv, go open the dlc.rpf folder > rename the props.rpf to "
yournamehere_props.rpf
" and update the definitions in the xml files (changingdlc_addonProps.rpf
todlc_yourNameHere_props.rpf
. - In
setup2.xml
find the line that saysorderValue=""
set the order value to whatever you want [ I used26
] - Rename your dlc folder from "addonprops" to something else.
- Everywhere in
content.xml
andsetup2.xml
rename anything that says "addonprops
" to your folder name. - Inside props.rpf, change the
def_props.ytyp
's name to something unique. In my case I useddef_space_props.ytyp
. - Download a converter so you can convert the ytyp file into an xml.
- At the bottom of the xml file, there should be something that says
<name>hash_A7A34167</name>
, we're going to generate a hash for this line. - Go to this website, and type in the name of your ytyp (remember mine was
def_space_props
). - Take the generated hash and paste it on the
<name>hash_A7A34167</name>
line, and writehash_yourHashHere
. - Now re-convert the xml file back into an ytyp file.
- In the
setup2.xml
anywhere that you see "def_props.ityp" replace that with the name of your new def_props name followed by.ityp
- Re-import everything back into open iv, and check to make sure all the fields where updated.
- Add your addon folder to the
dlclist.xml
just like you did for addonprops.
You're done! Now addonprops, and your custom props folder can work together in peace and harmony
- With openiv, go open the dlc.rpf folder > rename the props.rpf to "
-
@sollaholla I didn't make it that complicated :P
I just took a prop archive from the Heists DLC, renamed it, added the files to the content.xml, generated the def_props.ytyp with the AddonProps tool and done
-
@Oskar Lol
-
so what is the better way finaly ?
-
@Shaezbreizh That's up to you, I've only tried one and know it works.
-
@sollaholla well i'll try but it's more complicate with your way xP
cause if we all do as said @oskar I guess we gonna get incompatibilty isn't it ?