Interkarma wrote: ↑Wed Sep 06, 2023 11:36 pm
I'll see if this is something I can patch in next release. Cheers!
Excellent, thanks!
MrFlibble wrote: ↑Wed Sep 06, 2023 7:44 pm
I believe that the developers might have intended the Khajiit suit to be drawn in a different order of layers, so that it would be covered by the character face (and helmets), and not over the face instead. But this is just my suspicion.
I rotated this in my head for a while so to speak, and I believe that I'm likely wrong, or at least it would not be an easy fix to make the face be drawn over the Khajiit suit after all, at least without substantially altering the entire system.
Purely from observation, it appears that the paperdoll is rendered with the following order of layers, from the lowest to the highest. Each layer is marked by a number. In most cases, the character can only wear one item from the same layer, however sometimes clothes belong to the same "class" of items (so when you equip one, any other from the same class will be taken off), but are drawn at different layers. For these cases, I have marked layers that belong to the same class with the same number and the letters a and b appended next to it. So, here goes:
0. character body
1. character face
2. cloak back 1*
3. cloak back 2*
4. helm**
5a. pants, breeches, loincloth, tights, Khajiit suit
6. boots, shoes, armour boots
7. greaves
5b. short skirt, long skirt, wrap
8a. short shirt, long shirt, eodoric, vest, dress, gown, kimono, tunic, toga, sash, straps
9. cuirass
10. pauldrons
11. gauntlets
8b. robes
12. cloak front 1*
13. cloak front 2*
14. right-handed weapon
15. left-handed weapon, shield
* for some reason, you're allowed to wear two cloaks, so these are drawn at different layers I guess
** helms have a mask that hides the hair; in the original Bethesda release, in some cases the mask is too large and it clips into paperdoll's shoulders and parts of the casual cloak's back, but I fixed that by editing the mask shape
So, as you can see, if you'd wanted to move the layer with the Khajiit suit beneath the face layer, it'd be covered by the cloak back -- which is probably about fine with most Khajiit suit variants, but not so much with the rest of the items on the same layer, like pants and loincloths. Should you move the face layer up, you'd need to move the helm as well, but helms have the mask part -- as far as I know, there's only one type of mask, colour 255, which essentially draws the background image, bypassing all the layers that might be below it. So the helm may only be positioned over the cloak back, max, because otherwise it will clip into whatever clothes the character has on the upper torso, like shirts or pauldrons.