Upvote Upvoted 44 Downvote Downvoted
1 2
To: HUD DEVELOPERS Subject: MEET YOUR MATCH
posted in Customization
1
#1
0 Frags +

no this isn't a hud developer dating thread fun as that might be

assuming your HUD is 100% up to date just before MYM was launched, here's what you need to do.

note: this guide is not friendly to those that don't understand hud development. don't try what you're about to see unless you're confident. wait for your hud to be updated.

here's a full list of diffs for the MYM update (edit: heres a better one), proceed to update with those changes as you normally would.

after all that you're going to need to adapt your hud to the new versioning system, which is going to make custom huds fifty times better for end users. for now, you're going to just need to add this file to the root directory of your hud (for example, for an already-installed yayahud, it would be under tf/custom/yayahud/).

for those who don't want to download a file (hurr viruses) just make a blank file in notepad called info.vdf with these contents:

"customhud"
{
	"ui_version"	"1"
}

edit the file and replace "customhud" with the name of your root folder (for example, "yayahud").

you're going to need to update this file whenever valve pushes a UI revision before your users will be able to use their custom huds with the new version of TF2. i assume that valve will be conveying these version increments going forward, but that's just my guess.

i tested all of this successfully when updating yayahud, so these steps should work for everyone else too. if something doesn't work for you though feel free to drop a note here, and if you figure anything else out i'd be happy to add it to the op.

no this isn't a hud developer dating thread [i]fun as that might be[/i]

assuming your HUD is 100% up to date just before MYM was launched, here's what you need to do.

note: this guide is not friendly to those that don't understand hud development. don't try what you're about to see unless you're confident. wait for your hud to be updated.

