How to change the position of the timed effects countdown

All development conversation and discussion takes place here

Moderator: Moderator

Post Reply
Message
Author
abeheron
Posts: 1
Joined: Sun Oct 07, 2018 3:03 am

How to change the position of the timed effects countdown

#1 Post 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.

Cathbald
Uruivellas
Posts: 743
Joined: Wed Jan 22, 2014 1:46 pm

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

#2 Post 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
I write guides and make addons too now, apparently

You can go here for a compilation of everything I wrote, plus some other important stuff!

Includes general guides (inscriptions, zone, prodigies), and class guides (Demo, Anorithil, Bulwark, Zerker, Sblade)

Post Reply