Left 4 Dead ... Centre Screen HUD ...

Discussions about getting games to run in a Multi-Mon setup.
User avatar
Paddy the Wak
Editors
Editors
Posts: 3436
Joined: 27 Jul 2004, 17:42

Left 4 Dead ... Centre Screen HUD ...

Post by Paddy the Wak »

Hi guys ...

Centre screen HUD for the Left 4 Dead ...
It is for 5040x1050 ...


EDIT : Latest 5040x1050 ... L4D 5040 x 1050 CenterScreen-HUD ... ... by A Small White Box

Backup your files
Place basechat.res in "C:Program Files (x86)Steamsteamappscommonleft 4 deadleft4deadresourceUI"
Place hudlayout.res in "C:Program Files (x86)Steamsteamappscommonleft 4 deadleft4deadscripts"

That is it ... enjoy ... :D

For 3840 x 1024 ...
Ok, here is the 3840x1024 hud.. should be around for a while now. Extract to

Steamsteamappscommonleft 4 deadleft4dead

L4D 3840 x 1024 CenterScreen-HUD

This sets pretty much everything you need to the center screen, unfortunately I could not figure out how to move kill notices (but those aren't too important anyway).


Unfortunately I can't find a way to change the size of the crosshair ...
I hope they give us back the console command that let you set a custom size for the crosshair.


--------------------------------------------------------------------------------
Here is what I changed such that if anyone wants to do the same for other resolutions they know what to change ...

To move the player (your) health info etc. ... in the ... HudLayout.res ... under the heading ... CHudLocalPlayerDisplay ...
I changed this line ... "xpos" "r125" ... to ... "xpos" "1400"

To move the other players info/health etc. (not you) ... in the same file ... under the heading ... CHudTeamDisplay
I changed the ... "xpos" "0" ... to ... "xpos" "780"

To move weapons/inventory part of the HUD ... in the same file ... under the heading ... HudWeaponSelection
I changed this line ... "xpos" "r98" ... to ... "xpos" "1440"
User avatar
MobsterOO7
Insiders
Insiders
Posts: 1055
Joined: 19 Sep 2006, 16:25
Location: Ruckersville, Virginia

Left 4 Dead ... Centre Screen HUD ...

Post by MobsterOO7 »

Thanks for including the stuff you had to change Paddy. Is this mod specific to the resolution or does it work for all triplehead? I'm guessing it's specific to resolutions because that is the way my CSS HUD mod was.
EVGA GeForce GTX 970 SC ACX 2.0 3.5GB | 3 X LG Flatron 24EA53VQ in Nvidia Surround | Optoma HD20
User avatar
Paddy the Wak
Editors
Editors
Posts: 3436
Joined: 27 Jul 2004, 17:42

Left 4 Dead ... Centre Screen HUD ...

Post by Paddy the Wak »

np ... 8)

I did say ...
It is for 5040x1050 ...

and ...
Here is what I changed such that if anyone wants to do the same for other resolutions they know what to change ...


:P
User avatar
Downtown1
Insiders
Insiders
Posts: 647
Joined: 22 Aug 2007, 19:00

Left 4 Dead ... Centre Screen HUD ...

Post by Downtown1 »

np ... 8)

I did say ...
It is for 5040x1050 ...

and ...
Here is what I changed such that if anyone wants to do the same for other resolutions they know what to change ...


:P


Ok, so we know what values to change.. but how did you figure out what the new values should be? Trial and error, or can you explain the math behind it?
User avatar
Paddy the Wak
Editors
Editors
Posts: 3436
Joined: 27 Jul 2004, 17:42

Left 4 Dead ... Centre Screen HUD ...

Post by Paddy the Wak »

Completely trial and error.

EDIT ...
An update to the game this morning put the HUD back to what it was before the changes.
I also found that the changes in the ... TeamDisplayHud.res ... were not necessary as the changes done there can be done in the ... HudLayout.res ... by modifying just one value.

I updated the first post to reflect this and you may need to re-download the file.
User avatar
Downtown1
Insiders
Insiders
Posts: 647
Joined: 22 Aug 2007, 19:00

Left 4 Dead ... Centre Screen HUD ...

Post by Downtown1 »

Completely trial and error.

EDIT ...
An update to the game this morning put the HUD back to what it was before the changes.
I also found that the changes in the ... TeamDisplayHud.res ... were not necessary as the changes done there can be done in the ... HudLayout.res ... by modifying just one value.

I updated the first post to reflect this and you may need to re-download the file.

Ah, ok.. I don't suppose you found a faster way of reloading the values in HudLayout.res without quitting and restarting the game either? Cause that is the park that irks me the most.
User avatar
MobsterOO7
Insiders
Insiders
Posts: 1055
Joined: 19 Sep 2006, 16:25
Location: Ruckersville, Virginia

Left 4 Dead ... Centre Screen HUD ...

Post by MobsterOO7 »

Just alt tab out of the game and start up a new one to reload the file. That's what I did when making the centered HUD for CSS.
EVGA GeForce GTX 970 SC ACX 2.0 3.5GB | 3 X LG Flatron 24EA53VQ in Nvidia Surround | Optoma HD20
User avatar
Downtown1
Insiders
Insiders
Posts: 647
Joined: 22 Aug 2007, 19:00

Left 4 Dead ... Centre Screen HUD ...

Post by Downtown1 »

Just alt tab out of the game and start up a new one to reload the file. That's what I did when making the centered HUD for CSS.


You mean start a new local game? Or rejoin a server? That's good to hear, I'll try to adjust this asap for 3840x1024 then.

I made a centered hud for PVKII 2.1 and that was really annoying since they don't use half of the things in the Hudlayout.res and plus I kept having to quit and re-run the game after every change.
mattsimis
Posts: 298
Joined: 19 Mar 2004, 15:19

Re: Left 4 Dead Demo ... Centre Screen HUD ...

Post by mattsimis »


That is it ... enjoy ... :D

Lets hope we can do the same for the full game ... :D



Seems to work for the full game too, thanks!
[GTX1080 - 4.48GHz 4690k - planning projector mayhem]
geniv2
Posts: 373
Joined: 05 Oct 2008, 05:49

Left 4 Dead ... Centre Screen HUD ...

Post by geniv2 »

how does the hud mod work for 4320x900
1050 don't work for my monitors :oops: :(
User avatar
Downtown1
Insiders
Insiders
Posts: 647
Joined: 22 Aug 2007, 19:00

Left 4 Dead ... Centre Screen HUD ...

Post by Downtown1 »

3840x1024 HUD here

Ok guys, I updated this to work with 3840x1024.. also I went ahead and moved the infected HUD to the right spots as well as the voice chat icons.


http://rapidshare.com/files/172159869/l4d-hud-3840x1024.zip

Extract to
Steamsteamappscommonleft 4 deadleft4dead



------

Unfortunately I tried but couldn't move the chat to the middle monitor (changing the settings related to Chat or MessageBox did nothing). There might still be a way to move the score panel from the left to the middle, but it's not very important IMO since you don't need to look at it often.

I think I also figured out how to modify these values for triplehead2go resolutions.. I got the voice placement correctly on my first try at least, so I'm assuming they are right.

For 3x1680x1050 you need to add 768 to every xpos value that you want to move to the middle
For 3x1280x1024 you need to add 600 to every xpos value that you want to move to the middle

If someone wants to try tweaking the original CFG that Paddy posted and test it for 3x1680x1050 with my suggestion of adding 768, then we can see if my hypothesis is correct.

------------

So what is my hypothesis?

The HudLayout.res file is made for 640x480. Whenever the resolutions changes then all values are automatically scaled according to this. But what if the aspect ratio changes?

I believe the values are locked to the height being 480, so for example if your resolution is 1280x1024 then to the hudlayout.res its like you have 600x480. If your resolution is 1024x768 then it's 640x480, if it's 1920x1200 then it's 768x480.

So basically that's how I got the 600 value and the 768 value is by getting the corresponding proportional resolution with a height of 480.
-Deckard-
Posts: 51
Joined: 12 Mar 2007, 00:15

Left 4 Dead ... Centre Screen HUD ...

Post by -Deckard- »

For 3840x1025 use these values.. search the heading to make life easier.
To move weapons/inventory part of the HUD
HudWeaponSelection
"xpos" "1100"

To move the player (your) health info etc.
CHudLocalPlayerDisplay
"xpos" "r725"

To move the other players info/health etc.
CHudTeamDisplay
"xpos" "600"

Noticed theses values have been changed too, not sure what they all do :?
HudVoiceStatus
"xpos" "r730"
HudChat
"xpos "610"
HudMessagePanel
"xpos" "720"
HudInfectedVOIP
"xpos" "r730"
HudIntensityGraph
"xpos" "675"
HudLeavingAreaWarning
"xpos" "610"
CItemPickupPanel
"xpos" "600"


Values taken from text file from Downtown1
User avatar
Downtown1
Insiders
Insiders
Posts: 647
Joined: 22 Aug 2007, 19:00

Left 4 Dead ... Centre Screen HUD ...

Post by Downtown1 »

