Left 4 Dead 2

Left 4 Dead 2

◖Centered Hud◗⠀v 1.8
30 Comments
⋁ɪʀᴜѕ™  [author] 22 Aug, 2023 @ 12:38pm 
First of all find HudWeaponSelection section in hudlayout.

"xpos" "c-73"
"ypos" "c-1"


Use it for moving all weapons panels.

In the same sector, the values that are located below are responsible for the movement of individual elements of the panel, their size, color, font etc.
If you want the icons of kits and pills be separate from the main and secondary weapons, you need go to the resource / ui / hud folder and find the localplayerpanel file. Open and find next sections "IconForSlot_Grenade" "IconForSlot_First_Aid" and "IconForSlot_Pills" Then try to change their X and Y positions.
Concussion Nade is OP. Pls Use 21 Aug, 2023 @ 4:57pm 
Thank you for allowing me to study your mod content. I managed to do some part on my own. However, I cannot make the ammo count for primary and 2ndary weapon move to centre close to the crosshair like you did. This is the best part I loved when using your mod. I tried tweaking some numbers in on huddisplaylayout.res to make the ammo count come the centre like your hud. Unfortunately, the medkit, grenades and pill icons follow along into centre. Now, I'm out of idea on how do I make those medkit, grenade and pill icons stay out of center not following the primary and 2ndary ammo count icons that happen to be at the center?

Please help out a new modder like me. Really wish to hear more from you. Thanks
⋁ɪʀᴜѕ™  [author] 18 Aug, 2023 @ 12:50pm 
It was continuous experiments and numerous attempts to do something. I did not look for any manuals, I tried everything myself.
If you want to do something similar you can unzip this mod and look at the files inside and analyze them.
Concussion Nade is OP. Pls Use 17 Aug, 2023 @ 8:16am 
Hey there. Great work you make here. I enjoyed using your mod. However, I came to the decision to make HUD on my own. Is there any ways or reference I could learn from? Thank you
⋁ɪʀᴜѕ™  [author] 31 Jan, 2023 @ 10:06am 
Конечно, конфликтует.
Hitsuga 31 Jan, 2023 @ 7:26am 
О, наконец-то нашёл. А он не конфликтует с SHISM HUD модом? Выглядит здороро!
⋁ɪʀᴜѕ™  [author] 25 Apr, 2022 @ 5:37am 
Я не против, конечно.
mdksh 25 Apr, 2022 @ 5:34am 
Спасибо за ответ я так и предполагал но не был до конца уверен, этот худ очень удобный только у заразы не было каких либо изменений но это мелочь, надеюсь ты не будешь против если я залью в приват этот худ с моим прицелом для себя :amongusbird:
⋁ɪʀᴜѕ™  [author] 25 Apr, 2022 @ 4:26am 
Данные для нового прицела вносятся в файл hudlayout, в котором есть множество опций касаемо тех самых элементов. Получается, что просто заменяя файл, сбиваются положение, размеры, цвет и т.д. других элементов. Тут нужно делать именно так, как ты и сделал - распаковывать оба аддона и совмещать.
mdksh 24 Apr, 2022 @ 3:00pm 
Virus, не знаешь почему разные HUD элементы с разных аддонов не могут быть совместимы, даже если там из отредактированных элементов а точнее новых, это прицел?
1 из моих аддонов в виде кастомного прицела + твоего HUD-а, не совместимы, но распоковав твой худ + свой и просто обьединив материалы + чуть отредактировав hudlayout то все работает.
₦st₹eyട 28 Jan, 2022 @ 5:56am 
Очень приятный худ, спасибо )
⋁ɪʀᴜѕ™  [author] 22 Dec, 2021 @ 2:53am 
Try just copy HEAD block with all values from teammatepanet to teammatepanel_incap. It must work.
Tarius [True Aftermath Stories] 15 Dec, 2021 @ 3:28pm 
May you show me exactly how you did it, because I have the head part, but it never showed up for me. Am I missing something?
⋁ɪʀᴜѕ™  [author] 15 Dec, 2021 @ 2:39pm 
Just added "Head" block to teammatepanel_incapped file.
Tarius [True Aftermath Stories] 15 Dec, 2021 @ 11:31am 
One more question, how were you able to keep the photo of the player when incapped?
Don Ludxote 20 Sep, 2021 @ 10:20pm 
Why is everything blue oh god
Innocent 20 Sep, 2021 @ 12:21pm 
nice ;)
⋁ɪʀᴜѕ™  [author] 18 Sep, 2021 @ 1:05am 
File which responsible for all elements too, located scripts/hudlayout . Find CHudTeamDisplay and try to move ypos value and then change it on teamdisplayhud.
Tarius [True Aftermath Stories] 18 Sep, 2021 @ 12:53am 
i tried the normal, c, and l, (I only moved the y value)
⋁ɪʀᴜѕ™  [author] 18 Sep, 2021 @ 12:51am 
What value do you use?
Tarius [True Aftermath Stories] 17 Sep, 2021 @ 11:11pm 
when i moved it up it went invisible, did i do something wrong?
⋁ɪʀᴜѕ™  [author] 17 Sep, 2021 @ 10:24pm 
Cant see what???
R3D154 17 Sep, 2021 @ 4:03pm 
cant see

⋁ɪʀᴜѕ™  [author] 15 Sep, 2021 @ 11:27pm 
Health bars do you mean the entire panel with information about the character, not just the health bar? if so, you need to open a teamdisplayhud file in that directory and adjust the position of panels. Because the parameters in teammatepanel responsible for individual panel elements, but in teamdisplayhud can change whole panels position.
Tarius [True Aftermath Stories] 15 Sep, 2021 @ 10:53pm 
sorry for asking too many questions, i'm not sure if you saw it before after i asked how to move the health bars. is it possible to move one in the top left, top right, bottom left, and bottom right?
Tarius [True Aftermath Stories] 15 Sep, 2021 @ 10:01pm 
Thanks. You will be credited for your assistance.
⋁ɪʀᴜѕ™  [author] 15 Sep, 2021 @ 9:57pm 
Open pak01_dir and go to folder resource / ui / hud and find teammatepanel and teammatepanel_incap , thats it.
Tarius [True Aftermath Stories] 15 Sep, 2021 @ 9:33pm 
ok which files should i mess with to test it out?
⋁ɪʀᴜѕ™  [author] 15 Sep, 2021 @ 2:42am 
Change xpos and ypos values by typing, for example: r50 from right screen side, l50 from left and c50 from center.
Tarius [True Aftermath Stories] 15 Sep, 2021 @ 1:47am 
How did you move the health bars? I'm trying to move one for each corner. I like this as well.