Centered HUD for Team Fortress 2

Discussions about getting games to run in a Multi-Mon setup.
Post Reply
Daelon
Posts: 1
Joined: 01 Jul 2010, 05:13

Re: Centered HUD for Team Fortress 2

Post by Daelon »

Hey,

My combat text is off. I have a 5040*1050 setup, and the combat text always appears one screen to the right of where it needs to be.

The file for that part of the hud is as follows:

"Resource/UI/HudDamageAccount.res"
{
"CDamageAccountPanel"
{
"fieldName" "CDamageAccountPanel"
"text_x" ""
"text_y" "0"
"delta_item_end_y" "0"
"PositiveColor" "0 255 0 255"
"NegativeColor" "0 255 0 255"
"delta_lifetime" "2.0"
"delta_item_font" "HudFontMedium"
"delta_item_font_big" "HudFontBiG"
}
}

What do I edit to fix it?


I had this same problem. The file you listed isn't at fault, though.

The culprit is the CDamageAccountPanel entry in hudlayout.res. Change the value xpos to 0 and that should fix it.

Delphium, you might want to add CDamageAccountPanel to the list of exceptions for your automated script.
User avatar
Delphium
Administrators
Administrators
Posts: 1789
Joined: 27 Dec 2009, 14:27

Re: Centered HUD for Team Fortress 2

Post by Delphium »

Thanks you very much ! I'm using TF2_HUD_5760x1600_48-10.RTM0002.13_01_2010.rar. Is there any chance to have a RTM3 version of 48:10 ?

Thanks for your work !


My Motherboard blew up :(
When I eventually get my new pc working, ill take a butchers :)
Alternatively if you want them sooner, you could try manually extracting the needed files (take a look inside RTM3 for 48:9) from the "team fortress 2 client content.gcf" file?? its located somewhere between steam.exe and the tf2 folder, again as no pc I cant double check.


[quote]Hey,

My combat text is off. I have a 5040*1050 setup, and the combat text always appears one screen to the right of where it needs to be.

The file for that part of the hud is as follows:

"Resource/UI/HudDamageAccount.res"
{
"CDamageAccountPanel"
{
"fieldName" "CDamageAccountPanel"
"text_x" ""
"text_y" "0"
"delta_item_end_y" "0"
"PositiveColor" "0 255 0 255"
"NegativeColor" "0 255 0 255"
"delta_lifetime" "2.0"
"delta_item_font" "HudFontMedium"
"delta_item_font_big" "HudFontBiG"
}
}

What do I edit to fix it?


I had this same problem. The file you listed isn't at fault, though.

The culprit is the CDamageAccountPanel entry in hudlayout.res. Change the value xpos to 0 and that should fix it.

Delphium, you might want to add CDamageAccountPanel to the list of exceptions for your automated script.
Cheers, Ill look into it when I am back up and running :)
| Gigabyte X79S-UP5-WiFi Skt2011 | i7 4820k @4.4GHz Watercooled (Ivy Bridge-E) | Corsair Vengence 32GB @2133MHz 11-11-11-27 2T Quad-Channel (8x4GB) | AMD R9-Fury-X 4GB @1140/505MHz + EKWB Watercooled | 256GB Crucial MX200 SSD | 8x 1TB Samsung F3 SATA-II | Corsair 850W TX PSU | 3x Dell S2209W 22"wide TFT's (5760x1080res) | Logitech Z-5400 5.1ch speakers | Win7 Ultimate x64 |
GitDat
Posts: 131
Joined: 09 Feb 2010, 20:11

Re: Centered HUD for Team Fortress 2

Post by GitDat »

