[27.7.X2] adding new tier

Posts 1–15 of 25 · Page 1 of 2
[27.7.X2] adding new tier
The files you are gonna need to open are
Code:
 TextKey.as and EquipmentToolTip.as
In : TextKey.as add a new key for example:
Code:
 public static const Legendary:String = "Legendary";
now goto :
Code:
 EquipmentToolTip.as
goto
Code:
  private function addTierText():void {
under :
Code:
 if (_local_4) {
                this.tierText.setStringBuilder(new LineBuilder().setParams(TextKey.TIER_ABBR, {"tier": this.objectXML.Tier}));
add:
Code:
 else if (this.objectXML.hasOwnProperty("Legendary")) {
                        this.tierText.setColor(0xFF9900);
                        this.tierText.setStringBuilder(new LineBuilder().setParams(TextKey.Legendary));
Mike made this in help section, but i realized his way doesn't work, so why not do it my way

Instead of the TextKey.Legendary you could just put "Legendary" xd
Quote Originally Posted by MikeRaarupBirk View Post
Instead of the TextKey.Legendary you could just put "Legendary" xd
XD, at least it works
why not have it under the item's name so it doesn't look terrible with how it enlarges the tooltip?
Quote Originally Posted by FlutterM4rk View Post
why not have it under the item's name so it doesn't look terrible with how it enlarges the tooltip?
People can figure out how to do that themself or they can just simply come up with a shorter term
Quote Originally Posted by Demon View Post
People can figure out how to do that themself or they can just simply come up with a shorter term
what you currently posted is simpler than moving the position of the tier text, so if they could figure that out this tutorial wouldn't have too much of an use
Quote Originally Posted by FlutterM4rk View Post
what you currently posted is simpler than moving the position of the tier text, so if they could figure that out this tutorial wouldn't have too much of an use
I don't see any reason why i should tell people.

people in this section don't even bother to leave a thanks, yet they use the codes/ etc.
Quote Originally Posted by FlutterM4rk View Post
what you currently posted is simpler than moving the position of the tier text, so if they could figure that out this tutorial wouldn't have too much of an use
Because its hard to search this.tierText.y inside EquipmentToolTip.as and just move around on it.

Code:
        if (this.tierText) {
            this.tierText.y = ((this.icon.height / 2) - (this.tierText.height / 2));
            this.tierText.x = (MAX_WIDTH - 30);
        }
ecks dee
Quote Originally Posted by MikeRaarupBirk View Post
Because its hard to search this.tierText.y inside EquipmentToolTip.as and just move around on it.

Code:
        if (this.tierText) {
            this.tierText.y = ((this.icon.height / 2) - (this.tierText.height / 2));
            this.tierText.x = (MAX_WIDTH - 30);
        }
ecks dee
....... People Could'be just figured it out on their own -.-, no need to be their dad
Quote Originally Posted by MikeRaarupBirk View Post
Because its hard to search this.tierText.y inside EquipmentToolTip.as and just move around on it.

Code:
        if (this.tierText) {
            this.tierText.y = ((this.icon.height / 2) - (this.tierText.height / 2));
            this.tierText.x = (MAX_WIDTH - 30);
        }
ecks dee
it's really not, and you forgot to make space for it (unless you make the tiertext smaller it'll look cramped), and i was pointing out how if they can change the tiertext location, they should be able to change the tier too.
Quote Originally Posted by DBFunx View Post
The way mike does it works but I had to edit it a TINY bit
http://prnt.sc/eaxju2
My way is b8r

+ his way didn't work for u if u had to edit it ;p
Quote Originally Posted by Demon View Post
My way is b8r

+ his way didn't work for u if u had to edit it ;p
Mine obviously worked, as i posted a screenshot, but w/e no one being mad at you okay?
Quote Originally Posted by MikeRaarupBirk View Post
Mine obviously worked, as i posted a screenshot, but w/e no one being mad at you okay?
i tried ur way, but it no work soo.... i don't know what u mean

what client did u use for it 27.7.X2?
Mike your's sort of works lmao It just gives bugs like every other tier is UT
Posts 1–15 of 25 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us