Left 4 Dead 2

Left 4 Dead 2

◖Centered Hud◗⠀v 1.8
30 comentarii
⋁ɪʀᴜѕ™  [autor] 22 aug. 2023 la 12:38 
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 la 16:57 
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
⋁ɪʀᴜѕ™  [autor] 18 aug. 2023 la 12:50 
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 la 8:16 
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
⋁ɪʀᴜѕ™  [autor] 31 ian. 2023 la 10:06 
Конечно, конфликтует.
Hitsuga 31 ian. 2023 la 7:26 
О, наконец-то нашёл. А он не конфликтует с SHISM HUD модом? Выглядит здороро!
⋁ɪʀᴜѕ™  [autor] 25 apr. 2022 la 5:37 
Я не против, конечно.
mdksh 25 apr. 2022 la 5:34 
Спасибо за ответ я так и предполагал но не был до конца уверен, этот худ очень удобный только у заразы не было каких либо изменений но это мелочь, надеюсь ты не будешь против если я залью в приват этот худ с моим прицелом для себя :amongusbird:
⋁ɪʀᴜѕ™  [autor] 25 apr. 2022 la 4:26 
Данные для нового прицела вносятся в файл hudlayout, в котором есть множество опций касаемо тех самых элементов. Получается, что просто заменяя файл, сбиваются положение, размеры, цвет и т.д. других элементов. Тут нужно делать именно так, как ты и сделал - распаковывать оба аддона и совмещать.
mdksh 24 apr. 2022 la 15:00 
Virus, не знаешь почему разные HUD элементы с разных аддонов не могут быть совместимы, даже если там из отредактированных элементов а точнее новых, это прицел?
1 из моих аддонов в виде кастомного прицела + твоего HUD-а, не совместимы, но распоковав твой худ + свой и просто обьединив материалы + чуть отредактировав hudlayout то все работает.
₦st₹eyട 28 ian. 2022 la 5:56 
Очень приятный худ, спасибо )
⋁ɪʀᴜѕ™  [autor] 22 dec. 2021 la 2:53 
Try just copy HEAD block with all values from teammatepanet to teammatepanel_incap. It must work.
Tarius [True Aftermath Stories] 15 dec. 2021 la 15:28 
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?
⋁ɪʀᴜѕ™  [autor] 15 dec. 2021 la 14:39 
Just added "Head" block to teammatepanel_incapped file.
Tarius [True Aftermath Stories] 15 dec. 2021 la 11:31 
One more question, how were you able to keep the photo of the player when incapped?
Don Ludteto 20 sept. 2021 la 22:20 
Why is everything blue oh god
Innocent 20 sept. 2021 la 12:21 
nice ;)
⋁ɪʀᴜѕ™  [autor] 18 sept. 2021 la 1:05 
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 sept. 2021 la 0:53 
i tried the normal, c, and l, (I only moved the y value)
⋁ɪʀᴜѕ™  [autor] 18 sept. 2021 la 0:51 
What value do you use?
Tarius [True Aftermath Stories] 17 sept. 2021 la 23:11 
when i moved it up it went invisible, did i do something wrong?
⋁ɪʀᴜѕ™  [autor] 17 sept. 2021 la 22:24 
Cant see what???
R3D154 17 sept. 2021 la 16:03 
cant see

⋁ɪʀᴜѕ™  [autor] 15 sept. 2021 la 23:27 
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 sept. 2021 la 22:53 
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 sept. 2021 la 22:01 
Thanks. You will be credited for your assistance.
⋁ɪʀᴜѕ™  [autor] 15 sept. 2021 la 21:57 
Open pak01_dir and go to folder resource / ui / hud and find teammatepanel and teammatepanel_incap , thats it.
Tarius [True Aftermath Stories] 15 sept. 2021 la 21:33 
ok which files should i mess with to test it out?
⋁ɪʀᴜѕ™  [autor] 15 sept. 2021 la 2:42 
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 sept. 2021 la 1:47 
How did you move the health bars? I'm trying to move one for each corner. I like this as well.