Upvote Upvoted 331 Downvote Downvoted
1 ⋅⋅ 224 225 226 227 228 229 230 ⋅⋅ 234
HUD editing: short questions, quick answers
posted in Customization
6781
#6781
4 Frags +
troywhy does my health and ammo look much bigger than they should be and how do i make it smaller?

https://imgur.com/a/SMyW4kH

Usually happens when you use a resolution smaller than native

Change "font" values of the files show below. Make sure to also change shadow and reserve ammo values (not shown). Fonts usually go in increments of 2 and hud_reloadscheme in console to see changes after saving.

https://cdn.discordapp.com/attachments/887402056900558890/905977770365059122/unknown.png

[quote=troy]why does my health and ammo look much bigger than they should be and how do i make it smaller?


https://imgur.com/a/SMyW4kH[/quote]
Usually happens when you use a resolution smaller than native

Change "font" values of the files show below. Make sure to also change shadow and reserve ammo values (not shown). Fonts usually go in increments of 2 and hud_reloadscheme in console to see changes after saving.

[img]https://cdn.discordapp.com/attachments/887402056900558890/905977770365059122/unknown.png[/img]
6782
#6782
Fireside Casts
0 Frags +

https://gyazo.com/ea4d88993454bd804da322688794fd77

how can i invert red team in the spectator hud?

https://gyazo.com/ea4d88993454bd804da322688794fd77

how can i invert red team in the spectator hud?
6783
#6783
4 Frags +
ninahttps://gyazo.com/ea4d88993454bd804da322688794fd77

how can i invert red team in the spectator hud?

You can take any HUD that does it like flamehud and learn how to do it by counter engineering it, shouldn't be too hard.
Thats what it actually should look like plus a short explanation (did it in literally 2 minutes so it kinda sucks lol)

https://i.imgur.com/eZIQfqd.png

[quote=nina]https://gyazo.com/ea4d88993454bd804da322688794fd77

how can i invert red team in the spectator hud?[/quote]

You can take any HUD that does it like flamehud and learn how to do it by counter engineering it, shouldn't be too hard.
Thats what it actually should look like plus a short explanation (did it in literally 2 minutes so it kinda sucks lol) [img]https://i.imgur.com/eZIQfqd.png[/img]
6784
#6784
0 Frags +

How do I remove the 2D player class image from my hud but still keep the option of having the 3D player model visible? I know that I can toggle it, but if I set the visible value in hudplayerclass.res to 0 it also removes the 3D player model.

How do I remove the 2D player class image from my hud but still keep the option of having the 3D player model visible? I know that I can toggle it, but if I set the visible value in hudplayerclass.res to 0 it also removes the 3D player model.
6785
#6785
0 Frags +

Hi, <3
Where can I found the source files for contracter panel?
(So I recreate contracter panel as side menu panel?)

Hi, <3
Where can I found the source files for contracter panel?
(So I recreate contracter panel as side menu panel?)
6786
#6786
Fireside Casts
0 Frags +

ty hypnotize

follow-up: what determines if the custom class icons (screenshot) show up or not. they're the same ones used in the match hud, but they seem to only show up some of the time. that said, it doesn't appear to be sv_pure dependent and i can't think of another reason that they only show up sometimes

ty hypnotize

