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

From Team Fortress Wiki
Jump to: navigation, search
(v 3.0)
m (Undo edit by Esiotrot (Talk) (3218381) Do not edit other users' user spaces without permission)
(Tag: Undo)
 
(42 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.0</td></tr>
+
<tr><td class="bold">current version:</td><td>3.9.2</td></tr>
<tr><td class="bold">date updated:</td><td>Jule 10th, 2015</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>
<tr><td class="bold">download link:</td><td>[https://github.com/Eniere/idhud/archive/master.zip Download]</td></tr>
 
 
</table>
 
</table>
 
<table class="transparent" width="100%" style="border-collapse:collapse">
 
<table class="transparent" width="100%" style="border-collapse:collapse">
Line 28: Line 27:
 
<table class="transparent" width="100%" style="border-collapse:collapse">
 
<table class="transparent" width="100%" style="border-collapse:collapse">
 
<th colspan="1" class="header">Download options</th>
 
<th colspan="1" class="header">Download options</th>
<tr><td class="bold">[https://github.com/Eniere/idhud/archive/master.zip direct download]</td></tr>
+
<tr><td class="">[https://github.com/Eniere/idhud View HUD files]</td></tr>
<tr><td class="">[https://github.com/Eniere/idhud download files separately]</td></tr>
+
<tr><td class="bold">[https://github.com/Eniere/idhud/archive/master.zip Download]</td></tr>
 
</table>
 
</table>
 
}}
 
}}
 +
<div align=center><div style="border:1px inset #79542b; color:black; background-color:#fffcf7; padding:0.1em; width:350px">
 +
<span style="color:black;font-size:24px><center>'''[[User:Eniere/Improved_Default_HUD/ru|Читать на русском языке]]'''</center></span>
 +
</div></div>
 
=Improved default HUD=
 
=Improved default HUD=
 
==What is this?==
 
==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.
+
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.
<p>NOTE: Use Notepad++ to edit the HUD files; also you need to install used fonts into your system (right click on font file -> install)</p>
+
<p>NOTE: Use Notepad++ to edit the HUD files; also '''you need to install HUD fonts''' into your system (open '''<code>idhud-master\resource\fonts\</code>''', then {{key|RMB}} on font file → ''<code>Install</code>'').</p>
 
+
<gallery>
 +
File:User Eniere IDHUD-scr1.jpg|Main Menu
 +
File:User Eniere IDHUD-scr2.jpg|Scoreboard
 +
File:User Eniere IDHUD stv.jpg|SourceTV
 +
File:User Eniere IDHUD-scr3.png|Battle Scene
 +
File:User Eniere IDHUD-scr4.jpg|Health on TargetID
 +
File:User Eniere IDHUD-scr5.png|Hit indicator, Killfeed
 +
</gallery>
 
==How to install==
 
==How to install==
Unpack the downloaded archive and move '''<span style="color: black; background-color: #eeeeee">idhud-master</span>''' folder to '''<span style="color: black; background-color: #eeeeee">C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\tf\custom\</span>''' (path may be different depending on your Steam games directory);
+
1. Unpack the downloaded archive and move '''<code>idhud-master</code>''' folder to '''<code>C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\tf\custom\</code>''' (path may be different depending on your Steam games directory);
<p>Install fonts from '''<span style="color: black; background-color: #eeeeee">idhud-master\resource\fonts\</span>''' folder into your system (right click on font file -> install);
+
<p>2. Install fonts from '''<code>idhud-master\resource\fonts\</code>''' folder into your system: {{key|RMB}} on font file → ''<code>Install</code>'');</p>
<p>Now run the game and enjoy.
+
<p>3. Run the game and enjoy.</p>
 
 
<br>
 
 
<br>
 
<br>
 
=Frequently Asked Questions=
 
=Frequently Asked Questions=
 
==How to turn on/off crosshairs/hitmarker==
 
==How to turn on/off crosshairs/hitmarker==
 
Used files:  
 
Used files:  
: <span style="color: black; background-color: #eeeeee">idhud-master\scripts\hudlayout.res </span>
+
: <code>idhud-master\scripts\hudcrosshairs.res</code>
: <span style="color: black; background-color: #eeeeee">idhud-master\resource\clientscheme.res </span>
+
: <code>idhud-master\scripts\hudanimations_tf - hit indicator.txt</code>
<br>The default file structure looks like:
+
 
 +
<p>
 +
<br>To enable the custom crosshair(s), open the '''<code>idhud-master\scripts\hudcrosshairs.res</code>''' file, then {{key|CTRL}}+{{key|F}} for needed number from table (see screenshot below) and change <code>"visible"</code> and/or <code>"visible_minmode"</code> parameter values to "1". Then you can calibrate crosshair position on the screen with <code>"xpos"</code>, <code>"ypos"</code> and <code>"wide"</code>, <code>"tall"</code> 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.
 
</p>
 
</p>
 +
<p>The default crosshair structure looks like:</p>
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 65: Line 75:
 
|-
 
|-
 
| "visible" || "0" || "1" to enable visibility, "0" to disable  
 
| "visible" || "0" || "1" to enable visibility, "0" to disable  
 +
|-
 +
| "visible_minmode" || "0" || "1" to enable visibility in minmode, "0" to disable
 
|-
 
|-
 
| "enabled" || "1" || <i>do not change</i>
 
| "enabled" || "1" || <i>do not change</i>
Line 70: Line 82:
 
| "xpos" || "c-25" || X axis from center of screen  
 
| "xpos" || "c-25" || X axis from center of screen  
 
|-
 
|-
| "ypos" || "c-26" || Y axis from center of screen  
+
| "ypos" || "c-25" || Y axis from center of screen  
 
|-
 
|-
 
| "zpos" || "2" || Z axis (use it when multiple xhairs enabled)
 
| "zpos" || "2" || Z axis (use it when multiple xhairs enabled)
Line 76: Line 88:
 
| "wide" || "50" || use it for more accurate X axis positioning if needed
 
| "wide" || "50" || use it for more accurate X axis positioning if needed
 
|-
 
|-
| "tall" || "49" || use it for more accurate Y 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 clientscheme.res)  
+
| "font" || "CrosshairsOutline16" || used font parameter (look for avalable fonts in '''<code>idhud-master\resource\clientscheme.res</code>''')
 
|-
 
|-
 
| "labelText" || "a" || <i>do not change</i>
 
| "labelText" || "a" || <i>do not change</i>
Line 84: Line 96:
 
| "textAlignment" || "center" || <i>do not change</i>
 
| "textAlignment" || "center" || <i>do not change</i>
 
|-
 
|-
| "fgcolor" || "255 255 255 255" || RGBA (Red, Green, Blue, Alpha) color (0 min, 255 max)
+
| "fgcolor" || "255 255 255 255" || RGBA (Red, Green, Blue, Alpha) color (0 min intensity, 255 max)
 
|-
 
|-
 
| } ||  ||  
 
