Upvote Upvoted 330 Downvote Downvoted
1 ⋅⋅ 124 125 126 127 128 129 130 ⋅⋅ 234
HUD editing: short questions, quick answers
posted in Customization
3781
#3781
0 Frags +
Cubekolgrrrrrrr

bad day?

f2s4x1othe first two steps worked. but I can't change the cross color.

At the top of hudplayerhealth.res you will find something similar to this:

	"HudPlayerHealth"
	{
		"ControlName"	"EditablePanel"
		"fieldName"		"HudPlayerHealth"
		"xpos"			"-10"
		"ypos"			"25"
		"zpos"			"2"
		"wide"			"f0"
		"tall"			"480"
		"visible"		"1"
		"enabled"		"1"	
		"HealthBonusPosAdj"			"37"
		"HealthBonusPosAdj_minmode"	"20"
		"HealthDeathWarning"		"0.49"
		"HealthDeathWarningColor"	"HudDeathWarning"
	}

Here you can change the low health colour by replacing HudDeathWarning with whatever you want. If that does not work you need to go into clientscheme.res and search for HudDeathWarning in the colours section and change the value there.

If you want to change the buff colour you need to change the vtf to a coloured vtf. In hudplayerhealth.res find this bit

	"PlayerStatusHealthImage"
	{
		"ControlName"	"ImagePanel"
		"fieldName"		"PlayerStatusHealthImage"
		"xpos"			"c-134"
		"ypos"			"35"
		"zpos"			"4"
		"wide"			"51"
		"tall"			"51"
		"visible"		"0"
		"enabled"		"0"
		"scaleImage"	"1"	
	}

and add

"image"		"replay/thumbnails/yourimage

change yourimage you whatever your vmt is called and google how to make custom vmts if you want to find out how to do it.

Put your low health cross file in materials/vgui/replay/thumbnails

done that should work but it might screw up your low health colour

[quote=Cubekol]grrrrrrr[/quote]

bad day?

[quote=f2s4x1o]the first two steps worked. but I can't change the cross color.[/quote]

At the top of hudplayerhealth.res you will find something similar to this:

[code] "HudPlayerHealth"
{
"ControlName" "EditablePanel"
"fieldName" "HudPlayerHealth"
"xpos" "-10"
"ypos" "25"
"zpos" "2"
"wide" "f0"
"tall" "480"
"visible" "1"
"enabled" "1"
"HealthBonusPosAdj" "37"
"HealthBonusPosAdj_minmode" "20"
"HealthDeathWarning" "0.49"
"HealthDeathWarningColor" "HudDeathWarning"
}[/code]

Here you can change the low health colour by replacing HudDeathWarning with whatever you want. If that does not work you need to go into clientscheme.res and search for HudDeathWarning in the colours section and change the value there.

If you want to change the buff colour you need to change the vtf to a coloured vtf. In hudplayerhealth.res find this bit


[code] "PlayerStatusHealthImage"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatusHealthImage"
"xpos" "c-134"
"ypos" "35"
"zpos" "4"
"wide" "51"
"tall" "51"
"visible" "0"
"enabled" "0"
"scaleImage" "1"
}[/code]

and add

[code]"image" "replay/thumbnails/yourimage[/code]

change yourimage you whatever your vmt is called and google how to make custom vmts if you want to find out how to do it.

Put your low health cross file in materials/vgui/replay/thumbnails

done that should work but it might screw up your low health colour
3782
#3782
0 Frags +
XenThePybroIf you want to change the buff colour you need to change the vtf to a coloured vtf.
	"PlayerStatusHealthImage"

This is mostly right but what you're interested in is PlayerStatusHealthBonusImage instead, which already has the image parameter. PlayerStatusHealthImage is for the healthcross itself, which has a hardcoded image and can't be changed directly.

It takes a bit of messing around to get colors right but basically the HealthDeathWarningColor is what to keep of the bonus cross, and is the main reason why a white bonus cross is good. If you had a gray (127 127 127) bonus cross for example, a pure red (255 0 0) HealthDeathWarningColor would result in a darker red (127 0 0). It won't ever add to it, so if your bonus cross was black (0 0 0) then HealthDeathWarningColor wouldn't matter because it couldn't change the value at all, or similarly a pure blue (0 0 255) bonus cross with a red (255 0 0) HealthDeathWarningColor would result in black (0 0 0).