follow-up: what determines if the custom class icons ([url=https://gyazo.com/ea4d88993454bd804da322688794fd77]screenshot[/url]) show up or not. they're the same ones used in the match hud, but they seem to only show up some of the time. that said, it doesn't appear to be sv_pure dependent and i can't think of another reason that they only show up sometimes
6787
#6787
3 Frags +
shinsoHow do I remove the 2D player class image from my hud but still keep the option of having the 3D player model visible? I know that I can toggle it, but if I set the visible value in hudplayerclass.res to 0 it also removes the 3D player model.

Don't recall if there's a more straightforward way to achieve this but you can add a main menu button with "command" "engine toggle cl_hud_minmode; engine toggle cl_hud_playerclass_use_playermodel" and add to HUDPlayerClass.res => classmodelpanel => "visible" "0" "visible_minmode" "1" (add it right below the other). It will also toggle other parts of your HUD if it already has minmode changes set up.

Thought on it from the top of my head but you can reach me through Discord @ Zetos#4379 if it doesn't work.

JakadakWhere can I found the source files for contracter panel?
(So I recreate contracter panel as side menu panel?)

Aside from simple commands and elements, a fair share is restricted to only work inside their appropriate file, i.e. you can't just pull a menu feature and add it elsewhere.

The contracker file is questmappanel.res; feel free to experiment but I'm not sure it will work.

For future reference, check out this comprehensive list or this smaller one with images.

ninait doesn't appear to be sv_pure dependent

Sadly they are.

[quote=shinso]How do I remove the 2D player class image from my hud but still keep the option of having the 3D player model visible? I know that I can toggle it, but if I set the visible value in hudplayerclass.res to 0 it also removes the 3D player model.[/quote]
Don't recall if there's a more straightforward way to achieve this but you can add a main menu button with "command" "engine toggle cl_hud_minmode; engine toggle cl_hud_playerclass_use_playermodel" and add to HUDPlayerClass.res => classmodelpanel => "visible" "0" "visible_minmode" "1" (add it right below the other). It will also toggle other parts of your HUD if it already has minmode changes set up.

Thought on it from the top of my head but you can reach me through Discord @ Zetos#4379 if it doesn't work.

[quote=Jakadak]Where can I found the source files for contracter panel?
(So I recreate contracter panel as side menu panel?)[/quote]
Aside from simple commands and elements, a fair share is restricted to only work inside their appropriate file, i.e. you can't just pull a menu feature and add it elsewhere.

The contracker file is questmappanel.res; feel free to experiment but I'm not sure it will work.

For future reference, check out this [url=https://github.com/JarateKing/TF2-Hud-Reference/blob/master/2-LISTS/Filelist.md]comprehensive list[/url] or this [url=https://github.com/cooolbros/tf2-res-file-list]smaller one with images[/url].
[quote=nina]it doesn't appear to be sv_pure dependent[/quote]
Sadly they are.
6788
#6788
1 Frags +

how do i change the low health visual from this https://imgur.com/a/Qo3sS23 to this https://imgur.com/a/E8eX3J9

how do i change the low health visual from this https://imgur.com/a/Qo3sS23 to this https://imgur.com/a/E8eX3J9
6789
#6789
0 Frags +

how do i stop the buff cross from getting cut off like this https://i.imgur.com/a9AEsdB.png

how do i stop the buff cross from getting cut off like this https://i.imgur.com/a9AEsdB.png
6790
#6790
0 Frags +

How do you move the loose cannon bar?

How do you move the loose cannon bar?
6791
#6791
0 Frags +

My spy disguise image in the disguise animation is literally a white block. Any clues on how to fix this? https://imgur.com/4Eqw8dg

My spy disguise image in the disguise animation is literally a white block. Any clues on how to fix this? https://imgur.com/4Eqw8dg
6792
#6792
0 Frags +

In the hud default when you change your disguise this silhouette appears right?
https://i.imgur.com/TpEB1hn.jpeg

But when I use my hud this silhouette becomes a very annoying white square...
https://i.imgur.com/iANnu6T.jpeg

Is there a way to fix it?

In the hud default when you change your disguise this silhouette appears right?
https://i.imgur.com/TpEB1hn.jpeg

But when I use my hud this silhouette becomes a very annoying white square...
https://i.imgur.com/iANnu6T.jpeg

Is there a way to fix it?
6793
#6793
1 Frags +
mello_My spy disguise image in the disguise animation is literally a white block. Any clues on how to fix this? https://imgur.com/4Eqw8dgmorIn the hud default when you change your disguise this silhouette appears right?
https://i.imgur.com/TpEB1hn.jpeg

But when I use my hud this silhouette becomes a very annoying white square...
https://i.imgur.com/iANnu6T.jpeg

Is there a way to fix it?

Same answer for both, this happens when resource/ui/hudplayerclass.res > "PlayerStatusSpyOutlineImage" doesn't have an image path, you can bring that element back to it's original values to fix it, you can grab them HERE

[quote=mello_]My spy disguise image in the disguise animation is literally a white block. Any clues on how to fix this? https://imgur.com/4Eqw8dg[/quote]

[quote=mor]In the hud default when you change your disguise this silhouette appears right?
https://i.imgur.com/TpEB1hn.jpeg

But when I use my hud this silhouette becomes a very annoying white square...
https://i.imgur.com/iANnu6T.jpeg

Is there a way to fix it?[/quote]

Same answer for both, this happens when resource/ui/hudplayerclass.res > "PlayerStatusSpyOutlineImage" doesn't have an image path, you can bring that element back to it's original values to fix it, you can grab them [url=https://github.com/Hypnootize/TF2-Default-Hud/blob/master/resource/ui/hudplayerclass.res#L59-L78]HERE[/url]
6794
#6794
0 Frags +

Is there a way for a label's font to automatically change to a smaller one, so it fits to the size of the element?

I'd like this font to change to a smaller one when there's a lot of text, so it doesn't spill over the edge.
https://imgur.com/a/BBv8ONi

Is there a way for a label's font to automatically change to a smaller one, so it fits to the size of the element?

I'd like this font to change to a smaller one when there's a lot of text, so it doesn't spill over the edge.
https://imgur.com/a/BBv8ONi
6795
#6795
3 Frags +
lateketsuppiIs there a way for a label's font to automatically change to a smaller one, so it fits to the size of the element?

I'd like this font to change to a smaller one when there's a lot of text, so it doesn't spill over the edge.
https://imgur.com/a/BBv8ONi

You can either change a font based on screen resolution (setting a yres in ClientScheme) or change the label's width with a CAutoFittingLabel element or with "auto_wide_tocontents" "1" (these are very specific and most often than not won't work if you add it to whatever hoping to stick), but not a label's font like you want.

The only thing that could possibly help you on that scenario is to add "wrap" "1" so the extra text is placed below and the bleeding doesn't happen.

[quote=lateketsuppi]Is there a way for a label's font to automatically change to a smaller one, so it fits to the size of the element?

I'd like this font to change to a smaller one when there's a lot of text, so it doesn't spill over the edge.
https://imgur.com/a/BBv8ONi[/quote]
You can either change a font based on screen resolution (setting a yres in ClientScheme) or change the label's width with a CAutoFittingLabel element or with "auto_wide_tocontents" "1" (these are very specific and most often than not won't work if you add it to whatever hoping to stick), but not a label's font like you want.

The only thing that could possibly help you on that scenario is to add "wrap" "1" so the extra text is placed below and the bleeding doesn't happen.
6796
#6796
0 Frags +

In collyhud is there a way to remove/change transparency of the two completely blank menu screens you have to press "e" to shuffle through every time you load a new map?
https://cdn.discordapp.com/attachments/850196543847399445/923156994179878962/unknown.png
https://cdn.discordapp.com/attachments/850196543847399445/923156919219265567/unknown.png

Also how do i remove this button?
https://cdn.discordapp.com/attachments/850196543847399445/923157116645179392/unknown.png

I have not really seen these features in any other huds.

In collyhud is there a way to remove/change transparency of the two completely blank menu screens you have to press "e" to shuffle through every time you load a new map?
https://cdn.discordapp.com/attachments/850196543847399445/923156994179878962/unknown.png
https://cdn.discordapp.com/attachments/850196543847399445/923156919219265567/unknown.png

Also how do i remove this button?
https://cdn.discordapp.com/attachments/850196543847399445/923157116645179392/unknown.png

I have not really seen these features in any other huds.
6797
#6797
3 Frags +
shopliftIn collyhud is there a way to remove/change transparency of the two completely blank menu screens you have to press "e" to shuffle through every time you load a new map?
https://cdn.discordapp.com/attachments/850196543847399445/923156994179878962/unknown.png
https://cdn.discordapp.com/attachments/850196543847399445/923156919219265567/unknown.png

Also how do i remove this button?
https://cdn.discordapp.com/attachments/850196543847399445/923157116645179392/unknown.png

I have not really seen these features in any other huds.

for the 2 welcome pages you have to find these 2 sections in mapinfomenu.res, textwindow.res and textwindowcustomserver.res

"BGColor"
{
"ControlName" "ImagePanel"
"fieldName" "BGColor"
"xpos" "0"
"ypos" "0"
"zpos" "1"
"wide" "F0"
"tall" "f0"
"fillcolor" "collyhuddarkgray"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}
"BGColor2"
{
"ControlName" "ImagePanel"
"fieldName" "BGColor2"
"xpos" "0"
"ypos" "0"
"zpos" "0"
"wide" "f0"
"tall" "f0"
"fillcolor" "0 0 0 165"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}

you change the transparency with fillcolor

for the huds.tf button you go to resource/extras/hudstflink.res

and then do visible 0 or xpos 9999 to everything u want gone

[quote=shoplift]In collyhud is there a way to remove/change transparency of the two completely blank menu screens you have to press "e" to shuffle through every time you load a new map?
https://cdn.discordapp.com/attachments/850196543847399445/923156994179878962/unknown.png
https://cdn.discordapp.com/attachments/850196543847399445/923156919219265567/unknown.png

Also how do i remove this button?
https://cdn.discordapp.com/attachments/850196543847399445/923157116645179392/unknown.png

I have not really seen these features in any other huds.[/quote]

for the 2 welcome pages you have to find these 2 sections in mapinfomenu.res, textwindow.res and textwindowcustomserver.res

[quote]"BGColor"
{
"ControlName" "ImagePanel"
"fieldName" "BGColor"
"xpos" "0"
"ypos" "0"
"zpos" "1"
"wide" "F0"
"tall" "f0"
"fillcolor" "collyhuddarkgray"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}
"BGColor2"
{
"ControlName" "ImagePanel"
"fieldName" "BGColor2"
"xpos" "0"
"ypos" "0"
"zpos" "0"
"wide" "f0"
"tall" "f0"
"fillcolor" "0 0 0 165"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}[/quote]

you change the transparency with fillcolor

for the huds.tf button you go to resource/extras/hudstflink.res

and then do visible 0 or xpos 9999 to everything u want gone
6798
#6798
0 Frags +

How can I edit the colour of the names on the scoreboard? (RevHud/botmode m0rehud)

https://i.gyazo.com/bdbd31679f3f54bbb51957d677e89bec.png

Have tried changing the RGB values labelled red in clientscheme, tried changing "textcolor" to "yellow" and to the RGB value but nothing has worked

How can I edit the colour of the names on the scoreboard? (RevHud/botmode m0rehud)
[img]https://i.gyazo.com/bdbd31679f3f54bbb51957d677e89bec.png[/img]
Have tried changing the RGB values labelled red in clientscheme, tried changing "textcolor" to "yellow" and to the RGB value but nothing has worked
6799
#6799
0 Frags +

Trying to edit collyhud again and i've noticed no mvp scoreboard appears at the end of the round (only a counter for which team has won however many rounds), which is slightly inconvenient in pubs. I managed to just switch scoreboards with another hud to get up to 32 players to all appear on the scoreboard, which wasn't happening before, but this is evidently more complicated because simply switching out winpanel.res and leadboardentry.res (+rank, score, and spreadentry) isn't doing it.

Trying to edit collyhud again and i've noticed no mvp scoreboard appears at the end of the round (only a counter for which team has won however many rounds), which is slightly inconvenient in pubs. I managed to just switch scoreboards with another hud to get up to 32 players to all appear on the scoreboard, which wasn't happening before, but this is evidently more complicated because simply switching out winpanel.res and leadboardentry.res (+rank, score, and spreadentry) isn't doing it.
6800
#6800
0 Frags +

Is there any way to set a max length to the secondary targetid?
https://imgur.com/a/a8XTuVY

Is there any way to set a max length to the secondary targetid?
https://imgur.com/a/a8XTuVY
6801
#6801
0 Frags +

Is there a way to add my custom crosshair to Morehud?

Is there a way to add my custom crosshair to Morehud?
6802
#6802
0 Frags +

help pls!!!!!!!
how to switch healstatus 1 to 2
https://imgur.com/a/9xUHIyx

help pls!!!!!!!
how to switch healstatus 1 to 2
https://imgur.com/a/9xUHIyx
6803
#6803
0 Frags +

Where can I change colors and fonts for these panels?

https://ibb.co/B4tHs8w
https://ibb.co/7G0sRPk

[b]Where can I change colors and fonts for these panels?[/b]

https://ibb.co/B4tHs8w
https://ibb.co/7G0sRPk
6804
#6804
0 Frags +

Hey, so I started making my own hud from the BaseHud provided by JarateKing, and lately I noticed that the panels in sourcemods like MGE, they disappear quickly after I hit !next to see the other maps in the MGE mod

https://imgur.com/a/Ir3xyRT

edit: Jarate told me to delete the anim_locking.text in scripts/ and it worked :)

Hey, so I started making my own hud from the BaseHud provided by JarateKing, and lately I noticed that the panels in sourcemods like MGE, they disappear quickly after I hit !next to see the other maps in the MGE mod

https://imgur.com/a/Ir3xyRT

edit: Jarate told me to delete the anim_locking.text in scripts/ and it worked :)
6805
#6805
0 Frags +

