Jump to content

NPC vendors have nothing to buy or sell. Need help, please!


Recommended Posts

     I´m creating NPC vendors, but when you trigger the vendor quest, they have nothing to sell or buy. They don´t even show the loose items owned by their vendor faction. The credits they have are the ones that I putted in the NPC´s inventory. I´m using the NPC´s vendor faction to activate the quest, but even if I use the NPC´s ID, I would get the same results.

     The NPC has it´s vendor faction in his "Factions" and it´s faction has it´s chest linked to it. The chest has items that the vendor faction sells (as in weapons) and the faction is set to sell those items. Both the "Buys Stolen Items" and "Buys NonStolen Items" are checked. The vendor location is set to a piece of furniture that has loose items owned by the vendor´s faction and the radius for the location is set to 10. The Start and End Hours are set to 0 and 24 (as default). In the General tab, the "Can Be Owner" is checked.

     On the Quest part, all conditions are set to the faction itself, not the NPC, except for the "Quest Dialogue Conditions" of the "quest Data" tab, which is blank. I did not set any conditions there, but the Alias is set to the faction and the scenes conditions are set to the vendor´s faction also. On the dialogue, the reply that runs the "VendorInfoScript" has as a condition the vendor faction again. The scene is composed of only two Phases and only the vendor dialogue (the one that activates the script) is there, covering both Phases.

     Obviously, the Quest is linked to the NPC via the faction, since only the faction is used in the Quest and talking to the NPC triggers it. Besides, the credits the vendor shows once the script is triggered, are the ones given to the NPC in it´s inventory, and not the ones given to the chest.

     It looks like the things that are linked to the faction, are not being recognized. The chest and the loose items do not show in the vendor items and whatever was set in the faction (items for sale, buying things....) are not being recognized either by the script or the Quest....

     Also, if I uninstall my mod and install it back again (the same file), the vendors stop working. When you talk to a vendor, they just give you random chatter and  the quest for the vendor script does not get activated.

     Please, I´ve been dealing with this for a week with no results. I would really thank anyone who can give me hints on what to do to fix this. Thank you!

Edited by vmroche
Scratched the part that has been answered
Link to comment
Share on other sites

I don't know what your root issue is, but I can tell you that removing and reinstalling a start game enabled quest based mod or quest with dialog in  the same save game will not work. It must always be a clean save that has never seen that quest before.

 

Link to comment
Share on other sites

     Thank you for your reply! Then the issue about breaking the vendors by removing the mod and reistalling it, is "normal", right? Then there is not much I can do about that. The thing is that even in a new save, talking to the vendors activates the script, but they have nothing to sell and nothing to buy (even though I do have items they should buy). Not even the loose items owned bythe faction that activates the quest, appear in the vendor´s list.

 

     I have followed step by step videos about making custom vendors (one from @JRamosWorks and another one from @510deshawn) and they didn´t work as intended. The first one wasn´t even activating the quest, and the second one (the method I´m currently using), triggers the quest, that brings up the vendor, but with no items on the list.

 

     Thanks again for taking the time to reply and giving me the hint about the quest not working after removing and reinstalling the mod, I was breaking my head with that.....

Link to comment
Share on other sites

     I tried the console command you told me, and it did nothing. It´s inventory is still empty and doesn´t even have the owned loose items around him.

 

     Besides, the console commands only affect the save, not the mod I´m working on.

 

     Thanks anyway, I really appreciate the help

Link to comment
Share on other sites

  • 2 weeks later...

     I tried to set the containers as persis in xEdit, but didn’t find an option for that. In the warnings, it says that the vendor factions and some packages would be disabled in game because they are not marked as persist, and maybe that is why my vendors have nothing to sell or buy. Does anyone know how to make them persist?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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