Removing HL Steam option menu tabs? Created 7 years ago2017-01-20 09:32:23 UTC by Mr Gnang Mr Gnang

Created 7 years ago2017-01-20 09:32:23 UTC by Mr Gnang Mr Gnang

Posted 7 years ago2017-01-20 09:32:23 UTC Post #333120
Hi all!

I am hoping to remove some Half-Life steam menu option tabs (such as multiplayer and content lock).

Is there an easy way to do this?

So far I can only see how to hide elements within these tabs through the .res files in the resource folder, but not how to remove the tabs outright.

Is this a case of modifying the dlls?

Thanks, James
Posted 7 years ago2017-01-20 09:38:16 UTC Post #333121
Yes you would need to modify code, I believe you can do this with the HL SDK, but don't quote me on that.

What is the problem with just hiding them ?
rufee rufeeSledge fanboy
Posted 7 years ago2017-01-20 09:44:45 UTC Post #333122
You can't hide the tabs from the .res files (from what I have found), but only the content. So I would be left with Multiplayer and Content tabs that just lead to empty option windows. It's just to tidy it up :)

Thanks for the reply!
Posted 7 years ago2017-01-20 09:47:21 UTC Post #333123
You can't do much with the Steam GUI because it's inside the GameUI binary whose code is not available.

Solokiller requested that code to be open sourced a long time ago so modders could implement their own GameUI (maybe revive WON UI too) but no reply so far.
Posted 7 years ago2017-01-20 10:30:30 UTC Post #333125
You might be able to use the VGUI2 interface to remove the panels, not sure.
I just sent another mail, maybe this one will convince them.

vgui2::IPanel::DeletePanel is probably your best best. If that crashes, vgui2::IPanel::SetParent with NULL_HANDLE as the parent should remove the panel IIRC.
Posted 7 years ago2017-01-20 11:05:04 UTC Post #333126
you need to email valve to change the menu? damn hl is really moddable. I have seen servers modify your menu through slowhacking
You must be logged in to post a response.