Has anyone figured out how to get the "You were Killed by Joe Shmoe" message that shows up on the right side when you get killed onto the center screen yet? Oh, and the Demoman's "Heads" counter also :)
Cooler Master Cosmos II | ASUS X99-Deluxe | Thermaltake Water 3.0 Extreme S | 5930k @ 4.5GHz | 32GB G.Skill Ripjaws V 3200MHz | SLI GTX 1080 Ti's | Samsung 960 Pro NVMe M.2 SSD | Corsair AX1500i | 3DMark Fire Strike Ultra - 13,780 | Windows 10 Pro 64-bit | Nvidia Surround® 3 x BenQ XL2735 | Samsung CHG90 Auxiliary Monitor
GitDat
Posts: 131
Joined: 09 Feb 2010, 20:11

Re: Centered HUD for Team Fortress 2

Post by GitDat »

Oh, and how do I force TF2 to launch at 5760 x 1080? It always defaults back to 1920 x 1080 and I have to reset it every time I start it :?
Cooler Master Cosmos II | ASUS X99-Deluxe | Thermaltake Water 3.0 Extreme S | 5930k @ 4.5GHz | 32GB G.Skill Ripjaws V 3200MHz | SLI GTX 1080 Ti's | Samsung 960 Pro NVMe M.2 SSD | Corsair AX1500i | 3DMark Fire Strike Ultra - 13,780 | Windows 10 Pro 64-bit | Nvidia Surround® 3 x BenQ XL2735 | Samsung CHG90 Auxiliary Monitor
User avatar
Delphium
Administrators
Administrators
Posts: 1789
Joined: 27 Dec 2009, 14:27

Re: Centered HUD for Team Fortress 2

Post by Delphium »

Has anyone figured out how to get the "You were Killed by Joe Shmoe" message that shows up on the right side when you get killed onto the center screen yet? Oh, and the Demoman's "Heads" counter also :)

I intend to look into it, I only just got my pc working in lat couple of days, and ive still a tonne of crap to install yet.

Oh, and how do I force TF2 to launch at 5760 x 1080? It always defaults back to 1920 x 1080 and I have to reset it every time I start it :?

append the shortcut with "-h 5760 -w 1080"

You need to make sure that your shortcut uses the steam.exe and not a steam url shortcut.
Should be something like this...
U:gamesSteamSteam.exe -applaunch 440 -w 5760 -h 1080
not a steam url like this...
steam://rungameid/440
| Gigabyte X79S-UP5-WiFi Skt2011 | i7 4820k @4.4GHz Watercooled (Ivy Bridge-E) | Corsair Vengence 32GB @2133MHz 11-11-11-27 2T Quad-Channel (8x4GB) | AMD R9-Fury-X 4GB @1140/505MHz + EKWB Watercooled | 256GB Crucial MX200 SSD | 8x 1TB Samsung F3 SATA-II | Corsair 850W TX PSU | 3x Dell S2209W 22"wide TFT's (5760x1080res) | Logitech Z-5400 5.1ch speakers | Win7 Ultimate x64 |
GitDat
Posts: 131
Joined: 09 Feb 2010, 20:11

Re: Centered HUD for Team Fortress 2

Post by GitDat »

Tried the shortcut but it still doesn't work :( I think it's just something with Nvidia Surround. If I don't have the desktop resolution set to 5760 x 1080 then TF2 defaults to 1920 x 1080. TF2 is the only game that does it too though, weird. Maybe it'll get fixed when a WHQL driver hits :rockout

Thanks for the help on this and the HUD!
Cooler Master Cosmos II | ASUS X99-Deluxe | Thermaltake Water 3.0 Extreme S | 5930k @ 4.5GHz | 32GB G.Skill Ripjaws V 3200MHz | SLI GTX 1080 Ti's | Samsung 960 Pro NVMe M.2 SSD | Corsair AX1500i | 3DMark Fire Strike Ultra - 13,780 | Windows 10 Pro 64-bit | Nvidia Surround® 3 x BenQ XL2735 | Samsung CHG90 Auxiliary Monitor
User avatar
Delphium
Administrators
Administrators
Posts: 1789
Joined: 27 Dec 2009, 14:27

Re: Centered HUD for Team Fortress 2

Post by Delphium »

Found the files required for sorting out the "head" count for demoman plus the scout and engineer bits.

"Resource/UI/HudItemEffectMeter_Demoman.res"
"Resource/UI/HudItemEffectMeter_Engineer.res"
"Resource/UI/HudItemEffectMeter_Scout.res"

EDIT1:
Also moving the class loadout and cancel buttons from far right to center with...
"Resource/UI/ClassMenu_blue.res"
"Resource/UI/ClassMenu_red.res"

EDIT2:
Also the cancel button in bottom right for when switching teams with...
"Resource/UI/TeamMenu.res"

EDIT3:
Also the main menu, shifting welcome message and recent achievments with...
"Resource/UI/MainMenuOverride.res"

EDIT4:
Map Info, moving "continue" button from far right to enter screen with...
"Resource/UI/MapInfoMenu.res"


I am wokring on this now and will upload packs a bit later. :)

Then I shall update the online editor later or tomorrow.
| Gigabyte X79S-UP5-WiFi Skt2011 | i7 4820k @4.4GHz Watercooled (Ivy Bridge-E) | Corsair Vengence 32GB @2133MHz 11-11-11-27 2T Quad-Channel (8x4GB) | AMD R9-Fury-X 4GB @1140/505MHz + EKWB Watercooled | 256GB Crucial MX200 SSD | 8x 1TB Samsung F3 SATA-II | Corsair 850W TX PSU | 3x Dell S2209W 22"wide TFT's (5760x1080res) | Logitech Z-5400 5.1ch speakers | Win7 Ultimate x64 |
GitDat
Posts: 131
Joined: 09 Feb 2010, 20:11

Re: Centered HUD for Team Fortress 2

Post by GitDat »

Sweet! :bowdown
Cooler Master Cosmos II | ASUS X99-Deluxe | Thermaltake Water 3.0 Extreme S | 5930k @ 4.5GHz | 32GB G.Skill Ripjaws V 3200MHz | SLI GTX 1080 Ti's | Samsung 960 Pro NVMe M.2 SSD | Corsair AX1500i | 3DMark Fire Strike Ultra - 13,780 | Windows 10 Pro 64-bit | Nvidia Surround® 3 x BenQ XL2735 | Samsung CHG90 Auxiliary Monitor
User avatar
Delphium
Administrators
Administrators
Posts: 1789
Joined: 27 Dec 2009, 14:27

Re: Centered HUD for Team Fortress 2

Post by Delphium »

TF2_HUD_5760x1080_48-9.RTM0004.15_07_2010.rar










Other aspect ratio hud fix's to come.
EDIT: I also need to ry find out how to sahift the "continue" button on the MOTD page.
| Gigabyte X79S-UP5-WiFi Skt2011 | i7 4820k @4.4GHz Watercooled (Ivy Bridge-E) | Corsair Vengence 32GB @2133MHz 11-11-11-27 2T Quad-Channel (8x4GB) | AMD R9-Fury-X 4GB @1140/505MHz + EKWB Watercooled | 256GB Crucial MX200 SSD | 8x 1TB Samsung F3 SATA-II | Corsair 850W TX PSU | 3x Dell S2209W 22"wide TFT's (5760x1080res) | Logitech Z-5400 5.1ch speakers | Win7 Ultimate x64 |
GitDat
Posts: 131
Joined: 09 Feb 2010, 20:11

Re: Centered HUD for Team Fortress 2

Post by GitDat »

Eggcellent Smithers :cheers hehe
Cooler Master Cosmos II | ASUS X99-Deluxe | Thermaltake Water 3.0 Extreme S | 5930k @ 4.5GHz | 32GB G.Skill Ripjaws V 3200MHz | SLI GTX 1080 Ti's | Samsung 960 Pro NVMe M.2 SSD | Corsair AX1500i | 3DMark Fire Strike Ultra - 13,780 | Windows 10 Pro 64-bit | Nvidia Surround® 3 x BenQ XL2735 | Samsung CHG90 Auxiliary Monitor
User avatar
Delphium
Administrators
Administrators
Posts: 1789
Joined: 27 Dec 2009, 14:27

