Difference between revisions of "User:Eniere/Improved Default HUD"

From Team Fortress Wiki
Jump to: navigation, search
m (3.7.1)
m (Undo edit by Esiotrot (Talk) (3218381) Do not edit other users' user spaces without permission)
(Tag: Undo)
 
(8 intermediate revisions by 2 users not shown)
Line 15: Line 15:
 
<tr><td class="bold">based on:</td><td>[[Heads-up display|Standard HUD]]</td></tr>
 
<tr><td class="bold">based on:</td><td>[[Heads-up display|Standard HUD]]</td></tr>
 
<tr><td class="bold">autor:</td><td>[http://steamcommunity.com/id/eniere/ Eniere]</td></tr>
 
<tr><td class="bold">autor:</td><td>[http://steamcommunity.com/id/eniere/ Eniere]</td></tr>
<tr><td class="bold">current version:</td><td>3.7.1</td></tr>
+
<tr><td class="bold">current version:</td><td>3.9.2</td></tr>
<tr><td class="bold">date updated:</td><td>January 31, 2017</td></tr>
+
<tr><td class="bold">date updated:</td><td>January 26th, 2022</td></tr>
 
<tr><td class="bold">Screenshots:</td><td>[http://imgur.com/a/l9qai] </td></tr>
 
<tr><td class="bold">Screenshots:</td><td>[http://imgur.com/a/l9qai] </td></tr>
 
</table>
 
</table>
Line 236: Line 236:
 
: <code>idhud-master\cfg\servercontrols.cfg</code>
 
: <code>idhud-master\cfg\servercontrols.cfg</code>
  
<br>If you want to enable Server control panel, just open the '''<code>idhud-master\resource\ui\mainmenuoverride.res</code>''' file and uncomment (remove "//" symbols) line #2. Don't forget to set-up the '''<code>idhud-master\cfg\servercontrols.cfg</code>''' file, otherwise, the control panel will not work.
+
<br>If you want to enable Server control panel, just open the '''<code>idhud-master\resource\ui\mainmenuoverride.res</code>''' file and uncomment line #2 (just remove "//"). Don't forget to set-up the '''<code>idhud-master\cfg\servercontrols.cfg</code>''' file, otherwise, the control panel will not work.
 +
 
 +
'''Q: How do I can change maps and configs?'''
 +
<br>'''A:''' Open the <code>\custom\idhud-master\cfg\servercontrols.cfg</code> file, then go to "Maps section". There you're able to change maps or/and configs. Don't forget to use correct map name (like "''cp_gullywash_final1''", not "''cp_gullywash''". Save the changes and restart the game.
 +
 
 +
'''Q: I have changed maps, but Control panel still shows old names on the buttons instead of new. How do I can change button labels?'''
 +
<br>'''A:''' Open the <code>\custom\idhud-master\advanced\resource\ui\mainmenuoverride_scp.res</code> file, then go to "Map1Button" (use {{key|CTRL}}+{{key|F}} to find it quickly), or which map button you want to change. Change the "labelText" parameter to whatever you want. Save the changes and restart the game.  
 
<gallery>
 
<gallery>
 
File:User Eniere IDHUD-scr1.jpg|Main menu with Server control panel enabled
 
File:User Eniere IDHUD-scr1.jpg|Main menu with Server control panel enabled
 
File:User Eniere IDHUD Main menu 02.jpg|Main menu by default
 
File:User Eniere IDHUD Main menu 02.jpg|Main menu by default
 
</gallery>
 
</gallery>
 
  
 
=Changelog=
 
=Changelog=
 
{{Changelog|1=
 
{{Changelog|1=
 +
v 3.9.2 (January 26th, 2022)
 +
* updated to support latest updates;
 +
* vaccinator icon fix;
 +
* missed resource/fonts/Surface.otf font file is back;
 +
* cleaned up from unused files;
 +
* removed double crosshair when coaching;
 +
* minor "under-the-hood" changes.
 +
 +
v 3.9.1 (December 12, 2020)
 +
* Updated to support recent TF2 updates.
 +
* Updated Server Control Panel to support 4 config buttons.
 +
* Various "under the hood" fixes.
 +
 +
v 3.9 (March 29, 2018)
 +
* Updated to support recent TF2 updates.
 +
 +
v 3.8.1 (October 22, 2017)
 +
* Various "under the hood" fixes.
 +
 +
v 3.8 (October 21, 2017)
 +
* Updated to support The Jungle Inferno Update.
 +
 
v 3.7.1 (January 31, 2017)
 
v 3.7.1 (January 31, 2017)
 
* Updated to support recent TF2 updates;
 
* Updated to support recent TF2 updates;

Latest revision as of 11:56, 23 July 2022


Improved default HUD
User Eniere IDHUD.jpg
Info
type:Team Fortress 2 HUD
based on:Standard HUD
autor:Eniere
current version:3.9.2
date updated:January 26th, 2022
Screenshots:[1]
Get support
TeamFortress.TV Forum Thread english
ETF2L Forum Thread english
Pixling topic russian
Download options
View HUD files
Download

Improved default HUD

What is this?

This is not a HUD in its usual meaning, but some fixes for standard Team fortress 2 UI, 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 HUD fonts into your system (open idhud-master\resource\fonts\, then RMB on font file → Install).

How to install

1. 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);

2. Install fonts from idhud-master\resource\fonts\ folder into your system: RMB on font file → Install);

3. Run the game and enjoy.


Frequently Asked Questions

How to turn on/off crosshairs/hitmarker

Used files:

idhud-master\scripts\hudcrosshairs.res
idhud-master\scripts\hudanimations_tf - hit indicator.txt


To enable the custom crosshair(s), open the idhud-master\scripts\hudcrosshairs.res file, then CTRL+F for needed number from table (see screenshot below) and change "visible" and/or "visible_minmode" parameter values to "1". Then you can calibrate crosshair position on the screen with "xpos", "ypos" and "wide", "tall" too. I recommend not to turn off the standard HUD crosshair when you're setting position for the custom one. All custom crosshairs in this HUD calibrated to use on 16:9 screen resolution by default.

The default crosshair 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
"visible_minmode" "0" "1" to enable visibility in minmode, "0" to disable
"enabled" "1" do not change
"xpos" "c-25" X axis from center of screen
"ypos" "c-25" 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" "50" use it for more accurate Y axis positioning if needed
"font" "CrosshairsOutline16" used font parameter (look for avalable fonts in idhud-master\resource\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 intensity, 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" make it visible only in minmode. 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 hitmarker (damage indicator), go to the idhud-master\scripts\hudanimations_tf - hit indicator.txt file.

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 - yellow.res


The default HudDamageAccount 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" do not change
"labelText" "%metal%" do not change
"textAlignment" "left" do not change
}


To use alternative damage layouts, just rename liked one to huddamageaccount.res and move it to the idhud-master\resource\ui\ folder.

How to change Medic UI layout

Used files:

idhud-master\resource\ui\hudmediccharge.res
idhud-master\scripts\hudanimations_tf.txt


If you open idhud-master\resource\ui\hudmediccharge.res, you can see the next text in the beginning:

//	Uncomment (remove "//") the line below to enable default medic layout (without any changes):
//	#base "../../advanced/resource/ui/hudmediccharge - default uber value.res"
	
//	Uncomment the line below to enable small ubercharge value under the crosshair:
	#base "../../advanced/resource/ui/hudmediccharge - small uber value.res"
	
//	Uncomment the line below to enable large ubercharge value:
//	#base "../../advanced/resource/ui/hudmediccharge - large uber value.res"
	
//	Uncomment the line below to enable both:
//	#base "../../advanced/resource/ui/hudmediccharge - combined uber value.res"
	
	#base "../../basefiles/resource/ui/hudmediccharge.res"
...

Now, depending on what kind of Medic UI you want to use, you just need to uncomment (remove "//") the appropriate line, then save file. It's simple!

The next step — open the idhud-master\scripts\hudanimations_tf.txt file and uncomment the appropriate line to activate the custom color (green, you can see it on screenshots below). This step can be skipped, then HUD will use standard colors for Medic Ubercharge bar and Ubervalue.

How to enable Server Control Panel

Used files:

idhud-master\resource\ui\mainmenuoverride.res
idhud-master\cfg\servercontrols.cfg


If you want to enable Server control panel, just open the idhud-master\resource\ui\mainmenuoverride.res file and uncomment line #2 (just remove "//"). Don't forget to set-up the idhud-master\cfg\servercontrols.cfg file, otherwise, the control panel will not work.

Q: How do I can change maps and configs?
A: Open the \custom\idhud-master\cfg\servercontrols.cfg file, then go to "Maps section". There you're able to change maps or/and configs. Don't forget to use correct map name (like "cp_gullywash_final1", not "cp_gullywash". Save the changes and restart the game.

Q: I have changed maps, but Control panel still shows old names on the buttons instead of new. How do I can change button labels?
A: Open the \custom\idhud-master\advanced\resource\ui\mainmenuoverride_scp.res file, then go to "Map1Button" (use CTRL+F to find it quickly), or which map button you want to change. Change the "labelText" parameter to whatever you want. Save the changes and restart the game.

Changelog

Changelog:
v 3.9.2 (January 26th, 2022)
  • updated to support latest updates;
  • vaccinator icon fix;
  • missed resource/fonts/Surface.otf font file is back;
  • cleaned up from unused files;
  • removed double crosshair when coaching;
  • minor "under-the-hood" changes.

v 3.9.1 (December 12, 2020)

  • Updated to support recent TF2 updates.
  • Updated Server Control Panel to support 4 config buttons.
  • Various "under the hood" fixes.

v 3.9 (March 29, 2018)

  • Updated to support recent TF2 updates.

v 3.8.1 (October 22, 2017)

  • Various "under the hood" fixes.

v 3.8 (October 21, 2017)

  • Updated to support The Jungle Inferno Update.

v 3.7.1 (January 31, 2017)

  • Updated to support recent TF2 updates;
  • Added Australian-loved "seeker" crosshair;
  • Updated Server control panel for ETF2L Season 26 maps support;
  • Various "under the hood" fixes.

v 3.7 (December 22, 2016)

  • Updated to support recent TF2 update;
  • Various "under the hood" fixes.

v 3.6 (October 22, 2016)

  • Updated to support recent TF2 updates;
  • Fixed Bazaar Bargain head counter doesn't show in minmode;
  • Fixed FPS drops in some situations when Hit Indicator is enabled (by the Wiethoofd method);
  • Various "under the hood" fixes.

v 3.5 (September 28, 2016)

  • Updated to support recent TF2 updates;
  • Added full model control ability in the Loadout — see screenshot. It allows you to zoom, rotate, change model and spotlight positions;
  • Fixed Demo UI button not showing when Server Control Panel disabled;
  • Updated Server Control Panel to support ETF2L Season 25 maps;
  • Various "under the hood" fixes.

v 3.4.1 (August 6, 2016)

  • Fixed respawn timer in competitive mode;
  • Fixed Dead Ringer "Feign" counter being overlapped by Diamondback "Crits" counter — see screenshot.

v 3.4 (August 2, 2016)

  • Finally supported basefiles system, it should make HUD more easily customizable and unbreakable to the next Valve updates. Read the updated FAQ for more info;
  • Check the enemy uber is much easier now — see screenshot;
  • Various "under the hood" fixes.

v 3.3.1 (July 15, 2016)

  • Updated to support recent TF2 update;
  • Now uses a manifest file for animations.

v 3.3 (July 9th, 2016)

v 3.2.5 (May 23th, 2016)

  • Updated to support recent TF2 updates.

v 3.2.4 (March 25th, 2016)

  • Updated to support recent TF2 update.

v 3.2.3 (March 18th, 2016)

  • Updated to support recent TF2 update.

v 3.2.2 (March 12th, 2016)

  • Updated to support recent TF2 update;
  • Old-style scoreboard now removed by default. You can still find it in "Advanced" folder;
  • Default TF2 scoreboard updated with bigger K/D stats on it, like the old one.

v 3.2.1 (March 8th, 2016)

  • Updated to support recent TF2 updates.

v 3.2 (March 1st, 2016)

  • Updated to support recent TF2 update;
  • ­Minor fixes.

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.

v 2.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.

v 2.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.

v 2.0.12 (August 28, 2014)

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

v 2.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).

v 2.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.

v 2.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.

v 2.0.7 (May 31, 2014)

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

v 2.0.6 (April 18, 2014)

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

v 2.0.5 (March 30, 2014)

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

v 2.0.4 (March 26, 2014)

  • new combined ubercharge layout;
  • some minor improvements.

v 2.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.

v 2.0.2 (March 23, 2014)

  • bugfixes.

v 2.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.
v 2.0 (March 21, 2014) "General release"