Difference between revisions of "My First Shop"
Jump to navigation
Jump to search
→Merchant Container: Correction to sentence about ownership. Added advice on physical placement of merchant chest.
imported>Holdenmcrutch |
imported>Syscrusher (→Merchant Container: Correction to sentence about ownership. Added advice on physical placement of merchant chest.) |
||
Line 267: | Line 267: | ||
One last thing to do is make a Merchant Container. This is where the NPC will store the things he sells and the stuff you sell to him. Expand WorldObjects > Container. Now here are a list of all the containers in the game. If you don't feel like making your own container for a shop and just want to get it done quickly, select one of the ChestVendor containers, right click and press edit. (For this tutorial, we will select ChestVendorSmithAll01). | One last thing to do is make a Merchant Container. This is where the NPC will store the things he sells and the stuff you sell to him. Expand WorldObjects > Container. Now here are a list of all the containers in the game. If you don't feel like making your own container for a shop and just want to get it done quickly, select one of the ChestVendor containers, right click and press edit. (For this tutorial, we will select ChestVendorSmithAll01). | ||
Give the chest a unique name (eg. JGMyFirstShopMerchantChest), leave the name because no one will ever see it, make sure Respawns is checked and NONE script selected. You can then press OK or click and drag some more items to the chest. Once you've pressed OK, press yes to create a new form, then click and drag your chest into the shop area. Now drag it out of the room so that no one can get to it. It's better this way, because the Player can not tamper with it. Double click on your chest in the view and give it a unique reference ID (eg. JGMyFirstShopMerchantChestREF). Check the Persistent Reference box and then press OK. Now double click on your NPC in the room, go to the Merchant Container tab and then select your cell in the Cell drop box, and then your chest in the Reference drop box. The merchant needs to own the chest | Give the chest a unique name (eg. JGMyFirstShopMerchantChest), leave the name because no one will ever see it, make sure Respawns is checked and NONE script selected. You can then press OK or click and drag some more items to the chest. Once you've pressed OK, press yes to create a new form, then click and drag your chest into the shop area. Now drag it out of the room so that no one can get to it. It's better this way, because the Player can not tamper with it. Double click on your chest in the view and give it a unique reference ID (eg. JGMyFirstShopMerchantChestREF). Check the Persistent Reference box and then press OK. Now double click on your NPC in the room, go to the Merchant Container tab and then select your cell in the Cell drop box, and then your chest in the Reference drop box. The merchant needs to own the chest, or belong to a faction that owns the chest, or the chest must be unowned. | ||
When placing the chest in the cell, you may want to put it below the floor of the shop interior, because this will prevent it from appearing as a dot on the player's local map when they are in the cell. | |||
=== Last things === | === Last things === |