Hi, it's me again. Can you please point me to where I need to edit the globals? I'm a xEdit newbie and I don't know where exactly I should change the values. I'm so sorry to bother you but I'm a little lost and afraid to f*#@ it up
Hey, I don't have Books of Skyrim installed so I didn't select the patch for it, but LOOT gives me an error that I'm missing the Books of Skyrim master anyway? I only selected KYE Redux in the fomod.
im also seeing this issue in MO2, without loot as well, but with the non redux base version of KYE, again, without books of skyrim. the plugin still has books of skyrim as a master for some reason
Yep. The other one (KYE Redux + Books of Skyrim) doesn't show any errors in LOOT, so you might have just gotten them mixed up. I haven't checked in game though, just in LOOT (don't have time rn but I can check tomorrow).
The descriptions in the FOMOD don't match the choices. Mousing over Know Your Enemy says we need Redux, but mousing over the Redux options shows nothing.
The mod author of Know Your Enemy has now published a more streamlined Know Your Enemy Redux. Will this mod work with that mod too? If not, can you provide such a version?
The current version will not work with Redux because the plugin name changed. Updating should be easy so I'll try to do that in the coming weeks when I have time,
When you say it requires a new game, do you mean it will only work when KYE is first installed? Because I have an existing playthrough where I'm intending to install KYE plus this mod.
I am highly confused by the numbers I find in xEdit for the chances of a book to be stocked by a vendor.
Khajiit caravans apparently have a 10% chance of having any of the books. The value in xEdit is 90. So okay, 90% to NOT have any, I guess. Then I look at apothecary... supposedly a 4% chance to have a book. The value in xEdit is 25. Neither is that the correct number, nor does it work like it apparently does for the caravans... otherwise, apothecaries would have a chance of 75% to carry one of the books. Then I look at the vigilants, who also have a 4% chance (like apothecaries)... their value in xEdit is 75 (as opposed to the 25 of the apothecaries)... so I'd think either a 75% chance, or 100-75 = 25% chance. Ugh. This doesn't make any sense to me. How can two vendors which have the same chance have two different numbers in xEdit?
So... can you please explain to me what I'm missing? The chances seem to work completely differently for each of the vendor types. And while I'm actually fine with the chances as they are listed in the description, I wouldn't know how to follow your advice ("Edit the globals as you see fit.") if I wasn't; as the numbers in xEdit make absolutely no logical sense to me right now.
Edit: The chances listed in the ReadMe are a bit different from the chances listed in the mod description (e.g. apothecaries supposedly have a 2.5% chance instead of the 4% listed in the description). The numbers xEdit still don't make any more sense to me, though.
Yes it can be confusing. Let's look in the Apothecary Merchant Chest in Falkreath (0006A876) (all Apothecary's have the same contents). The container has LItemApothecaryRecipesCommon100. The game takes one item from that list and adds it to the merchant chest. This list has 18 items, with chance none = 0, and it calculates for each item in the list, and all levels <= player level. Each item has Level 1, meaning it will always choose from each item. Books for Sale adds a custom list LItemApothecary4 to this list by script injection on a new game. This means, there are 19 items to choose from. But the merchant container only has 1 of those 19 items.
That means there is a 1/19 chance (5.2%) that the container calls LItemApothecary4. If it does, there is a 25% chance it will return no item (see ApothecaryChance global value). That means 75% of the time, it will return an item. 5.2% x 75% = 3.9%, thus 4% chance of having a Book for Sale instead of a recipe.
You can then calculate the chance for each list this way. Hope that explanation makes it more clear. If the readme says 2.5%, it seems the readme is incorrect, but I probably won't upload a new file just to fix that.
If you want to test if that percentage is actually true in game, you can console player.additem 10f91a 100. This should add 100 of LItemApothecaryRecipes100 to your inventory, and you should see 4 books appear. For some lists that use the UseAll flag though, you will need to apply the console command player.additem xxxxxxx 1, and do that 100 times, because with the UseAll flag it does not randomize each item.
Hey, I stumbled across this following a reddit post - it looks great, and thank you for building off KYE. I'll try this on my next playthrough as even I agree that sometimes it would be nice to find the books a little more often. I also like that you've kept their high price. I set it to a random value as they were not originally meant to be bought, but if they are for sale the cost should definitely be high. Thanks again.
36 comments
Note: I didn't change the script and from what i can see it does not need changing either. But i fixed the values in xEdit.
https://drive.google.com/file/d/1K8gVrdX6gsiIpXrZhMOS74KU3tgi3jY4/view?usp=sharing
[00:00] Checking for Errors in [FE 1A3] KYEBooksForSale.esp
[00:00] KYE_book_quest "KNY book quest" [QUST:FE09787A]
[00:00] QUST \ VMAD - Virtual Machine Adapter \ Scripts \ Script \ Properties \ Property \ Value \ Object Union \ Object v2 \ FormID -> [FE1A2B5C] < Error: Could not be resolved >
[00:00] Done: Checking for Errors, Processed Records: 48, Errors found: 1, Elapsed Time: 00:00
Works with 9.1 and earlier.
Khajiit caravans apparently have a 10% chance of having any of the books. The value in xEdit is 90. So okay, 90% to NOT have any, I guess. Then I look at apothecary... supposedly a 4% chance to have a book. The value in xEdit is 25. Neither is that the correct number, nor does it work like it apparently does for the caravans... otherwise, apothecaries would have a chance of 75% to carry one of the books. Then I look at the vigilants, who also have a 4% chance (like apothecaries)... their value in xEdit is 75 (as opposed to the 25 of the apothecaries)... so I'd think either a 75% chance, or 100-75 = 25% chance. Ugh. This doesn't make any sense to me. How can two vendors which have the same chance have two different numbers in xEdit?
So... can you please explain to me what I'm missing? The chances seem to work completely differently for each of the vendor types. And while I'm actually fine with the chances as they are listed in the description, I wouldn't know how to follow your advice ("Edit the globals as you see fit.") if I wasn't; as the numbers in xEdit make absolutely no logical sense to me right now.
Edit: The chances listed in the ReadMe are a bit different from the chances listed in the mod description (e.g. apothecaries supposedly have a 2.5% chance instead of the 4% listed in the description). The numbers xEdit still don't make any more sense to me, though.
That means there is a 1/19 chance (5.2%) that the container calls LItemApothecary4. If it does, there is a 25% chance it will return no item (see ApothecaryChance global value). That means 75% of the time, it will return an item. 5.2% x 75% = 3.9%, thus 4% chance of having a Book for Sale instead of a recipe.
You can then calculate the chance for each list this way. Hope that explanation makes it more clear. If the readme says 2.5%, it seems the readme is incorrect, but I probably won't upload a new file just to fix that.
Thanks for the explanation! :)