Upvote Upvoted 258 Downvote Downvoted
1 ⋅⋅ 76 77 78 79 80 81 82 ⋅⋅ 199
HUD editing: short questions, quick answers
posted in Customization
2341
#2341
0 Frags +

Is it possible to have a main menu of one hud and the ingame gameplay of another?If so how can I do that?

Is it possible to have a main menu of one hud and the ingame gameplay of another?If so how can I do that?
2342
#2342
0 Frags +

How do I change the color of the damage numbers in broeselhud blue?
There are no numeric rgb values, just names.
Here are the contents of the hud:

"Resource/UI/HudDamageAccount.res"
{
"CDamageAccountPanel"
{
"fieldName" "CDamageAccountPanel"
"text_x" "0"
"text_y" "0"
"delta_item_end_y" "0"
"PositiveColor" "Last Damage done"
"NegativeColor" "Damage Numbers"
"delta_lifetime" "1.0"
"delta_item_font" "surface20outline"
"delta_item_font_big" "surface20outline"
}

"DamageAccountValue"
{
"ControlName" "CExLabel"
"fieldName" "DamageAccountValue"
"xpos" "c110"
"ypos" "r145"
"zpos" "2"
"wide" "100"
"tall" "26"
"visible" "1"
"enabled" "1"
"labelText" "%metal%"
"textAlignment" "center"
"fgcolor" "Last Damage done"
"font" "surface20"
}

"DamageAccountValueBG"
{
"ControlName" "CExLabel"
"fieldName" "DamageAccountValueBG"
"xpos" "c110"
"ypos" "r145"
"zpos" "1"
"wide" "101"
"tall" "27"
"visible" "1"
"enabled" "1"
"labelText" "%metal%"
"textAlignment" "center"
"fgcolor" "0 0 0 255"
"font" "surface20"
}
}

How do I change the color of the damage numbers in broeselhud blue?
There are no numeric rgb values, just names.
Here are the contents of the hud:

"Resource/UI/HudDamageAccount.res"
{
"CDamageAccountPanel"
{
"fieldName" "CDamageAccountPanel"
"text_x" "0"
"text_y" "0"
"delta_item_end_y" "0"
"PositiveColor" "Last Damage done"
"NegativeColor" "Damage Numbers"
"delta_lifetime" "1.0"
"delta_item_font" "surface20outline"
"delta_item_font_big" "surface20outline"
}

"DamageAccountValue"
{
"ControlName" "CExLabel"
"fieldName" "DamageAccountValue"
"xpos" "c110"
"ypos" "r145"
"zpos" "2"
"wide" "100"
"tall" "26"
"visible" "1"
"enabled" "1"
"labelText" "%metal%"
"textAlignment" "center"
"fgcolor" "Last Damage done"
"font" "surface20"
}

"DamageAccountValueBG"
{
"ControlName" "CExLabel"
"fieldName" "DamageAccountValueBG"
"xpos" "c110"
"ypos" "r145"
"zpos" "1"
"wide" "101"
"tall" "27"
"visible" "1"
"enabled" "1"
"labelText" "%metal%"
"textAlignment" "center"
"fgcolor" "0 0 0 255"
"font" "surface20"
}
}
2343
#2343
-1 Frags +

Just replace those aliases for RGBs, it wont kill anything.

Just replace those aliases for RGBs, it wont kill anything.
2344
#2344
0 Frags +
SmesiJust replace those aliases for RGBs, it wont kill anything.

Thank you, it worked.

[quote=Smesi]Just replace those aliases for RGBs, it wont kill anything.[/quote]

Thank you, it worked.
2345
#2345
0 Frags +

How do I remove the thing in the lower box and how do I edit the position of the thing in the top box?
I'm using Flathud

thanks in advance

picture: http://imgur.com/VxnkvOT

How do I remove the thing in the lower box and how do I edit the position of the thing in the top box?
I'm using Flathud

thanks in advance

