Forum > Miscellaneous

Creating a new item quality color?

(1/2) > >>

Kobiesan:
I'm trying to make a new item quality color called Fabled. I attempted to do this directly in the database via adding |cffB0000 in front of my item name. This worked except the first bracket when linked in chat would be the set item quality in item_template and not the set color.

Shown here:



So, since that didn't work I went into TC solution and directly changed
the artifact (item quality ID = 6) color to dark red instead of the light yellow it was set to. I also tried just making a new quality and color but that didn't work.

So, my item's name is still light yellow even though I changed the color in the core??

schlumpf:
item quality colours are hardcoded in the client.

Kobiesan:
How do you know what is and isn't hardcoded? Is it possible to change it in the interface files (xml/lua files)?

schlumpf:
You know by reverse engineering things. As far as I remember the wotlk client uses an hardcoded array of colors, nothing in lua/xml. You can find it by searching for the colors in hex in the binary. That will only allow you to modify them, not add one.

killer9000:
You could just take the easier route, and change it in the dB using a html colour code

Navigation

[0] Message Index

[#] Next page

Go to full version