Centered HUD for Team Fortress 2

Discussions about getting games to run in a Multi-Mon setup.
User avatar
Delphium
Administrators
Administrators
Posts: 1789
Joined: 27 Dec 2009, 14:27

Re: Centered HUD for Team Fortress 2

Post by Delphium »

Got a screenie?

Which items did you want/need changing but found was not?
There where some items that I could not find the setting for in order to change, such as the continue button you speak of, which will now be added to the next update.
Things I am still trying to move are the loading map dialog which I have found that adjusting the xpos value does nothing as the dialog is always in the same location, but you can adjust its width and height no problem, strange one, I think it must be hard coded into the bottom right corner.
The other thing is to try and move the voice command / vote menus that are on the far left, again which appear to be hard coded?
| 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 found where the continue is, its in TextWindow.res
-where are the chat bubble and who is talking located?
i saw that u moved those elements, i couldnt figure out which they were
-im not sure what u mean by the loading map dialogue
-im not sure on the voice/radio commands (ZXC) are but im 99% certain they're not hard coded

heres my screenie:
http://imgur.com/x4dwq.jpg
User avatar
Cullanna
Posts: 15
Joined: 20 Oct 2010, 01:14

Re: Centered HUD for Team Fortress 2

Post by Cullanna »

I've run the files from the base pack you provided throught your calculator to make the hud for my custom res of 6000x1080.

It all works perfectly apart from one thing. the weapon selection is still on the far right.
Im not 100% sure, but was this meant to be moved or not? Because i still find it frustrating trying to change weapons because i can't see which one i will be switching to.
If i have missed somthing or done somthing wrong then i would apprecition some instruction on how to fix it.
If this element was not intended to be moved, then forgive me for asking and making a nusance.
User avatar
Delphium
Administrators
Administrators
Posts: 1789
Joined: 27 Dec 2009, 14:27

Re: Centered HUD for Team Fortress 2

Post by Delphium »

Added TextWindow.res fix for the calc (need to send files to Ibrin to update the calc).
Still need to create some updated resolution packs that include the TextWindow.res file.

Cullanna, The weapon selection is indeed ment to be moved, check your hudlayout.res file for "HudWeaponSelection".

When using the provided base pack with calc the item should get displayed as "HudWeaponSelection xpos = r0"

For you, this items value should be r905 for a 6000x1080 display.
| 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 |
User avatar
Cullanna
Posts: 15
Joined: 20 Oct 2010, 01:14

Re: Centered HUD for Team Fortress 2

Post by Cullanna »

Hi Delphium

I checked my hudlayout.res file, and found the HudWeaponSelection. the xpos value is at 905.

The following is taken stright from the hudlayout.res file

Code: Select all

HudWeaponSelection

      {
         "fieldName" "HudWeaponSelection"
         "xpos"   "905"
         "wide"   "f0"
         "ypos"    "0"
         "tall"   "480"
         "RightMargin" "0"
         "RightMargin_hidef" "32"
         "RightMargin_lodef" "38"
         "visible" "1"
         "enabled" "1"
         "SmallBoxWide" "72"
         "SmallBoxTall" "54"
         "PlusStyleBoxWide" "90"
         "PlusStyleBoxTall" "63"
         "PlusStyleExpandSelected"   "0.3"
         "LargeBoxWide" "110"
         "LargeBoxTall" "77"
         "BoxGap" "4"   [$WIN32]
         "BoxGap" "4"   [$X360]
         "SelectionNumberXPos" "12"
         "SelectionNumberYPos" "4"
         "IconXPos" "8"
         "IconYPos" "0"
         "TextYPos" "70"      [$WIN32]
         "TextYPos" "65"      [$X360]
         "ErrorYPos" "48"
         "TextColor" "SelectionTextFg"
         "MaxSlots"   "6"
         "PlaySelectSounds"   "1"
         "Alpha" "220"
         "SelectionAlpha" "220"
         "BoxColor" "0 0 0 220"
         "SelectedBoxClor" "0 0 0 220"
         "SelectionNumberFg"   "200 187 161 255"
         "NumberFont" "HudSelectionText"
      }   


despite this value been 905, my weapon selection is still on the far right of my screen. any ideas what could be wrong?
User avatar
Delphium
Administrators
Administrators
Posts: 1789
Joined: 27 Dec 2009, 14:27

Re: Centered HUD for Team Fortress 2

Post by Delphium »

Yes,
For you, this items value should be r905 for a 6000x1080 display.

Try add the r before the 905. :)

If you are using the provided basepack then I may need to check and update it to contain the r.
| 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 |
User avatar
Cullanna
Posts: 15
Joined: 20 Oct 2010, 01:14

