Jump to content

Matching outfits from levelled lists


Recommended Posts

This may be a stupid question but is there a way for a leveled list to generate matching outfits. Say if I wanted an NPC to have either a black robe and black hood OR a blue robe and blue hood, making sure the hood and robe match each other?

Link to comment
Share on other sites

I'm by far not an expert on all things leveled list but what I'd suggest is using nested leveled lists.

 

So the black robe and matching hood are added to leveled list A, and the blue robe and matching hood are added to leveled list B. You then add leveled list A and leveled list B to whatever leveled list you want the game to use (for example one of the vanilla game leveled lists like LL0NPCClothingRobeMiddle). The game parses the leveled list looking for an item for the NPC and when it decides to use for example the leveled list A entry the NPC will get both a black robe and a black hood.

 

The downside to using this method is there is also a chance the game will select one of the other entries in LL0NPCClothingMiddle, so the NPC could also just get a black robe (or any of the other entries in that list).

Link to comment
Share on other sites

I guess you have to make 2 LL with one item in each. I do that when I add stuff to my merchants, adding x of one item in one LL and put that single LL in the merchants chest, which is filled with different LL's

Link to comment
Share on other sites

Thanks. I tried to go that way, but how do i make leveled list A give a black robe AND a black hood? I could only make it give a black robe OR a black hood.

 

OK so go to LeveledItem in the Object Window left hand pane and left click. The list of all of the game's leveled lists will now appear in the Object Window's right hand pane. Right click in that list of all of the game's leveled list and select New. A dialogue box will open and at the top you will see a field named ID ... give your list a unique name (so not the same as any of the other lists). Next scroll to the Clothing section of the Object Window left pane and select RobeMCBlack. Now in the right pane you will see BlackHood and BlackRobe in the Editor ID column. Position your new LeveledItem dialogue so that you can still see the part that has the columns Level, Count and Form Editor ID and then drag BlackHood from the Object Window right pane and drop it into the area with those columns. Do the same with BlackRobe.

 

