Jump to content

Possible for vendor death inventory to be same as when alive?


amokrun1

Recommended Posts

When encountering the chems vendor and perusing their wares, you find a wide selection of chems. Upon exiting the barter screen and promptly killing them, you are most perplexed and disgruntled to find nothing but a carrot and a pipe pistol on them. I would like to make it so when they die, their inventory they had on them when alive can be looted from them. Is this at all possible? I've been attempting with FO4edit with no success.

Link to comment
Share on other sites

You could do it in the creation kit as i did notice each npc has a list of items they can drop, in the object window select actors/actor/then select an npc/on the first page (traits) look for death item and you have a leveled list of items dropped on death,if you scroll down there are other leveled lists for vendors etc.I havn't tried to edit it but i assume if you can just switch it. If it don't work you could just edit the leveled list, that's where i would start, as i said i havn't tried this though.

Link to comment
Share on other sites

You could do it in the creation kit as i did notice each npc has a list of items they can drop, in the object window select actors/actor/then select an npc/on the first page (traits) look for death item and you have a leveled list of items dropped on death,if you scroll down there are other leveled lists for vendors etc.I havn't tried to edit it but i assume if you can just switch it. If it don't work you could just edit the leveled list, that's where i would start, as i said i havn't tried this though.

That's what I've been doing actually and have met with some success, but the inventory on death is never the same as when they're alive. For example, bartering inventory would have 5 psycho chems but on the corpse there are always fewer.

Link to comment
Share on other sites

Might I suggest making some caps and buying the stuff?

Because once you kill them, their inventory is gone forever. Thats why raiders don't automatically kill everyone in a settlement (or RW pirates, Vikings, etc.)

 

Funny thing is, with the Automatron 'random robot attacks', if you manage to act quickly enough and save the trader, they will trade with you... but have absolute crap to trade. If they die (which they usually do), they have a lot more stuff on them.

 

I DO understand what you are saying - it breaks immersion. I guess it all depends on what sort of RP-play through you are going for.

Cheers

Link to comment
Share on other sites

Eh, you will never get exactly what they have when alive, the LL's are dynamically generated.

 

Well, there is probably a way that the script people know of. But ask them questions and prepare to be confused by the answers. lol

 

 

So If you want something more immersive when a vendor is killed, Add the Use All flag to a newly created LLD and assign that LLD to them find the same vendor LL that that seller is using and add it to the LLD.

 

Most still will not be the same but some sellers seem to have specific vendor items like legendaries, So it might work to be similar. IDK.

 

If you wanted to have more immersion, it would be better imo to add a chest in the store with these items that has a key in the vendors LLD

 

Or for Travelling vendors, add the vendor LL to their pack brahmin LLD.

 

I think for the Brahmin, there is already a similar mod so just download that and look at it in fo4edit

Edited by Guest
Link to comment
Share on other sites

Thanks for the advice guys. I actually just want to focus on the chems vendor random encounter. Since the first time I encountered him/her I've always wanted to loot them. The caravan vendors I never touch, it's just this one. I've managed to create something decent by fiddling with her inventory in creating a new leveled list of items, and plugging things into the on-death field. Not exactly what I want to happen as an end result but better than before.

Link to comment
Share on other sites

The vendor inventory is a whole separate thing than the NPC's actual inventory afaik. For settlement vendors, they even use all the same one. That is, all weapon vendors, all general stores, etc. Sell some specific item to one of them, and all others of the same type will have it.

 

I'm not sure where that inventory is, though. If it's script-accessible, I'd add a script to the NPC with the onDeath event, which just does vendorInventory.removeAllItems(self).

Link to comment
Share on other sites

  • 1 year later...
  • Recently Browsing   0 members

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