picture: http://imgur.com/VxnkvOT
2346
#2346
-1 Frags +
ShpeeismeHow do I remove the thing in the lower box and how do I edit the position of the thing in the top box?
I'm using Flathud

thanks in advance

picture: http://imgur.com/VxnkvOT

The charge meter and the label are modified on HudMedicCharge.res

[quote=Shpeeisme]How do I remove the thing in the lower box and how do I edit the position of the thing in the top box?
I'm using Flathud

thanks in advance

picture: http://imgur.com/VxnkvOT[/quote]
The charge meter and the label are modified on HudMedicCharge.res
2347
#2347
0 Frags +
SmesiThe charge meter and the label are modified on HudMedicCharge.res

what do you mean with the label? the higher box?

[quote=Smesi]
The charge meter and the label are modified on HudMedicCharge.res[/quote]

what do you mean with the label? the higher box?
2348
#2348
0 Frags +
ShpeeismeSmesiThe charge meter and the label are modified on HudMedicCharge.res
what do you mean with the label? the higher box?

He's talking about the second box down.

The first box is targetid.res I believe.

[quote=Shpeeisme][quote=Smesi]
The charge meter and the label are modified on HudMedicCharge.res[/quote]

what do you mean with the label? the higher box?[/quote]

He's talking about the second box down.

The first box is targetid.res I believe.
2349
#2349
0 Frags +
STOGEThe first box is targetid.res I believe.

thank you both

[quote=STOGE]
The first box is targetid.res I believe.[/quote]
thank you both
2350
#2350
0 Frags +
SmesiShpeeismeHow do I remove the thing in the lower box and how do I edit the position of the thing in the top box?
I'm using Flathud

thanks in advance

picture: http://imgur.com/VxnkvOT
The charge meter and the label are modified on HudMedicCharge.res

The charge bar can't be edited in HudMedicCharge.res. Or at least when I remove everything in that file and do reloadscheme, everything disappears except for the bar...

[quote=Smesi][quote=Shpeeisme]How do I remove the thing in the lower box and how do I edit the position of the thing in the top box?
I'm using Flathud

thanks in advance

picture: http://imgur.com/VxnkvOT[/quote]
The charge meter and the label are modified on HudMedicCharge.res[/quote]

The charge bar can't be edited in HudMedicCharge.res. Or at least when I remove everything in that file and do reloadscheme, everything disappears except for the bar...
2351
#2351
0 Frags +

-

-
2352
#2352
0 Frags +
Perthow can I fix skinned weapons showing up as transparent in my backpack? example - http://imgur.com/I3aA6O6

Yeah, if someone could get a fix for this it would be sick.

[quote=Pert]how can I fix skinned weapons showing up as transparent in my backpack? example - http://imgur.com/I3aA6O6[/quote]

Yeah, if someone could get a fix for this it would be sick.
2353
#2353
huds.tf
1 Frags +
No1inPartiqlarPerthow can I fix skinned weapons showing up as transparent in my backpack? example - http://imgur.com/I3aA6O6
Yeah, if someone could get a fix for this it would be sick.

The only fix is not using mat_phong 0.

Seriously. I tried EVERYTHING. I couldn't get them to work properly without mat_phong being set to 1.

[quote=No1inPartiqlar][quote=Pert]how can I fix skinned weapons showing up as transparent in my backpack? example - http://imgur.com/I3aA6O6[/quote]

Yeah, if someone could get a fix for this it would be sick.[/quote]

The only fix is not using mat_phong 0.

Seriously. I tried EVERYTHING. I couldn't get them to work properly without mat_phong being set to 1.
2354
#2354
0 Frags +

Where do I change the lifetime of this without changing lifetime of my floating damage numbers?
http://imgur.com/x6XRjAa

Where do I change the lifetime of this without changing lifetime of my floating damage numbers?
http://imgur.com/x6XRjAa
2355
#2355
0 Frags +

Is it possible to add scroll bars to elements? I just want a scroll bar on my MOTD panel. I know there is one by default but I can't find the controlling element in textwindow.res and I don't particularly like its style anyway.

