Jump to content

Make every random enemy a male - Please help Modding (like SoS)


Recommended Posts

Posted

Good day everyone!

 

For weeks I googled and googled and... I can't find anything helpful. My goal is to make every random enemy NPC male. (Not the ones who have a story, dialogue and are refered to as female.) So, in the end I want no female enemies at all (aside from my mods). Also including the Thalmor thugs that wander across Skyrim with their prisoners. I have my reasons, please don't be insulted irl. People make characters female all the time. I just want it the other way around.^^ Since no one wants this but me, I can't find modding tipps related to this wish anywhere.

 

I looked at the Skyrim Creation Kit and figured out how the names of female enemies are. Like EncBandit*01F and stuff. I clicked them and unchecked the box that said "female" and changed the voice to a male one. Since they are randos I figured it should work. "muhaha you will die now and all!" comes in every voice tone. Seems my little .esp really changed the bandits to males, since I saw no female. But I saw some bandits with mismatched head color. Dunno if this was due to my mod.

 

1) So, is it really THAT easy to change the gender of a random NPC? Just untick the "female"?

2) Is there an easier way to work on classes? Like, change the box of more than 1 NPC at a time? I can't drink that much coffee at once. Or at least an easier search to find the females.

3) Could this cause severe issues in the game? I don't know how "hard" this mod is for the game. I have "Sons of Skyrim Only" and it works fine, but I don't know what the modder did to make the guards male. Bet she was more experienced.

4) Could this conflict with Sons of Skyrim Only? What would the load order be?

 

Would really appriciate the help and some tipps. I never modded. Just made a few minor changes. Like, I once changed the Black Widow perk to male in New Vegas and it worked like a charm.

 

?

Posted

In theory, changing the flag to female makes the NPC female (you may want to change their voicetye too, obviously). This works for NPCs which are simply based on a template and have no individual heads. However in the NPC record there is also section which defines which headparts an NPC has (such as specific eyes, or specific brows or hair, etc.). These headparts are different between male and female, so if you change an NPC to female, the headparts may not be valid for this gender anymore, causing the problems you are experiencing.

Posted

Do not edit skyrim.esm in xedit, you need to make a plugin in ck and edit from there. here is a picture of a lvl npc marker that is for female bandits, most if not all lvl markers are gender specific.  you can see on left  LCharBanditMissleNordF  that is a lvl marker, it would pull one of the specific npcs from list on the right, swap the npcs on right out with males 

 

Region.jpg.668ae9f58164036af5bbd398a817c0aa.jpg

 

Posted
1 hour ago, GabrielMidnight said:

Good day everyone!

 

For weeks I googled and googled and... I can't find anything helpful. My goal is to make every random enemy NPC male. (Not the ones who have a story, dialogue and are refered to as female.) So, in the end I want no female enemies at all (aside from my mods). Also including the Thalmor thugs that wander across Skyrim with their prisoners. I have my reasons, please don't be insulted irl. People make characters female all the time. I just want it the other way around.^^ Since no one wants this but me, I can't find modding tipps related to this wish anywhere.

 

I looked at the Skyrim Creation Kit and figured out how the names of female enemies are. Like EncBandit*01F and stuff. I clicked them and unchecked the box that said "female" and changed the voice to a male one. Since they are randos I figured it should work. "muhaha you will die now and all!" comes in every voice tone. Seems my little .esp really changed the bandits to males, since I saw no female. But I saw some bandits with mismatched head color. Dunno if this was due to my mod.

 

1) So, is it really THAT easy to change the gender of a random NPC? Just untick the "female"?

2) Is there an easier way to work on classes? Like, change the box of more than 1 NPC at a time? I can't drink that much coffee at once. Or at least an easier search to find the females.

3) Could this cause severe issues in the game? I don't know how "hard" this mod is for the game. I have "Sons of Skyrim Only" and it works fine, but I don't know what the modder did to make the guards male. Bet she was more experienced.

4) Could this conflict with Sons of Skyrim Only? What would the load order be?

 

Would really appriciate the help and some tipps. I never modded. Just made a few minor changes. Like, I once changed the Black Widow perk to male in New Vegas and it worked like a charm.

 

?

1: No

2: See below

3: The game can be unbalanced if you mess up in instructions below. But as all your changes will go inside a new ESP, and you back up your save, then it ain't that bad. You can always go back. Also, I would avoid editing anything that is used for quests. Might lead to strange things, possibly CTD.

