Forums WoW Modding Discussion Miscellaneous [Archive] [Help] Create a Custom Vendor (MOP VIP V2)

[Archive] [Help] Create a Custom Vendor (MOP VIP V2)

[Archive] [Help] Create a Custom Vendor (MOP VIP V2)

rektbyfaith
Administrator
0
11-04-2025, 05:11 PM
#1
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
rektbyfaith
11-04-2025, 05:11 PM #1

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

rektbyfaith
Administrator
0
11-04-2025, 05:11 PM
#2
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.
rektbyfaith
11-04-2025, 05:11 PM #2

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.

rektbyfaith
Administrator
0
11-04-2025, 05:11 PM
#3
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)?
rektbyfaith
11-04-2025, 05:11 PM #3

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)?

rektbyfaith
Administrator
0
11-04-2025, 05:11 PM
#4
Archived author: maxiking913 • Posted: 2025-11-04T18:11:29.488832
Original source

Quote:ExO said:

Does it work if you add it directly through .npc add item (id)?

Click to expand...
Yep, but that requires the modification of an existing NPC; at least for me.

I tried adding in game shop items to an NPC and all the items are free and cannot be modified

at least not in a way ive been able to figure out.
rektbyfaith
11-04-2025, 05:11 PM #4

Archived author: maxiking913 • Posted: 2025-11-04T18:11:29.488832
Original source

Quote:ExO said:

Does it work if you add it directly through .npc add item (id)?

Click to expand...
Yep, but that requires the modification of an existing NPC; at least for me.

I tried adding in game shop items to an NPC and all the items are free and cannot be modified

at least not in a way ive been able to figure out.

rektbyfaith
Administrator
0
11-04-2025, 05:11 PM
#5
Archived author: maxiking913 • Posted: 2025-11-04T18:11:29.488832
Original source

Quote:maxiking913 said:

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...
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
rektbyfaith
11-04-2025, 05:11 PM #5

Archived author: maxiking913 • Posted: 2025-11-04T18:11:29.488832
Original source

Quote:maxiking913 said:

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...
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

rektbyfaith
Administrator
0
11-04-2025, 05:11 PM
#6
Archived author: maxiking913 • Posted: 2025-11-04T18:11:29.488832
Original source

Quote:dolgan said:

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...
Ooooh might be what I wanted.

Trying to put the "store" mounts and pets onto a vendor.

but dont want the items listed as free.

thnx.

now i just need to figure out h ow to create a new one from scratch, although i could just modify a vendor from

one of those off the way places nobody ever goes.
rektbyfaith
11-04-2025, 05:11 PM #6

Archived author: maxiking913 • Posted: 2025-11-04T18:11:29.488832
Original source

Quote:dolgan said:

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...
Ooooh might be what I wanted.

Trying to put the "store" mounts and pets onto a vendor.

but dont want the items listed as free.

thnx.

now i just need to figure out h ow to create a new one from scratch, although i could just modify a vendor from

one of those off the way places nobody ever goes.

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)