Jump to content

pxd2050

Members
  • Posts

    181
  • Joined

  • Last visited

Everything posted by pxd2050

  1. Thank you very much. Under your guidance, the program began to work. I have another question:https://forums.nexusmods.com/index.php?/topic/9714723-how-to-get-valu-of-hairtintcolor-in-head-nif-with-script-function/page-2. Can help? :wallbash: :thumbsup: :thumbsup:
  2. Scriptname outfit__020012CC Extends TopicInfo Hidden Function Fragment_0(ObjectReference akSpeakerRef) Actor ActorRef = akSpeakerRef as Actor UILib = ((Self as Form) as UILIB_1) String sinput = UILIB.ShowTextInput("R.G.B", "") EndFunction UILIB_1 Property UILIB Auto Hidden
  3. I want to call up the custom menu through the dialogue, but there is no response. What's the problem? someone help thank you
  4. Thank you for your reply. These functions have no effect on NIF. for example:GetHairColor() return HCLF ,but in the game npcs hair color Initial value is Hair Tint Color. Some NPCs HCLF == Hair Tint Color, but many other NPCs HCLF != Hair Tint Color. this why I want to find a function to get Hair Tint Color. I tried nioverride.psc(racemenu), but the file function description is too confusing, I can't find the correct function. It's been bothering me for a long time. Can you help me? Thank you
  5. Thank you for your reply. The method you mentioned above can be achieved, but I think it is a Not directly method. My problem is: how to get the value of "hair tint color" in script? Can you help me? Personally, I have no knowledge in obtaining any data from a NIF file with the papyrus scripting language. Since that is the direction you wish to proceed, I cannot help you. Sorry. It's OK. Thank you very much
  6. By the way, thank you for your help last year. With your help, my dressing mod has been basically completed, and now I am in the test. Now the problem is that when wearing wigs, many followers can't automatically change the color of wigs. So now we're trying to solve this problem.
  7. Thank you for your reply. The method you mentioned above can be achieved, but I think it is a Not directly method. My problem is: how to get the value of "hair tint color" in script? Can you help me?
  8. Are you refer to skee64.ini? You don't know what I want. skee64.ini is base on HCLF but in the game follower hair color Initial value is Hair Tint Color. your RaceMenu auto-colors the wigs to the NPCs hair color,because these NPCs HCLF == Hair Tint Color, but many followers HCLF != Hair Tint Color,so RaceMenu can't auto-colors the wigs to these followers hair color. What I want to do is Let all NPCs and Followers HCLF == Hair Tint Color,by make a mod. OK?
  9. I plan to make a wigs mod, but I don't know How to get valu of Hair Tint Color in head nif with script function, Can you help me? Thank you
  10. I want to know what function can get "HairTintColor in head nif" in script, then I can make a mod to replace HCLF.
  11. How to change the Wigs hair color base on HairTintColor in head nif, instead of HCLF-HairColor? I want to make a mod but I don't know what fucation Can do? Can you help me? Thank You
  12. When I use wig (KS Hairdos - HDT SMP) and racemenu(skee64.ini,bEnableTintHairSlot=1 ),I find some followers can't change hair color automatic,So I plan to made a mod to change it. But now I find use "int skinColor = GetSkinPropertyInt(ActorRef,false,0x00000002,7,-1)",those followers' skinColor return 0.else other followers(can change hair color automatic) SkinColor return correct value. What wrong with it?mabe racemenu's NiOverride have a bug? help
  13. Sorry, I made a low-level mistake. I put the synchaircolor() function in the wrong place, so ActorRef is empty. Now GetSkinPropertyInt() can get HairTintColor in head nif. thank you very much. :dance: :dance: :dance: int niColor = GetSkinPropertyInt(ActorRef,false,0x00000002,7,-1) ColorForm haircolor hairColor.SetColor(niColor) ActorBase ActorB = ActorRef.GetActorBase() ActorB.SetHairColor(haircolor) ActorRef.QueueNiNodeUpdate()
  14. I don't think head NIF is in slot 31,Slot 31 is provided for the hair equipment added later.just as Slot 32 body.When you unequiped Slot 32 or 31,your hair and body don't take off. But wig (use Slot 31) can take off. these slot only provide for Override. So NiOverride can't do work with HairTintColor in head nif
  15. Thank you, How to change Int to colorform? and what is wrong with this code? Function SyncHairColor() int skinColor = GetSkinPropertyInt(ActorRef,false,0x00000002,7,-1) debug.notification("skinColor is :" + skinColor) ;ActorBase ActorB = ActorRef.GetActorBase() ;ActorB.SetHairColor(skinColor as ColorForm) EndFunction in the game,debug display "skinColor is : 0"
  16. Thank you for your reply. I tried it but it didn't work. That's why I sent this post. Function SyncHairColor() ActorBase ActorB = ActorRef.GetActorBase() ColorForm HairColorReference = ActorB.GetHairColor() ActorB.SetHairColor(HairColorReference) ActorRef.QueueNiNodeUpdate() EndFunction I don't Know GetHairColor() point to whether HairTintColor in head nif or HCLF-HairColor? but it don't work in my mod.
×
×
  • Create New...