Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ---------------------------------------------------------------------------------------------
- // ActionToggle Switch by MrMaxim
- //
- // HOW IT WORKS: Hold MOUSE4 to make buttons do different things
- // Example: E normally opens doors. MOUSE4 + E pulls out HE grenade.
- // It's like holding Shift to type capitals, but for CS2 commands.
- //
- // INSTALLATION:
- // 1. Copy this entire script
- // 2. Go to: C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg
- // 3. Create a file called "autoexec.cfg" (or open it if you already have one)
- // 4. Paste this script inside and save
- // 5. Launch CS2 - it loads automatically
- // ---------------------------------------------------------------------------------------------
- // Part 1: NORMAL mode (what buttons do when you DON'T hold MOUSE4)
- alias defZ "bind z radio" // Z opens radio menu
- alias defX "bind x slot12" // X = healthshot
- alias defC "bind c radio2" // C opens radio menu 2
- alias defQ "bind q lastinv" // Q switches to last weapon
- alias defE "bind e +use" // E uses stuff (doors, bombs, etc)
- alias defF "bind f +lookatweapon" // F inspects weapon
- alias def1 "bind 1 slot1" // 1 = primary weapon
- alias def2 "bind 2 slot2" // 2 = pistol
- alias def3 "bind 3 slot3" // 3 = knife
- alias def4 "bind 4 slot4" // 4 = grenades
- alias defP "bind p say gg" // P says "gg" in chat
- // Part 2: SWITCHING mechanism (don't touch this, it's the magic that makes it work)
- alias keyZ "bind z customZ"
- alias keyX "bind x customX"
- alias keyC "bind c customC"
- alias keyQ "bind q customQ"
- alias keyE "bind e customE"
- alias keyF "bind f customF"
- alias key1 "bind 1 custom1"
- alias key2 "bind 2 custom2"
- alias key3 "bind 3 custom3"
- alias key4 "bind 4 custom4"
- alias keyP "bind p customP"
- // Part 3: SPECIAL mode (what buttons do when you HOLD MOUSE4)
- alias customZ "god" // MOUSE4 + Z = god mode (practice)
- alias customX "noclip" // MOUSE4 + X = fly through walls (practice)
- alias customC "slot10" // MOUSE4 + C = pull out molotov
- alias customQ "slot7" // MOUSE4 + Q = pull out flashbang
- alias customE "slot6" // MOUSE4 + E = pull out HE grenade
- alias customF "slot8" // MOUSE4 + F = pull out smoke
- alias custom1 "autobuy" // MOUSE4 + 1 = auto-buy weapons
- alias custom2 "buy flashbang; buy smokegrenade; buy molotov; buy hegrenade; buy defuser" // MOUSE4 + 2 = buy all nades + kit
- alias custom3 "buy flashbang; buy smokegrenade; buy molotov; buy flashbang; buy defuser" // MOUSE4 + 3 = buy nades (2 flashes)
- alias custom4 "say !r" // MOUSE4 + 4 = restart bhop/surf run
- alias customP "mp_team_intro_time 0; sv_grenade_trajectory_prac_pipreview 1; sv_grenade_trajectory_prac_trailtime 4; mp_buy_anywhere 1; mp_freezetime 0; mp_ignore_round_win_conditions 1; mp_buytime 99999; mp_startmoney 60000; mp_maxmoney 60000; ; ammo_grenade_limit_total 6; mp_autoteambalance 0; mp_limitteams 0; mp_warmup_pausetimer 1; mp_warmup_start; sv_cheats 1; sv_infinite_ammo 2; bot_kick" // MOUSE4 + P = practice mode setup
- // Part 4: The ON/OFF switch (when you press/release MOUSE4, this runs)
- alias +secondaryaction "keyZ; keyX; keyC; keyQ; keyE; keyF; key1; key2; key3; key4; keyP" // Turns on special mode
- alias -secondaryaction "defZ; defX; defC; defQ; defE; defF; def1; def2; def3; def4; defP" // Turns off special mode
- // Part 5: Choose your toggle button (currently MOUSE4)
- bind mouse4 +secondaryaction // Hold MOUSE4 to activate special mode
- // ---------------------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment