Upvote Upvoted 322 Downvote Downvoted
1 ⋅⋅ 227 228 229 230
HUD editing: short questions, quick answers
posted in Customization
6871
#6871
0 Frags +

‎‎

‎‎
6872
#6872
0 Frags +
lazeeHi again lol

How do i change the team colors in the chat box? I've changed all of the team colors in clientscheme.res but just the chat colors haven't changed.

To rephrase: What file controls the colors the chat box uses?

image

I've checked in basechat.res, sourcescheme.res and chatscheme.res but to no avail.
_KermitI'm like 99.9% sure it's hardcoded.lazeehuh :/

Is it the same with the round timers (tf_use_match_hud 0) since I can't find a way to change their colour either.

image

tf_use_match_hud 1 is fine

bump

[quote=lazee]Hi again lol

How do i change the team colors in the chat box? I've changed all of the team colors in clientscheme.res but just the chat colors haven't changed.

To rephrase: What file controls the colors the chat box uses?

[url=https://imgur.com/a/wDZn4FY] image [/url]

I've checked in basechat.res, sourcescheme.res and chatscheme.res but to no avail.[/quote]

[quote=_Kermit]I'm like 99.9% sure it's hardcoded.[/quote]

[quote=lazee]huh :/

Is it the same with the round timers (tf_use_match_hud 0) since I can't find a way to change their colour either.

[url=https://imgur.com/a/6cRL79P] image [/url]

tf_use_match_hud 1 is fine[/quote]

bump
6873
#6873
0 Frags +

I have an ultrawide monitor, but I'd like the end of round "MatchSummary" to display in a smaller aspect ratio, like 16:9. I'm using E.V.E. hud, which I installed with the updater. I eventually figured out that the end of round is controlled by "MatchSummary" in "hudlayout.res" (tf/custom/eve hud/scripts). Unfortunately simply changing "wide" from "f0" to "853" doesn't actually resize the match summary, it just cuts off half of the summary table and displays only one team in the same ultrawide "spaced out" format that E.V.E defaults to on install. Please help if you can, thanks!

Also, for some reason, my tf/custom/eve hud/resource/ui folder is completely missing a "hudmatchsummary.res" file, which is exactly the file I need according to JarateKing / TF2-Hud-Reference. However, a well-formed and formatted (albeit ultrawide) scoreboard does display at the end of every match... How is the table that is displayed at the game's conclusion being constructed with hudmatchsummary.res missing? The "MatchSummary" block in "hudlayout.res" is way too simple to be formatting everything on its own...

MatchSummary
	{
		"fieldName" "MatchSummary"
		"visible" "0"
		"enabled" "1"
		"xpos"	"0"
		"ypos"	"0"
		"wide"	"f0"
		"tall"	"f0"
	}

In hudanimations_evehud.txt I found

event HudMatchSummary_SlideInPanels
{

	Animate BlueTeamPanel xpos 0 Accel 0.25 0.25
	Animate RedTeamPanel xpos 0 Accel 0.25 0.25
}

which references "BlueTeamPanel" and "RedTeamPanel" ... Though I couldn't find any definitions for these panels inside hudanimations_evehud.txt, I was able to find further reference to these panels inside "hudmatchstatus.res" ... but JarateKing / TF2-Hud-Reference says that these entries control: "Round Timer and Red & Blue team players status also contains the casual and competitive prematch doors animation" ... I tried fiddling with the "width" entries just to see if it had any effect, and the end of round match summary was completely unaffected. I did succeed in destroying the preround scoreboard though...

Can't believe the one file I want to modify is the only resource file E.V.E didn't install, and yet something that was clearly formatted with some effort is displayed at the end of every game ??

Here is the entry for the "RedTeamPanel" from "hudmatchstatus.res" that I tried messing with to no avail...

"RedTeamPanel"
	{
		"ControlName"		"EditablePanel"
		"fieldName"		"RedTeamPanel"
		"xpos"			"r-5"
		"ypos"			"125"
		"zpos"			"50"
		"wide"			"150"
		"tall"			"260"
		"visible"		"0"
		"enabled"		"1"

		if_large
		{
			"ypos"			"65"
			"tall"			"385"
		}

		"RedTeamBG"
		{
			"ControlName"		"EditablePanel"
			"fieldName"		"RedTeamBG"
			"xpos"			"0"
			"ypos"			"10"
			"zpos"			"2"
			"wide"			"147"
			"tall"			"36"
			"autoResize"	"0"
			"pinCorner"		"0"
			"visible"		"1"
			"enabled"		"1"
			"border"		"TFFatLineBorderRedBGOpaque"
		}
		"RedTeamImage"
		{
			"ControlName"		"ImagePanel"
			"fieldName"		"RedTeamImage"
			"xpos"			"84"
			"ypos"			"-9"
			"zpos"			"5"
			"wide"			"70"
			"tall"			"70"
			"visible"		"1"
			"enabled"		"1"
			"image"			"../hud/team_Red"
			"scaleImage"		"1"
		}
		"RedTeamLabel"
		{
			"ControlName"		"CExLabel"
			"fieldName"		"RedTeamLabel"
			"font"			"CompMatchStartTeamNames"
			"labelText"		"%redteamname%"
			"textAlignment"		"center"
			"xpos"			"5"
			"ypos"			"13"
			"zpos"			"20"
			"wide"			"95"
			"tall"			"30"
			"autoResize"		"0"
			"pinCorner"		"0"
			"visible"		"1"
			"enabled"		"1"
			"centerwrap"	"1"
		}
		"RedLeaderAvatar"
		{
			"ControlName"		"CAvatarImagePanel"
			"fieldName"		"RedLeaderAvatar"
			"xpos"			"102"
			"ypos"			"10"
			"zpos"			"5"
			"wide"			"35"
			"tall"			"35"
			"visible"		"1"
			"enabled"		"1"
			"image"			""
			"scaleImage"	"1"	
			"color_outline"	"52 48 45 255"
		}
		"RedLeaderAvatarBG"
		{
			"ControlName"	"EditablePanel"
			"fieldName"		"RedLeaderAvatarBG"
			"xpos"			"100"
			"ypos"			"8"
			"zpos"			"4"
			"wide"			"39"
			"tall"			"39"
			"visible"		"1"
			"PaintBackgroundType"	"2"
			"bgcolor_override"	"117 107 94 255"
		}
		"RedPlayerList"
		{
			"ControlName"	"SectionedListPanel"
			"fieldName"		"RedPlayerList"
			"xpos"			"6"
			"ypos"			"38"
			"zpos"			"1"
			"wide"			"136"
			"tall"			"205"
			"pinCorner"		"0"
			"visible"		"1"
			"enabled"		"1"
			"tabPosition"	"0"
			"autoresize"	"3"
			"linespacing"	"26"
			"linegap"		"4"
			//"show_columns"	"1"

			if_large
			{
				"tall"			"315"
			}
		}
		"RedPlayerListBG"
		{
			"ControlName"		"EditablePanel"
			"fieldName"		"RedPlayerListBG"
			"xpos"			"4"
			"ypos"			"30"
			"zpos"			"0"
			"wide"			"139"
			"tall"			"215"
			"autoResize"	"0"
			"pinCorner"		"0"
			"visible"		"1"
			"enabled"		"1"
			"border"		"TFFatLineBorderClearBG"

			if_large
			{
				"tall"			"325"
			}
		}
	}
I have an ultrawide monitor, but I'd like the end of round "MatchSummary" to display in a smaller aspect ratio, like 16:9. I'm using E.V.E. hud, which I installed with the updater. I eventually figured out that the end of round is controlled by "MatchSummary" in "hudlayout.res" (tf/custom/eve hud/scripts). Unfortunately simply changing "wide" from "f0" to "853" doesn't actually resize the match summary, it just cuts off half of the summary table and displays only one team in the same ultrawide "spaced out" format that E.V.E defaults to on install. Please help if you can, thanks!

Also, for some reason, my tf/custom/eve hud/resource/ui folder is completely missing a "hudmatchsummary.res" file, which is exactly the file I need according to [url=https://github.com/JarateKing/TF2-Hud-Reference/blob/master/2-LISTS/Filelist.md]JarateKing / TF2-Hud-Reference[/url]. However, a well-formed and formatted (albeit ultrawide) scoreboard does display at the end of every match... How is the table that is displayed at the game's conclusion being constructed with hudmatchsummary.res missing? The "MatchSummary" block in "hudlayout.res" is way too simple to be formatting everything on its own...

[code]MatchSummary
{
"fieldName" "MatchSummary"
"visible" "0"
"enabled" "1"
"xpos" "0"
"ypos" "0"
"wide" "f0"
"tall" "f0"
}[/code]

In hudanimations_evehud.txt I found

[code]event HudMatchSummary_SlideInPanels
{

Animate BlueTeamPanel xpos 0 Accel 0.25 0.25
Animate RedTeamPanel xpos 0 Accel 0.25 0.25
}[/code]

which references "BlueTeamPanel" and "RedTeamPanel" ... Though I couldn't find any definitions for these panels inside hudanimations_evehud.txt, I was able to find further reference to these panels inside "hudmatchstatus.res" ... but [url=https://github.com/JarateKing/TF2-Hud-Reference/blob/master/2-LISTS/Filelist.md]JarateKing / TF2-Hud-Reference[/url] says that these entries control: "Round Timer and Red & Blue team players status also contains the casual and competitive [u][b]prematch[/b][/u] doors animation" ... I tried fiddling with the "width" entries just to see if it had any effect, and the end of round match summary was completely unaffected. I did succeed in destroying the preround scoreboard though...

Can't believe the one file I want to modify is the only resource file E.V.E didn't install, and yet something that was clearly formatted with some effort is displayed at the end of every game ??

Here is the entry for the "RedTeamPanel" from "hudmatchstatus.res" that I tried messing with to no avail...

[code]"RedTeamPanel"
{
"ControlName" "EditablePanel"
"fieldName" "RedTeamPanel"
"xpos" "r-5"
"ypos" "125"
"zpos" "50"
"wide" "150"
"tall" "260"
"visible" "0"
"enabled" "1"

if_large
{
"ypos" "65"
"tall" "385"
}

"RedTeamBG"
{
"ControlName" "EditablePanel"
"fieldName" "RedTeamBG"
"xpos" "0"
"ypos" "10"
"zpos" "2"
"wide" "147"
"tall" "36"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"border" "TFFatLineBorderRedBGOpaque"
}
"RedTeamImage"
{
"ControlName" "ImagePanel"
"fieldName" "RedTeamImage"
"xpos" "84"
"ypos" "-9"
"zpos" "5"
"wide" "70"
"tall" "70"
"visible" "1"
"enabled" "1"
"image" "../hud/team_Red"
"scaleImage" "1"
}
"RedTeamLabel"
{
"ControlName" "CExLabel"
"fieldName" "RedTeamLabel"
"font" "CompMatchStartTeamNames"
"labelText" "%redteamname%"
"textAlignment" "center"
"xpos" "5"
"ypos" "13"
"zpos" "20"
"wide" "95"
"tall" "30"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"centerwrap" "1"
}
"RedLeaderAvatar"
{
"ControlName" "CAvatarImagePanel"
"fieldName" "RedLeaderAvatar"
"xpos" "102"
"ypos" "10"
"zpos" "5"
"wide" "35"
"tall" "35"
"visible" "1"
"enabled" "1"
"image" ""
"scaleImage" "1"
"color_outline" "52 48 45 255"
}
"RedLeaderAvatarBG"
{
"ControlName" "EditablePanel"
"fieldName" "RedLeaderAvatarBG"
"xpos" "100"
"ypos" "8"
"zpos" "4"
"wide" "39"
"tall" "39"
"visible" "1"
"PaintBackgroundType" "2"
"bgcolor_override" "117 107 94 255"
}
"RedPlayerList"
{
"ControlName" "SectionedListPanel"
"fieldName" "RedPlayerList"
"xpos" "6"
"ypos" "38"
"zpos" "1"
"wide" "136"
"tall" "205"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"autoresize" "3"
"linespacing" "26"
"linegap" "4"
//"show_columns" "1"

if_large
{
"tall" "315"
}
}
"RedPlayerListBG"
{
"ControlName" "EditablePanel"
"fieldName" "RedPlayerListBG"
"xpos" "4"
"ypos" "30"
"zpos" "0"
"wide" "139"
"tall" "215"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"border" "TFFatLineBorderClearBG"

if_large
{
"tall" "325"
}
}
}[/code]
6874
#6874
0 Frags +

If there is no entry in your custom folder, or custom animation, for certain hud elements, the game will fallback to the default ones that are included with the rest of the game files.

If there is no entry in your custom folder, or custom animation, for certain hud elements, the game will fallback to the default ones that are included with the rest of the game files.
6875
#6875
0 Frags +

Thanks! I found hudmatchsummary.res buried in tf2_misc_dir.vpk... It is quite the file!'

Given my previous failures with editing hudmatchstatus.res, I'm not really sure where to get started with this... previous I just tried halving all of the "width" values, reasoning that I want the scoreboard to be about half as wide.... silly I know. Looking for any tips to edit this thing...

Thanks! I found hudmatchsummary.res buried in tf2_misc_dir.vpk... It is quite the file!'

Given my previous failures with editing hudmatchstatus.res, I'm not really sure where to get started with this... previous I just tried halving all of the "width" values, reasoning that I want the scoreboard to be about half as wide.... silly I know. Looking for any tips to edit this thing...
6876
#6876
0 Frags +

question... I'm sure this is just wishful thinking but... if i just paste the hudmatchsummary.res file from someone who has the game installed on a a 16:9 system in to my custom folder... will that do the trick?

question... I'm sure this is just wishful thinking but... if i just paste the hudmatchsummary.res file from someone who has the game installed on a a 16:9 system in to my custom folder... will that do the trick?
6877
#6877
0 Frags +

Or alternatively, could anyone direct me to a hud with a custom hudmatchsummary.res that has hardcoded 16:9 (or smaller) dimensions instead of the fullscreen options that seem to be default

Or alternatively, could anyone direct me to a hud with a custom hudmatchsummary.res that has hardcoded 16:9 (or smaller) dimensions instead of the fullscreen options that seem to be default
6878
#6878
0 Frags +

what does "s.xx" do in BluePlayerList

"BluePlayerList"
					{
						"ControlName"	"TFSectionedListPanel"
						"fieldName"		"BluePlayerList"
						"xpos"			"0"
						"ypos"			"0"
						"zpos"			"1"
						"wide"			"p.465"
						"tall"			"205"
						"visible"		"1"
						"enabled"		"1"
						"tabPosition"	"0"
						"autoresize"	"0"
						"linespacing"	"26"
						"linegap"		"4"
						//"show_columns"	"1"

						"medal_width"	"s.03"
						"avatar_width"	"s.03"
						"spacer"	"s.01"
						"name_width"	"s.10"
						"class_width"	"s.03"
						"award_width"	"s.03"
						"stats_width"	"s.05"
						"horiz_inset"	"5"

Can't find documentation on doodlestuff or jarateking.

what does "s.xx" do in BluePlayerList

[code]"BluePlayerList"
{
"ControlName" "TFSectionedListPanel"
"fieldName" "BluePlayerList"
"xpos" "0"
"ypos" "0"
"zpos" "1"
"wide" "p.465"
"tall" "205"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"autoresize" "0"
"linespacing" "26"
"linegap" "4"
//"show_columns" "1"

"medal_width" "s.03"
"avatar_width" "s.03"
"spacer" "s.01"
"name_width" "s.10"
"class_width" "s.03"
"award_width" "s.03"
"stats_width" "s.05"
"horiz_inset" "5"[/code]

Can't find documentation on doodlestuff or jarateking.
6879
#6879
0 Frags +
			"BlueTeamScoreBG"

				"BlueTeamScore"

				"BlueTeamScoreDropshadow"

				"BlueTeamWinner"

				"BlueTeamWinnerDropshadow"

				"BlueTeamImage"

				"BlueTeamLabel"

				"BlueLeaderAvatar"

				"BlueLeaderAvatarBG"

				"BluePlayerListParent"

					"BluePlayerList"

				"BluePlayerListBG"

Can anyone identify what these attributes of the match summary actually are? I ask because I've managed to get the blue team's player list and stats approximately where I want them on the screen... but the border on the right side is missing and I think it's because it's getting chopped off by one of the "width" parameters I modified... I want to modify all the widths so the whole border still displays properly, but there are so many attributes and I can't tell which one controls any particular corresponding item on the match summary.. the names aren't really helpful to me, and nothing in this file is commented.

Red team is still completely missing altogether... not sure what to do about that yet. Testing any given change is extremely slow because I have to join a casual match and then wait for it to end... if there was a simple way to test the effects of each parameter, I'd love if someone could point me in the right direction.. I might be able to figure out what each setting modifies much more easily. Just kinda stabbing in the dark here... please send help

[code] "BlueTeamScoreBG"

"BlueTeamScore"

"BlueTeamScoreDropshadow"

"BlueTeamWinner"

"BlueTeamWinnerDropshadow"

"BlueTeamImage"

"BlueTeamLabel"

"BlueLeaderAvatar"

"BlueLeaderAvatarBG"

"BluePlayerListParent"

"BluePlayerList"

"BluePlayerListBG"[/code]

Can anyone identify what these attributes of the match summary actually are? I ask because I've managed to get the blue team's player list and stats approximately where I want them on the screen... but the border on the right side is missing and I think it's because it's getting chopped off by one of the "width" parameters I modified... I want to modify all the widths so the whole border still displays properly, but there are so many attributes and I can't tell which one controls any particular corresponding item on the match summary.. the names aren't really helpful to me, and nothing in this file is commented.

Red team is still completely missing altogether... not sure what to do about that yet. Testing any given change is extremely slow because I have to join a casual match and then wait for it to end... if there was a simple way to test the effects of each parameter, I'd love if someone could point me in the right direction.. I might be able to figure out what each setting modifies much more easily. Just kinda stabbing in the dark here... please send help
6880
#6880
0 Frags +

Hi I made the health font size one size bigger in spectatorguihealth.res and now the first number gets cut off and sometimes it wont even show the entire number, just the first number followed by "..." does anyone know how to fix this?

https://i.imgur.com/W99oQod.jpg

https://i.imgur.com/b8vqr7X.jpg

Hi I made the health font size one size bigger in spectatorguihealth.res and now the first number gets cut off and sometimes it wont even show the entire number, just the first number followed by "..." does anyone know how to fix this?

[img]https://i.imgur.com/W99oQod.jpg[/img]
[img]https://i.imgur.com/b8vqr7X.jpg[/img]
6881
#6881
0 Frags +
visa

Make tall and wide values a bit bigger of that part of the file. This may also cause you to change the x and ypos to recenter the numbers

[quote=visa][/quote]
Make tall and wide values a bit bigger of that part of the file. This may also cause you to change the x and ypos to recenter the numbers
6882
#6882
0 Frags +
doikuvisaMake tall and wide values a bit bigger of that part of the file. This may also cause you to change the x and ypos to recenter the numbers

tried that but the more i raise tall and wide, the more it cuts it off even when i reposition it :/

[quote=doiku][quote=visa][/quote]
Make tall and wide values a bit bigger of that part of the file. This may also cause you to change the x and ypos to recenter the numbers[/quote]
tried that but the more i raise tall and wide, the more it cuts it off even when i reposition it :/
6883
#6883
0 Frags +

Try making the targetID entry in hudlayout.res a bit bigger.

Try making the targetID entry in hudlayout.res a bit bigger.
6884
#6884
0 Frags +

In spectator tournament mode, I want to move one team to the other side, and changing the font

I'm talking about doing this and centering both sides https://imgur.com/a/En300Uh
. Also making the lines a bit thicker.

edit: I did what I wanted :).
another edit: How do I separate the uber %? I've seen that it's an addon but I can't get it to work.

[s]In spectator tournament mode, I want to move one team to the other side[/s], and changing the font
[s]
I'm talking about doing this and centering both sides https://imgur.com/a/En300Uh[/s]. Also making the lines a bit thicker.

edit: I did what I wanted :).
another edit: How do I separate the uber %? I've seen that it's an addon but I can't get it to work.
6885
#6885
0 Frags +

is there any way to preload custom icons for the match hud?
e.g.

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

doesn't seem to work on sv_pure

is there any way to preload custom icons for the match hud?
e.g.
[img]https://i.imgur.com/Y83MQj7.png[/img]
doesn't seem to work on sv_pure
6886
#6886
0 Frags +

is there a way to change vtf crosshairs ingame?

is there a way to change vtf crosshairs ingame?
6887
#6887
0 Frags +
mmrarkteis there a way to change vtf crosshairs ingame?

you can edit the .vtf file (the file with the image of the crosshair) and do "mat_reloadmaterial thumbnails"
you can't change the crosshair selected only the image of the selected crosshair if you get what i mean

[quote=mmrarkte]is there a way to change vtf crosshairs ingame?[/quote]
you can edit the .vtf file (the file with the image of the crosshair) and do "mat_reloadmaterial thumbnails"
you can't change the crosshair selected only the image of the selected crosshair if you get what i mean
6888
#6888
0 Frags +

Downloaded a new hud, was all well until I noticed on sniper sometimes it randomly disables the sniper scope, one life it wil be there, another it will be gone. Anyway I can edit it to not do that?

Downloaded a new hud, was all well until I noticed on sniper sometimes it randomly disables the sniper scope, one life it wil be there, another it will be gone. Anyway I can edit it to not do that?
6889
#6889
0 Frags +

is there a way to use taking damage as an event in animations?
eg: health value flashing similar to hitmarkers when you take damage as opposed to deal damage?

is there a way to use taking damage as an event in animations?
eg: health value flashing similar to hitmarkers when you take damage as opposed to deal damage?
6890
#6890
0 Frags +

When the medic is healing you, his medigun name is displayed. Is there a way to remove that?

When the medic is healing you, his medigun name is displayed. Is there a way to remove that?
6891
#6891
0 Frags +
UltrixWhen the medic is healing you, his medigun name is displayed. Is there a way to remove that?

Yes. Find "chat_english.txt" in your resource folder and add these lines there:
//SHORTER MEDIGUN NAME
"TF_playerid_mediccharge" "%s1%"
"TF_playerid_mediccharge_wpn" "%s1% (%s2)"

[quote=Ultrix]When the medic is healing you, his medigun name is displayed. Is there a way to remove that?[/quote]

Yes. Find "chat_english.txt" in your resource folder and add these lines there:
//SHORTER MEDIGUN NAME
"TF_playerid_mediccharge" "%s1%"
"TF_playerid_mediccharge_wpn" "%s1% (%s2)"
1 ⋅⋅ 227 228 229 230
Please sign in through STEAM to post a comment.