Potato_Skill Posted June 8, 2021 Posted June 8, 2021 How does decapitation work? How to make a piece of headwear (a face mask in my case) "stick" to the decapitated head instead of the body? Here's the face mask mod that I have. Notice the mask is attached to to the body (?) instead of the head. Spoiler Here's what I'm trying to achieve. Spoiler Is this something related to mesh error? Can I fix this with nifskope?
Guest Posted June 8, 2021 Posted June 8, 2021 Could it be the partitions is assigned to the NiTriShapes on facemask? I checked a helmet in nifscope and it says "SBP_131_HAIR" on partition. Also, not sure how this facemask is set up with weights, but it needs to be weighted only with bones from the body sections on the part decapitated headpart. If you have a spline02 bone or clavicle attached to the face mask, it's going to give you those ugly distorted mehs "spikes". The helmet I looked at is only connected to the NPC head bone.
Potato_Skill Posted June 8, 2021 Author Posted June 8, 2021 6 minutes ago, Thor2000 said: Could it be the partitions is assigned to the NiTriShapes on facemask? I checked a helmet in nifscope and it says "SBP_131_HAIR" on partition. Also, not sure how this facemask is set up with weights, but it needs to be weighted only with bones from the body sections on the part decapitated headpart. If you have a spline02 bone or clavicle attached to the face mask, it's going to give you those ugly distorted mehs "spikes". The helmet I looked at is only connected to the NPC head bone. Hmmm... I see, here's what it shows up in nifskope: Spoiler So, I should remove the NiNodes attached to the bones other than the head bone? The body part it's assigned to is slot 44 Spoiler
Potato_Skill Posted June 8, 2021 Author Posted June 8, 2021 Actually, I don't think that's the case. In the mod, the masks come in 2 variants - "With scarf" and "No scarf". Here are the nifs of each variant in nifskope: Spoiler They are configured differently (of course they are) yet the same bug still happens to both variants: Spoiler
Seijin8 Posted June 8, 2021 Posted June 8, 2021 31 minutes ago, Potato_Skill said: The body part it's assigned to is slot 44 Slot 44 will not follow a decapitated head. Only helmet/hair slots will do that. To the best of my knowledge, there is no real fix for this outside hacking the game engine, or creating a scripted component that removes the mask after a decapitation event, which may or may not work reliably. EDIT: Thinking on it... you might be able to assign it to "Ears" (43). I'm not sure if that will have the effect you want, but it would at least follow the head on decapitation.
Guest Posted June 8, 2021 Posted June 8, 2021 EDIT: The vanilla skyrim helmet I looked at is linked to slot 131. Try that.
Seijin8 Posted June 8, 2021 Posted June 8, 2021 21 minutes ago, Thor2000 said: EDIT: The vanilla skyrim helmet I looked at is linked to slot 131. Try that. That isn't an available slot to assign things to. 131 is a special version of 31 that can only be assigned to a nif and cannot be used for equip objects in game. This is what we have to work with:
Guest Posted June 8, 2021 Posted June 8, 2021 9 minutes ago, Seijin8 said: That isn't an available slot to assign things to. 131 is a special version of 31 that can only be assigned to a nif and cannot be used for equip objects in game. This is what we have to work with: Good point
Potato_Skill Posted June 8, 2021 Author Posted June 8, 2021 1 hour ago, Seijin8 said: Slot 44 will not follow a decapitated head. Only helmet/hair slots will do that. To the best of my knowledge, there is no real fix for this outside hacking the game engine, or creating a scripted component that removes the mask after a decapitation event, which may or may not work reliably. EDIT: Thinking on it... you might be able to assign it to "Ears" (43). I'm not sure if that will have the effect you want, but it would at least follow the head on decapitation. Doesn't that mean the ears will disappear when the mask is equipped? Tbh, I don't know if changing body slot is really the key to this problem. I tried to replace slot 44 with slot 42 (circlet, because I want to keep the ears) and it didn't work. Circlets in game do stick to decapped heads, at least, the vanilla ones do.
Seijin8 Posted June 8, 2021 Posted June 8, 2021 3 minutes ago, Potato_Skill said: I tried to replace slot 44 with slot 42 (circlet, because I want to keep the ears) and it didn't work. Please define that. "Didn't work" as in the face mask stayed? (Seems unlikely). "Didn't work" like something else went wrong? Can maybe fix that.
Potato_Skill Posted June 8, 2021 Author Posted June 8, 2021 Just now, Seijin8 said: Please define that. "Didn't work" as in the face mask stayed? (Seems unlikely). "Didn't work" like something else went wrong? Can maybe fix that. Yes, I meant that the mask stayed with the body.
Seijin8 Posted June 8, 2021 Posted June 8, 2021 2 minutes ago, Potato_Skill said: Yes, I meant that the mask stayed with the body. That doesn't seem right at all. If circlets are "decap-able", then the only ways the system would know it is a circlet is by making it slot 42 on armor and armor addon, and then giving the nif the slot 142. That's how the vanilla gag and circlets are set up anyway.
Potato_Skill Posted June 8, 2021 Author Posted June 8, 2021 1 minute ago, Seijin8 said: That doesn't seem right at all. If circlets are "decap-able", then the only ways the system would know it is a circlet is by making it slot 42 on armor and armor addon, and then giving the nif the slot 142. That's how the vanilla gag and circlets are set up anyway. Oh wait, I have to give the nif slot 142? I have it configured like this: Spoiler Maybe that's where I messed up? The masks show up in game alright. It's just that, they refuse to stick to the decapped head. What's the difference between slot 42 and 142?
Seijin8 Posted June 8, 2021 Posted June 8, 2021 Just now, Potato_Skill said: The masks show up in game alright. It's just that, they refuse to stick to the decapped head. What's the difference between slot 42 and 142 Just speculating, but I think the 1xx tags are telling the system "stick this to the head". As far as editor display is concerned, 42 and 142 are identical. Decap is the difference. (I think.)
Potato_Skill Posted June 8, 2021 Author Posted June 8, 2021 It's working now. I've never been so excited about chopping off someone's head in Skyrim. I can finally stop beheading bandits now. Poor bastards. Thank you all who's been stopping by helping and making suggestion.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.