Jump to content

Adding a Weapon to a Vendor List


Edgecution

Recommended Posts

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

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

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

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

  • Recently Browsing   0 members

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