I changed quite a few other values (like voice record location, infected health/charge bar location) so I would just recommend readers copy & paste from my earlier post then changing every value manually.

For those interested in which values are important: I have not noticed a discernable effect for changing HudChat, HudMessagePane, HudIntensityGraph, HudLeavingAreaWarning, or CItemPanel.

All the other values should be evident from the name.
User avatar
Mach1.9pants
Insiders
Insiders
Posts: 1512
Joined: 29 Jul 2007, 05:24
Location: NZ

Left 4 Dead ... Centre Screen HUD ...

Post by Mach1.9pants »

Thanks again Paddy. makes life a well of a lot easier. Had my first go last night with my clan, was good until my patchy 'net connection meant I kept loosing the server grrrrrrrrrrrrr
User avatar
Downtown1
Insiders
Insiders
Posts: 647
Joined: 22 Aug 2007, 19:00

Left 4 Dead ... Centre Screen HUD ...

Post by Downtown1 »

All right updated 3840x1024 HUD (or anyone using that aspect ratio)...

Things fixed:
all health bars, all charge bars, all weapon locations, all voice icon locations (both for survivor and infected), chat box and chat history

Things remaining to be fixed:
Death notices (most important IMO, changing HudDeathNotice in HudLayout.res does not work though), maybe but unlikely scoreboard panel (tried editing ScoreBoard.res but there are too many values to experiment with them all), lastly crosshair size (doesn't appear to be a HUD option unfortunately, maybe if we replace the crosshair texture with a smaller one?).

---------
http://rapidshare.com/files/172159869/l4d-hud-3840x1024.zip

I commented above every value that I changed (what it does etc) and it has the old value there too for reference.
----------

If anyone here wants to test 5040x1050 then I could probably make a version for that too, however I can't test it myself since I only have 3840x1024.

Just to repeat, one pretty much just needs to add 768 to every xpos value to fix it for WS, and 600 to fix it for non-WS.
tricky
Posts: 205
Joined: 29 Mar 2008, 17:19

Left 4 Dead ... Centre Screen HUD ...

Post by tricky »

I have Left 4 Dead Full Version working with SoftTH v1.07b, but 5040x1050 is a little choppy for me, would like to try 4320x900, can someone list the settings I would need to change? Thanks in advance, intense game, can be exhausting after a few hours...

__________________________________________________________

Core i7-8086K @ 5.0 Ghz | H60 | Nvidia GTX 980 Ti 6GB | Soundblaster Z | Asus Z370-A

16GB DDR4 | Win10 x64 | 3x27" Asus IPS @ 5760x1080 | Samsung 970 1TB NVMe
User avatar
Downtown1
Insiders
Insiders
Posts: 647
Joined: 22 Aug 2007, 19:00

Left 4 Dead ... Centre Screen HUD ...

Post by Downtown1 »

I guess nobody is playing this with 3840x1024 (or Infected with 5040x1050) or they would've said my pastes expired :roll:.

tricky, just change your resolution to what you want.. HUD for 5040x1050 will work since its the same aspect ratio.
User avatar
MobsterOO7
Insiders
Insiders
Posts: 1055
Joined: 19 Sep 2006, 16:25
Location: Ruckersville, Virginia

Left 4 Dead ... Centre Screen HUD ...

Post by MobsterOO7 »

I'm not going to bother trying to mod the HUD until updates slow down. They just happen too often.
EVGA GeForce GTX 970 SC ACX 2.0 3.5GB | 3 X LG Flatron 24EA53VQ in Nvidia Surround | Optoma HD20
User avatar
Downtown1
Insiders
Insiders
Posts: 647
Joined: 22 Aug 2007, 19:00

Left 4 Dead ... Centre Screen HUD ...

Post by Downtown1 »

What do you mean, they don't update the HUD in every update. I went past several updates with my custom HUD and it never got overwritten.
wazoo
Insiders
Insiders
Posts: 223
Joined: 08 Sep 2005, 23:22

Left 4 Dead ... Centre Screen HUD ...

Post by wazoo »

I guess nobody is playing this with 3840x1024 (or Infected with 5040x1050) or they would've said my pastes expired :roll:.

tricky, just change your resolution to what you want.. HUD for 5040x1050 will work since its the same aspect ratio.


I just purchased L4D and tried clicking on your links for 3840x1024 and got a 404 error.

Any chance you can post them here? I edited some, but would like to have access to your previous brilliant work.... :)

Thanks!

Wazoo
Gigabyte GTX 980 - SLI

i7-4770k @4ghz

16GB Ram

Planar SA2311W 3D Vision monitors (x3)

Windows 7 x64 Ultimate SP1
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests