Ogłoszenie


#1 2010-12-30 21:53:59

ZielonoZielony

Forumowicz

Zarejestrowany: 2010-12-27
Posty: 78
Punktów :   

Własne GameMenu

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"

Kod:

                "label" ""
                "command" ""

Przykładowo żeby mieć 1 server nad New Game to musimy mieć w GameMenu.res
zrobione takie coś:

Kod:

"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

Kod:

             }
        "nr"
        {
                "label" ""
                "command" ""

Dla aby w GameMenu mieć servery Skillowni Gorlice wystarczy zawartość GameMenu.res podmienić na to:

Kod:

{
        "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"

http://ifotos.pl/img/Pogrom_hpqxshq.png

Offline

 

 

 

skillownia

fgh

 

Stopka forum

RSS
Powered by PunBB
© Copyright 2002–2008 PunBB
Polityka cookies - Wersja Lo-Fi


Darmowe Forum | Ciekawe Fora | Darmowe Fora
GotLink.pl