Jump to content

Recommended Posts

Posted

Custom CS Menu Lines-GameMenu.res

 

 

In this tutorial I will show you how to configure the menu of cs (what you click on the Setting, Exit, etc.)

 

First go to dir \ Steam \ steamapps \ toSteamNameSas \ counter-strike \ cstrike \ resource and open with any text editor you want the file GameMenu.res (Click Here if you have not (this is mine)).

 

Well, basically this file consists of lines containing media:

• A number that ypodeilonei what series are

• A label which is what appears in the user

• The command that should be executed when pressed

• Pairetero perametrous which define and various other things (not always)

 

For example, the Exit Game in the file somewhere like this:

 

   "18"
   {
      "label" "Exit Game"
      "command" "Quit"
}

 

Or Disconnect which contains more parameters to display only inGame and only in multiplayer mode:

 

 "11"
   {
      "label" "[ Disconnect ]"
      "command" "Disconnect"
      "OnlyInGame" "1"
      "notsingle" "1"
}

 

So we basically do the following lines with syntax:

 

  "number"
   {
      "label" "name"
      "command" "commandToBeExecuted"
      //Any additional paramters
}

 

 

number = a number. The higher the number, the more >> << less will be the label

name = This specifies that you want, is what will appear ingame, and which when clicked will run the command

commandToBeExecuted = the command to execute when clicked the label (see below)

"/ / Any aditional parameters" = whatever other parameters you can set

 

Note: The syntax must be exactly as described above, ie, only to change the number, name, commandToBeExecuted. There should be no "unfinished strings", ie to open a "{", but will not close when a "}".

 

Some key command is usually useful in game menu (you can find others looking on google):

"command" "ResumeGame"

"command" "Disconnect"

"command" "OpenPlayerListDialog"

"command" "OpenCreateMultiplayerGameDialog"

"command" "OpenServerBrowser"

"command" "OpenOptionsDialog"

"command" "Quit"

"command" "engine connect serverip: serverport"

"command" "engine map themapname"

 

If you understand the above you can easily create your very own one teriazei menu to your needs.

 

Not to weary you too, sinythos what most people want is the classic menu with a few server on top, so what you have to do is:

 

You start like this:

 

"GameMenu"
"1"
{
"Label" "Super Public"
"Command" "engine connect public1.battlenet.gr:27015"
}

 

Then to add more server you c / p the first line, change the number, the label u the ip. After you add all the server you want, put it in the end:

 

"2"
   {
      "label" "[ Resume ]"
      "command" "ResumeGame"
      "OnlyInGame" "1"
   }
   "3"
   {
      "label" "[ Disconnect ]"
      "command" "Disconnect"
      "OnlyInGame" "1"
      "notsingle" "1"
}
   "4"
   {
      "label" "[ Playerlist ]"
      "command" "OpenPlayerListDialog"
      "OnlyInGame" "1"
      "notsingle" "1"
   }
        "5"
   {
      "label" ""
      "command" ""
   }
   "6"
   {
      "label" ""
      "command" ""
   }

      "15"
   {
      "label" "New Game"
      "command" "OpenCreateMultiplayerGameDialog"
   }
   "7"
   {
      "label" "Server Browser"
      "command" "OpenServerBrowser"
   }
   "8"
   {
      "label" "Settings"
      "command" "OpenOptionsDialog"
   }
   "9"
   {
      "label" "Exit Game"
      "command" "Quit"
}

 

 

 

You make the numbers in the order and the server you want to have, and eistai COMPLETE. Remember, the label can change to anything you wish.

-------------------------------------------------- -------

If you have any questions or something to add please reply ..

Do not make pointless post.

 

HF!!! :)

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...