Open Matthaiks opened 11 years ago
Fix: \Steam\steamapps\common\Half-Life\valve\resource\GameMenu.res
"GameMenu"
{
"1"
{
"label" "#GameUI_GameMenu_ResumeGame"
"command" "ResumeGame"
"OnlyInGame" "1"
}
"2"
{
"label" "#GameUI_GameMenu_Disconnect"
"command" "Disconnect"
"OnlyInGame" "1"
"notsingle" "1"
}
"3"
{
"label" "#GameUI_GameMenu_PlayerList"
"command" "OpenPlayerListDialog"
"OnlyInGame" "1"
"notsingle" "1"
}
"4"
{
"label" ""
"command" ""
"OnlyInGame" "1"
}
"5"
{
"label" "#GameUI_GameMenu_NewGame"
"command" "OpenNewGameDialog"
"notmulti" "1"
}
"6"
{
"label" "#GameUI_GameMenu_LoadGame"
"command" "OpenLoadGameDialog"
"notmulti" "1"
}
"7"
{
"label" "#GameUI_GameMenu_SaveGame"
"command" "OpenSaveGameDialog"
"notmulti" "1"
"OnlyInGame" "1"
}
"8"
{
"label" ""
"command" ""
"notmulti" "1"
}
"9"
{
"label" "#GameUI_GameMenu_FindServers"
"command" "OpenServerBrowser"
"notsingle" "0"
}
"10"
{
"label" "#GameUI_GameMenu_CreateServer"
"command" "OpenCreateMultiplayerGameDialog"
"notsingle" "0"
}
// "11"
// {
// "name" "LoadDemo"
// "label" "#GameUI_GameMenu_PlayDemo"
// "command" "OpenLoadDemoDialog"
// }
"12"
{
"label" ""
"command" ""
}
"13"
{
"label" "#GameUI_GameMenu_ChangeGame"
"command" "OpenChangeGameDialog"
"notsteam" "1"
"notsingle" "1"
"notmulti" "1"
}
"14"
{
"label" "#GameUI_GameMenu_Options"
"command" "OpenOptionsDialog"
}
"15"
{
"label" "#GameUI_GameMenu_Quit"
"command" "Quit"
}
}
This fix adds "New game", "Load game" menu items in multiplayer mode
"GameMenu"
{
"1"
{
"label" "#GameUI_GameMenu_ResumeGame"
"command" "ResumeGame"
"OnlyInGame" "1"
}
"2"
{
"label" "#GameUI_GameMenu_Disconnect"
"command" "Disconnect"
"OnlyInGame" "1"
"notsingle" "1"
}
"3"
{
"label" "#GameUI_GameMenu_PlayerList"
"command" "OpenPlayerListDialog"
"OnlyInGame" "1"
"notsingle" "1"
}
"4"
{
"label" ""
"command" ""
"OnlyInGame" "1"
}
"5"
{
"label" "#GameUI_GameMenu_NewGame"
"command" "OpenNewGameDialog"
}
"6"
{
"label" "#GameUI_GameMenu_LoadGame"
"command" "OpenLoadGameDialog"
}
"7"
{
"label" "#GameUI_GameMenu_SaveGame"
"command" "OpenSaveGameDialog"
"notmulti" "1"
"OnlyInGame" "1"
}
"8"
{
"label" ""
"command" ""
}
"9"
{
"label" "#GameUI_GameMenu_FindServers"
"command" "OpenServerBrowser"
}
"10"
{
"label" "#GameUI_GameMenu_CreateServer"
"command" "OpenCreateMultiplayerGameDialog"
}
// "11"
// {
// "name" "LoadDemo"
// "label" "#GameUI_GameMenu_PlayDemo"
// "command" "OpenLoadDemoDialog"
// }
"12"
{
"label" ""
"command" ""
}
"13"
{
"label" "#GameUI_GameMenu_ChangeGame"
"command" "OpenChangeGameDialog"
"notsteam" "1"
"notsingle" "1"
"notmulti" "1"
}
"14"
{
"label" "#GameUI_GameMenu_Options"
"command" "OpenOptionsDialog"
}
"15"
{
"label" "#GameUI_GameMenu_Quit"
"command" "Quit"
}
}
Choose between them. The second fix adds missing menu items in both singleplayer and multiplayer modes
When you are in a single player game we don't want you losing your progress by mistake by joining a mp server. Adding a "Disconnect" equivalent is reasonable (though it needs a better name).
How is it possible to join a mp server "by mistake"? You need to (1)click "Find Servers", (2)click on the Internet tab, (3)click on a server you'd like to join, (4)click "Connect" button.
Sure, if you didn't save the game, you will loose the game progress. In this case, solution is very simple. Ask a player if he's sure and offer to save the game
Joining a mp server is possible anyway by pressing Servers on the right side. The main problem is with creating a new server because you must restart the game.
"Servers" on the right side does the same what does "Find Servers" button. Describe that problem with creating a new server. Everything works for me and I don't need to restart the game
I responded to alfred-valve. Your fix is fine, MaxKorz.
@alfred-valve Would it be possible to add a Disconnect equivalent then? Or should another issue be filed?
I found the solution for this problem Alfred Valve, without spaces between the differents options.
Single/Multi player game (MENU):
NEW GAME LOAD GAME CREATE SERVER FIND SERVERS GAME CHANGE OPTIONS QUIT
Single/Multi player game (In Game):
RESUME GAME (Single/Multi) FINNISH GAME (Single/Multi) - Change disconnect to "Finnish Game" in gameui_english.txt (resource folder) NEW GAME (Single/Multi) LOAD GAME (Single/Multi) SAVE GAME (Only Single) CREATE SERVER (Single/Multi) FIND SERVERS (Single/Multi) PLAYER LIST (Only Multi) CHANGE GAME (Single/Multi) OPTIONS (Single/Multi) QUIT (Single/Multi)
This fix options in Single/Multi player GAME/MOD:
"GameMenu" { "1" { "label" "#GameUI_GameMenu_ResumeGame" "command" "ResumeGame" "OnlyInGame" "1" } "2" { "label" "#GameUI_GameMenu_Disconnect" "command" "Disconnect" "OnlyInGame" "1" "notsingle" "0" } "3" { "label" "#GameUI_GameMenu_NewGame" "command" "OpenNewGameDialog" "notmulti" "0" } "4" { "label" "#GameUI_GameMenu_LoadGame" "command" "OpenLoadGameDialog" "notmulti" "0" } "5" { "label" "#GameUI_GameMenu_SaveGame" "command" "OpenSaveGameDialog" "notmulti" "1" "OnlyInGame" "1" } "6" { "label" "#GameUI_GameMenu_CreateServer" "command" "OpenCreateMultiplayerGameDialog" "notsingle" "0" } "7" { "label" "#GameUI_GameMenu_FindServers" "command" "OpenServerBrowser" "notsingle" "0" } "8" { "label" "#GameUI_GameMenu_PlayerList" "command" "OpenPlayerListDialog" "OnlyInGame" "1" "notsingle" "1" } "9" { "label" "#GameUI_GameMenu_ChangeGame" "command" "OpenChangeGameDialog" "notsteam" "0" "notsingle" "0" "notmulti" "0" } "10" { "label" "#GameUI_GameMenu_Options" "command" "OpenOptionsDialog" } "11" { "label" "#GameUI_GameMenu_Quit" "command" "Quit" } }
Single player Game/MOD (MENU):
NEW GAME LOAD GAME GAME CHANGE OPTIONS QUIT
Single player Game/MOD (In Game):
RESUME GAME (Single) FINNISH GAME (Single) - Change disconnect to "Finnish Game" in gameui_english.txt (resource folder) NEW GAME (Single) LOAD GAME (Single) SAVE GAME (Only Single) CHANGE GAME (Single) OPTIONS (Single) QUIT (Single)
This fix options in Single player GAME:
"GameMenu" { "1" { "label" "#GameUI_GameMenu_ResumeGame" "command" "ResumeGame" "OnlyInGame" "1" } "2" { "label" "#GameUI_GameMenu_Disconnect" "command" "Disconnect" "OnlyInGame" "1" "notsingle" "0" } "3" { "label" "#GameUI_GameMenu_NewGame" "command" "OpenNewGameDialog" "notmulti" "1" } "4" { "label" "#GameUI_GameMenu_LoadGame" "command" "OpenLoadGameDialog" "notmulti" "1" } "5" { "label" "#GameUI_GameMenu_SaveGame" "command" "OpenSaveGameDialog" "notmulti" "1" "OnlyInGame" "1" } "6" { "label" "#GameUI_GameMenu_ChangeGame" "command" "OpenChangeGameDialog" "notsteam" "0" "notsingle" "0" "notmulti" "0" } "7" { "label" "#GameUI_GameMenu_Options" "command" "OpenOptionsDialog" } "8" { "label" "#GameUI_GameMenu_Quit" "command" "Quit" } }
There is a problem with this configuration in single mode in single/multi and single player games, if you are playing for example, Half-Life campaign and change game, for example Blue Shift, it loads automatically the last save game, to prevent this, before change game, you have to finnish game and later change game that you want, because of this, I put finnish (disconnect) option in single player, everything works ok.
For Half-Life and Oppossing Force, the GameMenu.res its placed in "valve/resource" folder (single/multi version), and for Blue Shift in "bshift/resource" folder (single version).
I hope I explained correctly
There is a "Leave Game" option in single player in the current version of Half-Life. Further menu updates are not planned at this time.
Find Servers and Create Server menu items are missing in single player mode.