Re: Centered HUD for Team Fortress 2

Post by Cullanna »

Sorry i didnt see that r before the 905. I editied the Hudlayout.res file and changed the value to r905, however it didnt make any difference.

Yes i am using the base pack you provided to make the centered hud

Quick part of my hudlayout.res file:

Code: Select all

HudWeaponSelection

      {
         "fieldName" "HudWeaponSelection"
         "xpos"   "r905"
         "wide"   "f0"
         "ypos"    "0"
         "tall"   "480"
         "RightMargin" "0"
         "RightMargin_hidef" "32"
         "RightMargin_lodef" "38"
         "visible" "1"
         "enabled" "1"
         "SmallBoxWide" "72"
         "SmallBoxTall" "54"
         "PlusStyleBoxWide" "90"
         "PlusStyleBoxTall" "63"
         "PlusStyleExpandSelected"   "0.3"
         "LargeBoxWide" "110"
         "LargeBoxTall" "77"
         "BoxGap" "4"   [$WIN32]
         "BoxGap" "4"   [$X360]
         "SelectionNumberXPos" "12"
         "SelectionNumberYPos" "4"
         "IconXPos" "8"
         "IconYPos" "0"
         "TextYPos" "70"      [$WIN32]
         "TextYPos" "65"      [$X360]
         "ErrorYPos" "48"
         "TextColor" "SelectionTextFg"
         "MaxSlots"   "6"
         "PlaySelectSounds"   "1"
         "Alpha" "220"
         "SelectionAlpha" "220"
         "BoxColor" "0 0 0 220"
         "SelectedBoxClor" "0 0 0 220"
         "SelectionNumberFg"   "200 187 161 255"
         "NumberFont" "HudSelectionText"
      }   
mathieu733
Posts: 1
Joined: 19 Nov 2010, 03:49

Re: Centered HUD for Team Fortress 2

Post by mathieu733 »

How do you install your fix.

I have a Triple monitor with 5760*1080 resolution. I download your fix and after that which file I have to extract?
GitDat
Posts: 131
Joined: 09 Feb 2010, 20:11

Re: Centered HUD for Team Fortress 2

Post by GitDat »

I haven't played TF2 in a couple of months. Everything was centered with Delphium's fixes the last I played it. Looks like TF2 has had some updates (as usual) and some things went back to the side monitors. Any links to the latest 5760 x 1080 fix? :)

Edit: Never mind. The Oct 13th post stuff is still good :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
DFischer
Posts: 50
Joined: 24 Dec 2010, 08:14

Re: Centered HUD for Team Fortress 2

Post by DFischer »

Can anyone provide me with a centered hud for 6048x1200? I can't seem to figure out how to do this manually.
User avatar
Delphium
Administrators
Administrators
Posts: 1789
Joined: 27 Dec 2009, 14:27

Re: Centered HUD for Team Fortress 2

Post by Delphium »

Can anyone provide me with a centered hud for 6048x1200? I can't seem to figure out how to do this manually.

1. Download this (link removed)
2. Goto http://www.widescreengamingforum.com/fovcalc.php and enter in your monitor config.
3. Extract the .res files found inside the TF2_HUD_BASE_PACK linked above and upload each of these files to the Source Engine HUD editor.
4. For each .res file uploaded, select the correct profile from the menu.
5. Submit the .res file for editing.
6. Download the fixed .res file and place within your TF2 folder.

Example:
Steamsteamappsteam fortress 2tfscripts
Steamsteamappsteam fortress 2tfresourceui
| 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 |
maister
Posts: 2
Joined: 25 Feb 2011, 20:02

Re: Centered HUD for Team Fortress 2

Post by maister »

Hey!

First, I would like to thank you for the HUD-files, nice work.
But, I have a problem.

I'm using the TF2_HUD_5760x1080_48-9.RTM0006.13_10_2010.rar one.
I've recently become premium member, and you get a "Distance to nearest living enemy"-info.
Unfortunely, it's way to the left, on the left monitor. I haven't tried the FOVCALC, maybe it's included there?

Here's a screenshot of it:

User avatar
Delphium
Administrators
Administrators
Posts: 1789
Joined: 27 Dec 2009, 14:27

Re: Centered HUD for Team Fortress 2

Post by Delphium »

Looks like this is a custom server and announcement, I am not sure what item that would fall under and I have no way of testing as I dont have a premium account, although I do play on saigns.de and nightteam.com.

This item is not included in the fovcalc tool unfortunately as I do not know what the name of this element so I have not been able to add it to the profiles.

I suspect that the element is not in the main hudlayout.res file and instead will likely be 1 of the many resource/ui/ .res files.
Finding out what file and then which element inside of each file that needs to be adjusted is a bit of searching with a lot of trial and error, which takes a bit of time.

