Game Development Community

MainChatHud extents not being calculated correctly

by Wendell Brown · in Torque Game Engine · 11/11/2004 (1:32 pm) · 2 replies

Anyone know why the MainChatHud extents become 400 300 instead of the 266 66 as defined in common/editor/MainChatHud.gui? This gobbles up too much screen area. This is in 1.3 release.
I tried changing and saving my edits to the gui but to no avail. Reloading the mission loses any attempt at correctly the extents.

TIA

#1
11/11/2004 (1:48 pm)
We ran into this as well, and for some strange reason, the stock MainChatHud is not saved in the expected directory, so if/when you make a change to the sizes, it appears to save, but is loaded elsewhere, resulting in any changes being ignored.

As an fyi, it also is not a child of the main playGui, and therefore interferes with any (custom coded) passing of mouse events to the parent. We ultimately ripped it out completely due to frustration. I assume that others have overcome the issue, but I personally decided it would be easier to write a new ChatHud.
#2
11/11/2004 (1:58 pm)
The ChatHud and MessageHud share teh same file which is likely the source of the frustration.
There is *ALSO* Script Code that sets the height/width of the hud.