A simplified example for a light blue overheal and dark red low health would be the vtf being 127 127 255 and the HealthDeathWarningColor being 255 0 0 (which would blend it to end up being 127 0 0). Work around with it a bit, and you're a bit limited with it, but that's what you'd be doing.

[quote=XenThePybro]If you want to change the buff colour you need to change the vtf to a coloured vtf.
[code] "PlayerStatusHealthImage"[/code][/quote]
This is mostly right but what you're interested in is PlayerStatusHealthBonusImage instead, which already has the image parameter. PlayerStatusHealthImage is for the healthcross itself, which has a hardcoded image and can't be changed directly.

It takes a bit of messing around to get colors right but basically the HealthDeathWarningColor is what to keep of the bonus cross, and is the main reason why a white bonus cross is good. If you had a gray (127 127 127) bonus cross for example, a pure red (255 0 0) HealthDeathWarningColor would result in a darker red (127 0 0). It won't ever add to it, so if your bonus cross was black (0 0 0) then HealthDeathWarningColor wouldn't matter because it couldn't change the value at all, or similarly a pure blue (0 0 255) bonus cross with a red (255 0 0) HealthDeathWarningColor would result in black (0 0 0).

A simplified example for a light blue overheal and dark red low health would be the vtf being 127 127 255 and the HealthDeathWarningColor being 255 0 0 (which would blend it to end up being 127 0 0). Work around with it a bit, and you're a bit limited with it, but that's what you'd be doing.
3783
#3783
0 Frags +

I migrated my hud 7hud which I originally started modding and in the process all my button backgrounds became rounded. Does anyone know how I can fix them to be straight and pointy?

I migrated my hud 7hud which I originally started modding and in the process all my button backgrounds became rounded. Does anyone know how I can fix them to be straight and pointy?
3784
#3784
0 Frags +

I don't want to change the buff color,I just wanna make the low cross black and the low hp color red. I figured out how to move the numbers but I can't find a vtf for the health cross in the thumbnails file exept a vmt named "health_over_bg" and cpma,quake crosshairs.
edit: now HudDeathWarning is changing color of the cross.

I don't want to change the buff color,I just wanna make the low cross black and the low hp color red. I figured out how to move the numbers but I can't find a vtf for the health cross in the thumbnails file exept a vmt named "health_over_bg" and cpma,quake crosshairs.
edit: now HudDeathWarning is changing color of the cross.
3785
#3785
0 Frags +
f2s4x1oI don't want to change the buff color,I just wanna make the low cross black and the low hp color red. I figured out how to move the numbers but I can't find a vtf for the health cross in the thumbnails file exept a vmt named "health_over_bg" and cpma,quake crosshairs.
edit: now HudDeathWarning is changing color of the cross.

if you want to change the image you need to make a completely new vtf

[quote=f2s4x1o]I don't want to change the buff color,I just wanna make the low cross black and the low hp color red. I figured out how to move the numbers but I can't find a vtf for the health cross in the thumbnails file exept a vmt named "health_over_bg" and cpma,quake crosshairs.
edit: now HudDeathWarning is changing color of the cross.[/quote]

if you want to change the image you need to make a completely new vtf
3786
#3786
0 Frags +

Thanks guys,
On buff http://images.akamai.steamusercontent.com/ugc/261597859313987500/8A3D6A5BD334D21AB5416BEFFF1AA9F242C6157E/
Low hp
http://images.akamai.steamusercontent.com/ugc/261597859313985479/4F647FD5340078BA3CB95AC27A56C7141627A943/

Thanks guys,
On buff http://images.akamai.steamusercontent.com/ugc/261597859313987500/8A3D6A5BD334D21AB5416BEFFF1AA9F242C6157E/
Low hp
http://images.akamai.steamusercontent.com/ugc/261597859313985479/4F647FD5340078BA3CB95AC27A56C7141627A943/
3787
#3787
0 Frags +

What files change the party panels?
http://puu.sh/rC2zk/70bc27aac6.jpg
http://puu.sh/rC2yN/f65f4a505f.jpg

What files change the party panels?
http://puu.sh/rC2zk/70bc27aac6.jpg
http://puu.sh/rC2yN/f65f4a505f.jpg
3788
#3788
whitelist.tf
1 Frags +

Bind console opening to `/~ and you can open that in the Lobby windows and use vgui_drawtree to figure out hud elements in backpacks/loadouts/store panels/lobby panels.

Bind console opening to [i]`/~[/i] and you can open that in the Lobby windows and use vgui_drawtree to figure out hud elements in backpacks/loadouts/store panels/lobby panels.
3789
#3789
0 Frags +
duck_What files change the party panels?
http://puu.sh/rC2zk/70bc27aac6.jpg
http://puu.sh/rC2yN/f65f4a505f.jpg

It is in lobbypanel.res and may have a few additional entries in lobbypanel_casual.res and lobbypanel_competitive.res

just search for party.

WiethoofdBind console opening to `/~ and you can open that in the Lobby windows and use vgui_drawtree to figure out hud elements in backpacks/loadouts/store panels/lobby panels.

drawtree has its limitations. Some panels are hard to find with it such as the "are you want to stay" for casual and the deathcam.

[quote=duck_]What files change the party panels?
http://puu.sh/rC2zk/70bc27aac6.jpg
http://puu.sh/rC2yN/f65f4a505f.jpg[/quote]

It is in lobbypanel.res and may have a few additional entries in lobbypanel_casual.res and lobbypanel_competitive.res

just search for party.

[quote=Wiethoofd]Bind console opening to [i]`/~[/i] and you can open that in the Lobby windows and use vgui_drawtree to figure out hud elements in backpacks/loadouts/store panels/lobby panels.[/quote]

drawtree has its limitations. Some panels are hard to find with it such as the "are you want to stay" for casual and the deathcam.
3790
#3790
-1 Frags +

how do i make bwhud like http://imgur.com/txHwQsS

this

how do i make bwhud like http://imgur.com/txHwQsS

this
3791
#3791
1 Frags +

scripts/hudlayout.res

find "hudweaponammo" and "hudplayerhealth"
play around with the ypos values

for the meters you have to open every single meter file in resource/ui and move all of them one by one

scripts/hudlayout.res

find "hudweaponammo" and "hudplayerhealth"
play around with the ypos values

for the meters you have to open every single meter file in resource/ui and move all of them one by one
3792
#3792
0 Frags +

how long will it take?

how long will it take?
3793
#3793
1 Frags +

around 10-15 mins prob

around 10-15 mins prob
3794
#3794
0 Frags +

how do i move or remove the outline thing of the spy when you disguise?
nvm i got it

[s]how do i move or remove the outline thing of the spy when you disguise? [/s]
nvm i got it
3795
#3795
7 Frags +

Is it possible to change the color of the names of dead players in the scoreboard?
Like change it to a different color than red or blue or decreasing the intensity of the colors.

https://s15.postimg.org/c7k331gej/sadas.png

If so, how does one do it?

For those who wonder what that is for, it is for making the dead players more "visibly" dead so to speak, since Valve removed those amazing skulls from the scoreboard (and I have no idea if they might get re-added back), thus probably the only option for me left is to edit the HUD by changing the colors.

Any help appreciated!

Is it possible to change the color of the names of dead players in the scoreboard?
Like change it to a different color than red or blue or decreasing the intensity of the colors.
[img]https://s15.postimg.org/c7k331gej/sadas.png[/img]
If so, how does one do it?

For those who wonder what that is for, it is for making the dead players more "visibly" dead so to speak, since Valve removed those amazing skulls from the scoreboard (and I have no idea if they might get re-added back), thus probably the only option for me left is to edit the HUD by changing the colors.

Any help appreciated!
3796
#3796
0 Frags +

how do i edit casual and mm menus without going into an actual match? also anyone know what the menu thing at the top of casual displaying whos dead and alive is called? http://prntscr.com/cryjwe

how do i edit casual and mm menus without going into an actual match? also anyone know what the menu thing at the top of casual displaying whos dead and alive is called? http://prntscr.com/cryjwe
3797
#3797
0 Frags +

I want to use Reem Kufi font and it appears as arial.
What am I doing wrong?

Here are things that may be the problem:

Custom Font File in clientscheme.res

Show Content
"7"
{
"font" "resource/fonts/ReemKufi-Regular.ttf"
"name" "Reem Kufi Regular"
}

I'm also using a scheme file as a base.

Show Content
#base "font.res"

A font definition in the scheme file.

Show Content
"Rem8"
{
"1"
{
"name" "Reem Kufi Regular"
"tall" "8"
"antialias" "1"
}
}
I want to use [url=https://fonts.google.com/specimen/Reem+Kufi]Reem Kufi[/url] font and it appears as arial.
What am I doing wrong?

Here are things that may be the problem:

Custom Font File in clientscheme.res
[spoiler]"7"
{
"font" "resource/fonts/ReemKufi-Regular.ttf"
"name" "Reem Kufi Regular"
}[/spoiler]

I'm also using a scheme file as a base.
[spoiler]#base "font.res"[/spoiler]

A font definition in the scheme file.
[spoiler]"Rem8"
{
"1"
{
"name" "Reem Kufi Regular"
"tall" "8"
"antialias" "1"
}
}[/spoiler]
3798
#3798
0 Frags +

What files edit the kills counter for the airstrike?

What files edit the kills counter for the airstrike?
3799
#3799
1 Frags +
duck_What files edit the kills counter for the airstrike?

same as demoman head count file

thrones_how do i edit casual and mm menus without going into an actual match? also anyone know what the menu thing at the top of mm displaying whos dead and alive is called?

you may be able to record a demo and edit it through the demo but you cant change a command to make the casual ui appear unless if you put visible 1 on everything and not just if_match but that might not work but there is no command that makes it casual mode

CubekolI want to use Reem Kufi font and it appears as arial.
What am I doing wrong?

Here are things that may be the problem:

Custom Font File in clientscheme.res
Show Content
"7"
{
"font" "resource/fonts/ReemKufi-Regular.ttf"
"name" "Reem Kufi Regular"
}

I'm also using a scheme file as a base.
Show Content
#base "font.res"

A font definition in the scheme file.
Show Content
"Rem8"
{
"1"
{
"name" "Reem Kufi Regular"
"tall" "8"
"antialias" "1"
}
}

install the font and if that does not work restart your computer and it should work unless if you forgot a character or something. Does it work without #base?

[quote=duck_]What files edit the kills counter for the airstrike?[/quote]

same as demoman head count file

[quote=thrones_]how do i edit casual and mm menus without going into an actual match? also anyone know what the menu thing at the top of mm displaying whos dead and alive is called?[/quote]

you may be able to record a demo and edit it through the demo but you cant change a command to make the casual ui appear unless if you put visible 1 on everything and not just if_match but that might not work but there is no command that makes it casual mode

[quote=Cubekol]I want to use [url=https://fonts.google.com/specimen/Reem+Kufi]Reem Kufi[/url] font and it appears as arial.
What am I doing wrong?

Here are things that may be the problem:

Custom Font File in clientscheme.res
[spoiler]"7"
{
"font" "resource/fonts/ReemKufi-Regular.ttf"
"name" "Reem Kufi Regular"
}[/spoiler]

I'm also using a scheme file as a base.
[spoiler]#base "font.res"[/spoiler]

A font definition in the scheme file.
[spoiler]"Rem8"
{
"1"
{
"name" "Reem Kufi Regular"
"tall" "8"
"antialias" "1"
}
}[/spoiler][/quote]

install the font and if that does not work restart your computer and it should work unless if you forgot a character or something. Does it work without #base?
3800
#3800
2 Frags +

thx smesi

thx smesi
3801
#3801
1 Frags +
XenThePybrothanks for trying to gib me sum of teh halp

Nevermind, found pretty much the same font but better (since it has weights) and it works.
If you are courious it was Josefin Sans.

[quote=XenThePybro]thanks for trying to gib me sum of teh halp[/quote]
Nevermind, found pretty much the same font but better (since it has weights) and it works.
If you are courious it was [url=https://fonts.google.com/specimen/Josefin+Sans]Josefin Sans[/url].
3802
#3802
1 Frags +

Ive recently tried editing flatHUD to make the heal target icon how i like, i have everything the way i want it but as you can see in the screenshot the actual panel with the things inside i want is slightly too low so i was wondering how you actually move it instead of the things inside and making half the things not appear.

Here is the screenshot: http://prntscr.com/cru3ds

Sorry for it having to be in word i dont have any software to extract and edit pictures properly

Any help would be greatly appreciated :)

Ive recently tried editing flatHUD to make the heal target icon how i like, i have everything the way i want it but as you can see in the screenshot the actual panel with the things inside i want is slightly too low so i was wondering how you actually move it instead of the things inside and making half the things not appear.


Here is the screenshot: http://prntscr.com/cru3ds

Sorry for it having to be in word i dont have any software to extract and edit pictures properly

Any help would be greatly appreciated :)
3803
#3803
0 Frags +
CubekolXenThePybrothanks for trying to gib me sum of teh halpNevermind, found pretty much the same font but better (since it has weights) and it works.
If you are courious it was Josefin Sans.

did you google "fonts that look like neutra" by any chance?

[quote=Cubekol][quote=XenThePybro]thanks for trying to gib me sum of teh halp[/quote]
Nevermind, found pretty much the same font but better (since it has weights) and it works.
If you are courious it was [url=https://fonts.google.com/specimen/Josefin+Sans]Josefin Sans[/url].[/quote]

did you google "fonts that look like neutra" by any chance?
3804
#3804
0 Frags +
XenThePybroxd

I downloaded it from fonts.google, i dont know why is this telling that

[quote=XenThePybro]xd[/quote] I downloaded it from fonts.google, i dont know why is this telling that
3805
#3805
0 Frags +

how do transfer a hud menu?

how do transfer a hud menu?
3806
#3806
0 Frags +

I found this outdated hud and liked it. Had to delete mainmenuoverride.res and gamemenu.res to get it to work but the round timer and win panel are missing and have no idea how to fix that. I don't mind them not following the theme of the hud, I just wanna see them.
I'm sorry if this isn't exactly a type of question for a short answer but I don't know where else I can ask this.

I found this outdated [url=http://steamcommunity.com/groups/bxhud-cb]hud[/url] and liked it. Had to delete mainmenuoverride.res and gamemenu.res to get it to work but the round timer and win panel are missing and have no idea how to fix that. I don't mind them not following the theme of the hud, I just wanna see them.
I'm sorry if this isn't exactly a type of question for a short answer but I don't know where else I can ask this.
3807
#3807
2 Frags +
bearnautI found this outdated hud and liked it. Had to delete mainmenuoverride.res and gamemenu.res to get it to work but the round timer and win panel are missing and have no idea how to fix that. I don't mind them not following the theme of the hud, I just wanna see them.
I'm sorry if this isn't exactly a type of question for a short answer but I don't know where else I can ask this.

http://www.teamfortress.tv/33738/ive-updated-some-huds

[quote=bearnaut]I found this outdated [url=http://steamcommunity.com/groups/bxhud-cb]hud[/url] and liked it. Had to delete mainmenuoverride.res and gamemenu.res to get it to work but the round timer and win panel are missing and have no idea how to fix that. I don't mind them not following the theme of the hud, I just wanna see them.
I'm sorry if this isn't exactly a type of question for a short answer but I don't know where else I can ask this.[/quote]
http://www.teamfortress.tv/33738/ive-updated-some-huds
3808
#3808
-1 Frags +
thrones_bearnautI found this outdated hud and liked it. Had to delete mainmenuoverride.res and gamemenu.res to get it to work but the round timer and win panel are missing and have no idea how to fix that. I don't mind them not following the theme of the hud, I just wanna see them.
I'm sorry if this isn't exactly a type of question for a short answer but I don't know where else I can ask this.
http://www.teamfortress.tv/33738/ive-updated-some-huds

how did I not know about this, thanks

[quote=thrones_][quote=bearnaut]I found this outdated [url=http://steamcommunity.com/groups/bxhud-cb]hud[/url] and liked it. Had to delete mainmenuoverride.res and gamemenu.res to get it to work but the round timer and win panel are missing and have no idea how to fix that. I don't mind them not following the theme of the hud, I just wanna see them.
I'm sorry if this isn't exactly a type of question for a short answer but I don't know where else I can ask this.[/quote]
http://www.teamfortress.tv/33738/ive-updated-some-huds[/quote]
how did I not know about this, thanks
3809
#3809
-1 Frags +
CubekolXenThePybroxd I downloaded it from fonts.google, i dont know why is this telling that

https://www.quora.com/What-Google-Font-looks-most-similar-to-Neutraface-Text

[quote=Cubekol][quote=XenThePybro]xd[/quote] I downloaded it from fonts.google, i dont know why is this telling that[/quote]

https://www.quora.com/What-Google-Font-looks-most-similar-to-Neutraface-Text
3810
#3810
0 Frags +

how do I make a vtf that is affected by src_corner_height, src_corner_width, draw_corner_width and draw_corner_height like the stock vtfs are?

how do I make a vtf that is affected by src_corner_height, src_corner_width, draw_corner_width and draw_corner_height like the stock vtfs are?
1 ⋅⋅ 124 125 126 127 128 129 130 ⋅⋅ 234
Please sign in through STEAM to post a comment.