Jump to content

How do i...


mzarzycki20

Recommended Posts

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 by Greslin
Link to comment
Share on other sites

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 by xab666
Link to comment
Share on other sites

  • Recently Browsing   0 members

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