Forumowicz
Opisze wam jak nadpisać sobie GameMenu żeby
nad New Game były wyświetlane serwery.
Otwieramy folder z cs-em cstrike>resource i otwieramy taki plik GameMenu.res za pomocą notatnika.
Nadpisywanie GameMenu robimy za pomocą komend "label" oraz "comand"
"label" "" "command" ""
Przykładowo żeby mieć 1 server nad New Game to musimy mieć w GameMenu.res
zrobione takie coś:
"GameMenu" { "1" { "label" "Wznow Gre" "command" "ResumeGame" "OnlyInGame" "1" } "2" { "label" "Rozlacz" "command" "Disconnect" "OnlyInGame" "1" "notsingle" "1" } "3" { "label" "Lista Graczy" "command" "OpenPlayerListDialog" "OnlyInGame" "1" "notsingle" "1" } "4" { "label" "" "command" "" } "5" { "label" "Skillownia Gorlice [FFA]" "command" "engine connect 91.203.221.112:27015 " } "6" { "label" "" "command" "" } "7" { "label" "Nowa Gra" "command" "OpenCreateMultiplayerGameDialog" } "8" { "label" "Znajdz Serwer" "command" "OpenServerBrowser" } "9" { "label" "Opcje" "command" "OpenOptionsDialog" } "10" { "label" "Wyjscie" "command" "Quit"
Każdy następny wiersz musi być numerowany
} "nr" { "label" "" "command" ""
Dla aby w GameMenu mieć servery Skillowni Gorlice wystarczy zawartość GameMenu.res podmienić na to:
{ "1" { "label" "Wznow Gre" "command" "ResumeGame" "OnlyInGame" "1" } "2" { "label" "Rozlacz" "command" "Disconnect" "OnlyInGame" "1" "notsingle" "1" } "3" { "label" "Lista Graczy" "command" "OpenPlayerListDialog" "OnlyInGame" "1" "notsingle" "1" } "4" { "label" "" "command" "" } "5" { "label" "Skillownia Gorlice [FFA]" "command" "engine connect 91.203.221.112:27015 " } "6" { "label" "Skillownia Gorlice [TP]" "command" "engine connect 91.203.222.83:27095" } "7" { "label" "" "command" "" } "8" { "label" "Nowa Gra" "command" "OpenCreateMultiplayerGameDialog" } "9" { "label" "Znajdz Serwer" "command" "OpenServerBrowser" } "10" { "label" "Opcje" "command" "OpenOptionsDialog" } "11" { "label" "Wyjscie" "command" "Quit" } "12" { "label" "By ZielonoZielony ; )" "command" "engine connect 91.203.221.112:27015"
Offline