I dont mind taking some time to investigate but I do not have any way of testing it as I am not really willing to pay for a premium account for the ammount I actually get to play TF2 these days which is a couple of hours a fortnight.

I will search the files for a few likely elements but it will be a few days from now as I am extremely busy with other things sadly.
| 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 |
DFischer
Posts: 50
Joined: 24 Dec 2010, 08:14

Re: Centered HUD for Team Fortress 2

Post by DFischer »

[quote]Can anyone provide me with a centered hud for 6048x1200? I can't seem to figure out how to do this manually.

1. Download this (link removed)
2. Goto http://www.widescreengamingforum.com/fovcalc.php and enter in your monitor config.
3. Extract the .res files found inside the TF2_HUD_BASE_PACK linked above and upload each of these files to the Source Engine HUD editor.
4. For each .res file uploaded, select the correct profile from the menu.
5. Submit the .res file for editing.
6. Download the fixed .res file and place within your TF2 folder.

Example:
Steamsteamappsteam fortress 2tfscripts
Steamsteamappsteam fortress 2tfresourceui





Thanks so much for a lengthy reply.
maister
Posts: 2
Joined: 25 Feb 2011, 20:02

Re: Centered HUD for Team Fortress 2

Post by maister »

Looks like this is a custom server and announcement, I am not sure what item that would fall under and I have no way of testing as I dont have a premium account, although I do play on saigns.de and nightteam.com.

This item is not included in the fovcalc tool unfortunately as I do not know what the name of this element so I have not been able to add it to the profiles.

I suspect that the element is not in the main hudlayout.res file and instead will likely be 1 of the many resource/ui/ .res files.
Finding out what file and then which element inside of each file that needs to be adjusted is a bit of searching with a lot of trial and error, which takes a bit of time.

I dont mind taking some time to investigate but I do not have any way of testing it as I am not really willing to pay for a premium account for the ammount I actually get to play TF2 these days which is a couple of hours a fortnight.

I will search the files for a few likely elements but it will be a few days from now as I am extremely busy with other things sadly.


Thanks for looking into it.
Btw, you can test it yourself, for a short while. Because they have so you can try the premium features for 15min each day. All you have to do is type premium. Atleast on the server I mostly play, and tried, which is the "2fort only" one.
thepotheadrabit
Posts: 8
Joined: 25 Mar 2011, 03:24

Re: Centered HUD for Team Fortress 2

Post by thepotheadrabit »

new here, just wondering about the charge bar of certain items, seems to appear off to the far right still. i did all the stuff mentioned in this thread, still the same.

i've noticed though that it seems there is no line for those particular items? is there some site i can check the proper name of all the items?
User avatar
Delphium
Administrators
Administrators
Posts: 1789
Joined: 27 Dec 2009, 14:27

Re: Centered HUD for Team Fortress 2

Post by Delphium »

Which items do you mean?
I have accounted for the charge bars in the packs and the editing tool.

As you can see form these screenshots they have been moved.
http://www.widescreengamingforum.com/forum/viewtopic.php?p=180021#p180021

Please try take a sdcreen shot of your setup and get back to us to see if we can help you. :)
| 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 |
thepotheadrabit
Posts: 8
Joined: 25 Mar 2011, 03:24

Re: Centered HUD for Team Fortress 2

Post by thepotheadrabit »











i mainly use minimal mode..

so it's all the cloaking watches, all of the soldiers trumpet/etc buffs, all of the sandwiches, the sandman, and the jarate.
User avatar
Delphium
Administrators
Administrators
Posts: 1789
Joined: 27 Dec 2009, 14:27

Re: Centered HUD for Team Fortress 2

Post by Delphium »

i mainly use minimal mode.

Ahhh, mini mode, unfortunately mini mode is not currently supported by the hud editor, sorry.
It is on the list of things to do however!

If you really need mini mode, I would take the hud editor fixed .res files you have made, and use something like "winmerge" to compare them to the orignals in the base pack.
Any changes to the fixed files will be highlighted, you can then try going through and find each items mini mode xpos values and increment them by whatever value the hud calc gives you for example: 853 for a 5760x1080 res.

Good luck!
| 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 |
thepotheadrabit
Posts: 8
Joined: 25 Mar 2011, 03:24

Re: Centered HUD for Team Fortress 2

Post by thepotheadrabit »

ahh thank you thank you thank you. fixed. but now i think cause of the update, i can't get the head/revenge counter to work. =(

w/e maybe it'll get fixed, counting head etc. isn't that useful to me anywho.

again thank you for your help.
Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests