Upvote Upvoted 5 Downvote Downvoted
main menu buttons
posted in Customization
1
#1
0 Frags +

I'm trying to put a shadow behind the buttons on my edited version of yahuds main menu and am completely lost. My custom main menu background is very bright, and so to make them more legible I tried to add a black copy of the button behind them just like the health and ammo of every hud ever. All well and good, right?

http://i.imgur.com/k9XGdPI.jpg

Well, not so much. Seems like most of the main buttons are defined only in gamemenu.res and not in mainmenuoverride.res. I tried adding extra buttons in gamemenu.res but the result was the wrong font and wrong position, as should be expected. How are the buttons that don't appear in mainmenuoverride defined? To elaborate, where are their font definitions and positions?

http://i.imgur.com/dwbMQ1A.png

MainMenuOverride.res
GameMenu.res
(as of second screenshot)

On a side but main-menu related note, which res file controls this menu?

http://i.imgur.com/IbzG53d.png

Sorry for the new thread it's just that since doodle's and flame's hud guides are so tight-lipped on the subject of main menus I was hoping this would prove helpful to more people than me.

I'm trying to put a shadow behind the buttons on my edited version of yahuds main menu and am completely lost. My custom main menu background is very bright, and so to make them more legible I tried to add a black copy of the button behind them just like the health and ammo of every hud ever. All well and good, right?
[img]http://i.imgur.com/k9XGdPI.jpg[/img]
Well, not so much. Seems like most of the main buttons are defined only in gamemenu.res and not in mainmenuoverride.res. I tried adding extra buttons in gamemenu.res but the result was the wrong font and wrong position, as should be expected. How are the buttons that don't appear in mainmenuoverride defined? To elaborate, where are their font definitions and positions?
[img]http://i.imgur.com/dwbMQ1A.png[/img]
[url=http://pastebin.com/8KH1zLPJ]MainMenuOverride.res[/url]
[url=http://pastebin.com/XDT3Ft1M]GameMenu.res[/url]
(as of second screenshot)

On a side but main-menu related note, which res file controls this menu?
[img]http://i.imgur.com/IbzG53d.png[/img]

Sorry for the new thread it's just that since doodle's and flame's hud guides are so tight-lipped on the subject of main menus I was hoping this would prove helpful to more people than me.
2
#2
0 Frags +

There are buttons that can be defined in the mainmenuoverride.res that do not have to be defined in gamemenu.res, but I don't think I've seen it the other way around. Which buttons are you talking about? Also in the third picture, the file is called quickplaydialog.res I'm pretty sure. If you want the radio buttons that are supposed to appear for that specific panel you have up, make sure you have this in your in your clientscheme.res with the rest of your fonts:

"Marlett"
		{
			"1"
			{
				"name"		"Marlett"
				"tall"		"20"
				"weight"	"0"
				"symbol"	"1"
				"range"		"0x0000 0x007F"	//	Basic Latin
			}
		}
		"MarlettSmall"
		{
			"1"
			{
				"name"		"Marlett"
				"tall"		"14"
				"weight"	"0"
				"symbol"	"1"
				"range"		"0x0000 0x007F"	//	Basic Latin
			}
		}
There are buttons that can be defined in the mainmenuoverride.res that do not have to be defined in gamemenu.res, but I don't think I've seen it the other way around. Which buttons are you talking about? Also in the third picture, the file is called quickplaydialog.res I'm pretty sure. If you want the radio buttons that are supposed to appear for that specific panel you have up, make sure you have this in your in your clientscheme.res with the rest of your fonts:

[code]
"Marlett"
{
"1"
{
"name" "Marlett"
"tall" "20"
"weight" "0"
"symbol" "1"
"range" "0x0000 0x007F" // Basic Latin
}
}
"MarlettSmall"
{
"1"
{
"name" "Marlett"
"tall" "14"
"weight" "0"
"symbol" "1"
"range" "0x0000 0x007F" // Basic Latin
}
}
[/code]
3
#3
0 Frags +
MagmaThere are buttons that can be defined in the mainmenuoverride.res that do not have to be defined in gamemenu.res, but I don't think I've seen it the other way around. Which buttons are you talking about?

For every button in the second picture that doesn't have an outline I couldn't find anything in mainmenuoverrride.res, maybe I'm an idiot though.

[quote=Magma]There are buttons that can be defined in the mainmenuoverride.res that do not have to be defined in gamemenu.res, but I don't think I've seen it the other way around. Which buttons are you talking about?[/quote]

For every button in the second picture that doesn't have an outline I couldn't find anything in mainmenuoverrride.res, maybe I'm an idiot though.
4
#4
0 Frags +
hanbroloMagmaThere are buttons that can be defined in the mainmenuoverride.res that do not have to be defined in gamemenu.res, but I don't think I've seen it the other way around. Which buttons are you talking about?
For every button in the second picture that doesn't have an outline I couldn't find anything in mainmenuoverrride.res, maybe I'm an idiot though.

I'll make a list for the buttons here (name on the left is the name you see, name on the right is the button name):

"PLAY" -> "QuickplayButton"
"COOP" -> "PlayPVEButton"
"ITEMS" -> "CharacterSetupButton"
"STORE" -> "GeneralStoreButton"
"REPLAY" -> "ReplayBrowserButton"
"QUIT" -> "QuitButton"

[quote=hanbrolo][quote=Magma]There are buttons that can be defined in the mainmenuoverride.res that do not have to be defined in gamemenu.res, but I don't think I've seen it the other way around. Which buttons are you talking about?[/quote]

For every button in the second picture that doesn't have an outline I couldn't find anything in mainmenuoverrride.res, maybe I'm an idiot though.[/quote]

I'll make a list for the buttons here (name on the left is the name you see, name on the right is the button name):

"PLAY" -> "QuickplayButton"
"COOP" -> "PlayPVEButton"
"ITEMS" -> "CharacterSetupButton"
"STORE" -> "GeneralStoreButton"
"REPLAY" -> "ReplayBrowserButton"
"QUIT" -> "QuitButton"
5
#5
1 Frags +

I'm an idiot: confirmed.

Thanks for the help!

Although I'm pretty sure PLAY isn't the quickplay thing you said but serverbrowserbutton. (quickplay is the right-facing triangle in the bottom row of symbol buttons.)

I'm an idiot: [b]confirmed[/b].

Thanks for the help!

Although I'm pretty sure PLAY isn't the quickplay thing you said but serverbrowserbutton. (quickplay is the right-facing triangle in the bottom row of symbol buttons.)
6
#6
0 Frags +
hanbroloI'm an idiot: confirmed.

Thanks for the help!

Although I'm pretty sure PLAY isn't the quickplay thing you said but serverbrowserbutton. (quickplay is the right-facing triangle in the bottom row of symbol buttons.

Oh I thought "PLAY" brought up the quickplay search panel for that hud, my bad. Yea, it should be serverbrowserbutton then if it brings up the list of servers to choose from.

[quote=hanbrolo]I'm an idiot: [b]confirmed[/b].

Thanks for the help!

Although I'm pretty sure PLAY isn't the quickplay thing you said but serverbrowserbutton. (quickplay is the right-facing triangle in the bottom row of symbol buttons.[/quote]

Oh I thought "PLAY" brought up the quickplay search panel for that hud, my bad. Yea, it should be serverbrowserbutton then if it brings up the list of servers to choose from.
Please sign in through STEAM to post a comment.