Jump to content

Freemode Ped .ymt Editing


Space.

Recommended Posts

Before I start I want to say that I'm rather new to editing ped stuff and this is extremely confusing and I'm probably going to explain it badly but I really wanna figure this stuff out so if anyone can help out it would be massively appreciated, and if anything is unclear I can elaborate further.

 

I use EUP and wish to add a new vest to use in the 'Armor' slot in the EUP menu which is a 'task' component. I have the vest as task_000 (task_000_u.ydd, task_diff_000_a_uni.ytd and task_diff_000_b_uni.ytd). I went into the normal game dlcpacks and found that mpvinewood has many task components, so I went to the EUP dlcpack folder and added a folder named "mp_m_freemode_01_mp_m_vinewood" in eup_componentpeds.rpf. If I place the vest files into this folder they load and work fine as drawable 39 in the 'Armor' slot, however the second texture (task_diff_000_b_uni.ytd) doesn't load.

 

I went into the normal mpvinewood dlcpack and attempted to edit the the "mp_m_freemode_01_mp_m_vinewood.ymt" file. I used MetaToolkit to convert this into an .xml.

  <hash_B29BE228>255 0 1 2 3 255 4 5 6 7 8 9</hash_B29BE228>

As I understand, 255 means the component isn't used but I have come across some conflicting lists as to what these numbers mean. I tried to figure it out myself by going through each <Item> entry under <hash_E2489C4F> and finding whatever one has the same amount of entries as the amount of 'task' files in the dlcpack, which turned out to be the 8th <Item> entry but when I edited the first component entry from:

        <Item>
          <hash_AECFE243 value="5" />
          <hash_A7431FBA value="0" />
          <hash_4A92222A>
            <Item>
              <texId value="0" />
              <hash_36896D17 value="255" />
            </Item>
          </hash_4A92222A>
          <hash_92E68DB3>
            <hash_A893A361 value="false" />
          </hash_92E68DB3>
        </Item>

To:

        <Item>
          <hash_AECFE243 value="5" />
          <hash_A7431FBA value="0" />
          <hash_4A92222A>
            <Item>
              <texId value="0" />
              <hash_36896D17 value="255" />
            </Item>
            <Item>
              <texId value="0" />
              <hash_36896D17 value="255" />
            </Item>
          </hash_4A92222A>
          <hash_92E68DB3>
            <hash_A893A361 value="false" />
          </hash_92E68DB3>
        </Item>

The second texture was still not selectable in-game, even though to my understanding this should have added a new texture variant to that component (task_000).

I went into the EUP folder and navigated to "mp_m_freemode_01_mp_m_vinewood" and placed the vest files in there replacing task_000. The vest loaded, but I could not change the texture. I tried putting the vest files into the actual mpvinewood dlcpack folder (first removing it from the EUP one) and again, the vest loaded, but I could not select the second texture.

 

I understand this is rather long and I may have made it somewhat confusing but I tried to the best of my ability to wrap my head around this. Thank you to anyone that took the time to read this.

Edited by Space.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...