Re: Centered HUD for Team Fortress 2

Post by Delphium »

Ok, I tweaked a few more things, the "press f5 for snapshot" and "you where killed by" objects moved to center screen.

If you wish to run a different aspect ratio or resolution with bezel correction, then take this base pack and run each of the .res files inside though my calc and hud editor.
This pack contains the basic unmodded .res files that are required, and only takes say 5mins at most to get all .res files configured to your display setup.

TF2_HUD_BASE_PACK.RTM0005.16_07_2010.rar

Alternatively, feel free to use one of the pre made packs below, these are created using the base pack + hud editor. :)

TF2_HUD_5760x1080_48-9.RTM0005.16_07_2010.rar
TF2_HUD_5040x1050_48-10.RTM0005.16_07_2010.rar


The other 2 common aspect ratio's to come after lunch :)
EDIT: - a long lunch later :P

TF2_HUD_3072x768_12-3.RTM0005.16_07_2010.rar
TF2_HUD_3840x1024_15-4.RTM0005.16_07_2010.rar
| Gigabyte X79S-UP5-WiFi Skt2011 | i7 4820k @4.4GHz Watercooled (Ivy Bridge-E) | Corsair Vengence 32GB @2133MHz 11-11-11-27 2T Quad-Channel (8x4GB) | AMD R9-Fury-X 4GB @1140/505MHz + EKWB Watercooled | 256GB Crucial MX200 SSD | 8x 1TB Samsung F3 SATA-II | Corsair 850W TX PSU | 3x Dell S2209W 22"wide TFT's (5760x1080res) | Logitech Z-5400 5.1ch speakers | Win7 Ultimate x64 |
GitDat
Posts: 131
Joined: 09 Feb 2010, 20:11

Re: Centered HUD for Team Fortress 2

Post by GitDat »

Nice! It'll be great to only have the side monitors for peripheral vision and not constantly have to look around in case you missed something that popped up :rockout
Cooler Master Cosmos II | ASUS X99-Deluxe | Thermaltake Water 3.0 Extreme S | 5930k @ 4.5GHz | 32GB G.Skill Ripjaws V 3200MHz | SLI GTX 1080 Ti's | Samsung 960 Pro NVMe M.2 SSD | Corsair AX1500i | 3DMark Fire Strike Ultra - 13,780 | Windows 10 Pro 64-bit | Nvidia Surround® 3 x BenQ XL2735 | Samsung CHG90 Auxiliary Monitor
User avatar
Delphium
Administrators
Administrators
Posts: 1789
Joined: 27 Dec 2009, 14:27

Re: Centered HUD for Team Fortress 2

Post by Delphium »

Nice! It'll be great to only have the side monitors for peripheral vision and not constantly have to look around in case you missed something that popped up :rockout

Indded, that is the aim :D
Finding out which files then values it is that need editing is quite time consuming, I spent all of yesterday day (during quiet periods of work) and evening working out the latest tweaks.

There is still a couple of objects that would be nice to get moved, such as the "continue" button on the MOTD page, and possibly a few other menu items like "loading" when connecting to server, mostly minnor things, but other than that I think I have mostly got everything else centered. :D

I have been unable to test tournament mode however as my clan do not have a server at present after letting it go due to finances not so long ago.

