Enhanced Chat Legibility

Everything about mods can be found here.

Moderator: Morax

Enhanced Chat Legibility

Postby CodingSquirrel » 24 Jun 2015, 05:58

NOTICE: This mod has been integrated in 3641. This mod is now obsolete.

CodingSquirrel again, with another UI mod. Enhanced Chat Legibility

This time I've taken the time to try and enhance the ease of reading text in the chat. This mod will:
  • Add a dropshadow to all text in the game's chat.
  • Optionally add a background to the text to make it even easier to read. background can be turned on and off by typing /enableChatBackground or /disableChatBackground into the chat window. Default is background turned off.
  • Fix an issue in the existing (not just my mod) chat, where the chat feed will only display the last two lines of chat shortly after the game starts.
  • Optionally add chat persistence after you close the chat window. In the game now, if you close the chat then immediately all of the chat feed disappears until someone says something new. The chat persistence will let them slowly timeout after closing the chat window, as if you had never opened and closed the chat window. You can turn it on and off with /enableChatPersist or /disableChatPersist. Default is persistence turned on.

Sample image:
Image

The first image is how it looks now.
The second image is how it looks by default with the mod.
The third image is with the text background turned on.
Last edited by CodingSquirrel on 08 Aug 2015, 10:23, edited 4 times in total.
User avatar
CodingSquirrel
Avatar-of-War
 
Posts: 180
Joined: 19 Jan 2015, 19:01
Has liked: 9 times
Been liked: 63 times
FAF User Name: CodingSquirrel

Re: Enhanced Chat Legibility

Postby ZenTractor » 24 Jun 2015, 06:46

This is pretty awesome.

I don't really have anything else to add. It works a treat, especially on the redder maps.
ZenTractor
Avatar-of-War
 
Posts: 67
Joined: 10 Apr 2014, 04:09
Has liked: 10 times
Been liked: 2 times
FAF User Name: ZenTractor

Re: Enhanced Chat Legibility

Postby Col_Walter_Kurtz » 24 Jun 2015, 11:01

Good, this is really necessary. Especially in casts or streams where quality is somewhat lower it's just impossible to read.

On a side note: anyone know how I resize the chat window so that it shows more than the default 4 lines of text? It is possible but for the life of me I can't find the right button.
Col_Walter_Kurtz
Priest
 
Posts: 497
Joined: 28 Jul 2014, 10:42
Has liked: 42 times
Been liked: 45 times
FAF User Name: Apocalypse_Now

Re: Enhanced Chat Legibility

Postby ZLO_RD » 24 Jun 2015, 11:27

Col_Walter_Kurtz wrote:Good, this is really necessary. Especially in casts or streams where quality is somewhat lower it's just impossible to read.

On a side note: anyone know how I resize the chat window so that it shows more than the default 4 lines of text? It is possible but for the life of me I can't find the right button.


put mouse on right bottom corner and stretch thing like any window, i think that how it works...
http://www.youtube.com/user/dimatularus
http://www.twitch.tv/zlo_rd
TA4Life: "At the very least we are not slaves to the UI"
User avatar
ZLO_RD
Supreme Commander
 
Posts: 2265
Joined: 27 Oct 2011, 13:57
Location: Russia, Tula
Has liked: 303 times
Been liked: 400 times
FAF User Name: ZLO

Re: Enhanced Chat Legibility

Postby CodingSquirrel » 24 Jun 2015, 16:35

Uploaded V2 to the vault.
  • Fixes an issue in the existing (not just my mod) chat, where the chat feed will only display the last two lines of chat shortly after the game starts.
  • Optionally adds chat persistence after you close the chat window. In the game now, if you close the chat then immediately all of the chat feed disappears until someone says something new. The chat persistence will let them slowly timeout after closing the chat window, as if you had never opened and closed the chat window. You can turn it on and off with /enableChatPersist or /disableChatPersist. Default is persistence turned on.

More detail on the bug fix:
When the game first starts whenever someone types something into chat if your chat window is closed it will show as many lines as your chat window would fit. However, once those messages start timing out the chat will only display as many lines as are still visible, until only the last two lines are ever shown. To show more than two you would have to open the window again, but once it was closed again you would still only ever see 2 in the feed.

I fixed it so that it behaves like it should. The chat feed will always show as many lines as your chat window would.
Last edited by CodingSquirrel on 24 Jun 2015, 17:42, edited 2 times in total.
User avatar
CodingSquirrel
Avatar-of-War
 
Posts: 180
Joined: 19 Jan 2015, 19:01
Has liked: 9 times
Been liked: 63 times
FAF User Name: CodingSquirrel

Re: Enhanced Chat Legibility

Postby speed2 » 24 Jun 2015, 16:41

This should be integrated.
User avatar
speed2
Contributor
 
Posts: 3189
Joined: 05 Jan 2013, 15:11
Has liked: 636 times
Been liked: 1119 times
FAF User Name: speed2

Re: Enhanced Chat Legibility

Postby Col_Walter_Kurtz » 24 Jun 2015, 17:30

ZLO_RD wrote:
Col_Walter_Kurtz wrote:Good, this is really necessary. Especially in casts or streams where quality is somewhat lower it's just impossible to read.

On a side note: anyone know how I resize the chat window so that it shows more than the default 4 lines of text? It is possible but for the life of me I can't find the right button.


put mouse on right bottom corner and stretch thing like any window, i think that how it works...


Thanks, I think I only got the whole window to move around doing that, but I'll look again.
Col_Walter_Kurtz
Priest
 
Posts: 497
Joined: 28 Jul 2014, 10:42
Has liked: 42 times
Been liked: 45 times
FAF User Name: Apocalypse_Now

Re: Enhanced Chat Legibility

Postby CodingSquirrel » 24 Jun 2015, 19:08

I discovered an issue where if you scroll your chat up when you close the chat window it will still display the backlog as if it was scrolled up, and only the more recent entries will start timing out as usual. The older ones will just sit there indefinitely, until you scroll back down.

I've already fixed it locally, but will sit on the fix to see if anything else comes up before uploading it.
User avatar
CodingSquirrel
Avatar-of-War
 
Posts: 180
Joined: 19 Jan 2015, 19:01
Has liked: 9 times
Been liked: 63 times
FAF User Name: CodingSquirrel

Re: Enhanced Chat Legibility

Postby CodingSquirrel » 25 Jun 2015, 06:03

Some good examples of what a simple drop shadow can do.

Image
Image
Image
Image
User avatar
CodingSquirrel
Avatar-of-War
 
Posts: 180
Joined: 19 Jan 2015, 19:01
Has liked: 9 times
Been liked: 63 times
FAF User Name: CodingSquirrel

Re: Enhanced Chat Legibility

Postby Aurion » 25 Jun 2015, 09:47

This should definitely be tested if stable and then integrated.
Aurion
Priest
 
Posts: 380
Joined: 25 Jul 2013, 20:03
Has liked: 12 times
Been liked: 15 times
FAF User Name: NuclearPudding

Next

Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest