Problem with FacialBlendData/Blendunit creation via C# Script

Talk nerdy to us here.
Post Reply
User avatar
MissPatTS3
Reactions:
Posts: 235
Joined: October 25th, 2017, 6:00 pm
Location: Paris, France
Contact:

Problem with FacialBlendData/Blendunit creation via C# Script

Post by MissPatTS3 » June 21st, 2021, 4:43 pm

Hi all, hope all is well!

I've teamed up with script modder Battery for one of his side projects and it turns out that he is only able to obtain 62 out of 75 Facial sliders. (From the package files Fullbuild0 and Deltabuild0).

He is obtaining sliders by creating a Blendunit form a resourcekey and use that to create the FacialBlendData, for some reason this does not seem to work for all sliders but for the majority it does.

For example EyeRotation reskey = 0xB52F5055-0x00000000-0x74A950DCB9CAFCB2 does not work and the created FacialBlendData seems to be hollow it detects the facial region correct but can't access the facialblend.

So would anyone have any ideas why something like EyeHeight reskey = 0xB52F5055-0x00000000-0x5EC0D68857B02929 works but EyeRotation and a few others don't...?

Extra question: if anyone knows, are 75 sliders all the vanilla sliders(FacialBlends) or could he be missing some ?

Any insight is appreciated! Thank you.