I provided the base pack this time so as to make it easier for those of folks that wish to make custom packs to fit bezel compensation. Personaly I avoid using bezel compensation when playing TF2, due to the fact that I want to see every pixel thats going on, and avoid being head shot by a sniper hiding behind a bezel that I did not spot hehe.
| Gigabyte X79S-UP5-WiFi Skt2011 | i7 4820k @4.4GHz Watercooled (Ivy Bridge-E) | Corsair Vengence 32GB @2133MHz 11-11-11-27 2T Quad-Channel (8x4GB) | AMD R9-Fury-X 4GB @1140/505MHz + EKWB Watercooled | 256GB Crucial MX200 SSD | 8x 1TB Samsung F3 SATA-II | Corsair 850W TX PSU | 3x Dell S2209W 22"wide TFT's (5760x1080res) | Logitech Z-5400 5.1ch speakers | Win7 Ultimate x64 |
GitDat
Posts: 131
Joined: 09 Feb 2010, 20:11

Re: Centered HUD for Team Fortress 2

Post by GitDat »

Uh oh, something happened. I can't hear my character's voice when I make him say something now and I can't see the text I type after I press Enter.
Cooler Master Cosmos II | ASUS X99-Deluxe | Thermaltake Water 3.0 Extreme S | 5930k @ 4.5GHz | 32GB G.Skill Ripjaws V 3200MHz | SLI GTX 1080 Ti's | Samsung 960 Pro NVMe M.2 SSD | Corsair AX1500i | 3DMark Fire Strike Ultra - 13,780 | Windows 10 Pro 64-bit | Nvidia Surround® 3 x BenQ XL2735 | Samsung CHG90 Auxiliary Monitor
PylPal
Posts: 1
Joined: 05 Sep 2010, 18:14

Re: Centered HUD for Team Fortress 2

Post by PylPal »

Hi there,

first, let me thank you for the HUD files, really great work! I have two question regarding them:

[list]
[*] First, the in-game menus (voicemenu for example, where you can call for MEDIC!, say Go!Go!Go! etc.), are still on the left screen. I wasn't able to find the setting for them. Does anyone know where to look?[/*:m]
[*] Second, the "Continue" Button in the server info screen (i.e. the first screen that comes up after connecting to a server, before the map screen) is still on the far right. Also here, I was not able to find a setting.[/*:m][/list:u]

Finally, the files above (at least the 5040 one) have the wrong values for x_minmode in several places. The normal x ones are fine.

Thanks,

Pyl
frag85
Posts: 77
Joined: 01 Jul 2010, 20:01

Re: Centered HUD for Team Fortress 2

Post by frag85 »

Has anyone else been having issues with the latest TF2 updates? Or is this in the same boat as L4D2? I can't seem to get the HUD to work (almost at all) when modifying files.
User avatar
Delphium
Administrators
Administrators
Posts: 1789
Joined: 27 Dec 2009, 14:27

Re: Centered HUD for Team Fortress 2

Post by Delphium »

[*] First, the in-game menus (voicemenu for example, where you can call for MEDIC!, say Go!Go!Go! etc.), are still on the left screen. I wasn't able to find the setting for them. Does anyone know where to look?
[*] Second, the "Continue" Button in the server info screen (i.e. the first screen that comes up after connecting to a server, before the map screen) is still on the far right. Also here, I was not able to find a setting.
Ive been looking into these, i spent a long time searching for the continue button on server info, as i managed to move the others.
However you can simply hit enter/return when on said page to skip to the next one.

Finally, the files above (at least the 5040 one) have the wrong values for x_minmode in several places. The normal x ones are fine.
Mini mode is not supported, at least not yet.

Has anyone else been having issues with the latest TF2 updates? Or is this in the same boat as L4D2? I can't seem to get the HUD to work (almost at all) when modifying files.
Works fine for me. Whats your surround resolution, the pack you are using and where have you installed them to?
| Gigabyte X79S-UP5-WiFi Skt2011 | i7 4820k @4.4GHz Watercooled (Ivy Bridge-E) | Corsair Vengence 32GB @2133MHz 11-11-11-27 2T Quad-Channel (8x4GB) | AMD R9-Fury-X 4GB @1140/505MHz + EKWB Watercooled | 256GB Crucial MX200 SSD | 8x 1TB Samsung F3 SATA-II | Corsair 850W TX PSU | 3x Dell S2209W 22"wide TFT's (5760x1080res) | Logitech Z-5400 5.1ch speakers | Win7 Ultimate x64 |
frag85
Posts: 77
Joined: 01 Jul 2010, 20:01

Re: Centered HUD for Team Fortress 2

Post by frag85 »

Error on my end. I think it was because there was a TF2 update while i was editing the files, so when i placed the edited files in the directory the hud was smashed into a small square in the corner of my left monitor. Re-edited the files and same thing again. After re-extracting and re-editing the files all is well.

As a side note, if you are cannibalizing the BaseChat.res file from L4D2, the following lines need to be deleted or you will get a black bar with the text 'Label' at the top of the text box.

Code: Select all



      KeyStateLabel
      {
         "ControlName"      "Label"
         "fieldname"         "KeyStateLabel"
         "visible"          "1"
         "enabled"          "1"
         "xpos"            "10"   [$WIN32]
         "xpos"            "42"   [$X360]
         "ypos"            "2"
         "wide"             "300"
         "tall"            "12"
         "textAlignment"      "north-west"
      }
   


Big Thanks for the support Delphium. :rockout
User avatar
Delphium
Administrators
Administrators
Posts: 1789
Joined: 27 Dec 2009, 14:27

Re: Centered HUD for Team Fortress 2

Post by Delphium »

Fixed "Killed by x" and the special item info.



To make your own custom HUD for bezel compensated resolutions use this base pack that contains the files you need to get started when using the HUD Editor.
TF2_HUD_BASE_PACK.RTM0006.13_10_2010.rar

Alternatively I have updated the pre made packs below.

TF2_HUD_5760x1080_48-9.RTM0006.13_10_2010.rar
TF2_HUD_5040x1050_48-10.RTM0006.13_10_2010.rar


TF2_HUD_3072x768_12-3.RTM0006.13_10_2010.rar
TF2_HUD_3840x1024_15-4.RTM0005.16_07_2010.rar
| Gigabyte X79S-UP5-WiFi Skt2011 | i7 4820k @4.4GHz Watercooled (Ivy Bridge-E) | Corsair Vengence 32GB @2133MHz 11-11-11-27 2T Quad-Channel (8x4GB) | AMD R9-Fury-X 4GB @1140/505MHz + EKWB Watercooled | 256GB Crucial MX200 SSD | 8x 1TB Samsung F3 SATA-II | Corsair 850W TX PSU | 3x Dell S2209W 22"wide TFT's (5760x1080res) | Logitech Z-5400 5.1ch speakers | Win7 Ultimate x64 |
kohan69
Posts: 48
Joined: 09 Feb 2006, 00:23

Re: Centered HUD for Team Fortress 2

Post by kohan69 »

I really appreciate what Delphium has started, but his modifications don't take account for minimum

hud and many of the elements that i'd like changed, so here is my version:
http://www.mediafire.com/?l6y2g4475uu6cs5
http://www.megaupload.com/?d=PO234PD8

-intro CONTINUE button moved to center screen (TextWindow.res)
-moved back/continue buttons closer together on next screen
-optimized classes hud elements for 5760x1200 resolution with minimum hud
-moved chat window to the bottom right of left screen
-expanded chat window height
-moved spy sapping/engineer elements to top right of left screen
-moved current achievement progress to top left of left screen
-modified kill history (HudDeathNotice) and moved it to top left of right screen


installation instructions:
extract to
SteamsteamappsYOURACCOUNTteam fortress 2tf
1. make sure resource and script folders get extracted here.
2. run tf2, go to options>keyboard advanced, check quick weapon switch
3. go to options multiplayer advanced and enable minimum hud

(steps 2 and 3 are not required, but i optimized the hud for that)

Feel free to add me on steam to play some TF2:
http://steamcommunity.com/id/kx123



still to do, unsure of location:
move talking ( ! ) bubble
move the voice commands (Z,X,C keys by default)
Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests