maximusnz Posted November 12, 2010 Share Posted November 12, 2010 OK, Im doing a mod, for a house, is almost finished, but instead of giving it away, I want to add the key to chets inventory so he can sell it.. How is this done.. Ive added the key to his inventory, but it dosnt come up in game for sale.. Ive tried just adding a container within my mod, making chet the owner and placing the key inside, but still no luck, it wont show up in his list of items for sale.. Hope someone can help.. Link to comment Share on other sites More sharing options...
gsmanners Posted November 12, 2010 Share Posted November 12, 2010 There's a couple more steps to that, actually. http://geck.bethsoft.com/index.php/Adding_items_to_vendors Link to comment Share on other sites More sharing options...
WuphonsReach Posted November 12, 2010 Share Posted November 12, 2010 AddItemToLeveledList Tips and tricks?(a thread that got no love at all and no help)http://www.thenexusforums.com/index.php?/topic/260474-additemtoleveledlist/ How to add items to Gun Runners Vendor?http://forums.bethsoft.com/index.php?/topic/1129004-how-to-add-items-to-gun-runners-vendor/ For a house mod like that, the easiest way is to use a one-time quest script that adds the item to Chet's vendor container. The vast majority of vendor containers are done differently in FO:NV and are all hiding in a cell called something like "NVVendorChests" (look under Interior cells for something starting with "NVVendor"). The second easiest way, place the key on the counter somewhere in his cell and make sure it is personally owned by GSChet. Which is how the silenced .22 pistol on the counter works. You can either buy it off of Chet or steal it. The advantage there is that there is zero scripting involved (so unless you are creating a one-time quest script for other reasons, you can just do this). For more advanced cases, like ammo respawn, or making it so that vendors restock with varying amounts, the "leveled lists" and "vendor-owned container" works better. Except that in the case of the Vendortron (because he's a creature) you have to jump through some additional hoops of adding El Vendortron to a new faction that has the "sale" option checked off and then assign the container to that new faction. Create a new base container in the object list, set it to respawn (or not, up to you), populate it with items or leveled lists, then place a reference to the container somewhere in the 3D world and make it owned by the NPC (not the NPC's faction, except in special cases, it needs to be owned directly by the NPC). Items in the container get added to the merchant's sell list. I generally go with the vendor-owned container, because it's more immersive that maybe you have to hunt around for it at multiple vendors. And I don't like going to a vendor and always seeing the exact same stock or quantities. And I can tune the leveled lists so that it spawns in more quantity as the player levels up. The only downside is that depending on where you put the container, it can have different respawn times then the base vendor inventory. Unless you put it in the same cell as the rest of the vendor containers. Link to comment Share on other sites More sharing options...
WuphonsReach Posted November 12, 2010 Share Posted November 12, 2010 Reasons why it might not work right away: - You may have to wait for cell reset to occur (so go wait 3+ days somewhere else). - You may need to save/restart the game. (I know for sure that the container, owned by GSChet, in the General Store cell works. It's how I did things in DENV 1.04.) Link to comment Share on other sites More sharing options...
Recommended Posts