Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
You can also do it using an alias with multiple rebinds.
bind r "+reload; say Changing Mag.; -reload"
bind 1 "slot1; Switching To Primary.;
bind 2 "slot2; Switching To Sidearm.;
bind 3 "slot3; Going For The Knife.;
bind e "+use; Breaching.;
bind f "+lookatwepeon; say Check This Out.;
bind k "kill; say F*** This S*** Im Out.;
bind g "+drop; say This Is Of No Use To Me Now.;
bind l "+left; +back; say afk;
bind o "-left; -back; say back;
bind mouse1 "+attack; say Fireing.;
bind mouse2 "+attack2; Scoping In.;
bind space "+jump; say Boing.;
Do those binds even work? They don't look like they would work because they are missing the second quotation.
The easiest way to do it is to create two cfg files.
Name one something like binds1.cfg then copy/paste your binds into it.
Then make a second cfg called binds2.cfg and copy/paste these binds into it.
Then you make the rebind toggle.
Copy/paste this into your autoexec.cfg. If you don't have one you have to create it.
alias say_tog say_on
alias say_on "exec binds1.cfg; alias say_tog say off"
alias say_off "exec binds2.cfg; alias say_tog say_on"
Then bind a key in console.
bind "yourkey" "say_tog"
how to bind another exec file like crosshair will it b same or the say_tog will change?
make an alias in autoexec
bind "T" "crosshair1"
alias "crosshair1" "cl_crosshairstyle 4; cl_crosshaircolor 5; cl_crosshaircolor_r 255; cl_crosshaircolor_g 255; cl_crosshaircolor_b 255; cl_enablecrosshairalpha 1; cl_crosshairalpha 255; cl_crosshairdot 1; cl_crosshairsize 8; cl_crosshairthickness 0.5; cl_crosshairgap -5; cl_crosshair_drawoutline 1; bind "T" "crosshair2"
alias "crosshair2" "cl_crosshairstyle 4; cl_crosshaircolor 5; cl_crosshaircolor_r 255; cl_crosshaircolor_g 255; cl_crosshaircolor_b 255; cl_enablecrosshairalpha 1; cl_crosshairalpha 255; cl_crosshairdot 1; cl_crosshairsize 19; cl_crosshairthickness 0.5; cl_crosshairgap -5; cl_crosshair_drawoutline 1; bind "T" "crosshair3"
alias "crosshair3" "cl_crosshairstyle 4; cl_crosshaircolor 5; cl_crosshaircolor_r 255; cl_crosshaircolor_g 255; cl_crosshaircolor_b 255; cl_enablecrosshairalpha 1; cl_crosshairalpha 255; cl_crosshairdot 1; cl_crosshairsize 26; cl_crosshairthickness 0.5; cl_crosshairgap -5; cl_crosshair_drawoutline 1; bind "T" "crosshair1"
basically make a different alias for every crosshair and end that alias with bind "T" "crosshair2" then crosshair3 and so on so when you press T it puts on crosshair 1, then binds T to crosshair 2 so when you press T it puts on crosshair2, then binds T to crosshair 3 and etc.
remember CVARs that don't change, only need to be set once so in this example the size is only variable changing so it would look like:
bind KEY "toggle cl_crosshairsize 8 19 26"