Is it possible to add scroll bars to elements? I just want a scroll bar on my MOTD panel. I know there is one by default but I can't find the controlling element in textwindow.res and I don't particularly like its style anyway.
2356
#2356
0 Frags +

Is it possible to change the chat font? If so, where?

Where do I change the lifetime of this without changing lifetime of my floating damage numbers?
http://imgur.com/x6XRjAa

Is it possible to change the chat font? If so, where?

Where do I change the lifetime of this without changing lifetime of my floating damage numbers?
http://imgur.com/x6XRjAa[s][/s]
2357
#2357
0 Frags +
ShpeeismeIs it possible to change the chat font? If so, where?

Where do I change the lifetime of this without changing lifetime of my floating damage numbers?
http://imgur.com/x6XRjAa

ChatFont in clientscheme. All font definitions are contained in clientscheme.

Pretty sure they are tied together. It would be in hudammoweapons, the delta_lifetime parameter.

[quote=Shpeeisme]Is it possible to change the chat font? If so, where?

Where do I change the lifetime of this without changing lifetime of my floating damage numbers?
http://imgur.com/x6XRjAa[s][/s][/quote]

ChatFont in clientscheme. All font definitions are contained in clientscheme.

Pretty sure they are tied together. It would be in hudammoweapons, the delta_lifetime parameter.
2358
#2358
0 Frags +

Probably a dumb question but what is the element for contracts called?

Probably a dumb question but what is the element for contracts called?
2359
#2359
0 Frags +
EoNProbably a dumb question but what is the element for contracts called?

The button itself? That's in mainmenuoverride, called QuestLogButton.

[quote=EoN]Probably a dumb question but what is the element for contracts called?[/quote]

The button itself? That's in mainmenuoverride, called QuestLogButton.
2360
#2360
0 Frags +

Have a short qns here!
How do you change the colour when you get 1 kill/death or more from green to white?
Eg: http://i.imgur.com/9V4CXhQ.jpg
Look at the 1 on the scoreboard, its green n how do i make it white? Btw it is the death counter.

Thanks for your help!