https://www.dropbox.com/sh/733acm5okts9ixg/AAA4eccvSmE2mhaKQ2t6K8qUa?dl=0

Hi this sayo hud edit above is broken with the no match hud and no timer
I tried to copy elements over from normal sayo but i can't fix it any help would be appreciated
im confused and bran doesnt work anymore

https://prnt.sc/26e507v

hud was used in this vid https://www.youtube.com/watch?v=hqfDzzBsviY&t=34s
for reference

if anyone just has a working version add me,im in pain

https://www.dropbox.com/sh/733acm5okts9ixg/AAA4eccvSmE2mhaKQ2t6K8qUa?dl=0

Hi this sayo hud edit above is broken with the no match hud and no timer
I tried to copy elements over from normal sayo but i can't fix it any help would be appreciated
im confused and bran doesnt work anymore

https://prnt.sc/26e507v

hud was used in this vid https://www.youtube.com/watch?v=hqfDzzBsviY&t=34s
for reference

if anyone just has a working version add me,im in pain
6806
#6806
1 Frags +
mattystopperhttps://www.dropbox.com/sh/733acm5okts9ixg/AAA4eccvSmE2mhaKQ2t6K8qUa?dl=0

Hi this sayo hud edit above is broken with the no match hud and no timer
I tried to copy elements over from normal sayo but i can't fix it any help would be appreciated
im confused and bran doesnt work anymore

