Malfus Posted October 8, 2014 Posted October 8, 2014 I am working on a custom script for PlayerSuccubusQuest where I re-skin the armor you are wearing instead of replacing it with the clothing provided by the mod. I have the boots, gloves, and chest working correctly, but I can't seem to get the horns mesh to show up when I switch the model path of a helmet. I have changed the slot mask to circlet and the hair shows up, but I can't get the horns to become visible. Here's what I am doing: PSQ.OrgHelm = Succu.GetWornForm(0x00001000) as Armor PSQ.OrgHelm.SetSlotMask(0x00001000) PSQ.OrgHelm.GetNthArmorAddon(0).SetSlotMask(0x00001000) PSQ.OrgHelmP = PSQ.OrgHelm.GetNthArmorAddon(0).GetModelPath(false,true) PSQ.OrgHelm.GetNthArmorAddon(0).SetModelPath(PSQ.PSQSuccubusHorns.GetNthArmorAddon(0).GetModelPath(false,true),false,true) Succu.UnequipItem(PSQ.OrgHelm, false, True) Succu.QueueNiNodeUpdate() Utility.Wait(0.01) Succu.EquipItem(PSQ.OrgHelm, false, True) The item in the inventory acquires a circlet icon as expected, but it isn't visible on the character. Any ideas on how to get the horns to show when I re-skin the helmet?
Malfus Posted October 8, 2014 Author Posted October 8, 2014 I have tried it in the horns nif, if that's what you are asking.
Vioxsis Posted October 8, 2014 Posted October 8, 2014 Yes, you need to have the dismember slot for the nif match the slot set by an esp/script. If they don't match the mesh wont show in game.
Malfus Posted October 8, 2014 Author Posted October 8, 2014 So wait, the slot must match the slot mask as well? Because I can change the slot mask via script, but not the actual slot.
Vioxsis Posted October 8, 2014 Posted October 8, 2014 The dismember should be set in the nif to match the esp. (or what your script has set it to) or it won't show up. You need to change it yo the slot for circlet (42 or 142) <- if i remember correctly and yes there are 2 slots for the circlet pick 1 and see if it works.
Malfus Posted October 8, 2014 Author Posted October 8, 2014 The horns are already set to circlet, are you saying I need to change the helmet mesh to a circlet?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.