haadirectory.blogg.se

Tf2 custom resolution
Tf2 custom resolution












tf2 custom resolution

The reason there is three and not just one is because 2 and 3 are fall-through settings for Default. The font instance is named Default and has three numbered braces in it. You have the font instances name, then enclosed in braces a list of numbered braces, and inside each of those braces a font instance is defined, with all of its properties.

tf2 custom resolution

The structure is slightly more complicated than a control. This is a list of font instances usable by any font property. This section can be ignored as it doesn't apply to most of the HUD. BaseĪ list of default property values for UI controls types. The first number is the amount of red, second is green, third is blue and the forth number is the alpha transparency (255 is visible, 0 is transparent). It is four 8-bit (8-bit means the value can be from 0 to 255) numbers separated by a space.

Tf2 custom resolution code#

The code on the left would be in the Colors section of clientscheme.res and the code on the right could be in any resource file. Colors defined here can be used in any other resource files, you enter the name of the color into the FgColor or BgColor property of any control. The color name on the left and the color code on the right. These things are named and defined in the client scheme and referenced in other resource files.Ĭlientscheme.res contains five sections: Colors, Base, Fonts, Borders and Custom Fonts. There is a lot to go over for this file, so all that has been put here.Ĭlientscheme.res contains things that a used throughout the HUD colors, borders and fonts. Mostly only their layout properties (size, position) are defined. Most things on the in-game HUD can be found in this file. This file defines the layout of the in-game HUD. And there are two in the scripts folder, hudanimations_tf.txt and hudlayout.res. There are two in the resource folder, clientscheme.res and sourcescheme.res. There are a few files that contribute over all things. Most resource files define 1 or 2 things on the HUD.














Tf2 custom resolution