https://prnt.sc/26e507v

hud was used in this vid https://www.youtube.com/watch?v=hqfDzzBsviY&t=34s
for reference

if anyone just has a working version add me,im in pain

https://www.mediafire.com/file/psii9pjeueb0rr7/hud.zip/file

[quote=mattystopper]https://www.dropbox.com/sh/733acm5okts9ixg/AAA4eccvSmE2mhaKQ2t6K8qUa?dl=0

Hi this sayo hud edit above is broken with the no match hud and no timer
I tried to copy elements over from normal sayo but i can't fix it any help would be appreciated
im confused and bran doesnt work anymore

https://prnt.sc/26e507v

hud was used in this vid https://www.youtube.com/watch?v=hqfDzzBsviY&t=34s
for reference

if anyone just has a working version add me,im in pain[/quote]

https://www.mediafire.com/file/psii9pjeueb0rr7/hud.zip/file
6807
#6807
0 Frags +

I wanted to ask if it is possible to flip sides of red and blue team in HudMatchStatus from in game (players status on top of the screen). Is there a way to do it somehow through cl_hud_minmode or maybe using some other way. I want the enemy team to be always on the right. It could be done manually in the file but Id prefer to automate this process and to be able to do it while in game.

I know about stuff like xpos_minmode but how would you apply it in this case:

"TeamStatus"
{
"ControlName" "CTFTeamStatus"
"fieldName" "TeamStatus"
"xpos" "0"
"ypos" "0"
"zpos" "2"
"wide" "f0"
"tall" "15"
"visible" "1"
"enabled" "1"

"max_size" "19"

"6v6_gap" "1"
"12v12_gap" "1"

"team1_grow_dir" "west"
"team1_base_x" "c-45"
"team1_max_expand" "150"

"team2_grow_dir" "east"
"team2_base_x" "c47"
"team2_max_expand" "150"

I wanted to ask if it is possible to flip sides of red and blue team in HudMatchStatus from in game (players status on top of the screen). Is there a way to do it somehow through cl_hud_minmode or maybe using some other way. I want the enemy team to be always on the right. It could be done manually in the file but Id prefer to automate this process and to be able to do it while in game.


I know about stuff like xpos_minmode but how would you apply it in this case:


"TeamStatus"
{
"ControlName" "CTFTeamStatus"
"fieldName" "TeamStatus"
"xpos" "0"
"ypos" "0"
"zpos" "2"
"wide" "f0"
"tall" "15"
"visible" "1"
"enabled" "1"

"max_size" "19"

"6v6_gap" "1"
"12v12_gap" "1"

[b]"team1_grow_dir" "west"
"team1_base_x" "c-45"
"team1_max_expand" "150"

"team2_grow_dir" "east"
"team2_base_x" "c47"
"team2_max_expand" "150"
[/b]
6808
#6808
2 Frags +

You could try adding "_minmode" to the team1_grow_dir and change it from west to east and east to west for team2.

You could try adding "_minmode" to the team1_grow_dir and change it from west to east and east to west for team2.
6809
#6809
1 Frags +
_KermitYou could try adding "_minmode" to the team1_grow_dir and change it from west to east and east to west for team2.

Thanks, I will try this asap.

Yep, it works. Added _minmode to x pos as well.

[quote=_Kermit]You could try adding "_minmode" to the team1_grow_dir and change it from west to east and east to west for team2.[/quote]

Thanks, I will try this asap.

Yep, it works. Added _minmode to x pos as well.
6810
#6810
0 Frags +

Hey, I'm using an edited version of rayshud atm and I wanted to get some custom menu backgrounds working.
I converted them to vtfs and renamed them to the correct names and all (background_upward, background_upward_widescreen, background_2fort, etc.) but for some reason the main menu background always picks the background_upward.vtf and none other, in other words, it doesn't cycle them like the, for example, stock tf2 hud does. So I was wondering how I could get them to cycle?

Here's a download link to my hud if someone wants to look into it: https://www.dropbox.com/sh/2w0f75mh5rdb8rx/AABTfOGP96y4i5MYuotXmP6ra?dl=0

Hey, I'm using an edited version of rayshud atm and I wanted to get some custom menu backgrounds working.
I converted them to vtfs and renamed them to the correct names and all (background_upward, background_upward_widescreen, background_2fort, etc.) but for some reason the main menu background always picks the background_upward.vtf and none other, in other words, it doesn't cycle them like the, for example, stock tf2 hud does. So I was wondering how I could get them to cycle?

Here's a download link to my hud if someone wants to look into it: https://www.dropbox.com/sh/2w0f75mh5rdb8rx/AABTfOGP96y4i5MYuotXmP6ra?dl=0
1 ⋅⋅ 224 225 226 227 228 229 230 ⋅⋅ 234
Please sign in through STEAM to post a comment.