Trying to get second chat window to show up on HUD

Moderators: GSH, VSMIT, Red Devil, Commando

Post Reply
User avatar
Zero Angel
Attila
Posts: 1536
Joined: Mon Feb 21, 2011 12:54 am
Contact:

Trying to get second chat window to show up on HUD

Post by Zero Angel »

I'm working on an 'aircraft style' HUD for BZ2 where it shows as much relevant information about the ship's status, targeting data, etc near the reticule and so far my idea has been to go off of the 'curvy gauges' addon packaged with UEP.

I am trying to get a miniature chat to show up near the center of the screen (last 2 lines of chat), and while I can get the box to render... the chat inside of the box does not show up. I copied the "Messages" control from bzgame_scores.cfg -- tried changing its name, control style, etc. But I can't get it to render the chat.

Anyone know how to get the chat to show up on the bzgame_weapon.cfg file in addition to the normal sized chat box that shows up on bzgame_scores.cfg?
User avatar
Red Devil
Recycler
Posts: 4398
Joined: Fri Feb 18, 2011 5:10 pm
Location: High in the Rocky Mountains

Re: Trying to get second chat window to show up on HUD

Post by Red Devil »

might have to use/point to a different font?
User avatar
General BlackDragon
Flying Mauler
Posts: 2408
Joined: Sat Feb 19, 2011 6:37 am
Contact:

Re: Trying to get second chat window to show up on HUD

Post by General BlackDragon »

The name must be "Messages" most likely.

Certain parts of the UI are hardcoded to the element's name. (MPIOpponant, Recylist, etc) All of the score tables are among them, and I do believe the recent chat window is too.

I don't know if you can have multiple windows with that name, it might only make one of them work.
User avatar
Zero Angel
Attila
Posts: 1536
Joined: Mon Feb 21, 2011 12:54 am
Contact:

Re: Trying to get second chat window to show up on HUD

Post by Zero Angel »

Ah. If it's hardcoded to the element name, then that would explain a lot. Thanks.
Post Reply