How do I Make a Merchant.

Post » Mon Jun 18, 2012 6:32 am

Well holy flying monkey nuts it works. Now to see if I can get it to work with a custom container. Thanks so much for the help Baratan.
It will work on any container. There's nothing special about Alvor's container. I chose his container because his container already had weapons and armour in it that he will sell.

Whee! I did it! I did it! I made an existing NPC sell like she was SUPPOSED TO!!!!

Ok, Garakh, the blacksmith in Largashbur, is a vendorblacksmith but won't sell you anything. So I dug a bit and found out she has no local blacksmith faction and no chest. So I copied the faction from Shuftharz (Mor Khazgur vendorblacksmith), cheating by using Shuftharz's chest for Garakh (just wanted to get it working first!)

So I go in game, and still no vendor dialogue. :banghead: I've been at this for friggin' hours!!!!!

Okay, go back into CK - I KNOW it's got to be somewhere in dialogue. So I dig a bit and find out it's NOT in dialogue at all, it's back on the factions tab!!!! There is a proximity check that has top be made before a vendor will sell from a chest. So I set the Location (it's a button on the faction page, vendor tab) to Near self, and VOILA!!! SHE'S A MERCHANT!!!!!!

Okay, to reiterate: On the NPC's screen, go to the factions tab, double-click on the faction "services***" for your selling faction (in my case, it was my new ServicesLargashburBlacksmith faction I made). On the vendor tab, click the Location button. Set it to NEAR SELF. Done!

***** BE SURE YOU ADD YOUR NPC TO THE FACTION!!! *****


Now I just need to make her her own chest.
Setting the location to 'self' is actually a pretty good idea.
User avatar
Solina971
 
Posts: 3421
Joined: Thu Mar 29, 2007 6:40 am

Post » Sun Jun 17, 2012 8:33 pm

Setting the location to 'self' is actually a pretty good idea.

Yes, what this does is make it so that the PC will sell to you anywhere, not just in a specific location. This is going to be so useful when I get to making a couple of travelling merchants!


Update: SHE ALREADY HAS A CHEST!!! Whooeee!!! Assigned it to her, set proximity correctly (I set Location to Near Reference and set the reference to her chest).

Yay. Now to the next thing on my list... getting that daggum giant to stop attacking after The Cursed Tribe is completed.... I feel a bit ilke Monty Python...

"And now for something completely different...."
User avatar
Flutterby
 
Posts: 3379
Joined: Mon Sep 25, 2006 11:28 am

Post » Mon Jun 18, 2012 1:08 am

Thankyou very much for the video.

Now I can trade with my trader. Huzzah!

Although He wont buy anything from me and I havent given him anythign to sell. I'll have to edit the list I made.

Now I need to learn how to give my vendor an inventory to buy and sell and give him some spending cash.

He wont sell whats in his privately owned chest.

But Thx.

How do I get him to sel my custom items? I've made a list containing the 1 sword I made, and told the faction to use that list, but my NPC wont sell it to me.

I have to make it a leveld item, and add it to a leveled item list, then add that list ... nope, that didnt work.
User avatar
Lavender Brown
 
Posts: 3448
Joined: Tue Jul 25, 2006 9:37 am

Post » Mon Jun 18, 2012 1:37 am

Never mind, I figured it out.

I had to select VendorItemsBlackSmith in the faction vendor tab. My custom made list didnt work, but he now sells my custom sword in the chest.
User avatar
ZzZz
 
Posts: 3396
Joined: Sat Jul 08, 2006 9:56 pm

Post » Mon Jun 18, 2012 5:38 am

Thanks for the Video. Was helpful. To conclude this Thread a step-by-step-list to create one from scratch:

* Create a Box and add Items or Gold etc and place it in your room (out of sight).
* Create the Faction
* Add the Vendor to the Faction and add the Box as Reference in the last Tab
* Create the NPC, give him clothes, etc.
* Add the Faction to the NPC
* Add "DefaultServicesEditorLoc24x7" as AIPackage from "Character->Packages"
* Add "JobMerchantFaction" from Factions <- that was the one I was missing

Then he should talk to you.
Limiting his Services to your cell also works. I just tried it.
User avatar
Oscar Vazquez
 
Posts: 3418
Joined: Sun Sep 30, 2007 12:08 pm

Post » Sun Jun 17, 2012 11:19 pm

Perhaps a step-by-step using existing merchant as a base will make it easier for people to understand.



Creating a merchant, starting with duping an existing one:

Type "Belethor" into the search bar.
Click "All" at the bottom of the list on the left.
Click and open Belethor.
Click "Factions"
You'll see Services Whiterun Belethor Goods Faction.
Change the ID of the open Belethor to whatever you want.
Change the name.
Press okay. You've now made a duplicated belethor.
Open the duplicated belethor.
Click factions.
Double click "ServicesWhiterunBelethorGoodsFaction".
Change the ID.
Change the name.
Click okay. The game will create a new faction for you.
Delete ServicesWhiterunBelethorGoodFaction from Belethor.
Right click the factions window, click "New", and find the new faction you made.
Double click the faction in the factions window.
Click the "Vendor" tab
See "Reference"? It says BelethorsMerchantChest.
Go to the search bar in the items list on the left and find BelethorsMerchantChest.
Duplicate it.
Change the ID.
Change the Name.
Save.
now in the Vendors tab of the new faction you made, change the Reference to the new chest you made.
Now double click the new chest you made and you'll get a window with an inventory section labeled "Item list".
Inside that list are vendor object groups.
You can edit or duplicate or whatever the hell you want to these- but if you edit one, it will apply to ALL merchants who use it, so if you're making your own merchant and want to ADD things, make a new one.
Simply drag items into the list. The "Count" variable determines how many the vendor can have at any given time, and the "Chance None" variable determines what the chance is that the vendor doesnt have ANY of the items in that grouping on hand.

Sorry if that's hard to follow.

Basically, a vendor requires:
Vendor Faction, which includes
Vendor Chest, which includes
Vendor Item Lists, which include
Items and quantities and the chance they appear in the shop.


It's not as complicated as it sounds. The steps described above simply work backwards from an existing vendor to learn how the information comes together.

http://steamcommunity.com/sharedfiles/filedetails/?id=7766

I made this mod by creating a new vendor item list by duping a separate one, and loaded it with gemstones. Then I added that list to belethor's WhiterunGoodsChest, which is tied to his faction, which is tied to him as an NPC. It's really quite simple.
User avatar
Daniel Holgate
 
Posts: 3538
Joined: Tue May 29, 2007 1:02 am

Post » Mon Jun 18, 2012 4:56 am

Well thats 1 sword down. 75 to go.

http://cloud.steampowered.com/ugc/469735349003631330/C58E533273F62767C821E86D8A7177E6D5D99545/
User avatar
Lifee Mccaslin
 
Posts: 3369
Joined: Fri Jun 01, 2007 1:03 am

Post » Sun Jun 17, 2012 10:07 pm

Oops, I didnt see the video tutorial.

Still, working backwards is always, always, always, always the easiest way to figure out how to do things from scratch.
User avatar
Prisca Lacour
 
Posts: 3375
Joined: Thu Mar 15, 2007 9:25 am

Post » Mon Jun 18, 2012 1:42 am

http://www.youtube.com/watch?v=XoRcimDR8fY

Good wortk, Baratan. Your video is now listed in my Tutorial Video thread, stickied at the top of the forum for all to benefit from.
User avatar
Jessica Colville
 
Posts: 3349
Joined: Wed Oct 18, 2006 6:53 pm

Post » Mon Jun 18, 2012 5:06 am

Also a side note

from my NPC i've been working with
JobMerchant and JobMisc from the factions were rank -1
i deleted those factions and re added. Now they are back to 0. I now get the dialogue option of "what do you have for sale"
But there are no items in the inventory list. I've already linked the chest and added the reference. Is this from the buy/sell list?
User avatar
Stephanie Kemp
 
Posts: 3329
Joined: Sun Jun 25, 2006 12:39 am

Post » Sun Jun 17, 2012 9:50 pm

Did you set up the item list in the faction vendor tab?
User avatar
Taylah Illies
 
Posts: 3369
Joined: Fri Feb 09, 2007 7:13 am

Post » Mon Jun 18, 2012 2:12 am

Using VendorItemsMisc - for the buy/sell list


Also it's not showing any items for me to sell for to the vendor out of my inventory.
User avatar
claire ley
 
Posts: 3454
Joined: Fri Aug 04, 2006 7:48 pm

Post » Mon Jun 18, 2012 4:36 am

mine wont show up any chat at all and i did everything lol does it have anything to do with dialog?


EDIT: okay figured it out it has to be a person with a voice i was doing a dremora and they have no dialog for voice so it wasnt working so i changed voice to khajit and now he trades with me.
User avatar
Chris Duncan
 
Posts: 3471
Joined: Sun Jun 24, 2007 2:31 am

Post » Mon Jun 18, 2012 6:25 am

Thanks for the Video. Was helpful. To conclude this Thread a step-by-step-list to create one from scratch: * Create a Box and add Items or Gold etc and place it in your room (out of sight). * Create the Faction * Add the Vendor to the Faction and add the Box as Reference in the last Tab * Create the NPC, give him clothes, etc. * Add the Faction to the NPC * Add "DefaultServicesEditorLoc24x7" as AIPackage from "Character->Packages" * Add "JobMerchantFaction" from Factions <- that was the one I was missing Then he should talk to you. Limiting his Services to your cell also works. I just tried it.
THANK YOU! JobMerchantFaction HAS to be there to work, and I was missing this as well.
User avatar
Natalie J Webster
 
Posts: 3488
Joined: Tue Jul 25, 2006 1:35 pm

Post » Mon Jun 18, 2012 4:01 am

Also a side note

from my NPC i've been working with
JobMerchant and JobMisc from the factions were rank -1
i deleted those factions and re added. Now they are back to 0. I now get the dialogue option of "what do you have for sale"
But there are no items in the inventory list. I've already linked the chest and added the reference. Is this from the buy/sell list?
I'm having the same issue. He talks to me, but won't sale me anything nor can I sale him anything.
User avatar
Luis Longoria
 
Posts: 3323
Joined: Fri Sep 07, 2007 1:21 am

Post » Sun Jun 17, 2012 10:16 pm

I'm having the same issue. He talks to me, but won't sale me anything nor can I sale him anything.

change your buy/sell list to VendorItemsDB
User avatar
Melanie Steinberg
 
Posts: 3365
Joined: Fri Apr 20, 2007 11:25 pm

Post » Sun Jun 17, 2012 4:39 pm

change your buy/sell list to VendorItemsDB
Thank you! Fixed it. Thanks to all on this thread that helped get this going for us. :banana:
User avatar
Hella Beast
 
Posts: 3434
Joined: Mon Jul 16, 2007 2:50 am

Post » Mon Jun 18, 2012 1:38 am

Small resurrection, but reading this, and scratching my head further in the CS, this is a totally insane system for making a vendor. Bring back the MW system of simple tick boxes to select what that NPC will buy/sell, and give them ownership of containers.

I looked further, as currently, there are a series of types of vendors, which appears in the vendors drop down list in the faction screen.
Eventually found where these items in the list are defined, in FormList.
Then, edit a form list, and see it works by using KeyWords, which are assigned to each item.

So, to make a new type of vendor that is a mix of blacksmith and inn keeper (for example), you need a new FormID that has the keywords unique to those two vendor types. Then that FormID can be assigned in the faction, then assign the faction to the NPC and container.
Phew....

This Construction set is just plain insanity.
User avatar
jessica breen
 
Posts: 3524
Joined: Thu Aug 03, 2006 1:04 am

Post » Mon Jun 18, 2012 6:42 am

Well, with flexibility comes complexity.
User avatar
lexy
 
Posts: 3439
Joined: Tue Jul 11, 2006 6:37 pm

Post » Mon Jun 18, 2012 7:53 am

Does anybody know where the amount of money a merchant has to buy things is set? I thought it could related to the class, but it doesn't matter what class my vendor is: she only has 50 gold pieces to buy things. :ermm:
User avatar
Assumptah George
 
Posts: 3373
Joined: Wed Sep 13, 2006 9:43 am

Post » Sun Jun 17, 2012 11:19 pm

Add the money to the Container you use for him.
User avatar
Lizs
 
Posts: 3497
Joined: Mon Jul 17, 2006 11:45 pm

Post » Mon Jun 18, 2012 2:07 am

Thanks Scorcher! I am going to try that :)
User avatar
Matt Fletcher
 
Posts: 3355
Joined: Mon Sep 24, 2007 3:48 am

Post » Sun Jun 17, 2012 9:11 pm

Are there additional rule when using a creature chassis? I'm trying to use an atronach and I'm not succeeding... in first instance he did not talk. Now (after this thread) it uses his maledunmer voice for comments as I pass (how are you sera etc) but I can't interact with it.
User avatar
Jesus Lopez
 
Posts: 3508
Joined: Thu Aug 16, 2007 10:16 pm

Post » Sun Jun 17, 2012 11:37 pm

I've now tried it in another way (I've actually duplicated Belethor, and his faction etc etc all that is in this thread) and then he worked (might not suprise you all since so much succes has been reported).

THEN I ONLY changed his race from breton to flameatronach (in traits) and deleted his inventory (the key, misc item and something else) and (I left all AI, faction etcetc etc the same)... it doesn't work anymore. What is the problem with the flame atronach being merchants, what is different about that race?

What is the problem with this?
User avatar
Penny Wills
 
Posts: 3474
Joined: Wed Sep 27, 2006 6:16 pm

Post » Sun Jun 17, 2012 8:45 pm

Hmm I've also tried to get a dwarven sphere to give dragonbounty quests and he doesn't want to be spoken too either.
I've read that creature and NPC wheren't really seperated anymore but I DO seem to run into problems along that line.

Does anyone know if specific things need to be set in order to be able to use these "creatures" as NPC's ?
User avatar
danni Marchant
 
Posts: 3420
Joined: Sat Oct 07, 2006 2:32 am

Previous

Return to V - Skyrim