Upvote Upvoted 4 Downvote Downvoted
Back Button Shortcut Key?
posted in Customization
1
#1
3 Frags +

Hi all.

So basically i want to add to my HUD a back button shortcut key, that I've seen some other HUDs have.

For example, when viewing a loadout and i want to resume game, instead of pressing back, i just want to hit Q.

Sorry if i'm shit at explaining things, help would be much appreciated.

Hi all.

So basically i want to add to my HUD a back button shortcut key, that I've seen some other HUDs have.

For example, when viewing a loadout and i want to resume game, instead of pressing back, i just want to hit Q.

Sorry if i'm shit at explaining things, help would be much appreciated.
2
#2
3 Frags +

in the label field of the button add this after the button's text: "(&E)" (without quotes ofc)

for example i have a button in my hud that activates when i press E. The label field looks like this:

"labelText"		"EDIT LOADOUT (&E)"

replace "E" with whatever you like but leave the ampersand.

in the label field of the button add this after the button's text: "(&E)" (without quotes ofc)

for example i have a button in my hud that activates when i press E. The label field looks like this:

[code]"labelText" "EDIT LOADOUT (&E)"[/code]
replace "E" with whatever you like but leave the ampersand.
3
#3
1 Frags +
mthsadin the label field of the button add this after the button's text: "(&E)" (without quotes ofc)

for example i have a button in my hud that activates when i press E. The label field looks like this:
"labelText"		"EDIT LOADOUT (&E)"
replace "E" with whatever you like but leave the ampersand.

Thanks, any idea where in the hud i find the button?

[quote=mthsad]in the label field of the button add this after the button's text: "(&E)" (without quotes ofc)

for example i have a button in my hud that activates when i press E. The label field looks like this:

[code]"labelText" "EDIT LOADOUT (&E)"[/code]
replace "E" with whatever you like but leave the ampersand.[/quote]

Thanks, any idea where in the hud i find the button?
4
#4
3 Frags +

*

*
5
#5
1 Frags +

Find CharInfoPanel in the resource/ui. if you can't find it, I can provide a link of mine with the shortcut for back and a new close button.

Find CharInfoPanel in the resource/ui. if you can't find it, I can provide a link of mine with the shortcut for back and a new close button.
6
#6
1 Frags +

im sorry, i forgot about this. soup's got you covered but let me know if you need any more help

im sorry, i forgot about this. soup's got you covered but let me know if you need any more help
7
#7
1 Frags +

*

*
8
#8
2 Frags +
RagorismI'd like a link to it, sure - I don't even have a CharInfoPanel.res file (I'm using a modified omp hud).

sure, http://www.mediafire.com/download/kxdya67yehri64k/CharInfoPanel.res

[quote=Ragorism]I'd like a link to it, sure - I don't even have a CharInfoPanel.res file (I'm using a modified omp hud).[/quote]

sure, http://www.mediafire.com/download/kxdya67yehri64k/CharInfoPanel.res
9
#9
1 Frags +

Yeah, it's all in charinfopanel. You can download the file from Nulflo's basehud repo on GitHub. The field is conveniently named "BackButton" so you should find it with no trouble.

I've also found having a close button really useful and can't live without it now. You can code your own by copying everything under the BackButton field, pasting below it in the same file, changing both field name definitions to something like "CloseButton", changing the "command" value to "close" and changing the labeltext value to something like "Close (&E)".

Yeah, it's all in charinfopanel. You can download the file from Nulflo's [url=https://github.com/NULFLO/tf2basehud]basehud repo[/url] on GitHub. The field is conveniently named "BackButton" so you should find it with no trouble.

I've also found having a close button really useful and can't live without it now. You can code your own by copying everything under the BackButton field, pasting below it in the same file, changing both field name definitions to something like "CloseButton", changing the "command" value to "close" and changing the labeltext value to something like "Close (&E)".
10
#10
0 Frags +

*

*
11
#11
1 Frags +
Soup8RagorismI'd like a link to it, sure - I don't even have a CharInfoPanel.res file (I'm using a modified omp hud).
sure, http://www.mediafire.com/download/kxdya67yehri64k/CharInfoPanel.res

Thank you so much man!

[quote=Soup8][quote=Ragorism]I'd like a link to it, sure - I don't even have a CharInfoPanel.res file (I'm using a modified omp hud).[/quote]

sure, http://www.mediafire.com/download/kxdya67yehri64k/CharInfoPanel.res[/quote]

Thank you so much man!
Please sign in through STEAM to post a comment.