Page 1 of 1

HUD text duplicates itself

Posted: Sat Nov 27, 2010 4:38 pm
by Fiodis
A couple hours after a previous issue was resolved, I've hit a wall again. It mainly deals with this question of mine. I've found in the HUD file where the text color for the text displayed by ShowMessage() is defined, as well as other things. I've tried changing it, and have been partly successful.
[RDH]Zerted wrote:The last time I looked into it, the hud files have a section on the text.
RepSharpshooter wrote:You can change the color of event text that you find in the data\common\pc\1playerhud. You'll have to search through the text groups to find the one that you want to change. (I don't see the messages, perhaps it is hardcoded)
The problem I run into is that the text with changed color, display length etc. appears, but the stock, yellow text appears above it, obscuring it. I can get a screenshot if you need it.

My question, then: how can I get rid of (or change) the stock text, so that only my modded text is visible?

Re: HUD text duplicates itself

Posted: Sat Nov 27, 2010 6:33 pm
by [RDH]Zerted
Is there no other section for that stock text?

Re: HUD text duplicates itself

Posted: Sat Nov 27, 2010 6:43 pm
by Fiodis
I searched for every instance of the word "text" in both hud files - the one I edited (player1systemMessages) was the only one that seemed to have anything to do with it.

I attempted to set my modded text's ZOrder to 255, which would hopefully place it above the stock text. Then I may be able to insert a hud object in between them. No such luck; I think the stock text has a line AddToTop(1) that I can't seem to override.