ToME: the Tales of Maj'Eyal
http://forums.te4.org/

How to change the position of the timed effects countdown
http://forums.te4.org/viewtopic.php?f=36&t=49257
Page 1 of 1

Author:  abeheron [ Sun Oct 07, 2018 3:10 am ]
Post subject:  How to change the position of the timed effects countdown

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.

Author:  Cathbald [ Wed Oct 24, 2018 5:25 pm ]
Post subject:  Re: How to change the position of the timed effects countdow

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

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/