Have a short qns here!
How do you change the colour when you get 1 kill/death or more from green to white?
Eg: [url=http://i.imgur.com/9V4CXhQ.jpg]http://i.imgur.com/9V4CXhQ.jpg [/url]
Look at the 1 on the scoreboard, its green n how do i make it white? Btw it is the death counter.

Thanks for your help!
2361
#2361
-4 Frags +
KqiHave a short qns here!
How do you change the colour when you get 1 kill/death or more from green to white?
Eg: http://i.imgur.com/9V4CXhQ.jpg
Look at the 1 on the scoreboard, its green n how do i make it white? Btw it is the death counter.

Thanks for your help!

http://rebelconquer.net/post/456134/hud-editing-short-questions-quick-answers

e: open resource/ui/scoreboard.res in Notepad++ or a similar word processor
https://github.com/MFSTATE/tf2basehud/blob/master/resource/ui/scoreboard.res#L1166-L1169
Change both "DeathsLabel"s to anything else, but make sure you change both labels to the same thing

[quote=Kqi]Have a short qns here!
How do you change the colour when you get 1 kill/death or more from green to white?
Eg: [url=http://i.imgur.com/9V4CXhQ.jpg]http://i.imgur.com/9V4CXhQ.jpg [/url]
Look at the 1 on the scoreboard, its green n how do i make it white? Btw it is the death counter.

Thanks for your help![/quote]

http://rebelconquer.net/post/456134/hud-editing-short-questions-quick-answers

e: open resource/ui/scoreboard.res in Notepad++ or a similar word processor
https://github.com/MFSTATE/tf2basehud/blob/master/resource/ui/scoreboard.res#L1166-L1169
Change both "DeathsLabel"s to anything else, but make sure you change both labels to the same thing
2362
#2362
0 Frags +
JermKqiHave a short qns here!
How do you change the colour when you get 1 kill/death or more from green to white?
Eg: http://i.imgur.com/9V4CXhQ.jpg
Look at the 1 on the scoreboard, its green n how do i make it white? Btw it is the death counter.

Thanks for your help!

http://rebelconquer.net/post/456134/hud-editing-short-questions-quick-answers

http://rebelconquer.net/19073/hud-editing-short-questions-quick-answers/?page=79

[quote=Jerm][quote=Kqi]Have a short qns here!
How do you change the colour when you get 1 kill/death or more from green to white?
Eg: [url=http://i.imgur.com/9V4CXhQ.jpg]http://i.imgur.com/9V4CXhQ.jpg [/url]
Look at the 1 on the scoreboard, its green n how do i make it white? Btw it is the death counter.

Thanks for your help![/quote]

http://rebelconquer.net/post/456134/hud-editing-short-questions-quick-answers[/quote]
http://rebelconquer.net/19073/hud-editing-short-questions-quick-answers/?page=79
2363
#2363
1 Frags +

How do I change the length of the player's name on the scoreboard? I tried messing with name_width in scoreboard.res but nothing worked.

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

How do I change the length of the player's name on the scoreboard? I tried messing with name_width in scoreboard.res but nothing worked.

[img]https://i.imgur.com/PZSHgeV.jpg[/img]
2364
#2364
0 Frags +
RainmanHow do I change the length of the player's name on the scoreboard? I tried messing with name_width in scoreboard.res but nothing worked.

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

Looks like you still need to add the "medal_width" line next to name_width. That said, you can't change the name lenght any more since this last update.

[quote=Rainman]How do I change the length of the player's name on the scoreboard? I tried messing with name_width in scoreboard.res but nothing worked.

[img]https://i.imgur.com/PZSHgeV.jpg[/img][/quote]

Looks like you still need to add the "medal_width" line next to name_width. That said, you can't change the name lenght any more since this last update.
2365
#2365
0 Frags +

so I am stuck with one letter names?

so I am stuck with one letter names?
2366
#2366
0 Frags +

Have you added in the medal_width line and it hasn't changed anything?

Have you added in the medal_width line and it hasn't changed anything?
2367
#2367
0 Frags +
_KermitHave you added in the medal_width line and it hasn't changed anything?

My medal_width is set to 2.

[quote=_Kermit]Have you added in the medal_width line and it hasn't changed anything?[/quote]

My medal_width is set to 2.
2368
#2368
0 Frags +

Hmm that's weird man, sorry to say I don't think I can help. The huds I've used have somehow been mostly unaffected by this update, the scoreboards have been fine :/

Hmm that's weird man, sorry to say I don't think I can help. The huds I've used have somehow been mostly unaffected by this update, the scoreboards have been fine :/
2369
#2369
0 Frags +
SmesiJermKqiHave a short qns here!
How do you change the colour when you get 1 kill/death or more from green to white?
Eg: http://i.imgur.com/9V4CXhQ.jpg
Look at the 1 on the scoreboard, its green n how do i make it white? Btw it is the death counter.

Thanks for your help!

http://rebelconquer.net/post/456134/hud-editing-short-questions-quick-answers
http://rebelconquer.net/19073/hud-editing-short-questions-quick-answers/?page=79

I did try to change the fgcolor to "255 255 255 255" however there must be another file that is causing the numbers to be green cause it still remained green when I killed myself. Tried looking through the animations file, could not find anything related to the colours changing from white to green when the kill/death count is above 0.

Pastebin of the scoreboard.res kill and deaths section: http://pastebin.com/NWWTLmuS

[quote=Smesi][quote=Jerm][quote=Kqi]Have a short qns here!
How do you change the colour when you get 1 kill/death or more from green to white?
Eg: [url=http://i.imgur.com/9V4CXhQ.jpg]http://i.imgur.com/9V4CXhQ.jpg [/url]
Look at the 1 on the scoreboard, its green n how do i make it white? Btw it is the death counter.

Thanks for your help![/quote]

http://rebelconquer.net/post/456134/hud-editing-short-questions-quick-answers[/quote]
http://rebelconquer.net/19073/hud-editing-short-questions-quick-answers/?page=79[/quote]

I did try to change the fgcolor to "255 255 255 255" however there must be another file that is causing the numbers to be green cause it still remained green when I killed myself. Tried looking through the animations file, could not find anything related to the colours changing from white to green when the kill/death count is above 0.

Pastebin of the scoreboard.res kill and deaths section: [url=http://pastebin.com/NWWTLmuS]http://pastebin.com/NWWTLmuS[/url]
2370
#2370
0 Frags +
KqiSmesiJermKqiHave a short qns here!
How do you change the colour when you get 1 kill/death or more from green to white?
Eg: http://i.imgur.com/9V4CXhQ.jpg
Look at the 1 on the scoreboard, its green n how do i make it white? Btw it is the death counter.

Thanks for your help!

http://rebelconquer.net/post/456134/hud-editing-short-questions-quick-answers
http://rebelconquer.net/19073/hud-editing-short-questions-quick-answers/?page=79

I did try to change the fgcolor to "255 255 255 255" however there must be another file that is causing the numbers to be green cause it still remained green when I killed myself. Tried looking through the animations file, could not find anything related to the colours changing from white to green when the kill/death count is above 0.

Pastebin of the scoreboard.res kill and deaths section: http://pastebin.com/NWWTLmuS

I actually messed up the elements you have to rename, my bad.

Basically, make a copy of Kills and Deaths (not KillsLabel and DeathsLabel), turn the original Kills and Deaths to visible 0, and make the copy of your kills and deaths a different name like "KillsNotGreen" and "DeathsNotGreen". As long as your elements aren't called Kills and Deaths, they won't turn Green when they're non-zero.

m0rehud black as an example below

"Kills" //turn the default kill counting element invisible
		{
			"ControlName"           "CExLabel"
			"fieldName"		 "Kills"
			"visible"		   "0"
		}
		"KillsWhite" //make a new kill counting element that isn't named Kills and customize that
		{
			"ControlName"           "CExLabel"
			"fieldName"		 "KillsWhite"
[quote=Kqi][quote=Smesi][quote=Jerm][quote=Kqi]Have a short qns here!
How do you change the colour when you get 1 kill/death or more from green to white?
Eg: [url=http://i.imgur.com/9V4CXhQ.jpg]http://i.imgur.com/9V4CXhQ.jpg [/url]
Look at the 1 on the scoreboard, its green n how do i make it white? Btw it is the death counter.

Thanks for your help![/quote]

http://rebelconquer.net/post/456134/hud-editing-short-questions-quick-answers[/quote]
http://rebelconquer.net/19073/hud-editing-short-questions-quick-answers/?page=79[/quote]

I did try to change the fgcolor to "255 255 255 255" however there must be another file that is causing the numbers to be green cause it still remained green when I killed myself. Tried looking through the animations file, could not find anything related to the colours changing from white to green when the kill/death count is above 0.

Pastebin of the scoreboard.res kill and deaths section: [url=http://pastebin.com/NWWTLmuS]http://pastebin.com/NWWTLmuS[/url][/quote]

I actually messed up the elements you have to rename, my bad.

Basically, make a copy of Kills and Deaths (not KillsLabel and DeathsLabel), turn the original Kills and Deaths to visible 0, and make the copy of your kills and deaths a different name like "KillsNotGreen" and "DeathsNotGreen". As long as your elements aren't called Kills and Deaths, they won't turn Green when they're non-zero.

m0rehud black as an example below
[code]"Kills" //turn the default kill counting element invisible
{
"ControlName" "CExLabel"
"fieldName" "Kills"
"visible" "0"
}
"KillsWhite" //make a new kill counting element that isn't named Kills and customize that
{
"ControlName" "CExLabel"
"fieldName" "KillsWhite"[/code]
1 ⋅⋅ 76 77 78 79 80 81 82 ⋅⋅ 199
Please sign in through STEAM to post a comment.