resource
resource/background
gfx
background
folder you created earlier, and you're done.
GameMenu.res
in the resource
folder from the valve
folder to your mod's equivalent. Open the copy with a text editor. You'll see a bunch of segments of parameters.
"9"
{
"label" "#GameUI_GameMenu_FindServers"
"command" "OpenServerBrowser"
"notsingle" "1"
}
This one, for example, is the Find Servers button.label
controls the label, shockingly enough. #GameUI_GameMenu_FindServers
gets the title from the language file, but unless you're planning on multi-language support you can just change it to anything you want."command"
controls what happens when you press the button. OpenServerBrowser
is a Steam client command that opens the server browser. (Damn, it's all so self explanatory) You can change it to any other Steam command, such as OpenLoadGameDialog
which would cause the button to open the load game dialog instead.ResumeGame
Disconnect
OpenPlayerListDialog
OpenNewGameDialog
OpenLoadGameDialog
OpenSaveGameDialog
OpenServerBrowser
OpenCreateMultiplayerGameDialog
OpenLoadDemoDialog
OpenChangeGameDialog
OpenOptionsDialog
Quit
engine <console command>
, would cause the button to execute the console command when pressed. Example:
"command" "engine map c1a0"
This would cause the button to start the map c1a0
.notsingle
makes the button invisible in singleplayer mode. Other similar parameters are available: notmulti
, OnlyInGame
and notsteam
. They can be used together, like this:
"notsingle" "1"
"OnlyInGame" "1"
This would cause the button to only be visible when in a multiplayer game.
.res
file in the resource
folder.NewGameDialog.res
contains the new game dialog (Couldn't guess, could you?)..res
you'll see segments like these:
"Training"
{
"ControlName" "RadioButton"
"fieldName" "Training"
"xpos" "40"
"ypos" "94"
"wide" "220"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "1"
"labelText" "#GameUI_TrainingRoom"
"textAlignment" "west"
"dulltext" "0"
"default" "0"
"SubTabPosition" "1"
}
This is the "Training Room" radio button. labelText
changes the label. The other stuff should be self-explanatory enough, you'll have to try and change them and see what happens.
You can also change the colour of these dialogs, but I won't explain this in any detail. The colour scheme is contained in ClientScheme.res
. You should be able to figure it out or find some old Steam skin creation tutorial, as the process is pretty much the same.
icon.tga
and put in your mod's folder, you might need to restart your Steam client to see the change in your Steam's library.You must log in to post a comment. You can login or register a new account.
to make the 32x32 icon, put your 32x32 tga icon file in same location as the 16x16 but add "_big" to the end of the file name
oh well
As usual, switch to the steam_legacy beta to continue using the old specs in the meantime.