[Archive] [Help] Create a Custom Vendor (MOP VIP V2)
[Archive] [Help] Create a Custom Vendor (MOP VIP V2)
Archived author: maxiking913 • Posted: 2025-11-04T18:11:29.488832
Original source
Hello,
i wanted to create Custom Vendors in the MOP V2.
I created a creature in the creature_template and addet an Heirloom Item to it in npc_vendor.
I played with flag and everything else but when i click it , it doesnt open the "shop". The icon for a vendor on the mouse is there.
I tried to use the Guild Vendor as a duplicate
I tried create my own
I imported a working glyph vendor and wanted to add it (Glyphs shown but not the Heirloom)
Also how do i Set a custom amound of gold or Item they want to sell the heirloom for?
can someone help?
greeting
Archived author: maxiking913 • Posted: 2025-11-04T18:11:29.488832
Original source
Did you ever figure this out?
Im trying to do the same thing for the store mounts.
Archived author: maxiking913 • Posted: 2025-11-04T18:11:29.488832
Original source
Does it work if you add it directly through .npc add item (id)?
Quote:ExO said:Yep, but that requires the modification of an existing NPC; at least for me.
Does it work if you add it directly through .npc add item (id)?
Click to expand...
Archived author: maxiking913 • Posted: 2025-11-04T18:11:29.488832
Original source
Quote:ExO said:Yep, but that requires the modification of an existing NPC; at least for me.
Does it work if you add it directly through .npc add item (id)?
Click to expand...
Quote:maxiking913 said:Hi,
Hello,
i wanted to create Custom Vendors in the MOP V2.
I created a creature in the creature_template and addet an Heirloom Item to it in npc_vendor.
I played with flag and everything else but when i click it , it doesnt open the "shop". The icon for a vendor on the mouse is there.
I tried to use the Guild Vendor as a duplicate
I tried create my own
I imported a working glyph vendor and wanted to add it (Glyphs shown but not the Heirloom)
Also how do i Set a custom amound of gold or Item they want to sell the heirloom for?
can someone help?
greeting
Click to expand...
Archived author: maxiking913 • Posted: 2025-11-04T18:11:29.488832
Original source
Quote:maxiking913 said:Hi,
Hello,
i wanted to create Custom Vendors in the MOP V2.
I created a creature in the creature_template and addet an Heirloom Item to it in npc_vendor.
I played with flag and everything else but when i click it , it doesnt open the "shop". The icon for a vendor on the mouse is there.
I tried to use the Guild Vendor as a duplicate
I tried create my own
I imported a working glyph vendor and wanted to add it (Glyphs shown but not the Heirloom)
Also how do i Set a custom amound of gold or Item they want to sell the heirloom for?
can someone help?
greeting
Click to expand...
Quote:dolgan said:Ooooh might be what I wanted.
Hi,
If you havn't figured out this yet....
The creature (in creature_template) needs to have "npcflag" 128 to be a vendor
In table NPC_Vendor you need to make sure that the "Entry" field is the same number as the "entry' for the NPC in creature_template
To modify the amount of gold that an item sells for you need to look at item_template and the "buyprice" column (This amount is in coppers so 100 = 1 silver etc...) If you change this stat then it will change it for any vendor that sells it.
If you want to make a custom price (eg sell it for peacebloom) you need to look at "ExtendedPrice" in npc_vendor
Hope this helps
Click to expand...
Archived author: maxiking913 • Posted: 2025-11-04T18:11:29.488832
Original source
Quote:dolgan said:Ooooh might be what I wanted.
Hi,
If you havn't figured out this yet....
The creature (in creature_template) needs to have "npcflag" 128 to be a vendor
In table NPC_Vendor you need to make sure that the "Entry" field is the same number as the "entry' for the NPC in creature_template
To modify the amount of gold that an item sells for you need to look at item_template and the "buyprice" column (This amount is in coppers so 100 = 1 silver etc...) If you change this stat then it will change it for any vendor that sells it.
If you want to make a custom price (eg sell it for peacebloom) you need to look at "ExtendedPrice" in npc_vendor
Hope this helps
Click to expand...