[s][url=https://github.com/Yttrium-tYcLief/tf2hud/commit/a09992294aae412df7144cb1e55902466a370599]here's a full list of diffs for the MYM update[/url][/s] (edit: [url=https://github.com/Tewgon/tf2basehud/compare/Tewgon:1706d5ee54659bd997af9efc66ab7aef8707cae9...master]heres a better one[/url]), proceed to update with those changes as you normally would.

after all that you're going to need to adapt your hud to the new versioning system, which is going to make custom huds fifty times better for end users. for now, you're going to just need to add [url=https://drive.google.com/file/d/0B8bmsugSWfaidWJnZ25zUjlobnc/view]this file[/url] to the root directory of your hud (for example, for an already-installed yayahud, it would be under tf/custom/yayahud/).

for those who don't want to download a file (hurr viruses) just make a blank file in notepad called info.vdf with these contents:

[code]"customhud"
{
"ui_version" "1"
}[/code]

edit the file and replace "customhud" with the name of your root folder (for example, "yayahud").

you're going to need to update this file whenever valve pushes a UI revision before your users will be able to use their custom huds with the new version of TF2. i assume that valve will be conveying these version increments going forward, but that's just my guess.

i tested all of this successfully when updating yayahud, so these steps should work for everyone else too. if something doesn't work for you though feel free to drop a note here, and if you figure anything else out i'd be happy to add it to the op.
2
#2
5 Frags +

Worked for me, thanks! Enjoy your vacation.

Worked for me, thanks! Enjoy your vacation.
3
#3
29 Frags +
"ScrollBar"
				{
					"ControlName"	"ScrollBar"
					"FieldName"		"ScrollBar"
					"xpos"			"rs1-1"
					"ypos"			"0"
					"tall"			"f0"
					"wide"			"5" // This gets slammed from client schme.  GG.
					"zpos"			"1000"
					"nobuttons"		"1"
					"proportionaltoparent"	"1"

nice notes valve

[code]"ScrollBar"
{
"ControlName" "ScrollBar"
"FieldName" "ScrollBar"
"xpos" "rs1-1"
"ypos" "0"
"tall" "f0"
"wide" "5" // This gets slammed from client schme. GG.
"zpos" "1000"
"nobuttons" "1"
"proportionaltoparent" "1"[/code]


nice notes valve
4
#4
4 Frags +

damn you're really far into the changes already

damn you're really far into the changes already
5
#5
15 Frags +

i was doing this since i got the update

i am a slave

i was doing this since i got the update

i am a slave
6
#6
20 Frags +

it updates its hud or else it gets the hose

it updates its hud or else it gets the hose
7
#7
0 Frags +

Will use your hud if you update it, solid job

Will use your hud if you update it, solid job
8
#8
2 Frags +

just realized i only provided diffs for the resources folder, and not also the scripts folder which has important things in it like hudlayout.res and hudanimations_tf.txt. if someone could give me diffs for that it would be much appreciated

just realized i only provided diffs for the resources folder, and not also the scripts folder which has important things in it like hudlayout.res and hudanimations_tf.txt. if someone could give me diffs for that it would be much appreciated
9
#9
0 Frags +

I fixed mine with

{
{
	"ui_version"	"1"
}
}

but I guess it does not matter as long as you have "ui_version" "1" in squiggly brackets.

1,151 additions, 1,313 deletions not shown because the diff is too large. Please use a local Git client to view these changes.

Any idea how I would use a local git client to view the changed to mainmenuoverride.res? I am not very experienced with github.

I fixed mine with

[code]{
{
"ui_version" "1"
}
}[/code]

but I guess it does not matter as long as you have "ui_version" "1" in squiggly brackets.

[quote]1,151 additions, 1,313 deletions not shown because the diff is too large. Please use a local Git client to view these changes.[/quote]

Any idea how I would use a local git client to view the changed to mainmenuoverride.res? I am not very experienced with github.
10
#10
4 Frags +

Is being able to put your Avatar and Username on steam in the mainmenu dead now?

Is being able to put your Avatar and Username on steam in the mainmenu dead now?
11
#11
4 Frags +
StaticVoidIs being able to put your Avatar and Username on steam in the mainmenu dead now?

seems so

[quote=StaticVoid]Is being able to put your Avatar and Username on steam in the mainmenu dead now?[/quote]
seems so
12
#12
-2 Frags +

Doesn't work for me... I put the file "info.vdf.txt" in my hud folder and renamed the "customhud" to "evehud" the hud I use, I open the game, and the Pyro vs. Heavy screen is all messed up, I can't click find a game and if I go in to the console and go to a map, my hud is not there.

Doesn't work for me... I put the file "info.vdf.txt" in my hud folder and renamed the "customhud" to "evehud" the hud I use, I open the game, and the Pyro vs. Heavy screen is all messed up, I can't click find a game and if I go in to the console and go to a map, my hud is not there.
13
#13
2 Frags +

The file needs to be named "info.vdf" rather than "info.vdf.txt". Also, be sure to set this in Explorer:

http://puu.sh/pUBy1/2cd4d9842c.png

The file needs to be named "info.vdf" rather than "info.vdf.txt". Also, be sure to set this in Explorer:
[img]http://puu.sh/pUBy1/2cd4d9842c.png[/img]
14
#14
0 Frags +
epiThe file needs to be named "info.vdf" rather than "info.vdf.txt". Also, be sure to set this in Explorer:
http://puu.sh/pUBy1/2cd4d9842c.png

Ok, so I just put it in my hudfolder?

[quote=epi]The file needs to be named "info.vdf" rather than "info.vdf.txt". Also, be sure to set this in Explorer:
[img]http://puu.sh/pUBy1/2cd4d9842c.png[/img][/quote]
Ok, so I just put it in my hudfolder?
15
#15
-4 Frags +

http://www96.zippyshare.com/v/ttyP9KPj/file.html
file mentionned

http://www96.zippyshare.com/v/ttyP9KPj/file.html
file mentionned
16
#16
0 Frags +
epiThe file needs to be named "info.vdf" rather than "info.vdf.txt". Also, be sure to set this in Explorer:
http://puu.sh/pUBy1/2cd4d9842c.png

Well, when I open the game I see the old tf2 title screen before the update and I can't click anything

[quote=epi]The file needs to be named "info.vdf" rather than "info.vdf.txt". Also, be sure to set this in Explorer:
[img]http://puu.sh/pUBy1/2cd4d9842c.png[/img][/quote]
Well, when I open the game I see the old tf2 title screen before the update and I can't click anything
17
#17
0 Frags +
N3vohttp://www96.zippyshare.com/v/ttyP9KPj/file.html
file mentionned

Your download didn't change anything, I am still on the tf2 title screen before the update not being able to click on anything at all.

[quote=N3vo]http://www96.zippyshare.com/v/ttyP9KPj/file.html
file mentionned[/quote]
Your download didn't change anything, I am still on the tf2 title screen before the update not being able to click on anything at all.
18
#18
1 Frags +

Is this modevents.res new? I can't seem to find it anywhere in my hud directory.
im an idiot

[s]Is this modevents.res new? I can't seem to find it anywhere in my hud directory.[/s]
im an idiot
19
#19
1 Frags +
kermitTheFrogN3vohttp://www96.zippyshare.com/v/ttyP9KPj/file.html
file mentionned
Your download didn't change anything, I am still on the tf2 title screen before the update not being able to click on anything at all.

Works for me with M0rehud black, OMP hud and aHud (nly ones I tried it with), is it in your custom/HUD directory ?

[quote=kermitTheFrog][quote=N3vo]http://www96.zippyshare.com/v/ttyP9KPj/file.html
file mentionned[/quote]
Your download didn't change anything, I am still on the tf2 title screen before the update not being able to click on anything at all.[/quote]
Works for me with M0rehud black, OMP hud and aHud (nly ones I tried it with), is it in your custom/HUD directory ?
20
#20
0 Frags +
N3vokermitTheFrogN3vohttp://www96.zippyshare.com/v/ttyP9KPj/file.html
file mentionned
Your download didn't change anything, I am still on the tf2 title screen before the update not being able to click on anything at all.
Works for me with M0rehud black, OMP hud and aHud (nly ones I tried it with), is it in your custom/HUD directory ?

Is what in my HUD directory?

[quote=N3vo][quote=kermitTheFrog][quote=N3vo]http://www96.zippyshare.com/v/ttyP9KPj/file.html
file mentionned[/quote]
Your download didn't change anything, I am still on the tf2 title screen before the update not being able to click on anything at all.[/quote]
Works for me with M0rehud black, OMP hud and aHud (nly ones I tried it with), is it in your custom/HUD directory ?[/quote]
Is what in my HUD directory?
21
#21
0 Frags +
N3vokermitTheFrogN3vohttp://www96.zippyshare.com/v/ttyP9KPj/file.html
file mentionned
Your download didn't change anything, I am still on the tf2 title screen before the update not being able to click on anything at all.
Works for me with M0rehud black, OMP hud and aHud (nly ones I tried it with), is it in your custom/HUD directory ?

Wait, what file do I put the info.vdf file in, my hud folder or the custom folder?

[quote=N3vo][quote=kermitTheFrog][quote=N3vo]http://www96.zippyshare.com/v/ttyP9KPj/file.html
file mentionned[/quote]
Your download didn't change anything, I am still on the tf2 title screen before the update not being able to click on anything at all.[/quote]
Works for me with M0rehud black, OMP hud and aHud (nly ones I tried it with), is it in your custom/HUD directory ?[/quote]
Wait, what file do I put the info.vdf file in, my hud folder or the custom folder?
22
#22
0 Frags +
kermitTheFrogWait, what file do I put the info.vdf file in, my hud folder or the custom folder?yttriumafter all that you're going to need to adapt your hud to the new versioning system, which is going to make custom huds fifty times better for end users. for now, you're going to just need to add this file to the root directory of your hud (for example, for an already-installed yayahud, it would be under tf/custom/yayahud/).
[quote=kermitTheFrog]Wait, what file do I put the info.vdf file in, my hud folder or the custom folder?[/quote]
[quote=yttrium]after all that you're going to need to adapt your hud to the new versioning system, which is going to make custom huds fifty times better for end users. for now, you're going to just need to add this file to the root directory of your hud (for example, for an already-installed yayahud, it would be under tf/custom/yayahud/).[/quote]
23
#23
0 Frags +
poopy_kermitTheFrogN3vokermitTheFrogN3vohttp://www96.zippyshare.com/v/ttyP9KPj/file.html
file mentionned
Your download didn't change anything, I am still on the tf2 title screen before the update not being able to click on anything at all.
Works for me with M0rehud black, OMP hud and aHud (nly ones I tried it with), is it in your custom/HUD directory ?
Wait, what file do I put the info.vdf file in, my hud folder or the custom folder?
within the hud folder

When I put it in there, I have the old tf2 title screen before the update and I can't click any thing.

[quote=poopy_][quote=kermitTheFrog][quote=N3vo][quote=kermitTheFrog][quote=N3vo]http://www96.zippyshare.com/v/ttyP9KPj/file.html
file mentionned[/quote]
Your download didn't change anything, I am still on the tf2 title screen before the update not being able to click on anything at all.[/quote]
Works for me with M0rehud black, OMP hud and aHud (nly ones I tried it with), is it in your custom/HUD directory ?[/quote]
Wait, what file do I put the info.vdf file in, my hud folder or the custom folder?[/quote]
within the hud folder[/quote]
When I put it in there, I have the old tf2 title screen before the update and I can't click any thing.
24
#24
0 Frags +

I'm probably blind but what are the new HudItemEffectMeter_Heavy changes for??
new meter and killcomboclassicons

Show Content
"ItemEffectMeterLabel2"
{
"ControlName" "CExLabel"
"fieldName" "ItemEffectMeterLabel2"
"xpos" "40"
"ypos" "31"
"zpos" "2"
"wide" "41"
"tall" "15"
"autoResize" "1"
"pinCorner" "2"
"visible" "0"
"ypos_minmode" "0"
"xpos_minmode" "-10"
"enabled" "1"
"tabPosition" "0"
"labelText" "#TF_KILLCOMBO"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"font" "TFFontSmall"
}

"KillComboClassIcon1"
{
"ControlName" "ImagePanel"
"fieldName" "KillComboClassIcon1"
"xpos" "40"
"ypos" "23"
"wide" "12"
"tall" "12"
"visible" "0"
"visible_minmode" "0"
"enabled" "1"
"image" "../HUD/leaderboard_class_scout"
"scaleImage" "1"
}

"KillComboClassIcon2"
{
"ControlName" "ImagePanel"
"fieldName" "KillComboClassIcon2"
"xpos" "52"
"ypos" "23"
"wide" "12"
"tall" "12"
"visible" "0"
"enabled" "1"
"image" "../HUD/leaderboard_class_scout"
"scaleImage" "1"
}

"KillComboClassIcon3"
{
"ControlName" "ImagePanel"
"fieldName" "KillComboClassIcon3"
"xpos" "64"
"ypos" "23"
"wide" "12"
"tall" "12"
"visible" "0"
"enabled" "1"
"image" "../HUD/leaderboard_class_scout"
"scaleImage" "1"
}
I'm probably blind but what are the new HudItemEffectMeter_Heavy changes for??
new meter and killcomboclassicons

[spoiler]"ItemEffectMeterLabel2"
{
"ControlName" "CExLabel"
"fieldName" "ItemEffectMeterLabel2"
"xpos" "40"
"ypos" "31"
"zpos" "2"
"wide" "41"
"tall" "15"
"autoResize" "1"
"pinCorner" "2"
"visible" "0"
"ypos_minmode" "0"
"xpos_minmode" "-10"
"enabled" "1"
"tabPosition" "0"
"labelText" "#TF_KILLCOMBO"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"font" "TFFontSmall"
}

"KillComboClassIcon1"
{
"ControlName" "ImagePanel"
"fieldName" "KillComboClassIcon1"
"xpos" "40"
"ypos" "23"
"wide" "12"
"tall" "12"
"visible" "0"
"visible_minmode" "0"
"enabled" "1"
"image" "../HUD/leaderboard_class_scout"
"scaleImage" "1"
}

"KillComboClassIcon2"
{
"ControlName" "ImagePanel"
"fieldName" "KillComboClassIcon2"
"xpos" "52"
"ypos" "23"
"wide" "12"
"tall" "12"
"visible" "0"
"enabled" "1"
"image" "../HUD/leaderboard_class_scout"
"scaleImage" "1"
}

"KillComboClassIcon3"
{
"ControlName" "ImagePanel"
"fieldName" "KillComboClassIcon3"
"xpos" "64"
"ypos" "23"
"wide" "12"
"tall" "12"
"visible" "0"
"enabled" "1"
"image" "../HUD/leaderboard_class_scout"
"scaleImage" "1"
} [/spoiler]
25
#25
0 Frags +
kermitTheFrogWhen I put it in there, I have the old tf2 title screen before the update and I can't click any thing.

Your hud is fully updated with the new changes?

[quote=kermitTheFrog]When I put it in there, I have the old tf2 title screen before the update and I can't click any thing.[/quote]
Your hud is fully updated with the new changes?
26
#26
0 Frags +
poopy_kermitTheFrogWhen I put it in there, I have the old tf2 title screen before the update and I can't click any thing.Your hud is fully updated with the new changes?

Yes, I have the notepad in. (.vdf)

[quote=poopy_][quote=kermitTheFrog]When I put it in there, I have the old tf2 title screen before the update and I can't click any thing.[/quote]
Your hud is fully updated with the new changes?[/quote]
Yes, I have the notepad in. (.vdf)
27
#27
-1 Frags +
poopy_kermitTheFrogWhen I put it in there, I have the old tf2 title screen before the update and I can't click any thing.Your hud is fully updated with the new changes?

Or could you just link me a hud that already is fixed?

[quote=poopy_][quote=kermitTheFrog]When I put it in there, I have the old tf2 title screen before the update and I can't click any thing.[/quote]
Your hud is fully updated with the new changes?[/quote]
Or could you just link me a hud that already is fixed?
28
#28
0 Frags +
kermitTheFrogpoopy_kermitTheFrogWhen I put it in there, I have the old tf2 title screen before the update and I can't click any thing.Your hud is fully updated with the new changes?Or could you just link me a hud that already is fixed?

Have you actually read the OP

yttriumnote: this guide is not friendly to those that don't understand hud development. don't try what you're about to see unless you're confident. wait for your hud to be updated.
[quote=kermitTheFrog][quote=poopy_][quote=kermitTheFrog]When I put it in there, I have the old tf2 title screen before the update and I can't click any thing.[/quote]
Your hud is fully updated with the new changes?[/quote]
Or could you just link me a hud that already is fixed?[/quote]
Have you actually read the OP
[quote=yttrium]note: this guide is not friendly to those that don't understand hud development. don't try what you're about to see unless you're confident. wait for your hud to be updated.[/quote]
29
#29
0 Frags +
poopy_kermitTheFrogpoopy_kermitTheFrogWhen I put it in there, I have the old tf2 title screen before the update and I can't click any thing.Your hud is fully updated with the new changes?Or could you just link me a hud that already is fixed?Have you actually read the OPyttriumnote: this guide is not friendly to those that don't understand hud development. don't try what you're about to see unless you're confident. wait for your hud to be updated.

Yea ok, could you give me the link to any updated hud please? :)

[quote=poopy_][quote=kermitTheFrog][quote=poopy_][quote=kermitTheFrog]When I put it in there, I have the old tf2 title screen before the update and I can't click any thing.[/quote]
Your hud is fully updated with the new changes?[/quote]
Or could you just link me a hud that already is fixed?[/quote]
Have you actually read the OP
[quote=yttrium]note: this guide is not friendly to those that don't understand hud development. don't try what you're about to see unless you're confident. wait for your hud to be updated.[/quote][/quote]
Yea ok, could you give me the link to any updated hud please? :)
30
#30
0 Frags +
kermitTheFrogYes, I have the notepad in. (.vdf)

lol that's 1% of what's needed to update a HUD.

if you aren't a HUD developer this thread is useless to you.

XenThePybroAny idea how I would use a local git client to view the changed to mainmenuoverride.res? I am not very experienced with github.

honestly nothing in there is useful. It's just the changes to Valve's main menu. I perused it with GitHub for Windows and every single change either adds MYM branding or tweaks button positions.

EDIT: not entirely correct. if you want to use Valve's new play dropdown in your HUD you'll want to add the "PlaylistContainer" stuff, flathud's diff is small enough to load

[quote=kermitTheFrog]
Yes, I have the notepad in. (.vdf)[/quote]
lol that's 1% of what's needed to update a HUD.

if you aren't a HUD developer this thread is useless to you.

[quote=XenThePybro]Any idea how I would use a local git client to view the changed to mainmenuoverride.res? I am not very experienced with github.[/quote]
honestly nothing in there is useful. It's just the changes to Valve's main menu. I perused it with GitHub for Windows and every single change either adds MYM branding or tweaks button positions.

EDIT: not entirely correct. if you want to use Valve's new play dropdown in your HUD you'll want to add the "PlaylistContainer" stuff, [url=https://github.com/flatlinee/flathud/commit/cb3c5b486665132b95b8d3e151a9bd68acf0914f]flathud's diff[/url] is small enough to load
1 2
Please sign in through STEAM to post a comment.