Upvote Upvoted 3 Downvote Downvoted
TF2 HUD - MainMenuOverride.res
posted in Customization
1
#1
0 Frags +

I am looking into how to make a button that is in the main menu and ingame.
I want the button to change the "cl_hud_minmode" to "0".
I managed to create a button, but clicking it only makes a sound of a button pressed, how do I make it so that when I press it, it executes the command "engine cl_hud_minmode 0"?
Big thanks to everyone! :D

I am looking into how to make a button that is in the main menu and ingame.
I want the button to change the "cl_hud_minmode" to "0".
I managed to create a button, but clicking it only makes a sound of a button pressed, how do I make it so that when I press it, it executes the command "engine cl_hud_minmode 0"?
Big thanks to everyone! :D
2
#2
3 Frags +

You define the engine command in GameMenu.res

	"ToggleScoreboard"
	{
		"label" "Scoreboard"
		"command" "engine toggle cl_hud_minmode"
		"tooltip" "Switch Scoreboards"
	}
You define the engine command in GameMenu.res

[code] "ToggleScoreboard"
{
"label" "Scoreboard"
"command" "engine toggle cl_hud_minmode"
"tooltip" "Switch Scoreboards"
}[/code]
3
#3
0 Frags +

Worked wonders, experimented a little and it works! :)

Worked wonders, experimented a little and it works! :)
Please sign in through STEAM to post a comment.