Game Development Community

Chat Hud issue

by Howard Dortch · in Torque 3D Professional · 05/17/2012 (10:33 am) · 9 replies

I have a issue in the chat hud if you type more than one line of text. Seems the first letter of the second line gets printed on the end of the first line and the colors are different on the second line.
I searched the forums for this and see it referenced but no fixes. Looked at MessageVector in the engine and dont see where the line break is that adds that character.

#1
05/22/2012 (5:56 am)
bump .... anyone?
#2
05/30/2012 (8:56 pm)
MessageVector is just the plaintext... the line break calculation itself is in "gui/game/guiMessageVectorCtrl.cpp".

Unfortunately, that's about all I remember about this issue, it's been a couple years.

I *do* remember having to split the two gui objects found in "game/art/gui/chathud.gui" as it shipped into two separate files, which I named "chathudedit.gui" and "chathudview.gui", or I was unable to touch them with the editor without them becoming scrambled and corrupt on each attempt--that was so horribly painful I can still recall it!
#3
06/26/2012 (7:49 am)
bump anyone else have this issue?
#4
02/20/2013 (1:45 pm)
bump no one has this issue?
#5
02/20/2013 (4:30 pm)
Not that issue, but for quite a while now the text changes color once the chat window fills up.
#6
02/20/2013 (5:45 pm)
Well there are a few issues with it like a dangling letter and trying to trace through the C++ code, I can't see an easy place to try to correct it. In the render part it looks like they reset the color on the second line, not realy sure.
Thanks for A reply I can't believe no one else finds this problematic.
#7
02/21/2013 (9:11 am)
I would have to ask for which version of the engine you are seeing that problem for. The color change at the 2nd line of text was an issue that I reported a few years back and it was resolved at some point as I've not seen it since.
#9
03/01/2014 (11:14 am)
Howard, did you ever get this resolved? I have a similar problem at 1.2. The chat changes color when you resize the chat hud. thanks