A guide detailing, binding a combination of key-strokes to execute certain command(s). ⌨️
Throughout this guide will cover: 😤😤😤
– The basic premise, allowing you to modify your own cfgs. 🔨
– Specific custom made combo-binds I use personally. 😎
– Ethics of scripting, things get into grey-areas very quickly. 🧑⚖️⚖️
Good luck w/ your games, and enjoy the fancy binds 🙂
Introduction and Requirements
Hi!
Just to give you some quick background, I’ve wanted something like this in game since 2013!
After this short guide. You will leave knowing how to create your own custom combination bindings to add into your own CSGO configuration.
I’m aiming to create a video covering everything within this guide, I will post it right here once I’ve fleshed out any kinks found, please enjoy the guide. I hope it helps you 💘
Requirements
- Half an hours spare time.
- Enabled console: through the in-game settings: settings -> game -> enable console.
- Setup a basic auto executable config – [steamcommunity.com] .
- A basic text editor with rich formatting, notepad++ – [notepad-plus-plus.org] or vscode! – [visualstudio.com] (highly recommend the csgo extension for vscode)
To fiddle around with this stuff you really ought to know how basic aliases work within CSGO. I recommend these resources:
- r/csbinds – [reddit.com]
- These YouTube videos:
&
https://www.youtube.com/watch?v=EPfgoJ8zsZ4 - Google – [google.com] & Steam Guides – [steamcommunity.com]
- Messaging Me! – [steamcommunity.com]
Once you’ve setup your client for console commands, setup an ‘autoexec’ and know some basics, we can get started!
Basic Premise & Functionality
Preface
This is by no means my own work, I’ve ripped all sorts of others’ work from different guides and posts. I might be one of the few or only people to have bound certain things this way however.
We can achieve this combo binding functionality with a small tweak of this Reddit post – [reddit.com] .
Following these steps of both users ‘Techno753’ and ‘Themarshan’. You’ll find you can’t use the command ‘use weapon_flashbang’ within a ‘composite alias’. Meaning it only works if that’s the only command within the quote marks.
The workaround, officially valve sanctioned – [valvesoftware.com] , is to write yet another config file (.cfg) within your /cfg folder with certain command(s) to run.
Pseudo-code
- Set combo button using an alias called ‘combo’ (button we want to use to ‘start’ the combo).
- On press: execute our binds we want active when this combo button is pressed down
- On release: rebind our old bindings -> this is key don’t forget to do this
- Bind our combo button itself to execute said alias
Translates to:
alias +combo “exec combinationbinds”
alias -combo “bind originalbindings”
bind desired-combination-button
Example
Meaning, to achieve a grenade bind utilising the number keys. Usually reserved for weapon switching, we can bind lets say, mouse-5 to a ‘combo’ alias. Which then executes our ‘grenadebinds’ config file.
Console Code, Drop this in your Autoexec
alias +combo “exec grenadebinds”;
alias -combo “bind 1 slot1; bind 2 slot2; bind 3 slot3; bind 4 slot4; bind 5 slot5; bind r +r; -reload ; bind f +lookatweapon;”;
bind mouse5 +combo;
Allowing you to make a combination of buttons required to go straight to your grenades!
Scripting Ethics
From this point onward of course, this is my personal opinion.
The way I see things, making use of the telnet functionality left in by Valve is not cheating. Making such scripts outside of the game is definitely a step further towards cheating. No doubt about that. However, using this functionality for mere QoL. I don’t think so, this bomb timer script is perfect example of that.
CSGO plays a 10 second timer already, by default, no touches to any settings. Displaying a timer in the top left is unfair yes, quality of life? Also yes. Where I draw the line is plain and simple cheating. Giving your in-game player a ‘physical’ advantage is cheating. i.e. a bhop script.
I personally don’t use any timers or even the telnet functionality. But the fact it is in the game is healthy! It allows for third-party developers to add to CSGO. I imagine its there already and left for bot developers commonly found on trading websites and the like.
So if you feel like any of this is above you, and this provides too unfair an advantage, I respectfully disagree.
Quality of life is not cheating. Cheating is cheating.
Combination Binds, Autoexec pasta
Grenade Binds
Goes in ‘autoexec.cfg’
alias +combo "exec grenadebinds"; alias -combo "bind 1 slot1; bind 2 slot2; bind 3 slot3; bind 4 slot4; bind 5 slot5; "; bind mouse5 +combo;
Goes in ‘grenadebinds.cfg’
bind 1 "use weapon_flashbang"; bind 2 "use weapon_smokegrenade"; bind 3 "use weapon_hegrenade"; bind 4 "use weapon_molotov; use weapon_incgrenade"; bind 5 "use weapon_decoy";
Auto-hold Inspect
Goes in ‘autoexec.cfg’
// toggle-inspect combo-bind alias +combo "exec toggleinspect"; alias -combo "bind f +lookatweapon;"; bind mouse5 +combo;
Goes in ‘grenadebinds.cfg’
// toggle inspect alias +lastinvinspect "lastinv" alias -lastinvinspect "+lookatweapon" bind f "+lastinvinspect"
Custom Setup (All in One)
Goes in ‘autoexec.cfg’
// combo binds alias +combo "exec combinationbinds"; alias -combo "bind 1 slot1; bind 2 slot2; bind 3 slot3; bind 4 slot4; bind 5 slot5; bind f +lookatweapon;"; bind mouse5 +combo;
Goes in ‘combinationbinds.cfg’
// grenade binds bind 1 "use weapon_flashbang"; bind 2 "use weapon_smokegrenade"; bind 3 "use weapon_hegrenade"; bind 4 "use weapon_molotov; use weapon_incgrenade"; bind 5 "use weapon_decoy"; // toggle inspect alias +lastinvinspect "lastinv" alias -lastinvinspect "+lookatweapon" bind f "+lastinvinspect" // jump throw forward alias "+forwardjumpthrow" "+forward; +jump; -attack; -attack2" alias "-forwardjumpthrow" "-jump; -forward" bind "alt" "+forwardjumpthrow"
This is all about Counter-Strike: Global Offensive – Basic Binding + Combination & Requirements – CSGO Tutorial; I hope you enjoy reading the Guide! If you feel like we should add more information or we forget/mistake, please let us know via commenting below, and thanks! See you soon!
- All Counter-Strike: Global Offensive Posts List
Leave a Reply