[DiscordArchive] have anyone tried to create a tabard with displayID 0?
[DiscordArchive] have anyone tried to create a tabard with displayID 0?
Archived author: MR.MUSTACHE • Posted: 2019-05-12T19:37:37.339000+00:00
Original source
nvm i will take notes
Archived author: Rochet2 • Posted: 2019-05-12T19:37:38.678000+00:00
Original source
Hmm. It needs more than that, since a lot of things check if (transmog) and that assumes that no transmog is 0.
If you use.. lets say 2^32-1 as "hide item", then I guess you can just edit all calls of `SetUInt32Value(PLAYER_VISIBLE_ITEM_1_ENTRYID` to first check if the entry is 2^32-1 and then use 0 instead.
Archived author: Rochet2 • Posted: 2019-05-12T19:38:15.792000+00:00
Original source
And to fix mirror images etc you would need to also edit `target->SetUInt32Value(UNIT_VIRTUAL_ITEM_SLOT_ID` in the same way.
Archived author: Rochet2 • Posted: 2019-05-12T19:39:58.601000+00:00
Original source
Btw. you would probably need to edit the transmog checks as well (can transmog item with item), or you would need to just hardcode a button that skips all of such checks that are not really needed since we are just hiding an item.
Archived author: MR.MUSTACHE • Posted: 2019-05-12T19:42:27.764000+00:00
Original source
hmm I start wondering
Archived author: MR.MUSTACHE • Posted: 2019-05-12T19:43:25.693000+00:00
Original source
what if I try to make a completely separated script about it
(character database that contains "hidden items by id")
Archived author: MR.MUSTACHE • Posted: 2019-05-12T19:44:18.049000+00:00
Original source
in case of modifying the transmog, it can be a separated function to skip displaying those items
Archived author: MR.MUSTACHE • Posted: 2019-05-12T19:44:43.808000+00:00
Original source
if the charid and the item id exist in that char table (custom_char_hidden_items for example)
Archived author: MR.MUSTACHE • Posted: 2019-05-12T19:45:06.500000+00:00
Original source
or instead of the itemId
Archived author: MR.MUSTACHE • Posted: 2019-05-12T19:45:09.539000+00:00
Original source
to add the slotId?