| } ||  ||  
Line 97: Line 109:
 
| "visible" || "0" || now it will be disabled when cl_hud_minmode "0"
 
| "visible" || "0" || now it will be disabled when cl_hud_minmode "0"
 
|-
 
|-
| "visible_minmode" || "1" || you can use "_minmode" with any parameter you want
+
| "visible_minmode" || "1" || make it visible only in minmode. You can use <code>_minmode</code> with any parameter you want
 
|-
 
|-
 
| "fgcolor" || "255 255 0 255" || because red+green=yellow in RGB color model
 
| "fgcolor" || "255 255 0 255" || because red+green=yellow in RGB color model
 
|}
 
|}
  
<p>
+
<p><br>To enable the hitmarker (damage indicator), go to the '''<code>idhud-master\scripts\hudanimations_tf - hit indicator.txt</code>''' file.</p>
<br>To enable the custom crosshair(s), open '''<span style="color: black; background-color: #eeeeee">scripts\hudlayout.res</span>''', 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.
+
<gallery>
</p>
+
File:User Eniere IDHUD Crosshairs 01.png|Crosshairs included
<p>
+
File:User Eniere IDHUD-scr5.png|COD-style hitmarker and simple custom crosshair with outline
To enable the hitmarker (damage indicator), open '''<span style="color: black; background-color: #eeeeee">scripts\hudlayout.res</span>''', then CTRL+F for "3.1" and change "visible" and "visible_minmode" parameter values to "1".
+
</gallery>
</p>
 
 
 
 
==How to change damage position and visibility==
 
==How to change damage position and visibility==
 
Used files:  
 
Used files:  
: <span style="color: black; background-color: #eeeeee">idhud-master\resource\ui\huddamageaccount.res </span>
+
: <code>idhud-master\resource\ui\huddamageaccount.res</code>
: <span style="color: black; background-color: #eeeeee">idhud-master\advanced\resource\ui\huddamageaccount - default bold.res </span>
+
: <code>idhud-master\advanced\resource\ui\huddamageaccount - default bold.res</code>
: <span style="color: black; background-color: #eeeeee">idhud-master\advanced\resource\ui\huddamageaccount - m0res.res </span>
+
: <code>idhud-master\advanced\resource\ui\huddamageaccount - yellow.res</code>
: <span style="color: black; background-color: #eeeeee">idhud-master\advanced\resource\ui\huddamageaccount - yellow (by default).res </span>
 
  
 
<p>
 
<p>
<br>The default file structure looks like:
+
<br>The default HudDamageAccount structure looks like:
 
</p>
 
</p>
  
Line 181: Line 190:
 
| "visible" || "1" || visibility parameter  
 
| "visible" || "1" || visibility parameter  
 
|-
 
|-
| "enabled" || "1" ||  
+
| "enabled" || "1" || <i>do not change</i>
 
|-
 
|-
| "labelText" || "%metal%" ||  
+
| "labelText" || "%metal%" || <i>do not change</i>
 
|-
 
|-
| "textAlignment" || "left" ||  
+
| "textAlignment" || "left" || <i>do not change</i>
 
|-
 
|-
 
| } ||  ||  
 
| } ||  ||  
 
|}
 
|}
  
<p><br>To enable alternative damage layouts, just rename liked to '''<span style="color: black; background-color: #eeeeee">huddamageaccount.res</span>''' and put it in the '''<span style="color: black; background-color: #eeeeee">idhyd-master\resource\ui\</span>''' folder.</p>
+
<p><br>To use alternative damage layouts, just rename liked one to '''<code>huddamageaccount.res</code>''' and move it to the '''<code>idhud-master\resource\ui\</code>''' folder.</p>
 
+
<gallery>
==How to change Medic HUD layout==
+
File:User Eniere IDHUD-scr3.png|Yellow damage enabled by default
 +
File:User Eniere IDHUD Damage 02.jpg|Bold default damage numbers
 +
</gallery>
 +
==How to change Medic UI layout==
 
Used files:  
 
Used files:  
: <span style="color: black; background-color: #eeeeee">idhud-master\resource\ui\hudmediccharge.res </span>
+
: <code>idhud-master\resource\ui\hudmediccharge.res</code>
: <span style="color: black; background-color: #eeeeee">idhud-master\advanced\resource\ui\hudmediccharge - combined.res </span>
+
: <code>idhud-master\scripts\hudanimations_tf.txt</code>
: <span style="color: black; background-color: #eeeeee">idhud-master\advanced\resource\ui\hudmediccharge - large ubercharge value.res </span>
 
: <span style="color: black; background-color: #eeeeee">idhud-master\advanced\resource\ui\hudmediccharge - small ubercharge value under the crosshair (by default).res </span>
 
: <span style="color: black; background-color: #eeeeee">idhud-master\scripts\hudanimations_tf.txt </span>
 
: <span style="color: black; background-color: #eeeeee">idhud-master\advanced\scripts\hudanimations_tf - combined.txt </span>
 
: <span style="color: black; background-color: #eeeeee">idhud-master\advanced\scripts\hudanimations_tf - large ubercharge value.txt </span>
 
 
<br>
 
<br>
<p>So, what is this?</p>
+
<p>If you open '''<code>idhud-master\resource\ui\hudmediccharge.res</code>''', you can see the next text in the beginning:
<p>In the '''<span style="color: black; background-color: #eeeeee">hudmediccharge - small ubercharge value under the crosshair (by default).res</span>''' a small ubercharge value placed near the crosshair and default uberbar/value saved at their regular positions too. In the '''<span style="color: black; background-color: #eeeeee">hudmediccharge - large ubercharge value.res</span>''' 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.
+
<pre>// 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"
 +
...</pre>
 +
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!
 +
<br>
 +
<br>The next step — open the '''<code>idhud-master\scripts\hudanimations_tf.txt</code>''' 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.
 +
<gallery>
 +
File:User Eniere IDGUD Medic 02.jpg|Small uber value
 +
File:User Eniere IDGUD Medic 01.jpg|Combined uber layout
 +
</gallery>
 +
==How to enable Server Control Panel==
 +
Used files:
 +
: <code>idhud-master\resource\ui\mainmenuoverride.res</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  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>
 +
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
 +
</gallery>
  
<br>
 
<br>
 
 
=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)
 +
