|
01-03-2011, 05:04 PM
|
|
A Griffon
|
|
Join Date: Oct 2009
Server: Unrest
Posts: 155
|
|
Tier Indicator
Greetings,
It seems the tier indictor is hard-coded align to the top of the name element.
For v0, the up arrows are above and the down arrows are below the name, centered and aligned.
For v1, its align to the top and centered.
Has anyone else ran into this?
Is there anyway around this?
Thanks,
DRaven
|
01-03-2011, 05:19 PM
|
|
A Griffon
|
|
Join Date: Oct 2009
Server: Unrest
Posts: 155
|
|
OK, i answered my own questions for v0,
It seems they are hard-coded, based on the name of the "Name element". I just changed the name of the "Name" element from "Name" to "TargetsName" and the alignment wasn't there anymore.
Now that the element is released from alignment you can re-size / position it with the "OnSize" variable. (Example: OnSize=Parent.TierIndicator.width=102 Parent.TierIndicator.top=10) This example will set the width to 102 and move the element down 10.
For v1 this is diffrent, If you rename the "Name" element it crashs the UI/game. But this fixes my issues where I wanted all arrows above the target name. So its workable.
More posting this answer for anyone else and if i get forgetful somewhere down the road.
Draven.
Last edited by Draven_Caine : 01-03-2011 at 07:35 PM.
|
01-03-2011, 08:58 PM
|
A Brown Bear
|
|
Join Date: Feb 2006
Server: Antonia Bayle
Posts: 11
|
|
You! Are! Amazing!
I was fighting myself with this problem all day yesterday, and had just about given up, after searching the forums for hours. I had gotten as far, as being able to tell when the tierindicators were showing up, thinking i could resize the page at that point, but still didn't have a way of determining if it was above or below, that would need resizing.
This is great news and i can finish that piece tonight. Thanks a ton for the find.
.Regards
----
Ok, i may have to take back my accolades. I tried as you did, modifying v0, and it crashes. Modified v1, and it crashes. Loaded the defaultui, and modified v0, and it crashes. The only changes made were for Name -> TargetName .
Not sure how you're getting it to not crash. Would you mind posting your v0 code?
Last edited by DaemonSambe : 01-03-2011 at 09:22 PM.
|
01-03-2011, 10:53 PM
|
|
A Griffon
|
|
Join Date: Oct 2009
Server: Unrest
Posts: 155
|
|
I can post the code but my target window is rather extensive as seen here.
I could post the part of the code that you need. Its only the v1 that crashes it if you change the element "Name" name. v0 is ok with this.
In shorthand for v0, change the element "Name" names to targetname, than use the OnSize to move it.
To determine what is v0 and v1 in game, go to your options in-game and under UI hit advanced, than look at your chat name bubbles. You should have 2 options here. Frames and detailed (might be wrong). Your first option is v0, and your 2nd option is v1.
|
01-03-2011, 11:37 PM
|
A Brown Bear
|
|
Join Date: Feb 2006
Server: Antonia Bayle
Posts: 11
|
|
I understand what you did and what you're saying. But simply, changing either v0/v1 crashes the client. This is on both my custom target, as well as the defaultui's target. Just that one change to the name causes it to crash.
So, i'm looking for other possible reasons that your's may not be crashing.
.Regards
----
It's all good. I examined your ui from the picture and was able to determine the problem. It's also necessary to remove the Info element from the page. I suppose this is also part of the TierIndicator and was loading some dynamicdata. Removing that fixed v0. Don't know about v1 as yet.
The side-effect of this all, is that you loose the con-coloring information... which i'm now working to restore, using hidden pages and all. Using a hidden page also restores the up/down nature of the arrows, but it's a little better, in that it doesn't adjust the name itself, so i can compensate for that one way or another. For me, it's also important to acquire the con-colors, so it's a necessary evil.
Anyway, thanks again for the great find. Accolades restored !
.Regards
Last edited by DaemonSambe : 01-04-2011 at 12:05 AM.
|
01-04-2011, 09:31 AM
|
|
A Griffon
|
|
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
|
|
Did you guys try adding an OnMove element to them and setting their size/location that way? This works for the Effects icon area, but may not work for the tier indicator.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:17 AM.
|
|