Welcome to PlagueFest.com! Log in or Sign up to interact with the Plague Fest community.
  1. Welcome Guest! to interact with the community and gain access to all the site's features.

Custom home screen Counter-Strike Source

Discussion in Tutorials started by Hek, Mar 4, 2012

  1. Jan 14, 2012
    Posts
    customgamemenu


    Easy joining for all! (Also handy for people with reserved slots.)

    The file to edit is located in the \cstrike\resource.
    Code:
    C:\Program Files (x86)\Steam\steamapps\USERNAME\counter-strike source\cstrike\resource
    

    Locate gamemenu.res

    Make sure you have a backup of gamemenu.res in case something goes wrong!

    Open gamemenu.res with Notepad.

    Replace with code below

    Code:
    "GameMenu"
    {
     
    // custom gamemenu.res 
    "0"
    {
    "label" "Plague Fest Game Servers"
    "command" ""
     
    }
     
    "0"
    {
    "label" "-Gun Game"
    "command" "engine connect gg.plaguefest.com"
     
    }
     
     
    "0"
    {
    "label" "-Mini Games"
    "command" "engine connect mg.plaguefest.com"
     
    }
    "0"
                    {
    "label" "-Zombie Escape"
    "command" "engine connect ze.plaguefest.com"
     
    }
     
    "0"
                    { 
    "label" "-Zombie Mod"
    "command" "engine connect zm.plaguefest.com"
    }
     
    "0"
           
    {
    "label" "-Zombie Mod #2"
    "command" "engine connect zm2.plaguefest.com"
    }
    "0"
           
    {
    "label" "-Zombie Mod 24/7 Lila Panic"
    "command" "engine connect zmp.plaguefest.com"
    }
     
    // custom gamemenu.res end
     
          "0"
     
    {
    "label" "____________________________________"
    "command" ""
     
    }
     
          "0"
     
    {
    "label" "little crosshairscale"
    "command" "engine cl_crosshairscale 12000"
     
    }
     
          "0"
     
    {
    "label" "normal crosshairscale"
    "command" "engine cl_crosshairscale 1600"
     
    }
     
    "1"
    {
    "label" "#GameUI_GameMenu_ResumeGame"
    "command" "ResumeGame"
    "OnlyInGame" "1"
    }
     
    "2"
    {
    "label" "#GameUI_GameMenu_Disconnect"
    "command" "Disconnect"
    "OnlyInGame" "1"
    }
     
    "3"
    {
    "label" "#GameUI_GameMenu_PlayerList"
    "command" "OpenPlayerListDialog"
    "OnlyInGame" "1"
    }
     
    "4"
    {
    "label" ""
    "command" ""
    "OnlyInGame" "1"
    }
     
    "5"
    {
    "label" "Search Servers"
    "command" "OpenServerBrowser"
    }
     
    "6"
    {
    "label" "Create Server"
    "command" "OpenCreateMultiplayerGameDialog"
    }
     
    "8"
    {
    "label" "Console ON/OFF"
    "command" "engine toggleconsole"
    }
     
    "9"
    {
    "label" "Benchmark"
    "command" "OpenBenchmarkDialog"
    }
     
    "10"
    {
    "label" "#GameUI_GameMenu_Options"
    "command" "OpenOptionsDialog"
    }                                                                       
    "11"                                                                   
    {                                                                       
    "label" "#GameUI_GameMenu_Quit"                                                                                                                 
     
    "command" "Quit"                                                     
    }                                                                     
    }                                                                       
     
    
    • Useful Useful x 2
    • Like Like x 1
    • Informative Informative x 1
    • Jul 1, 2010
      Posts
      Worked, had to actually make the file though because I didn't have it.
    • Jun 4, 2006
      Posts
      That's the case with a few files in CSS, for example I don't think there's an autoexec.cfg unless you make it or something else does, a mod of some sort, a script, etc.
    • Feb 5, 2012
      Posts
    • Nov 15, 2011
      Posts
      Worked like a champ! Awesome...
    • Jul 1, 2010
      Posts
    • Jul 28, 2011
      Posts
      Notepad++, or just regular notepad worked for me. Just copy and paste everything and save it as a .res file. No need to download one.
      Thanks for this btw :grin:
    • Feb 5, 2012
      Posts
      That too >.<
    • Jan 8, 2012
      Posts
      Thanks for this man it's so easy to use, never have to open up servers anymore. Although one last suggestion, if you could make a exe file where we don't even have to open up steam or cs at all. Just run exe to display some options ie. join zm1 - F1 join zm2 - F2, that would be amazing. :grin:
    • Jun 4, 2006
      Posts
      Not quite what you're asking for, but you could always just make desktop shortcuts which join the dif servers.

      Right click -> New -> Shortcut

      Type the location of the item: steam://connect/ze.plaguefest.com

      Type a name for this shortcut: Zombie Escape

      and Finish. It may ask where you want to place it, choose desktop or whatever. Click the shortcut and it'll launch steam/css & join the server.
      • Like Like x 1
      • Jan 8, 2012
        Posts
        Thanks
      • Nov 6, 2011
        Posts
        sick man good work i know its a lil late but i just noticed this thread haha i like it
      • Jul 5, 2008
        Posts
        you can customize alot of gui stuff, i used to do it all the time.
        • Wizard! Wizard! x 1
        • May 27, 2008
          Posts
          Look at that splash page for PFL. Makes me smile when I see it.

          I just did this, and I absolutely love it. I'm glad you showed the community this trick!
        • Jul 5, 2008
          Posts
          lol i didnt notice that.. thats super old, what a fail logo
        • Dec 2, 2011
          Posts
          I agree with everyone else thanks alot for making this Tut it rocks.
          As for giving us the code.
          thx.