Jump to content

[LE] Can leveled lists be separated for male and female NPCs?


znaroks

Recommended Posts

I wan't to create a mod through TES5EDIT, that adds jewelry to female enemy NPC's, like bandits, witches, necromancers etc. (make them part of their outfit)

They don't really work for males, so I want males to not have them.

Is there a way to make it so?

Because the leveled list outfits doesn't seem to be separated by gender, the enemy npc's gender seems to be determined randomly.

Edited by znaroks
Link to comment
Share on other sites

Wouldn't recommend TES5Edit for making mods, though I've never tried so I have no idea if you can do what you're trying to do. In the Creation Kit, you can find that all radiant ("random") NPCs are based on templates, which inherit their inventories from other templates, and are themselves put into a list, from which the NPCs you see in game are generated.

 

To change the female NPCs specifically, I believe you can simply add the jewelry items to the lists, and add conditions to ensure they only spawn if the NPC is female ("GetSex() == 1" should be what you want). The downfall of this is that you can't set those conditions via script, which means you can't add the items to the list via script (which limits compatibility with other mods). There are some other ways around this, but let's keep it simple for the moment.

 

I'm writing this assuming you have some idea of what you're doing. If you don't, let me know and I'll try to provide some more help. It really should be fairly simple.

Link to comment
Share on other sites

Wouldn't recommend TES5Edit for making mods, though I've never tried so I have no idea if you can do what you're trying to do. In the Creation Kit, you can find that all radiant ("random") NPCs are based on templates, which inherit their inventories from other templates, and are themselves put into a list, from which the NPCs you see in game are generated.

 

To change the female NPCs specifically, I believe you can simply add the jewelry items to the lists, and add conditions to ensure they only spawn if the NPC is female ("GetSex() == 1" should be what you want). The downfall of this is that you can't set those conditions via script, which means you can't add the items to the list via script (which limits compatibility with other mods). There are some other ways around this, but let's keep it simple for the moment.

 

I'm writing this assuming you have some idea of what you're doing. If you don't, let me know and I'll try to provide some more help. It really should be fairly simple.

 

 

I might be dumb, but I'm not seeing any way to add such a conditional to levelled lists or items within them?

Link to comment
Share on other sites

Wouldn't recommend TES5Edit for making mods, though I've never tried so I have no idea if you can do what you're trying to do. In the Creation Kit, you can find that all radiant ("random") NPCs are based on templates, which inherit their inventories from other templates, and are themselves put into a list, from which the NPCs you see in game are generated.

 

To change the female NPCs specifically, I believe you can simply add the jewelry items to the lists, and add conditions to ensure they only spawn if the NPC is female ("GetSex() == 1" should be what you want). The downfall of this is that you can't set those conditions via script, which means you can't add the items to the list via script (which limits compatibility with other mods). There are some other ways around this, but let's keep it simple for the moment.

 

I'm writing this assuming you have some idea of what you're doing. If you don't, let me know and I'll try to provide some more help. It really should be fairly simple.

 

I'm on the contrary, I have made lots of edits and small mods in xEdit, but pretty much never even opened CK.

I know the lists you are talking about, they are called ''outfits'', and they are assigned and depend on the faction of the NPC's. It's what these NPC's visibly wear. Forstworn get their outfit, vampires their outfit, bandits their outfit etc. Bosses have seperate outfits and stuff. I know how to edit them and add stuff from custom mods to these lists or outfits.

 

What I don't understand is how do I apply conditions, such as the one you suggested.

It actually would be Ideal, if someone would tell me how do I set conditions in xEdit.

My question is, how do I add this condition, that you mentioned.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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