I already made a tutorial on this
How to edit UT prefix to another color. And how to create new type e.g. L - Legendary
http:/ /screenshot.sh/n9nSOEmxZQYi6
http:/ /screenshot.sh/m8YuwHyFrI9Ze
http:/ /screenshot.sh/ouDz7bkeaLDi2
My edited EquipmentToolTip.as but when I open client it always crash
private function addTierText() : void
{
var _local_1:* = this.isPet() == false;
var _local_2:* = this.objectXML.hasOwnProperty("Consumable") == false;
var _local_3:* = this.objectXML.hasOwnProperty("Treasure") == false;
var _local_4:Boolean = this.objectXML.hasOwnProperty("Tier");
if(_local_1 && _local_2 && _local_3)
{
this.tierText = new TextFieldDisplayConcrete().setSize(16).setColor(16 777215).setTextWidth(30).setBold(true);
if(_local_4)
{
this.tierText.setStringBuilder(new LineBuilder().setParams(TextKey.TIER_ABBR,{"tier": this.objectXML.Tier}));
}
else if(this.objectXML.hasOwnProperty("@setType"))
{
this.tierText.setColor(16750848);
this.tierText.setStringBuilder(new StaticStringBuilder("ST"));
}
else if (this.objectXML.hasOwnProperty("(at)example"))
{
this.tierText.setColor(0xFF9900);
this.tierText.setStringBuilder(new StaticStringBuilder("L"));
}
else
{
this.tierText.setColor(9055202);
this.tierText.setStringBuilder(new LineBuilder().setParams(TextKey.UNTIERED_ABBR));
}
addChild(this.tierText);
}
}
(Fab source)
Last edited by kacper42342432; 05-06-2017 at 12:41 AM.
I already made a tutorial on this
Nice
@DemonLives where ? Can you send link :> ?
@MikeRaarupBirk okey wait wait, where is TextKey.as?
@SSGotenks and nothing ? (check screenshot)
http:/ /screenshot.sh/n9JKRXzVJ6Lvi
Last edited by kacper42342432; 05-06-2017 at 01:46 PM.