METHOD USES AS3
The method below isn't the only way to achieve this, however it is pretty simple.
First of all assign your item XML you want to be this tier with an identifier of sorts, such as when assigning an item with a setType. It should look similar to the one below:
Code:
<Object type="0x1600" id="Example Item" example="EX">
Once you have added this code to your item XML in
both your client as well as your dat1 file in your solution (You can rebuild you server solution at this point as you will no longer need it), navigate to
src\com\company\assembleegameclient\ui\tooltip\Equ ipmentToolTip.as in your client. Then scroll down until you find the code below:
(Replace (at) with the symbol)
Code:
if (this.objectXML.hasOwnProperty("(at)setType")) {
this.tierText.setColor(0xFF9900);
this.tierText.setStringBuilder(new StaticStringBuilder("ST"));
}
Underneath that code is where you begin to define what example="EX" does to your item. Your code which you put underneath the code above should look similar to the code below
(Replace (at) with the symbol):
Code:
else if (this.objectXML.hasOwnProperty("(at)example"))
{
this.tierText.setColor(1040368);
this.tierText.setStringBuilder(new StaticStringBuilder("EX"));
}
This will mean every time you put example="EX" next to an item's id it will display EX as the tier, you are able to change the color of your tier by changing the setColor and what the tier is named/displays by changing "EX" to something else. After you have everything as you want it, Save All and Rebuild your project.