Frostshake / WMVx

WoW model viewer fork / re-write.
GNU General Public License v3.0
13 stars 2 forks source link

Can support be added for the equipped items to select the proper item version? #47

Open mesostealthy opened 1 month ago

mesostealthy commented 1 month ago

For example: https://www.wowhead.com/item=185179/unchained-gladiators-leather-helm

The standard color is not as kool looking as the Duelist's color (more silver).

Frostshake commented 1 month ago

Can you link to what the expected item would be? I'm not familiar with the retail item sets

mesostealthy commented 1 month ago

Sure, go to the above link and from the Item Version, select the following settings, and you can see the color goes to the Silver version. select_elite selected_elite

Frostshake commented 1 week ago

Done some more research on this, saving here for reference.

Is a single item with multiple appearances (two). Each version corresponds to a 'context', such as heroic, mythic, pvp - context appears to be a number, but not been able to find how it gets converted to a name.

Also found this on discord:

For the bonus ids part of the question, you can look up the bonusid of an instance item by doing the following. Search by the ID of the item in ItemXBonusTree https://wago.tools/db2/ItemXBonusTree?filter[ItemID]=189790&page=1. This will give you a list of ItemBonusTreeID. These can then be put into ItemBonusTreeNode in the ParentItemBonusTreeID column. You will then get values in either ChildItemBonusTreeID or ChildItemBonusListID amongst others. If they are in ChildItemBonusTreeID, you can then put those values back into ParentITemBonusTreeID to get further ID's https://wago.tools/db2/ItemBonusTreeNode?filter[ParentItemBonusTreeID]=3062&page=1. The ItemContext field will also tell you what difficulty or mode the bonuses apply to. So in this case ItemContext 6 refers to a Mythic Raid. The ones in ChildItemBonusListID can be put into ItemBonus which will give you the 7187 you are after https://wago.tools/db2/ItemBonus?filter[ParentItemBonusListID]=7187&page=1. In here it will tell you what the ItemBonus will do. For Example Type 4 will add text to the tooltip such as Mythic, Timewarped etc.

Not 100% on this part, but it does look like Type 7 effect value_0 refers to the ItemApperanceModifierID here. https://wago.tools/db2/ItemModifiedAppearance?filter[ItemID]=189790&filter[ItemAppearanceModifierID]=3&page=1. Someone else might want to confirm that but that is my guess!

Frostshake commented 4 days ago

Support added with https://github.com/Frostshake/WMVx/commit/6469d9168575f1652eda21c8a54853183c322670, will be available in next release.