Edgecution Posted October 16, 2011 Share Posted October 16, 2011 How do I add a weapon to a merchant's list of merchandise? Say I was making a a new weapon mod but instead of placing it somewhere in the wastes, I wanted to be able to buy it from a vendor like the Gun Runners Vendertron? Link to comment Share on other sites More sharing options...
Cyberlazy Posted October 16, 2011 Share Posted October 16, 2011 You need to add it to the merchents leveled lists. VendorWeaponGunsTierX would be a good place to start in the 'Leveled item' catagory in geck. Link to comment Share on other sites More sharing options...
Heffy Posted October 20, 2011 Share Posted October 20, 2011 (edited) Another way to do that is through a script (with the AddItemToLeveledList function) and a quest. It’s a bit more complicated, but has the advantage of not conflicting with other mods overriding the same leveled list. Edited October 20, 2011 by Heffy Link to comment Share on other sites More sharing options...
Cyberlazy Posted October 20, 2011 Share Posted October 20, 2011 Iv heard that causes problems with uninstalling your mod as you can't remove the changes, Any truth to that? Link to comment Share on other sites More sharing options...
Heffy Posted October 20, 2011 Share Posted October 20, 2011 (edited) A lot, actually. AddItemToLeveledList is indeed a permanent addition. Nonetheless, some mods and DLCs use it (CaliberX is one of them). As for problems – I haven’t experienced problems after removing a mod that uses it. Which doesn’t mean there aren’t potential issues.It’s just an alternative method of achieving what you want. Both methods have disadvantages anyway.Actually any modification to existing content bears a potential risk. For example adding mods to a vanilla weapon, applying that mod and uninstalling the esp afterwards will result in crashing your game whenever you try to use that weapon again…The safest way would be creating your own vendor, chest, quest and eventually leveled list (or just add the items to the chest) and add him/her to the wasteland.Another method is adding the item directly to the vendor’s container through a script with the (REF).additem function. You’ll however need to create a reference for the said container and eventually add a line resetting it after adding the item. You can also write a script in a separate esp to be ran prior to unistallation as a failsafe, doing exactly the opposite (using (REF).removeitem instead). There’s a detailed tutorial here: http://geck.bethsoft.com/index.php/Adding_items_to_vendors Edited October 20, 2011 by Heffy Link to comment Share on other sites More sharing options...
Quetzlsacatanango Posted October 20, 2011 Share Posted October 20, 2011 You don't have to do any of those things... just create a new container, put your weapon in it, and set the ownership of the container to the vendor who you want to sell it. He will sell anything in containers owned by him. Link to comment Share on other sites More sharing options...
Edgecution Posted October 21, 2011 Author Share Posted October 21, 2011 Thanks for the help everyone, especially Cyberlazy. Exactly what I needed to do. Opened one of the weapon lists that has leveled conditions, renamed it and replaced the old weapon with the new one, and added that list to the VendorWeaponGunsTierX lists as needed. Link to comment Share on other sites More sharing options...
Cyberlazy Posted October 21, 2011 Share Posted October 21, 2011 Actualy, I just released a new component to CASE called Leveled List organizer ( http://www.newvegasnexus.com/downloads/file.php?id=43915 )It makes adding stuff to vendors lists even easyer, as they are simpley called LLOVendorGuns and LLOVendorGunsGunRunners and you just set the level you want your weapon to appear directly. Also you don't edit existing lists, but you make a partial patch that gets merged with all other mods partial patchs, resulting in properly merged leveled lists. Its still rather early in the mods development but take a look. Link to comment Share on other sites More sharing options...
Recommended Posts