[How-To] Create addon heels OR hide hair with addon hat

nicee

2 Likes

does this work with peds as well?

1 Like

Thank you very much for the job you do for the comunity! We love you!

2 Likes

@Kayla_Corbo @khoerulageng @AlvarGG Thanks!

@T1GerQ8 Not sure about that, didn’t test it by myself but there is CreatureMetadata field in peds.meta, so I guess it should work, please test it and let me know!

1 Like

Thanks mate, love your work.
I assume once we start approaching 7 ymts (including the new creaturemetadata) its best to repack all your clothing addons into a single ymt to avoid crashing?

1 Like

Yeah, exactly. It depends which game version your server is running.
1604 = 14 .ymt’s limit
2189 = 6 .ymt’s limit
2372 = 4 ymt’s limit
Also, be aware that there is also limit inside each ymt, you can only have 0-127 drawables for each component.

2 Likes

Hay there so I have followed both of your tutorials and am not able to get hair (Default GTA hair) to be removed/squashed down for my addon hats just wondering if there is something I am missing @grzybeek

1 Like

That means either you didn’t do it properly or issue i’ve discovered yesterday is messing your files.
Simply you just need expressionMods value, and creaturemetadata file - if you have both of these then it should work.

Yesterday @TRZL reported me a bug with YMTEditor which completely removes all props with loading existing .ymt and saving, currently only making new one works :frowning: I’ll try to fix that as fast as possible.

1 Like

Thanks for getting back to me, all other steps ive followed have worked Ive converted everything to be addon. Shoes arent working for me though but im going to be looking into that myself luckily this is only on my localhost and I dont have a lot of EUP to go through so I might just see if making a new .ymt file for it works and fixes the shoe issue as for the hair ill wait and see

Edit:
Used another skin menu now the shoes are working perfectly just the hair not being shrunk is the only issue now

1 Like

I noticed an unnecessary Item entry with was being generated on export of creaturemetadata when generating that also has a entry. Probably has no effect on FiveM much, but could be of influence.

2 Likes

Yeah, there is one <Item> entry generated with -1 index, without that I’ve been getting random crashes, i’ve checked few R* creaturemetadata files, and most of them also had that entry with -1 index

1 Like

Sorry, it looks like the HTML destroyed my entry xD I meant to write:

I noticed an unnecessary pedCompExpressions Item entry with pedPropVarIndex value="-1"/ was being generated on export of creaturemetadata when generating pedPropExpressions that also has a pedPropVarIndex value="-1"/ entry. Probably has no effect on FiveM much, but could be of influence.

Basically, having two -1 entries makes the game crash as well as having none. Easily edited in RPF Explorer, but still something to keep in mind.

1 Like

Yeah, that’s why it generates those -1 entries, it’s not unnecessary, idk how did you get two -1 entries, I’ve been testing and always got only one (one in pedprop’s and one in pedcomp’s)

1 Like

Idk why, but having two -1 entries crashed my game. Removing the second entry made everything stable again. Anyways, thank you for the editor/creator! I hope to release my first clothing DLC soonish.

1 Like

Weird… I didn’t have any crashes with both -1 entries… Can you maybe send me your resource which was crashing? I guess it’s time to report it so it won’t crash anyone even without those -1 entries

1 Like

Sorry for the previous confusion. I’ve completely redone all my entries from scratch on a fresh YMT and with auto generated data it all works fine now. No idea what went wrong, but even with the extra -1 entry (which I didn’t confront in vanilla data before), things work as intended. :smiley:

1 Like

Seems my creaturemetadata file keeps causing crashes. When I take it out, I have no issues. I’m trying to get heels to work, which worked fine on it’s own, but once I added the rest of the items (including all the clothes and props) even though I didnt edit any espressions values aside from the shoes, it crashes.
I see two -1 values when I open it up in RPF explorer as well.

2 Likes

How many .ymt’s do you have? And which game version your server is running? Maybe you are hitting this limit?
Creaturemetadata file is very unknown (at least for me), those two -1 entries are the ones that weren’t crashing me, so I left it like that, maybe there is another issue with that file :frowning:

1 Like

I went in and removed the -1 entry and everything works. I’m not sure why it happened. The only thing that’s a bit off now is the shoes don’t make sounds when walking unless you move onto a different texture of flooring, which is odd, but doable.

For context, I started a new YMT, added all my items, and then changed component properties for the high heels as well as for a scarf that streams as a mask, I wanted it to partially hide vanilla hair.
I tried loading in and kept crashing when I tried to swap to a female ped.
I removed the edit to the mask component properties thinking that might have done it, but I still crashed.
I removed the creaturemetadata completely and that worked.
I checked it in the RPF explorer, removed the second -1 entry, and it works fine now.
Throughout this I saved and reloaded the YMT multiple times.

I’m going to be converting over my entire server using this tool, so I’ll let you know if I have any other issues.

1 Like

Which second entry? There should be only 2 entries with -1 (one pedProp and one pedComp) which one did you remove?

And I’m glad everything works now!

1 Like