Improved Default HUD

From Team Fortress Wiki
< User:Eniere
Revision as of 09:21, 18 December 2015 by Eniere (talk | contribs) (3.1)
Jump to: navigation, search


Improved default HUD
User Eniere IDHUD.jpg
Info
type:Team Fortress 2 HUD
based on:Standard HUD
autor:Eniere
current version:3.1
date updated:December 18th, 2015
Screenshots:[1]
download link:Download
Get support
TeamFortress.TV Forum Thread english
ETF2L Forum Thread english
Pixling topic russian
Download options
direct download
download files separately

Improved default HUD

What is this?

This is not a HUD in its usual meaning, but some fixes for standard Team fortress 2 HUD, adding HP numbers on target IDs, small Übercharge value label near the crosshair, popular custom crosshairs, etc. — see screenshots for more info. I do it for myself, but maybe someone will find it useful too.

NOTE: Use Notepad++ to edit the HUD files; also you need to install used fonts into your system (right click on font file -> install)

How to install

Unpack the downloaded archive and move idhud-master folder to C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\tf\custom\ (path may be different depending on your Steam games directory);

Install fonts from idhud-master\resource\fonts\ folder into your system (right click on font file -> install);

Run the game and enjoy.


Frequently Asked Questions

How to turn on/off crosshairs/hitmarker

Used files:

idhud-master\scripts\hudlayout.res
idhud-master\resource\clientscheme.res


The default file structure looks like:

Parameter Var Description
Cross //1.1 crosshair name and number you looking for
{
"controlName" "CExLabel" do not change
"fieldName" "Cross" do not change
"visible" "0" "1" to enable visibility, "0" to disable
"enabled" "1" do not change
"xpos" "c-25" X axis from center of screen
"ypos" "c-26" Y axis from center of screen
"zpos" "2" Z axis (use it when multiple xhairs enabled)
"wide" "50" use it for more accurate X axis positioning if needed
"tall" "49" use it for more accurate Y axis positioning if needed
"font" "CrosshairsOutline16" used font parameter (look for avalable fonts in clientscheme.res)
"labelText" "a" do not change
"textAlignment" "center" do not change
"fgcolor" "255 255 255 255" RGBA (Red, Green, Blue, Alpha) color (0 min, 255 max)
}


For example, let's make your crosshair yellow and enabled only in minmode. So we're need to add/change some parameters:

"visible" "0" now it will be disabled when cl_hud_minmode "0"
"visible_minmode" "1" you can use "_minmode" with any parameter you want
"fgcolor" "255 255 0 255" because red+green=yellow in RGB color model


To enable the custom crosshair(s), open scripts\hudlayout.res, then CTRL+F for needed number from table and change "visible" and/or "visible_minmode" parameter values to "1". Then you can calibrate xhair positions with "xpos", "ypos" and "wide", "tall" too.

To enable the hitmarker (damage indicator), open scripts\hudlayout.res, then CTRL+F for "3.1" and change "visible" and "visible_minmode" parameter values to "1".

How to change damage position and visibility

Used files:

idhud-master\resource\ui\huddamageaccount.res
idhud-master\advanced\resource\ui\huddamageaccount - default bold.res
idhud-master\advanced\resource\ui\huddamageaccount - m0res.res
idhud-master\advanced\resource\ui\huddamageaccount - yellow (by default).res


The default file structure looks like:

Parameter Var Description
CDamageAccountPanel damage/healing numbers near the enemy
{
"fieldName" "CDamageAccountPanel" do not change
"text_x" "0" do not change
"text_y" "0" do not change
"delta_item_end_y" "0" do not change
"PositiveColor" "255 255 50 255" damage colour (RGBA)
"NegativeColor" "50 255 50 255" healing colour (RGBA)
"delta_lifetime" "3.0" how long last damage numbers stay visible on screen
"delta_item_font" "DefaultOutline" font used for damage numbers near the enemy
"delta_item_font_big" "DefaultOutline" font used for much damage done
}


Parameter Var Description
"CDamageAccountValue" damage/healing numbers near the health
{
"ControlName" "CExLabel" do not change
"fieldName" "CDamageAccountValue" do not change
"fgcolor" "255 255 50 255" RGBA color
"font" "HudFontBiggerBold" used font parameter
"xpos" "c-302" X axis from center of screen
"ypos" "r110" Y axis from right
"xpos_minmode" "c-316" X axis from center of screen (minmode)
"ypos_minmode" "r75" Y axis from right (minmode)
"zpos" "2" Z axis
"wide" "100" box wide (change when damage value looks "cropped"
"tall" "26" box height (change when damage value looks "cropped"
"visible" "1" visibility parameter
"enabled" "1"
"labelText" "%metal%"
"textAlignment" "left"
}


To enable alternative damage layouts, just rename liked to huddamageaccount.res and put it in the idhyd-master\resource\ui\ folder.

How to change Medic HUD layout

Used files:

idhud-master\resource\ui\hudmediccharge.res
idhud-master\advanced\resource\ui\hudmediccharge - combined.res
idhud-master\advanced\resource\ui\hudmediccharge - large ubercharge value.res
idhud-master\advanced\resource\ui\hudmediccharge - small ubercharge value under the crosshair (by default).res
idhud-master\scripts\hudanimations_tf.txt
idhud-master\advanced\scripts\hudanimations_tf - combined.txt
idhud-master\advanced\scripts\hudanimations_tf - large ubercharge value.txt


So, what is this?

In the hudmediccharge - small ubercharge value under the crosshair (by default).res a small ubercharge value placed near the crosshair and default uberbar/value saved at their regular positions too. In the hudmediccharge - large ubercharge value.res you can find bigger ubercharge value replaces the default one. Also, here is combined layout too, with bigger ubercharge replacement and small ubercharge value under the crosshair. Hudanimations files used for better supporting new layouts, adding more conspicuous colors when ubercharge is ready to drop.

How to change Main Menu layout

Used files:

idhud-master\resource\ui\mainmenuoverride.res
idhud-master\advanced\resource\ui\mainmenuoverride - server control panel disabled.res
idhud-master\advanced\resource\ui\mainmenuoverride - server control panel enabled (by default).res


...a.k.a. "How to disable Server control panel"

If you don't want to use Server control panel, just move custom\YOURSTUFF\idhud-master\advanced\resource\ui\mainmenuoverride - server control panel disabled.res to custom\YOURSTUFF\idhud-master\resource\ui\ and rename it to mainmenuoverride.res.


Changelog

Changelog:
v 3.1 (December 18th, 2015)
  • Updated to support The Tough Break Update;
  • Server Control Panel now disabled by default (you still can to find it in the "idhud-master/advanced" folder;
  • Don't really want to use new Scoreboard, so I've update a good old one;
  • Minor fixes etc.

v 3.0.10 (December 5th, 2015)

  • Updated to support recent TF2 update.

v 3.0.7 (November 4th, 2015)

  • Updated to support recent TF2 update.

v 3.0.6 (October 29th, 2015)

  • Updated for Scream Fortress VII.

v 3.0.5 (October 6th, 2015)

  • Updated to support recent TF2 updates (minor changes).

v 3.0.4 (September 11th, 2015)

  • Updated to support recent TF2 updates (minor changes).

v 3.0.3 (August 28th, 2015)

  • Updated to support recent TF2 update.

v3.0.2 (August 1st, 2015)

  • Now you can check enemy uber easier: 8m4IyZY.jpg;
  • Server Control Panel become useful for serveme.tf users: just click on padlock icon and enter RCON password to start using controls on current server (add 'exec servercontrols' to your autoexec.cfg).

v 3.0 (Jule 10, 2015)

v 2.4 (May 12, 2015)

  • Minor changes.

v 2.2.3 (December 12, 2014)

  • Updated MainMenu to support last Valve's changes (Ducks removed);
  • Updated BackpackPanel to support last Valve's changes (added context menu to items, unused buttons removed). I also removed page navigation buttons (prev/next), but it's still possible to use A/D keys to navigate between pages. Added current page number indicator.

v2.2 (October 31, 2014)

  • New TargetID system support. HP values on IDs now colored by default.
  • New scoreboard.res that have 6v6 and 13v13 layouts. Use cl_hud_minmode 1/0 to switch between.
  • Small medic uber percentage indicator moved closer to crosshair.
  • Updated hudlayout.res for latest tf2 updates support (targetID, minigames hud, etc.)
  • Updated clientscheme.res for "Limited" item quality support.
  • Another minor changes.

v2.1 October 1, 2014

  • Added a new version of 6v6 scoreboard; so far only for cl_minmode "1". The "old" version is still enabled by default. See versions comparing.
  • Added "Server control panel". Highly customizable, it can be used by the server admins, and someone can use it to control some in-game features. In its current form supports ETF2L Season 19 maps and configs. Configuration file included, open it to get a help.
  • Once again revamped inventory in order to support the recent TF2 updates. Page keyboard navigation (A-D) still works. Older backpackpanel.res files has removed.

v2.0.12 August 28, 2014

  • Updated with a new Valve's fixies for mvm scoreboard.

v2.0.10-11 August 23, 2014

  • Minor changes and fixes;
  • Alternative versions of HUD files moved to "alternative_files" folder (placed in \resource\ui and \scripts).

v2.0.9 June 20, 2014

  • Reworked scoreboard;
  • Support for multi-taunts;
  • Alternative medic charge layout now independent from screen aspect ratio;
  • Removed some unused files.

v2.0.8 June 1, 2014

  • Reworked backpack panel that features separate buttons for each page, but still haves visible "Set style" control and keyboard navigation controls too;
  • Changed color scheme for RED/BLU model toggle added in the latest update;
  • Added multilanguage support for RED/BLU model toggle.

v2.0.7 May 31, 2014

  • RED/BLU model toggle for loadout customizing screen;
  • some minor improvements.

v2.0.6 April 18, 2014

  • reworked tournament spectator HUD;
  • combined medic charge layout now enabled by default;
  • some minor improvements.

v2.0.5 March 30, 2014

  • crosshairs are combined into one file (thanks to skappa);
  • removed black bars from spectator UI;
  • some minor improvements.

v2.0.4 March 26, 2014

  • new combined ubercharge layout;
  • some minor improvements.

v2.0.3 March 24, 2014

  • added a separate version of 6v6 scoreboard. Now you can use it with cl_hud_minmode "0" too;
  • huddamageaccount.res now supports 16:10 and 4:3 aspect ratio;
  • huddamageaccount_yellow.res now supports 16:10 and 4:3 aspect ratio;
  • hudmediccharge_alt.res now supports 16:10 and 4:3 aspect ratio;
  • res files was cleared from unused X360 code;
  • color scheme fix;
  • some minor improvements.

v2.0.2 March 23, 2014

  • bugfixes.

v2.0.1 March 22, 2014

  • added 2 alternative damage layouts: bold yellow and m0re's (see pic descriptions);
  • new alternative medic's ubercharge position and layout.
v2.0.0 March 21, 2014 "General release"