Log in to reply
 

How to create multiple addonpeds folder.



  • I want to create another addonpeds folder like addonpeds and addonpeds2.
    but I don't know how to setting the content.xml and setup2.xml in the addonpeds2 folder.

    I changed data file lines like <deviceName>dlc_addonpeds2</deviceName> in setup2.xml and every <Item>dlc_addonpeds2:/peds.rpf</Item> in content.xml.

    But then I enter the game i can use peds in addonpeds2/peds.rpf only.

    I want to use both addonpeds and addonpeds file how can I set up xml file?



  • @Gokuss what you're doing seems to be right, I'll post an example later, I have multiple addonpeds.

    Don't rename peds.meta and make sure to backup because OpenIV has completely erased that file several times after the addition of a problematic ped.



  • @Gokuss

    100% working examples of an addonpeds folder named addonpeds2. Peds.meta isn't renamed. The peds.rpf's can be renamed.

    You can start with your addonpeds folder and simply do a search and replace to change to addonpeds2 in both files. However if you rename peds.rpf files, which is great if you're grouping your peds by category, make sure you replace the name everywhere. Also, don't go over 3.5GB - 4GB.

    Content.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <CDataFileMgr__ContentsOfDataFileXml>
      <disabledFiles />
      <includedXmlFiles />
      <includedDataFiles />
      <dataFiles>
        <Item>
          <filename>dlc_addonpeds2:/peds.meta</filename>
          <fileType>PED_METADATA_FILE</fileType>
          <overlay value="false" />
          <disabled value="true" />
          <persistent value="false" />
        </Item>
        <Item>
          <filename>dlc_addonpeds2:/peds.rpf</filename>
          <fileType>PEDSTREAM_FILE</fileType>
          <overlay value="true" />
          <disabled value="true" />
          <persistent value="true" />
        </Item>
        <Item>
          <filename>dlc_addonpeds2:/sims.rpf</filename>
          <fileType>PEDSTREAM_FILE</fileType>
          <overlay value="true" />
          <disabled value="true" />
          <persistent value="true" />
        </Item>
    	<Item>
          <filename>dlc_addonpeds2:/mai.rpf</filename>
          <fileType>PEDSTREAM_FILE</fileType>
          <overlay value="true" />
          <disabled value="true" />
          <persistent value="true" />
        </Item>
        <Item>
          <filename>dlc_addonpeds2:/peds2.rpf</filename>
          <fileType>PEDSTREAM_FILE</fileType>
          <overlay value="true" />
          <disabled value="true" />
          <persistent value="true" />
        </Item>
    		
      </dataFiles>
      <contentChangeSets>
    	<Item>
    	  <changeSetName>addonpeds2_AUTOGEN</changeSetName>
    	  <filesToDisable />
    	  <filesToEnable>
    	        <Item>dlc_addonpeds2:/peds.meta</Item>
    	        <Item>dlc_addonpeds2:/peds.rpf</Item>
    	        <Item>dlc_addonpeds2:/sims.rpf</Item>
    		<Item>dlc_addonpeds2:/mai.rpf</Item>
    		<Item>dlc_addonpeds2:/peds2.rpf</Item>
    	  </filesToEnable>
    	  <txdToLoad />
    	  <txdToUnload />
    	  <residentResources />
    	  <unregisterResources />
    	</Item>
      </contentChangeSets>
      <patchFiles />
    </CDataFileMgr__ContentsOfDataFileXml>
    

    Setup2.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Peds Addon Files - by ReNNie -->
    <SSetupData>
      <deviceName>dlc_addonpeds2</deviceName>
      <datFile>content.xml</datFile>
      <timeStamp>1/17/2019 00:00:00</timeStamp>
      <nameHash>addonpeds2</nameHash>
      <contentChangeSetGroups>
        <Item>
          <NameHash>GROUP_STARTUP</NameHash>
          <ContentChangeSets>
            <Item>addonpeds2_AUTOGEN</Item>
          </ContentChangeSets>
        </Item>
      </contentChangeSetGroups>
      <type>EXTRACONTENT_COMPAT_PACK</type>
      <order value="1" />  
    </SSetupData>
    


  • Sorry, it didn't work for me . Still addonpeds2 folder peds were spawned only and peds in addonpeds1 folder didn't.
    I really don't know why but thank you for your help,,,



  • @Gokuss
    I can tell you that when it doesn't work for you it's definitely not because your game is special. It has to work, period.

    You've done something wrong and it can easily be fixed.

    1. Did you add both addonpeds and addonpeds 2 to dlclist.xml. If not, they won't load.

    2. If you want, post your 2 content.xml and the 2 setup2.xml and we can see if there are any obvious errors.

    3. As I wrote before, do NOT rename peds.meta.

    4. Make sure the peds that aren't spawning are properly entered in peds.meta

    I'm assuming you're using the tutorial templates and not the Method one.

    Overall there are 3 variables:

    1. You need the proper names in content.xml and setup2.xml to reflect addonpeds.rpf and addonpeds2.rpf or whatever you named them.
    2. The correct entries under normal or streamed or male or female in peds.meta
    3. The addonpeds.rpf etc must all be entered in dlclist.xml

    This is a no brainer.


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.