[DiscordArchive] Hi there ! Does anyone know where the icon_name field in creature_template points to ? Is it somethi
[DiscordArchive] Hi there ! Does anyone know where the icon_name field in creature_template points to ? Is it somethi
Archived author: Ruderalis • Posted: 2021-12-14T19:57:04.888000+00:00
Original source
Hi there ! Does anyone know where the icon_name field in creature_template points to ? Is it something defined in the core or in dbc (or else)?
Archived author: Ruderalis • Posted: 2021-12-14T21:22:42.245000+00:00
Original source
I don't know if it is also defined somewhere in the code, but I found the files in game datas MPQ (Interface/Cursor/). Files are named exactly as how we have to name them in this DB field, si I'll put a custom one inside my client patch and try it out.
Archived author: Kitzunu • Posted: 2021-12-14T21:23:38.021000+00:00
Original source
check creaturedata.h
tring IconNameArchived author: Ruderalis • Posted: 2021-12-14T21:33:07.746000+00:00
Original source
Ty for the tip ! But I only found
std:
tring IconName
in the CreatureTemplate struct in this file (: I wonder how the game displays these icons, since there is one "creature in range" icon and a greyed one that is shown when hovering an out of range creature
Archived author: Kitzunu • Posted: 2021-12-14T21:33:54.476000+00:00
Original source
look for an enum
Archived author: Kitzunu • Posted: 2021-12-14T21:34:07.353000+00:00
Original source
display is handled in the opcodes
Archived author: Kitzunu • Posted: 2021-12-14T21:34:10.755000+00:00
Original source
iirc
Archived author: Ruderalis • Posted: 2021-12-14T21:37:42.327000+00:00
Original source
Found nothing about icons in Opcodes.h or Opcodes.cpp
Archived author: Kitzunu • Posted: 2021-12-14T21:39:46.826000+00:00
Original source
GOSSIP_ICON
Archived author: Kitzunu • Posted: 2021-12-14T21:39:59.412000+00:00
Original source
enum GossipOptionIcon