How to change the position of the timed effects countdown
Posted: Sun Oct 07, 2018 3:10 am
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.
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.