* 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 [http://i.imgur.com/vAwBJty.jpg 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 [http://i.imgur.com/Xak4JSg.png 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 [http://i.imgur.com/eZqzcFQ.png 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)
 +
* Updated to support [https://wiki.teamfortress.com/wiki/Meet_Your_Match_Update The Meet Your Match Update];
 +
* Slightly changed the MainMenu layout: [http://i.imgur.com/tAmPhwF.jpg Control Panel enabled], [http://i.imgur.com/S9vBg9H.jpg Control Panel disabled].
 +
 +
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 [https://wiki.teamfortress.com/wiki/December_17,_2015_Patch 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: http://i.imgur.com/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 3.0 (Jule 10, 2015)  
Line 221: Line 372:
 
* 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.
 
* 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)  
+
v 2.2 (October 31, 2014)  
 
* New TargetID system support. HP values on IDs now colored by default.  
 
* 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.  
 
* New scoreboard.res that have 6v6 and 13v13 layouts. Use cl_hud_minmode 1/0 to switch between.  
Line 229: Line 380:
 
* Another minor changes.
 
* Another minor changes.
  
v2.1 October 1, 2014  
+
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 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.  
 
* 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.
 
* 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  
+
v 2.0.12 (August 28, 2014)
 
* Updated with a new Valve's fixies for mvm scoreboard.
 
* Updated with a new Valve's fixies for mvm scoreboard.
  
v2.0.10-11 August 23, 2014  
+
v 2.0.10-11 (August 23, 2014)
 
* Minor changes and fixes;  
 
* Minor changes and fixes;  
 
* Alternative versions of HUD files moved to "alternative_files" folder (placed in \resource\ui and \scripts).
 
* Alternative versions of HUD files moved to "alternative_files" folder (placed in \resource\ui and \scripts).
  
v2.0.9 June 20, 2014  
+
v 2.0.9 (June 20, 2014)
 
* Reworked scoreboard;  
 
* Reworked scoreboard;  
 
* Support for multi-taunts;  
 
* Support for multi-taunts;  
Line 247: Line 398:
 
* Removed some unused files.
 
* Removed some unused files.
  
v2.0.8 June 1, 2014  
+
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;  
 
* 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;  
 
* Changed color scheme for RED/BLU model toggle added in the latest update;  
 
* Added multilanguage support for RED/BLU model toggle.
 
* Added multilanguage support for RED/BLU model toggle.
  
v2.0.7 May 31, 2014  
+
v 2.0.7 (May 31, 2014)
 
* RED/BLU model toggle for loadout customizing screen;  
 
* RED/BLU model toggle for loadout customizing screen;  
 
* some minor improvements.
 
* some minor improvements.
  
v2.0.6 April 18, 2014  
+
v 2.0.6 (April 18, 2014)
 
* reworked tournament spectator HUD;  
 
* reworked tournament spectator HUD;  
 
* combined medic charge layout now enabled by default;  
 
* combined medic charge layout now enabled by default;  
 
* some minor improvements.
 
* some minor improvements.
  
v2.0.5 March 30, 2014  
+
v 2.0.5 (March 30, 2014)
 
* crosshairs are combined into one file (thanks to skappa);  
 
* crosshairs are combined into one file (thanks to skappa);  
 
* removed black bars from spectator UI;  
 
* removed black bars from spectator UI;  
 
* some minor improvements.
 
* some minor improvements.
  
v2.0.4 March 26, 2014  
+
v 2.0.4 (March 26, 2014)
 
* new combined ubercharge layout;  
 
* new combined ubercharge layout;  
 
* some minor improvements.
 
* some minor improvements.
  
v2.0.3 March 24, 2014  
+
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;  
 
* 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.res now supports 16:10 and 4:3 aspect ratio;  
Line 279: Line 430:
 
* some minor improvements.
 
* some minor improvements.
  
v2.0.2 March 23, 2014  
+
v 2.0.2 (March 23, 2014)
 
* bugfixes.
 
* bugfixes.
  
v2.0.1 March 22, 2014  
+
v 2.0.1 (March 22, 2014)
 
* added 2 alternative damage layouts: bold yellow and m0re's (see pic descriptions);  
 
* added 2 alternative damage layouts: bold yellow and m0re's (see pic descriptions);  
 
* new alternative medic's ubercharge position and layout.
 
* new alternative medic's ubercharge position and layout.
  
v2.0.0 March 21, 2014 "General release"
+
v 2.0 (March 21, 2014) "General release"
 
}}
 
}}

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"