In the LeveledItem dialogue leave Chance None at zero and you can change the level the items will appear by using the field in the right side of the dialogue box (you'll need to do the same for each item). I would leave the count at 1 unless you want the NPCs to have multiple copies when you loot them. Put ticks next to the Calculate for all items and Calculate for each item and then click OK to close your new LeveledItem dialogue.

 

Finish up by opening the vanilla game (or otherwise) leveled list you want to add your leveled list to (example LL0NPCClothingRobeMiddle) and then drag and drop your new leveled list from the Object Window right pane into the LL0NPCClothingRobeMiddle (same way you did with the robe and hood). Click OK and then save your ESP.

 

What you should now have is a one in three chance that NPCs using that LL0NPCClothingRobeMiddle list will have both a black robe and black hood.

Link to comment
Share on other sites

I guess you have to make 2 LL with one item in each. I do that when I add stuff to my merchants, adding x of one item in one LL and put that single LL in the merchants chest, which is filled with different LL's

 

 

 

Thanks. I tried to go that way, but how do i make leveled list A give a black robe AND a black hood? I could only make it give a black robe OR a black hood.

 

OK so go to LeveledItem in the Object Window left hand pane and left click. The list of all of the game's leveled lists will now appear in the Object Window's right hand pane. Right click in that list of all of the game's leveled list and select New. A dialogue box will open and at the top you will see a field named ID ... give your list a unique name (so not the same as any of the other lists). Next scroll to the Clothing section of the Object Window left pane and select RobeMCBlack. Now in the right pane you will see BlackHood and BlackRobe in the Editor ID column. Position your new LeveledItem dialogue so that you can still see the part that has the columns Level, Count and Form Editor ID and then drag BlackHood from the Object Window right pane and drop it into the area with those columns. Do the same with BlackRobe.

 

In the LeveledItem dialogue leave Chance None at zero and you can change the level the items will appear by using the field in the right side of the dialogue box (you'll need to do the same for each item). I would leave the count at 1 unless you want the NPCs to have multiple copies when you loot them. Put ticks next to the Calculate for all items and Calculate for each item and then click OK to close your new LeveledItem dialogue.

 

Finish up by opening the vanilla game (or otherwise) leveled list you want to add your leveled list to (example LL0NPCClothingRobeMiddle) and then drag and drop your new leveled list from the Object Window right pane into the LL0NPCClothingRobeMiddle (same way you did with the robe and hood). Click OK and then save your ESP.

 

What you should now have is a one in three chance that NPCs using that LL0NPCClothingRobeMiddle list will have both a black robe and black hood.

 

Thanks both. Unfortunately no luck. This is what I've done:

 

Created a LL containing only the black hood (lets call this LLBlackHood for now)

Created a LL containing only the black robe (LLBlackRobe)

Created a LL containing LLBlackHood and LLBlackRobe (LLBlackOutfit)

 

Created a LL containing only the blue hood (lets call this LLBlueHood for now)

Created a LL containing only the black robe (LLBlueRobe)

Created a LL containing LLBlueHood and LLBlueRobe (LLBlueOutfit)

 

Created a LL containing LLBlackOutfit and LLBlueOutfit (lets call this LLRobes).

 

As far as I can tell, LLRobes has a 50% chance of spawning LLBlackOutfit and a 50% chance of spawning LLBlueOutfit. This is all fine. But if it picks LLBlackOutfit, that LL then has a 50% chance of spawning a black robe, or a 50% chance of spawning a black hood. So LLRobes only makes one hood or one robe, leaving me back at square one. Or at least that's what the "Preview Calculated Results" shows. I can't seem to make LLBlackOutfit spawn both a robe and a hood.

Link to comment
Share on other sites

The way you've done it would have a 16.67 chance of spawning both a black hood and black robe and the same chance for spawning both of the blue (and that is if your LLRobes is the only leveled clothing in an NPC's inventory). At those small percentages it will possibly take quite a while before you run into an NPC with both hood and robe.

 

I would increase the odds (at least while doing your testing) by dropping the LLBlackHood and LLBlueHood from LLRobes ... which should increase the chance of a spawn of either black hood plus black robe or the blue option to 25% each (so a 50% chance of seeing one or the other vs a 33.3% chance).

 

The other consideration that comes to mind with your LLBlackHood and LLBlueHood lists is they would give a chance of an NPC with only a hood to wear (again unless they have other leveled lists with clothing/armor).

Link to comment
Share on other sites

So I think I'm misunderstanding how levelled lists work. Doesn't the way I have it currently have a 0% chance of spawning both a robe and a hood since it only generates one item?

 

Am I right in thinking there is no way to give LLRobes a 100% chance of generating a matched set (either black robes and hood or blue robes and hood)? If not then I'll have to give up on the idea.

Link to comment
Share on other sites

That percent box is very easily misinterpreted. Look at the wording ... it's % Chance None. That means at zero percent chance for getting none you have a 100% chance of getting an item (conversely if you put it at 100% chance of getting none you would have a zero percent chance of getting anything).

 

My one and only foray into leveled lists involved the Intruders at the Gates of Madness (part of the SE14 ongoing quest after you've finished the Shivering Isles main quest). In that case there is a quest script that gets 5 NPCs from the SE14AdventurerAttackList (so the script retrieves the 5 NPCs using the list ... in other words the list doesn't generate 5 NPCs on it's own).

 

This has me thinking that you may require some scripting (another subject that I am by far no expert on).

Link to comment
Share on other sites

The way I understand the Levelists works is just to spawn 1 single of the items in the list and I did a test with 2 different bottles and I only got 1 of them to spawn in the Preview Result, never both. If we peek at any NPC's LL, like the bandits, they have 1 list for each type of item that might spawn with them:

 

A ...

  • weapon LL
  • cuirass LL
  • boots LL
  • Gauntlets LL
  • etc... LL LL LL LL

Only one item from each list will spawn so as I did mention earlier, you need 2 lists.

  • One list with Robes
  • One list with Hoods

Chance none to 0 if you want them to spawn 100% and no matter how many types of robes or hoods you put in each list, only 1 will spawn.

Edited by Pellape
Link to comment
Share on other sites

  • Recently Browsing   0 members

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