Wednesday 1 December 2010

Day Of Defeat Source : Tutorial 5 - Changing The Size Of The Chat Box Text

Player Chat Box - Changing Text Size

While looking over some forums I found some of INsane's Posts from a few years ago.  They are a bit complex and take some time to understand but I have found useful information there.  To that end I have taken a copy of INsane's edited file ChatScheme.res which is here.  This file contains the settings for the player chat box you see on screen when players are typing messages to each other.  INsane has already made some changes to the file so the chat box is different colours making it stand out more when you use it.

I have added a change to a section of the file in "ChatFont".  I always found the text in the box to be too small for my eyes to see properly and so have increased the size of all the text to 24.  The default is 12.  That means my text is twice as big as normal - for easy reading.  Below is the section which is also included in the file.

"ChatFont" // Just the chat font only
{
"1"
{
"name" "Arial"
"tall" "24"
"weight" "700"
"yres" "480 599"
"dropshadow" "1"
}
"2"
{
"name" "Arial"
"tall" "24"
"weight" "700"
"yres" "600 767"
"dropshadow" "1"
}
"3"
{
"name" "Arial"
"tall" "24"
"weight" "700"
"yres" "768 1023"
"dropshadow" "1"
}
"4"
{
"name" "Arial"
"tall" "24"
"weight" "700"
"yres" "1024 1199"
"dropshadow" "1"
}
"5"
{
"name" "Arial"
"tall" "24"
"weight" "700"
"yres" "1200 10000"
"dropshadow" "1"
}
}



The name = font name, tall = font size.

Ensure the  ChatScheme.res file is copied into C:\Program Files\Steam\Steamapps\USERNAME\Day Of Defeat Source\Dod\Resource.  This file will them be used instead of the game defaults.

No comments:

Post a Comment