mzarzycki20 Posted May 3, 2011 Share Posted May 3, 2011 How do i change what an NPC is selling?i know this is pretty basic but i just started modding so if any one wold like to tell me that it would be great! :) Thanks Link to comment Share on other sites More sharing options...
Greslin Posted May 4, 2011 Share Posted May 4, 2011 (edited) How do i change what an NPC is selling?i know this is pretty basic but i just started modding so if any one wold like to tell me that it would be great! :) Thanks Talking about a merchant, right? Easiest way I've found is to create a container object in GECK (or duplicate a preexisting one) and assign its ownership to the merchant. Put the item in the box, then hide the box someplace physically inaccessible near the NPC, like under the floor or inside a nearby wall. If you've done everything right, the item will come up for sale when the merchant is physically near the box location. At first it'll probably be a trial and error process, getting it right. Look at how the other VendorBuriedChest objects are built and configured. But that's the basic idea. You can also use GECK to add items to the merchant's global chest and do it dynamically in a script via the AddItem/RemoveItem functions. Edited May 4, 2011 by Greslin Link to comment Share on other sites More sharing options...
mzarzycki20 Posted May 4, 2011 Author Share Posted May 4, 2011 Thanks. Link to comment Share on other sites More sharing options...
xab666 Posted May 5, 2011 Share Posted May 5, 2011 (edited) Thanks. you actually need to OPEN the NPC, and change the AI DATA tab, so that they offer the services you want.its under AI DATA. autocalc rarely works, set everything manually.if your not changing the TYPE of vendor, the above advice should work. otherwise this is pre-req otherwise if a vendor is set to sell food/drink and you sell him a gun. it wont be in his inventory (but WILL be in his vendor container) you also need to script the conversation in a quest.including a GREETING, GOODBYE, and content.the begin scripts for each type here: ShowBarterMenu x (Opens buy/sell menu, x is the discount)abr. "sbm"also:ShowRepairMenu , ShowPlasticSurgeonMenu , ShowBarberMenu Edited May 6, 2011 by xab666 Link to comment Share on other sites More sharing options...
Recommended Posts