Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Everything about the Customization of CS:S Part II

A Tutorial for Counter-Strike: Source

Members see zero ads. Membership is 100% free

Updates

menu
Last version of the guide ? 6y
  • - Fixed the _ problem
  • - Added, one tutorial
  • - Table of content fixed
I think the guide is complete (the 2 parts)
Update 6y

Read the title ;)

What is this Guide about ?This is a big guide for the customization of CS:S, I made there are some months ago. I shared it with some community, and now on Gamebanana.
See the Table of Contents below, to know the tutorials list of the guide. And click on a word to be send on the paragraph.

Table of Contents

  • Part II

    PART II OF THE GUIDE

    This part will explain everything about:
    • Change color of Scoreboard
    • Autoexec.cfg
    • Aliases
    • + Name of weapons (for binds)
    • + Some keys (numeric keyboard, mouse)

    [Go back to the Table of Contents]

    Specific Keys

    These keys are good to use when you made binds in all your keyboard, and you can't find new key.

    Mouse:

  • MOUSE1 - Left Click
  • MOUSE2 - Right Click
  • MOUSE3 - Middle button
  • MOUSE4 - First button at the side (only on gamers mouse)
  • MOUSE5 - Second button at the side (only on gamers mouse)
  • MWHEELUP - Wheel Upwards
  • MWHEELDOWN - Wheel Down
  • Numeric Keypad:

    • KP\_INS - Numeric Keypad 0
    • KP\_END - Numeric Keypad 1
    • KP\_DOWNARROW - Numeric Keypad 2
    • KP\_PGDN - Numeric Keypad 3
    • KP\_LEFTARROW - Numeric Keypad 4
    • KP\_5 - Numeric Keypad 5
    • KP\_RIGHTARROW - Numeric Keypad 6
    • KP\_HOME - Numeric Keypad 7
    • KP\_UPARROW - Numeric Keypad 8
    • KP\_PGUP - Numeric Keypad 9
    • KP\_ENTER - Numeric Keypad Enter
    • KP\_DEL - Numeric Keypad Del
    • KP\_SLASH - Numeric Keypad Slash
    • KP\_MINUS - Numeric Keypad -
    • KP_PLUS - Numeric Keypad +

    • Picture:

      I found a very good picture, that give all keys of the keyboard (+ the mouse). PS: The mouse5 can be at other locations (there or next to mouse4) [Go back to the Table of Contents]

      Weapons Name (for binds)

      Pistol:

      • glock / 9x19mm Sidearm
      • usp / KM .45 Tactical
      • p228 / 228 Compact
      • deagle / Night Hawk .50c
      • elite / .40 Dual Elites
      • fn57 / ES Five-seven

      Shotgun:

      • m3 / Leone 12 Gauge Super
      • xm1014 / Leone YG1265 Auto Shotgun

      Sub-Machine Gun:

      • mac10 / Ingram Mac-10
      • tmp / Schmidt Machine Pistol
      • mp5 / KM Sub-Machine Gun
      • ump45 / KM UMP45
      • p90 / ES C90

      Assault Rifle:


      Sniper Rifle:

      • g3sg1 / D3/AU-1
      • sg550 / Krieg 550 Commando
      • scout / Schmidt Scout
      • awp / Magnum Sniper Rifle

      Machine Gun:

      Equipment:

      • defuser / Defuse Kit
      • vest / Bulletproof Vest
      • vesthelm / Bulletproof Vest + 1 Helmet
      • flashbang / Flashbang
      • hegrenade / Grenade
      • smokegrenade / Smokegrenade
      • nvgs / Nightvision
      [Go back to the Table of Contents]

      Change Colors in your ScoreBoard

      You may wonder, why this tutorial is only now...It's just because you need an autoexec.cfg (instructions in tut just below). And now I will give you the basic scoreboard colors.
      cl_scoreboard_ct_color_red "150"
      cl_scoreboard_ct_color_green "200"
      cl_scoreboard_ct_color_blue "255"
      cl_scoreboard_t_color_red "240"
      cl_scoreboard_t_color_green "90"
      cl_scoreboard_t_color_blue "90"
      cl_scoreboard_dead_color_red "125"
      cl_scoreboard_dead_color_green "125"
      cl_scoreboard_dead_color_blue "125"
      cl_scoreboard_clan_ct_color_red "150"
      cl_scoreboard_clan_ct_color_green "200"
      cl_scoreboard_clan_ct_color_blue "255"
      cl_scoreboard_clan_t_color_red "240"
      cl_scoreboard_clan_t_color_green "90"
      cl_scoreboard_clan_t_color_blue "90"
      cl_scoreboard_dead_clan_color_red "125"
      cl_scoreboard_dead_clan_color_green "125"
      cl_scoreboard_dead_clan_color_blue "125"
      Put this into your autoexec.cfg. And you will start to edit it, with explanation of the commands.
      • Change color of alive CT nicknames
        1. cl_scoreboard_ct_color_red "150"
        2. cl_scoreboard_ct_color_green "200"
        3. cl_scoreboard_ct_color_blue "255"
      • Change color of alive T nicknames
        1. cl_scoreboard_t_color_red "240"
        2. cl_scoreboard_t_color_green "90"
        3. cl_scoreboard_t_color_blue "90"
      • Change color of Dead players nicknames
        1. cl_scoreboard_dead_color_red "125"
        2. cl_scoreboard_dead_color_green "125"
        3. cl_scoreboard_dead_color_blue "125"
      • Change color of CT clan-tag
        1. cl_scoreboard_clan_ct_color_red "150"
        2. cl_scoreboard_clan_ct_color_green "200"
        3. cl_scoreboard_clan_ct_color_blue "255"
      • Change color of T clan-tag
        1. cl_scoreboard_clan_t_color_red "240"
        2. cl_scoreboard_clan_t_color_green "90"
        3. cl_scoreboard_clan_t_color_blue "90"
      • Change color of Dead players clan-tag
        1. cl_scoreboard_dead_clan_color_red "125"
        2. cl_scoreboard_dead_clan_color_green "125"
        3. cl_scoreboard_dead_clan_color_blue "125"
      The commands values work with the RGB code You should go on this website, to find all colors with RGB code. RGB to Color Name Mapping (Triplet and Hex) You can easily change the colors now :) If you don't understand, ask me. [Go back to the Table of Contents]

      Autoexec.cfg

      The autoexec.cfg is a special file, that is executed automatically when you launch Counter-Strike:Source. It's usefull, if you want to execute a file (.cfg), commands or others things. In it you will put Alias (read below for explanation).
      Follow these 2 steps, to create the file:
      1. First go in the cfg folder (C:/Program Files/Steam/SteamApps/common/Counter-Strike: Source/cstrike/cfg)
      2. Copy and paste the config.cfg file, then delete all his contents, and rename it autoexec (you need to copy the config to be sure the autoexec will be a .cfg)
      You can also directly create the autoexec.cfg, with the Notepad of Windows, but if you do something wrong, the file will be a .txt instead of a .cfg (so it won't work). [Go back to the Table of Contents]

      Aliases

      What is it ?

      An Alias is an association of a word to one or more commands, that will be introduce in a bind like a command.
      It allow you to activate a lot of commands in the same time, or:
      • ON/OFF commands = Same effect than BindToggle (but, you can't always make a Bindtoggle with some commands). And with Alias, you can add the echo command, which display a message in the console (so, you know when the command is ENABLED and when it is DISABLED).
      • Cycle commands = You can do that with incrementvar, but with alias, there is more possibility (you will see below).
      • Loop commands = It's like a spam of a command, you maybe know the Script Bunny (hold space bar to automatically jump) or the Auto-Pistol (very good with the Dual Elites). But of course these scripts are not allowed on servers, and using them will result you banned by Admin or the SMAC (it detect you launch more than 100 commands per seconds :p ).
      Teach how to make Aliases is dificult, this is why I will show you examples. Better to understand if you watch their structures.

      ON/OFF commands:

      I start with Alias which allow to enable and disable a command by simply pressing one key (I created them).
      // Alias to speak in the mic without holding a key
      alias "micro" "micro_on"
      alias "micro_on" "alias micro micro_off; +voicerecord; echo **MICRO ENABLED**"
      alias "micro_off" "alias micro micro_on; -voicerecord; echo **MICRO DISABLED**"
      // Alias to hide and display the tchat
      alias "tchat" "tchat_on"
      alias "tchat_on" "alias tchat tchat_off; hud_saytext_time 12; echo **TCHAT ON**"
      alias "tchat_off" "alias tchat tchat_on; hud_saytext_time 0; echo **TCHAT OFF**"
      // Alias to hide and display the HUD
      alias "hud" "hud_on"
      alias "hud_on" "alias hud hud_off; cl_drawhud 1; echo **HUD ON**"
      alias "hud_off" "alias hud hud_on; cl_drawhud 0; echo **HUD OFF**"
      // Alias to activate and desactivate voices
      alias "voice" "voice_on"
      alias "voice_on" "alias voice voice_off; voice_enable 1; echo **VOICES ENABLED**"
      alias "voice_off" "alias voice voice_on; voice_enable 0; echo **VOICES DISABLED**"
      The first alias is a better way to speak IG, and the others are usefull to make videos. If you want, you can copy-paste and put them in your autoexec.cfg (C:/Program Files/Steam/SteamApps/common/Counter-Strike: Source/cstrike/cfg). Create it if you dont have the file (follow instructions above).
      After that you can bind a key to the command you want.
      Exemple: bind i "tchat", so when you press I, the tchat is display, and when you press I again, the tchat disapear. This example wasn't possible with a BindToggle and I added the echo command, so you can see in the console a message.
      You can also create your own ON/OFF alias, by taking the base of my Aliases.

      Create your own ON/OFF aliasExample:
      alias "hud" "hud_on"
      alias "hud_on" "alias hud hud_off; cl_drawhud 1; echo **HUD ON**"
      alias "hud_off" "alias hud hud_on; cl_drawhud 0; echo **HUD OFF**"
      Replace hud by the word you want (more simple to understand when it has a relation with the command), put like me the same word for the ..._on, do the same at the other lign and for ..._off.
      Then put the corresponding command to the ON on the same line, (in my exemple it's: cl_drawhud 1), so replace the current command by the command you want to use (the command always finish by 1 when it is activate).
      Now you do the same, for line with OFF, but replace the 1 by 0 (in my exemple it's: cl_drawhud 0).
      After the echo, write the text that will appear in the Console, when you press the binded key.
      In my example, when the script go in ON mod, the message **HUD ON** appear in the Console, and when it go in OFF mod, the message **HUD OFF** appear in the Console.

      Cycle commands:

      I created this script which allow to change the color of the crosshair by pressing one key. It's a cycle which return to the beggining when you reach the end.
      // Script to switch between 20 colors of crosshair !!!
      // Press f1 to change the color of crosshair
      // The color is write in the Console, when it change
      // You can replace f1 by the key you want
      alias "colorcrosshair" "colorcrosshair_0"
      alias "colorcrosshair_0" "alias colorcrosshair colorcrosshair_1; cl_crosshaircolor 0; echo **CROSSHAIR IS GREEN**"
      alias "colorcrosshair_1" "alias colorcrosshair colorcrosshair_2; cl_crosshaircolor 1; echo **CROSSHAIR IS RED**"
      alias "colorcrosshair_2" "alias colorcrosshair colorcrosshair_3; cl_crosshaircolor 2; echo **CROSSHAIR IS BLUE**"
      alias "colorcrosshair_3" "alias colorcrosshair colorcrosshair_4; cl_crosshaircolor 3; echo **CROSSHAIR IS YELLOW**"
      alias "colorcrosshair_4" "alias colorcrosshair colorcrosshair_5; cl_crosshaircolor 4; echo **CROSSHAIR IS TURQUOISE**"
      alias "colorcrosshair_5" "alias colorcrosshair colorcrosshair_6; cl_crosshaircolor 5; cl_crosshaircolor_r 0; cl_crosshaircolor_g 0; cl_crosshaircolor_b 0; echo **CROSSHAIR IS BLACK**"
      alias "colorcrosshair_6" "alias colorcrosshair colorcrosshair_7; cl_crosshaircolor 5; cl_crosshaircolor_r 84; cl_crosshaircolor_g 84; cl_crosshaircolor_b 84; echo **CROSSHAIR IS GREY**"
      alias "colorcrosshair_7" "alias colorcrosshair colorcrosshair_8; cl_crosshaircolor 5; cl_crosshaircolor_r 168; cl_crosshaircolor_g 168; cl_crosshaircolor_b 168; echo **CROSSHAIR IS LIGHTGREY**"
      alias "colorcrosshair_8" "alias colorcrosshair colorcrosshair_9; cl_crosshaircolor 5; cl_crosshaircolor_r 255; cl_crosshaircolor_g 255; cl_crosshaircolor_b 255; echo **CROSSHAIR IS WHITE**"
      alias "colorcrosshair_9" "alias colorcrosshair colorcrosshair_10; cl_crosshaircolor 5; cl_crosshaircolor_r 138; cl_crosshaircolor_g 43; cl_crosshaircolor_b 226; echo **CROSSHAIR IS BLUEPURPLE**"
      alias "colorcrosshair_10" "alias colorcrosshair colorcrosshair_11; cl_crosshaircolor 5; cl_crosshaircolor_r 72; cl_crosshaircolor_g 61; cl_crosshaircolor_b 139; echo **CROSSHAIR IS DARKBLUE**"
      alias "colorcrosshair_11" "alias colorcrosshair colorcrosshair_12; cl_crosshaircolor 5; cl_crosshaircolor_r 0; cl_crosshaircolor_g 78; cl_crosshaircolor_b 138; echo **CROSSHAIR IS SKYBLUE**"
      alias "colorcrosshair_12" "alias colorcrosshair colorcrosshair_13; cl_crosshaircolor 5; cl_crosshaircolor_r 139; cl_crosshaircolor_g 69; cl_crosshaircolor_b 19;  echo **CROSSHAIR IS BROWN**"
      alias "colorcrosshair_13" "alias colorcrosshair colorcrosshair_14; cl_crosshaircolor 5; cl_crosshaircolor_r 255; cl_crosshaircolor_g 165; cl_crosshaircolor_b 0; echo **CROSSHAIR IS ORANGE**"
      alias "colorcrosshair_14" "alias colorcrosshair colorcrosshair_15; cl_crosshaircolor 5; cl_crosshaircolor_r 255; cl_crosshaircolor_g 105; cl_crosshaircolor_b 185; echo **CROSSHAIR IS HOTPINK**"
      alias "colorcrosshair_15" "alias colorcrosshair colorcrosshair_16; cl_crosshaircolor 5; cl_crosshaircolor_r 191; cl_crosshaircolor_g 62; cl_crosshaircolor_b 25; echo **CROSSHAIR IS PURPLE**"
      alias "colorcrosshair_16" "alias colorcrosshair colorcrosshair_17; cl_crosshaircolor 5; cl_crosshaircolor_r 255; cl_crosshaircolor_g 215; cl_crosshaircolor_b 0; echo **CROSSHAIR IS GOLD**"
      alias "colorcrosshair_17" "alias colorcrosshair colorcrosshair_18; cl_crosshaircolor 5; cl_crosshaircolor_r 255; cl_crosshaircolor_g 0; cl_crosshaircolor_b 255; echo **CROSSHAIR IS MAGENTA**"
      alias "colorcrosshair_18" "alias colorcrosshair colorcrosshair_19; cl_crosshaircolor 5; cl_crosshaircolor_r 255; cl_crosshaircolor_g 192; cl_crosshaircolor_b 203; echo **CROSSHAIR IS PINK**"
      alias "colorcrosshair_19" "alias colorcrosshair colorcrosshair_0; cl_crosshaircolor 5; cl_crosshaircolor_r 0; cl_crosshaircolor_g 100; cl_crosshaircolor_b 0; echo **CROSSHAIR IS DARKGREEN**"
      bind "f1" "colorcrosshair"
      You can replace F1 by the key you want.

      Loop commands:

      Really hard script to make, where you need to use the wait command (it make the game wait about 0,1 second).
      Try to understand, how I made this script, which is of course not allowed on online servers.
      I created this Auto-Pistol script, which work (work 100% on LAN server, and it depand of settings on Online servers).
      // Alias Auto-pistol
      // Press "0" to activate the script and "." to desactivate it
      // When the script is enabled, press and hold mouse1 to shoot automatically
      alias "+elite" "elite_on; shoot"
      alias "-elite" "elite_off; -attack"
      alias "shoot_command" "+attack; wait; wait; wait; -attack; wait; wait; shoot"
      alias "elite_on" "alias shoot shoot_command"
      alias "elite_off" "alias shoot"
      bind kp_ins "bind mouse1 +elite; message1"
      bind kp_del "-elite; bind mouse1 +attack; message2"
      
      alias "message1" "echo Autopistol is Enabled. Press . key (digital keyboard) to disable it"
      alias "message2" "echo Autopistol is Disabled. Press 0 key  (digital keyboard) to enable it again."
      You can replace 0 and . (kp_ins et kp_del) by keys you want.
      ATTENTION:
      • Your game can crash, if you use it on a server which dont allow the "wait" command (I add this problem).
      • And of course, you will probably be ban by the SMAC (Source Mod Anti Cheats) of servers when using this script.
      Don't ask me the question: Can I get ban by VAC for using this ? The answer is NO. [Go back to the Table of Contents]

      Fast Connection with Alias

      I will show you a little tip, but very usefull, to connect to servers fast, even if they disappear from your Favorite servers.
      Or to connect on these server by using a reserved slot (when you are VIP/Donator for this server).
      Follow these steps:
      1. Go in your autoexec.cfg
      2. Create alias like this (I will explain what it do): alias "bhop" "connect 72.5.195.96:27015" With this alias, I just need to type in the console bhop, to join the server with this IP = [GFLClan.com]100-tick BHOP|TIMER|RANKS|NO HACKS NO SCRIPTS
      3. The syntax is that:
        alias "the\_word\_you\_want" "connect IP\_adress"
        Fast explanation of the syntax:
        • alias = Always put this word
        • the\_word\_you\_want = In my example it was bhop (don't put the name of an Official map)
        • connect = Always put this word
        • IP\_adress = You put the IP of the server + the port (can also be find on Gametracker)

        If you have any problem, to create Alias or Bind, post a comment :) [Go back to the Table of Contents] You reached the end of The Part II (and the last) of the guide. Please Rate and let me know if there are misspellings. Go read The Part I (click on the word to go to the 1st part). Please Rate and let me know if there are misspellings.

    Comments

    Sign up to access this!
    • Humbleness51 avatar
      Humbleness51 Joined 6y ago
      Offline
      210 points Ranked 55141st
      access_time 6y
      This is a really well organized tutorial, I've played this game for years and even I learned some new things. Thanks!
      • Thanks x 1
      5*3/(4*6)+20-5*61(50*60)/2+12
      URL to post:
    • Trond avatar
      Trond Joined 11y ago
      Offline
      access_time 6y
      You can bind Radio messages to: http://csgo.gamebanana.com/scripts/7946
      URL to post:
    • Moltard avatar
      Moltard Joined 7y ago
      Offline
      2,449 points Ranked 20160th
      20 medals 1 legendary 2 rare
      • Returned 5000 times Medal icon
      • Returned 1000 times Medal icon
      • 6 years a member Medal icon
      • Scripter of the Month, March 2013 Medal icon
      • Tutorial Contest Entrant Medal icon
      • 1 post awarded Exemplary Feedback Medal icon
      access_time 6y
      Added an usefull picture in Specific Key paragraph. And modified a few things
      (• _• )
      URL to post:
    • O Sami O Sh avatar
      O Sami O Sh Joined 6y ago
      Offline
      3,712 points Ranked 2118th
      4 medals 1 rare
      • Reached 50 subscribers Medal icon
      • Spriter of the Month, May 2013 Medal icon
      • Effecter of the Month, May 2013 Medal icon
      • Reached 10 subscribers Medal icon
      access_time 6y
      Good tutorial, it helps a lot, thank you.
      • Thanks x 1
      allergic to bullshit avatar
      Mantra
      allergic to bullshit
      URL to post:
    • Moltard avatar
      Moltard Joined 7y ago
      Offline
      2,449 points Ranked 20160th
      20 medals 1 legendary 2 rare
      • Returned 5000 times Medal icon
      • Returned 1000 times Medal icon
      • 6 years a member Medal icon
      • Scripter of the Month, March 2013 Medal icon
      • Tutorial Contest Entrant Medal icon
      • 1 post awarded Exemplary Feedback Medal icon
      access_time 6y
      Change are made for this one too. You can read it (and also the first part)
      (• _• )
      URL to post:

    Embed

    menu
    Share banner
    Image URL
    HTML embed code
    BB embed code
    Markdown embed code

    Credits

    Key Authors
    Moltard
    Moltard Joined 7y ago
    Offline
    2,449 points Ranked 20160th
    20 medals 1 legendary 2 rare
    • Returned 5000 times Medal icon
    • Returned 1000 times Medal icon
    • 6 years a member Medal icon
    • Scripter of the Month, March 2013 Medal icon
    • Tutorial Contest Entrant Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    Writter
    Special Thanks
    'LeoDiiablo
    For one tutorial

    Submitter

    Moltard Joined 7y ago
    Offline
    2,449 points Ranked 20160th
    20 medals 1 legendary 2 rare
    • Returned 5000 times Medal icon
    • Returned 1000 times Medal icon
    • 6 years a member Medal icon
    • Scripter of the Month, March 2013 Medal icon
    • Tutorial Contest Entrant Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    Moltard
    Creator
    Sign up to access this!
    Sign up to access this!
    Sign up to access this!

    Game

    Sign up to access this!

    Category

    Details

    Difficulty Level
    Beginner

    Attributes

    Share

    • Share on Reddit
    • Share on Twitter
    • Share on Facebook
    • favorite 4
    • remove_red_eye 9.4k
    • mode_comment 5
    • access_time 6y
    • access_time 5y
    • refresh 6y

    More from Submitter

    menu

    More Other/Misc Tutorials