4: Yes if your changes touches the same lists as this mod does (i dont know this mod so can't really tell).

 

 

I warn you, you are up for some serious amount of work.

 

The float diagram:

 

Enc (the simple actor, fox , giant or bandit) -> LCHAR (which is a list of simple actors or could be a list that holds sevelal other LCHARs) -> LvL (almost the same as Enc, but it contains really nothing other than a reference to a "M" marker placed in the Skyrim world.

 

Do not make any edits in the Enc.

 

First check what the LvL holds (you find under "actor" tab in CK). Just filter with LvL. Then look at the template (which is a LChar). If the LCHAr is labeled "M". You can replace the LChar with the correspond female one labeled "F".

 

If the LCHAR is not labeled with either M or F, it means that it probably holds both females and males Enc. In this case you need to enter the LCHAR itself, then replace all female Enc with the corresponding male Enc. They are basically located inside the same LChar.

 

You will need to make no esp name of course. All you changes will go inside this esp so you won't destroy anything but your save (potentially).

 

Also, before you edit anything, you really should should pay attention to where the object you are editing is used. It could be used in a quest. I wouldn't mess with things used in quests. Not at first. Many Lvl are used in WEQuests which is the Random wilderness encounters you meet when wandering around.

 

If you end up replacing LCHars , make sure the new one holds the same levels of NPCs as the old one. Otherwise the game will be unbalanced.

 

I suggest you use tes5edit cause it's hell of a lot easier and more structural (did I mention stable?). Very easy to see what the users of an object is.

Posted

The only way to do it quickly and less error prone if you need it to dynamically recognize all of your modded LVLN is via an xEdit script. This is what you want to do...

  1. Create a new plugin with the AddNewFileName function.
  2. Make two TLists, one to store all processed load order LVLN form ids and one to store all Leveled List Entries indexes that are to be removed. 
  3. Make the script process LVLN records only (skip record if its load order form id is in the TList already).
  4. Get the winning override of that record by using the HighestOverrideOrSelf function.
  5. Go through the Leveled List entries and if the NPC_ record is flagged as Female in ACBS\Flags and it has the ActorTypeNPC keyword in either KWDA or RNAM/KWDA (race keywords), add that index to the previously mentioned TList.
  6. Now check if the size of said TList is the same size of the entries, if so, abort because the LVLN cannot be empty.
  7. If it's less than the original size, copy the LVLN record to the new file as an override by calling wbCopyElementToFile.
  8. The newly copied override will be returned from the previous function call, from there remove entries from its Leveled List entries by index (the ones that were previously added to the TList), use RemoveByIndex for this task.
  9. Once the script finishes, save the new file and place it at the bottom of your load order.

You might need to call AddMasterIfMissing, if wbCopyElementToFile didn't automatically add them.

 

If I've the time today, I might end up writing this for you; it's relatively small and simple code.

 

EDIT

 

Further analysis of this approach made me come to realize it will not work for most (all?) cases because there are female and male only LVLN, which are then referenced by specific NPC_ records, which in turn are spawned statically in a cell or dynamically via a quest.

 

This effectively makes an script approach much more complex, because you would need to go through all records referencing the LVLN up to its ACHR or QUST record, and then replace those with NPC_ male only records.

Since most of these have the same editor id, the easiest approach would be to get rid of the last editor id character if it's F, attach M to it, get the record by editor id and if the record exists, replace the ACHR reference or QUST reference by this new record.

Posted

Hey guys, thank you for all those lovely answers!

 

14 hours ago, Heroine HoneyCrotch said:

 

This mod sounds like safe bet, I could only find Fjota Mistwatch leader bandit that used F char list but I also didnt look that hard. Definitely wouldn't mess with any of the F only char list. 

 

Yes, I definetly prefer confirmed mods of other people over my noobish esp-messes.^^ Yesterday my PC had NSFW fun with a bandit who was half-dunmer/half-altmer - due to my own messy "Men's World.esp that had those Enc* edits. Welp, talk about diversity in Skyrim...  xD I will try the linked mod. I even saw that I had commented on the mod weeks ago without remembering. lol

 

Still, I have to learn modding "simple" stuff myself. I have the urge to turn Open World RPGs into my own virtual All-Male-Resort paradise and since this is not on high demand when it comes to the modding community or game developers, I have to learn a few tricks myself.

Spoiler

For example in Fallout 4 the Nuka Cola DLC was completly ruined for me, since I had the impression the developers had a "Fem-Dom island" kink going on. So my motivation to become an evil raider myself was zero. Would've helped if the bad guys would've been... well... bad BOYS. But that's just me, saw no mod helping with that problem. Since it would've been nessecary to change to gender of quest characters (the leaders) that seems pretty time intensive.

 

First issue I see is that my LOOT and TESV.edit won't recognize my mods. Only the vanilla DLCS and FNIS. It seems that they are not communicating with MO2, only with my Skyrim folder. MO2 recognizes LOOT and loads the order. I have tons of Survival and SexLab related mods and the requirements of the requirements installed - yet LOOT and TESV are like "so, you have FNIS only...". Is there a way to change the folder in LOOT and TESV?

 

On 3/29/2021 at 1:16 PM, CovfefePeter said:

I have used this mod to make all randomized npc male, it works well with all my mods, even the nsfw ones

https://www.nexusmods.com/skyrim/mods/23115/

 

That's great to hear, because I had worries that the NSFW mods would cause trouble when too many NPCs are changed. That's why I went for the "change only enemies" route. For example "Radiant Prostitution" seems to edit Huldas look. I have no mods installed that change anything about women - yet she looks like a "Madame" - so I guess it's RP. But Hulda doesn't count as "random" NPC I guess, so she should stay untouched by the mod, I assume.

 

I will look into your tips now (read them carefully, but not sure if I understood completly) and try to make my own "male only" mod to get some practice for future Fallouts & Elder Scrolls. (And just in case the mentined Nexus mod doesn't work.) It's hard for me to understand the technical stuff, but "learning by doing" how they say.^^

Posted

I second Masculinized Level Lists that was linked already. It will make every non unique npc male if possible.
It won't affect a few scripted enocounters where some female characters are supposed to appear but that's about it.

Posted
30 minutes ago, decaluka said:

I second Masculinized Level Lists that was linked already. It will make every non unique npc male if possible.
It won't affect a few scripted enocounters where some female characters are supposed to appear but that's about it.

 

Awesome! I just switched my own messy esp with the "Masculinized" mod and deactivated "Sons of Skyrim Only" (since the guards should be masculinzed too now). My save game seems to be fine with the change. ?

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...