About this mod
This mod scans for female guards that aren't wearing a KS, Xing (Dint) or YunDao physics wig and equips a KS physics wig.
- Requirements
- Permissions and credits
- Changelogs
This mod was inspired by comments to my NPC Outfitter for KS Hairdos HDT SMP mod. It seemed that some NPC's would get a wig and then, later, the wig would be gone. One person thought it was a problem with armor.
What this mod does is periodically and somewhat randomly scan for nearby female guards. When one is found, she is checked to see if she's already wearing a wig from KS Hairdos - HDT SMP (Physics), Xing (Dint) Wigs or Yundao Hair with physics SSE. If so, the script is done except to setup the next scan.
If such a worn wig is not found, the script looks for a helmet and attempts to remove it. If a KS or Yundao wig is found in the guard's inventory, the script will attempt to equip that wig on the guard. (This is where the script is trying to mitigate the reported "bug.") If no such wig is found in the guard's inventory, then the guard is given a "random" wig.
Right now the available wigs are Angelic, Cambrian and Top Gorgeous.
Alternate Guard Wigs Mod
Since I first published this mod, I published Wodo's Guards Plus with HDT-SMP Physics Wigs. That mod sets the wig when the NPC is spawned by the game. This mod adds wigs to wig-less female guards during game play. This mod is more useful for games already underway. The other mod is more useful for new games. Either way, you can have both since mods should be compatible with each other.
FAQ
Q. What are the Caveats?
A1. This is beta software. I wrote it to experiment with the intent of solving the reported problem. But since I wrote the mod, I decided that I should share the mod with anyone who is interested in trying it, testing it, whatever. If you don't have a tolerance for bugs or experimentation, don't download.
A2. Adding physics wigs to a bunch of guards, especially in a city like Whiterun or Riften, can have a negative effect on your game performance (FPS). It is usually OK on my Ryzen 7 1700x overclocked to 3.8GHz. If you have a lesser/older processor, I suggest you move on and don't download. (The physics calculations that matter here are done in the CPU, not the GPU.)
Q. What wigs might the guards receive?
A. Angelic, Cambrian and Top Gorgeous.
Q. Will you add more wigs?
A. Perhaps. I am open to constructive suggestions. My preference is shorter wigs because (1) these are guards who can get into fights and (2) my guess is the shorter wigs create less calculation stress on CPU's.
Q. Why can it take several seconds before a nearby guard adds her wig?
A. The scan is done when the PC enters a cell and also at 10 second intervals. The scan has a random element so if there are many NPC's nearby, the guard might get missed for a while.
Q. My FPS fell and my game isn't playable!
A. Then please don't use this mod (and read the above caveats).
Q. The wigs change colors. What are you going to do about that?
A. There isn't anything I can do about it. Wig color is controlled by RaceMenu and KS Hairdos - HDT SMP (Physics) and how Actor record was configured by Bethesda or the mod that added the guard to the game. (Some Redguard NPC's end up with a platinum blond wig because the hair color in their Actor record is set to "default" instead of an explicit color.)
Q. What mods are required?
A. Just one is required - KS Hairdos - HDT SMP (Physics). RaceMenu is strongly recommended. Yundao Hair with physics SSE is not required.
Q. If Yundao isn't required, how can you detect wigs from that mod.
A. I use the wig's ID name. If the ID name starts "YD" then I assume it is a wig from that mod. If the wig ID name starts "KSSMP" then I assume is it a wig from the physics department of KS Wigs.
Q. What about detecting wigs from other mods?
A. I have considered that starting with static wigs from Kalilies. My concern is the wig name starts with "0" and that isn't enough characters to make me feel comfortable that the match isn't a false positive. Other mods might have started equipment ID names with a "0"'; Having said that, I could be talked into changing my mind.
Q. Will you add physics wigs from Yundao?
A. Perhaps. More likely if I don't get reports of nasty bugs.