Change Bufficons

c0wtsch

New Member
Joined
Apr 28, 2024
Messages
1
Hello everybody,

yesterday i started using the CU GUI mod (really awesome stuff there!) and by scrolling through the files, i saw how they link icons and buffs to the image files.
It always bugged me, that you cant clearly identify your buffs (especially food) from just the icon, so i thought there gotta be a way to fix this.
From what i can see, the client (i hope so) works something like this: Synthsteak = foodDelayed and one of the .inc files states foodDelayed = XY to XY in file tempXY,
now i wonder if you can add code to further distinguish the buffs, so that the icon for synthsteak isnt a group icon, but a unique one. So synthsteak requests the icon for synthsteak and i just create a new file with those icons.

Is that possible? If so, in which file are these infos? I know a little bit about coding, if it isnt too complicated i can probably do it myself.

Thanks in advance.
 

Skyyyr

Member
Joined
Feb 22, 2016
Messages
45
Okay so you'll need to do a few things.
  1. ui_styles.inc contains all the links from a dds to in-game display.
    1. For instance as you specified the top left and bottom right coordinates on the dds are defined by a name in the styles. You'll have to remember where exactly you defined your new style as that'll be important for the next step.
  2. Since you're dealing with a buff you'll need to go inside datatables/modifiers.iff and find synthsteak entry and replace the style path with the one you made in step 1.
 
Top Bottom