...as there is something rotten in the heart of denmark.
Anyway, im working on a RTS hud and while using alot of
tip_slots to keep lots of info on screen at the same
time i ran into a problem.
It seems the % values you give, like "tip_set_pos 8%
10%" are affected by other unseen factors?
I had 10 slots set up, going from "0% 10%" to "0% 55%"
to create a column on the left side of the screen with
10 different images and life was good. Until i played
the wad.
The slots which used 10, 25, 40 and 55 were given a
slight offset, and the nice column i tried to create
looked like this:
--
--
--
--
--
--
--
--
--
--
Once i changed the 0% position to 1.6% on the 4
"faulty" positions, they looked good in most
resolutions, but still didnt line up correctly (a few
pixels difference)
The 10 images i used were of the exact same size
(80x28), used the exact same scale (0.3). None of the
images had an offset set in Wintex (ie they all had 0 0).
From top to bottom they used tip_slot 10 to 19. I play
in 1024x768 under windows XP SP2, with a geforce 6800
ultra using the 77.76 nvidia driver release., but using
other resolutions showed the same result.
There was a slight difference, but you could tell it
was something wrong.
Logged In: YES
user_id=11869
Well I've checked the code, and found a bug with the way
tip images are centered, but it wouldn't have caused your
problem because all your images are the same height.
Otherwise I can't find anything wrong. I suggest try using
"TIP_SET_ALIGN LEFT" for all of those images.
Logged In: YES
user_id=811803
Heh, "TIP_SET_ALIGN LEFT" worked great. All looks good for
the moment :)
Thanks Ajapted, solves my problem at least.