How to Add Display Cases Into a Merchant's Inventory?

Post » Tue Jun 19, 2012 1:40 pm

Like how do I make it so that a Display Case's Contents are currently being sold by an NPC. So when the item sells, the item disappears from the case?
User avatar
lexy
 
Posts: 3439
Joined: Tue Jul 11, 2006 6:37 pm

Post » Tue Jun 19, 2012 8:45 pm

is the item supposed to respawn? or is it a special one-time deal for the sale?


if it's a one time sale, i would use dialogue with generic NPC responses (you can find a lot of them under "shared") if you dont have the means to make new vocals. scripting stuff like this inside quests is probably the easiest way to achieve the effect you want

if it's a respawning item, i would still make a quest, but have the sellable item inside the merchant's inventory, and the display weapon as an alias. you would still need to script in the quest to remove the display every time the weapon is removed from the merchant's container
User avatar
Donald Richards
 
Posts: 3378
Joined: Sat Jun 30, 2007 3:59 am

Post » Wed Jun 20, 2012 1:31 am

is the item supposed to respawn? or is it a special one-time deal for the sale?


if it's a one time sale, i would use dialogue with generic NPC responses (you can find a lot of them under "shared") if you dont have the means to make new vocals. scripting stuff like this inside quests is probably the easiest way to achieve the effect you want

if it's a respawning item, i would still make a quest, but have the sellable item inside the merchant's inventory, and the display weapon as an alias. you would still need to script in the quest to remove the display every time the weapon is removed from the merchant's container

There's an NPC I found that does this already. Fletcher in Solitude. He has Display Cases that have the weapons for sale inside of his store, and if you buy something from him it gets removed from his shelf or display case. Somehow the display case refers to a Leveled List(one of my bows was actually in the case!), and puts it in the case, but also puts it into his merchant inventory...I just don't really understand how it all works. Is it done with a quest for him too?
User avatar
Jessica Colville
 
Posts: 3349
Joined: Wed Oct 18, 2006 6:53 pm

Post » Wed Jun 20, 2012 4:59 am

several merchants do this...the apothecary in Whiterun for example...lots of the ingredients on the shelves vanish when you buy them from her.
User avatar
Nathan Risch
 
Posts: 3313
Joined: Sun Aug 05, 2007 10:15 pm

Post » Tue Jun 19, 2012 11:18 pm

several merchants do this...the apothecary in Whiterun for example...lots of the ingredients on the shelves vanish when you buy them from her.

But do you know...how its done...? I dont understand it @_@.
User avatar
Scarlet Devil
 
Posts: 3410
Joined: Wed Aug 16, 2006 6:31 pm

Post » Wed Jun 20, 2012 12:56 am

Nope...I checked the cell, and there's no links from the ingredients on the counter to anything else, and putting more ingredients around doesn't add them to her sell list...
User avatar
Joie Perez
 
Posts: 3410
Joined: Fri Sep 15, 2006 3:25 pm

Post » Wed Jun 20, 2012 12:21 am

depressing, this would be great to know.
User avatar
Lyndsey Bird
 
Posts: 3539
Joined: Sun Oct 22, 2006 2:57 am

Post » Tue Jun 19, 2012 7:32 pm

Did you try setting the owner of the weapon in the display case as the merchant?
User avatar
Damien Mulvenna
 
Posts: 3498
Joined: Wed Jun 27, 2007 3:33 pm

Post » Tue Jun 19, 2012 6:04 pm

Cells can have their content set to the ownership of a NPC. If the display case then uses dummyitems which link to levelled lists, that will result in mod added stuff to appear in the cases.
I really think more of this type of stuff should have been in the game by default. Lots of display racks, instead of a single hidden container for their inventory.
User avatar
Marta Wolko
 
Posts: 3383
Joined: Mon Aug 28, 2006 6:51 am

Post » Tue Jun 19, 2012 4:48 pm

:facepalm:

holy shnikes, i can't believe that was all that it was.

just confirmed setting the item (whatever it may be in the store) set to the services faction tied to your mechants container will allow it to appear in its inventory. man, all you had to do to add an item into an existing inventory is drop it in the worldspace and set the ownership all this time?

and i was pulling my hair out trying to dynamically add it through lists and scripts.
User avatar
Veronica Martinez
 
Posts: 3498
Joined: Tue Jun 20, 2006 9:43 am

Post » Tue Jun 19, 2012 8:39 pm

:facepalm:

holy shnikes, i can't believe that was all that it was.

just confirmed setting the item (whatever it may be in the store) set to the services faction tied to your mechants container will allow it to appear in its inventory. man, all you had to do to add an item into an existing inventory is drop it in the worldspace and set the ownership all this time?

and i was pulling my hair out trying to dynamically add it through lists and scripts.

And here we thought it was something complicated...nope...real simple...d'oh!
User avatar
Amy Melissa
 
Posts: 3390
Joined: Fri Jun 23, 2006 2:35 pm

Post » Wed Jun 20, 2012 4:09 am

I'm still having trouble.

I've set the ownership of all the items in the cell I want to see and be able to sell to be owned by the same merchant faction as the merchant chest and my merchant NPC, but the items are still not showing up in the seller's inventory.

I've been looking at other cells (Arcadia's Cauldron specifically) to see where I might have gone wrong, but can't see anything. Any suggestions on where I should be looking?
User avatar
Andrew Perry
 
Posts: 3505
Joined: Sat Jul 07, 2007 5:40 am

Post » Tue Jun 19, 2012 4:15 pm

I'm still having trouble.

I've set the ownership of all the items in the cell I want to see and be able to sell to be owned by the same merchant faction as the merchant chest and my merchant NPC, but the items are still not showing up in the seller's inventory.

I've been looking at other cells (Arcadia's Cauldron specifically) to see where I might have gone wrong, but can't see anything. Any suggestions on where I should be looking?

I think they meant setting the ownership just to the merchant, not to the faction?
User avatar
Stace
 
Posts: 3455
Joined: Sun Jun 18, 2006 2:52 pm

Post » Wed Jun 20, 2012 5:19 am

it should be set to the services faction.

but there must be an additional thing somewhere because i noticed this doesn't work for all merchants. for example farengar
User avatar
Betsy Humpledink
 
Posts: 3443
Joined: Wed Jun 28, 2006 11:56 am

Post » Tue Jun 19, 2012 3:51 pm

Thanks,

I'll keep looking. I've tried removing the encounter zone being used for leveled dummy items in the shop with no luck. Most likely is something extremely simple and obvious once found. ;)
User avatar
Alex [AK]
 
Posts: 3436
Joined: Fri Jun 15, 2007 10:01 pm

Post » Tue Jun 19, 2012 8:02 pm

Just Checked up on Farengar. In his case the items are set to personal ownership instead of his service faction so I think that is a key to why those do not show up. In all the other merchant shops I've looked at all the buy-able counter items are owned by the vendor faction. Will continue looking and post anything I figure out.
User avatar
Darian Ennels
 
Posts: 3406
Joined: Mon Aug 20, 2007 2:00 pm


Return to V - Skyrim