Page 1 of 1

How to change the position of the timed effects countdown

Posted: Sun Oct 07, 2018 3:10 am
by abeheron
I am trying to change the position of the timed effect (e.g. Stun) countdown number on the UI so it doesn't obscure the the Stunned icon.

So far, I have narrowed down this piece of code in ts-gfx-tlanets-effects:

_G["/data/gfx/effects/stunned.png"]={["y"]=0.763672 , ["x"]=0.697266 , ["set"]="/data/gfx/ts-gfx-talents-effects1.png" , ["h"]=64.000000 , ["factory"]=0.031250 , ["w"]=64.000000 , ["factorx"]=0.015625 , }

I assume x,y,h,w is the location of the actual Stunned image in the UI, but I can't find in the files "/data/gfx/ts-gfx-talents-effects1.png", nor do I know what are the following: factory, factorx?
are those the x,y of the number, or?

Any help would be appreciated.

Re: How to change the position of the timed effects countdow

Posted: Wed Oct 24, 2018 5:25 pm
by Cathbald
that's the type of situation where i just change shit semi-randomly and see what (if any) visible impact it has

you're only messing with display, what's the worst that could happen? :p