Difference between revisions of "Adding items to vendors"

19 bytes removed ,  18:12, 17 December 2008
m
Persistent Reference only in the Reference Properties window
imported>Felic
imported>Entom
m (Persistent Reference only in the Reference Properties window)
Line 9: Line 9:
# in the Object Window, under World Objects > Container, double click on any of the VendorContainer* at the bottom of the list.
# in the Object Window, under World Objects > Container, double click on any of the VendorContainer* at the bottom of the list.
# give it a new Editor ID (first text field), and drag & drop the items you want your vendor to sell into the Item List on the right (deleting any items you don't want) and some caps if you want him to buy stuff from you (this is how you increase the amount of money a vendor has).
# give it a new Editor ID (first text field), and drag & drop the items you want your vendor to sell into the Item List on the right (deleting any items you don't want) and some caps if you want him to buy stuff from you (this is how you increase the amount of money a vendor has).
# make sure the container is a Persistent Reference.
# check the Respawns option if you want it to respawn every 3 days, and click OK; when it asks you if you want to create a new Form, click Yes.
# check the Respawns option if you want it to respawn every 3 days, and click OK; when it asks you if you want to create a new Form, click Yes.
# in the Cell View window, double click on the VendorChestsCell, and drag & drop your new container from the Object Window into that cell in the Render Window.
# in the Cell View window, double click on the VendorChestsCell, and drag & drop your new container from the Object Window into that cell in the Render Window.
# double click on your container in the Render Window, give it a Reference ID (yourNPCVendorChestRef), and select the Ownership tab, and select your NPC from the drop down list.
# double click on your container in the Render Window, give it a Reference ID (yourNPCVendorChestRef), check a Persistent Reference box, and select the Ownership tab, and select your NPC from the drop down list.
# for new NPCs, you can also double click on the NPC in the Render Window and select the chest in the Merchant Container tab (this is probably already assigned for existing NPCs): select the VendorChestsCell in the first dropdown, then your chest reference (yourNPCVendorChestRef) in the second dropdown.
# for new NPCs, you can also double click on the NPC in the Render Window and select the chest in the Merchant Container tab (this is probably already assigned for existing NPCs): select the VendorChestsCell in the first dropdown, then your chest reference (yourNPCVendorChestRef) in the second dropdown.


Anonymous user