Maxwelldon Posted October 2, 2008 Content Count: 1730 Joined: 02/15/08 Status: Offline Share Posted October 2, 2008 (edited) .: Quick reminder :. Even though the STEAM client looks different, this guide helps you enable console. Also creating binds works with same principle! So, this thread is to tell you how to create binds in to your game by two different ways. The first way we'll go through is the Console commands and second we'll be using text editor to edit our configuration files outside the game. You'll first need to enable your CONSOLE so you can use it from ingame. Most used way is to have steam open and then right-click on Counter-Strike: Source - after that Properties (See picture below for example) After you have gone in to properties, you'll have to click on "Set Launch Options..." button Now, you'll just put in the field the "-console" as in picture below After this you can start up game normally and you'll have "Console" always available when you hit ESC ingame unless you close it from the X at top right. -- End of How-to console -- Notice :: You can ignore the attachments of this post, they are related to the whole thread and linked individually for each instruction. Edited June 21, 2010 by Maxwelldon Images didn't work because of forum update... Link to comment
Maxwelldon Posted October 2, 2008 Content Count: 1730 Joined: 02/15/08 Status: Offline Share Posted October 2, 2008 (edited) Now, since you have console enabled, when ever you are wanting to do new binds, just type this in; bind kp_home "say This is a test bind" Basically, this makes you bind Keypad number 7, which has also word "home" on it to say "This is a test bind" so all can see it in chat box ingame. - You can change the "kp_home" to any button you want and edit the quoted part as you want. For example, some useful prisonbreak binds to keypad: bind kp_home "Say Drop the gun!!" bind kp_leftarrow "Say BACK OFF! Or I will shoot!!" bind kp_5 "Say DON'T cross the sprayline or you WILL be shot!" bind kp_pgup "Say EDIT" bind kp_pgdn "say EDIT" ------ Notice :: replace the EDIT with something you see fit -- End of How-to-Bind in console -- 1 Edited October 8, 2008 by Maxwelldon changed the binds so they are in code field Link to comment
Maxwelldon Posted October 2, 2008 Content Count: 1730 Joined: 02/15/08 Status: Offline Share Posted October 2, 2008 (edited) ---- WARNING :: THIS IS FOR MORE ADVANCED USERS ---- As you see, this is for more advanced users on how-to create binds. Modifying the files is on your own risk and this may cause you lose binds if you mess up so before you do anything, take back-up from your files by copy+paste them in same folder and rename "file.cfg.bak" for example. ---- End of Warning ---- Now that thing said, welcome to advanced bind editing. First of all, you need to locate your CFG folder. Default place for the folder is as following; C:\Program Files\Steam\SteamApps\YOURACCOUNT\counter-strike source\cstrike\cfg -- Replace "YOURACCOUNT" part with your account name. When you find the folder, there should be at least file named "Config.cfg" which is the default file CS:S loads on startup. I don't want to go mess around with it so we'll just leave it be and instead create a new file called "Autoexec.cfg" if you don't already have one. This you can do by right-clicking somewhere in white area and then New -> Text Document Afterwards, just type the new name in "Autoexec.cfg" and answer "Yes" to the warning. Now, just right-click the "Autoexec.cfg" and then select "Open With..." Now you need to select the application called "Notepad" Optional - tick the check-box so you don't have to use the "Open With.." option later on to open these files. Now you should have notepad open like this; If so, you can now start add binds in the file like these: bind kp_home "Say Drop the gun!!" bind kp_leftarrow "Say BACK OFF! Or I will shoot!!" bind kp_5 "Say DON'T cross the sprayline or you WILL be shot!" bind kp_pgup "Say EDIT" bind kp_pgdn "say EDIT" Notice :: replace the EDIT with something you see fit After that the notepad seems like this; After this you can hit the hotkey CTRL+S // Or click on File -> Save // Or hit the X and "Yes" when it asks to save changes. After saving, you can close the open CFG folder window by hitting the top right X --- End of Advanced bind editing --- Notice :: You can add binds but you can also add all sort miscellaneous things to the "Autoexec.cfg" file but most used it is for binds and rate changes. Edited November 3, 2008 by Maxwelldon Pics didn't work after forum update.. Link to comment
MtrxMn Posted July 4, 2009 Content Count: 546 Joined: 04/12/09 Status: Offline Share Posted July 4, 2009 Could someone on here give a list of what the abbreviations are for the keys on the keyboard and the abbreviations for all the guns and equipement? Link to comment
Gator Posted July 4, 2009 Content Count: 2669 Joined: 03/29/09 Status: Offline Share Posted July 4, 2009 Buy commands: Pistols: buy glock (9x19mm Sidearm) buy usp (KM .45 Tactical) buy p228 (228 Compact) buy deagle (Night Hawk .50C) buy elite (.40 Dual Elites) buy fiveseven (ES Five-Seven) Shotguns: buy m3 (Leone 12 Gauge Super) buy xm1014 (Leone YG1265 Auto Shotgun) SMG's: buy mac10 (Ingram MAC-10) buy tmp (Schmidt Machine Pistol) buy mp5navy (KM Sub-Machine Gun) buy ump45 (KM UMP45) buy p90 (ES C90) Rifles: buy galil (IDF Defender) buy ak47 (CV-47) buy sg550 (Krieg 550 Commando) buy famas (Clarion 5.56) buy m4a1 (Maverick M4A1 Carbine) buy aug (Bullpup) buy scout (Schmidt Scout) buy sg552 (Krieg 552) buy awp (Magnum Sniper Rifle) buy g3sg1 (D3/AU1) Machine Guns: buy m249 (M249) Equipment: buy primammo (Primary Ammo) buy secammo (Secondary Ammo) buy vest (Kevlar) buy vesthelm (Kevlar+Helmet) buy flashbang (Flashbang) buy hegrenade (HE Grenade) buy smokegrenade (Smoke Grenade) buy nvgs (Nightvision) buy defuser (Defusal Kit) Those are all the weapons available in the game. In order to bind them, simply use this format: bind "buy weapon" So, for example, to buy an AK47, enter this into the console: bind "buy AK47" ____________________ Binding to the Keypad: These keys are not used in the default key binds, and (assuming you use WSAD for movement) are free to be bound to other commands. They are all located on the numpad, to the right hand side of a standard keyboard. KP_INS (the 0 key) KP_DEL (the decimal point) KP_ENTER (the Enter key) KP_PLUS (the Plus key) KP_END (the 1 key) KP_DOWNARROW (the 2 key) KP_PGDN (the 3 key) KP_LEFTARROW (the 4 key) KP_5 (the 5 key) KP_RIGHTARROW (the 6 key) KP_HOME (the 7 key) KP_UPARROW (the 8 key) KP_PGUP (the 9 key) KP_SLASH (the / key on the numpad) * (the * key on the numpad) KP_MINUS (the - key on the numpad) Examples code:bind "KP_INS" "buy ak47; buy m4a1; buy primammo" (Will buy an AK or an M4 with full ammo, depending on team choice, when you press 0 on the keypad) bind "KP_DEL" "buy deagle; buy secammo" (Will buy a Desert Eagle (regardless of team choice) when the decimal key is pressed on the keypad) bind "KP_LEFTARROW" "buy flashbang" (Will buy a single Flashbang when the 4 key is pressed, on the numpad) bind "KP_5" "buy hegrenade" (Buys a frag nade when the 5 key is pressed on numpad) bind "KP_RIGHTARROW" "buy smokegrenade" (Buys 1 smokegrenade when the 6 key is pressed) bind "F3" "buy M4A1; buy AK47; buy primammo; buy flashbang; buy hegrenade; buy defuser" (Buys a full assault kit (rifle, primary weapon + ammo, 1xflash and 1x frag - and a defuser if CT) when you press F3) These binds can be added to and editted, to fit your needs - but the KP keys are not used by default and as a result, can be used without fear of overwriting existing key binds. 3 Link to comment
Gator Posted July 4, 2009 Content Count: 2669 Joined: 03/29/09 Status: Offline Share Posted July 4, 2009 For the ammo thing that for Cs and stuff not Source Link to comment
MtrxMn Posted July 4, 2009 Content Count: 546 Joined: 04/12/09 Status: Offline Share Posted July 4, 2009 Thanks! Exactly what i was looking for Link to comment
gordon freemint Posted July 13, 2009 Content Count: 13 Joined: 07/11/09 Status: Offline Share Posted July 13, 2009 Binds are easy to set up i have helped so many of my friends on my friends list on steam do it:amuse: Link to comment
Canna Posted October 7, 2009 Content Count: 45 Joined: 10/02/08 Status: Offline Share Posted October 7, 2009 How would I go about binding my home key to bind both mwheeldown and mwheelup to invnext and invprev? Then bind end key to bind mwheeldown and mwheelup to +jump. So I can switch back and forth between regular CSS and bunny hopping. Link to comment
Maxwelldon Posted October 9, 2009 Content Count: 1730 Joined: 02/15/08 Status: Offline Share Posted October 9, 2009 How would I go about binding my home key to bind both mwheeldown and mwheelup to invnext and invprev? Then bind end key to bind mwheeldown and mwheelup to +jump. So I can switch back and forth between regular CSS and bunny hopping. Usual method with the bhop and reg CSS binding would go as in executing different configuration files.. Just a short code-field example of what the each file would contain; bhop.cfg bind "mwheelup" "+jump" bind "mwheeldown" "+jump" regcss.cfg bind "mwheelup" "invnext" bind "mwheeldown" "invprev" - You can refer to the first post of how to create configuration files. Link to comment
Recommended Posts
Reply to Thread
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now