Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;Features:
- ;Can minimize fullscreen borderless with a key press
- ;Can toggle scope on/off
- ;Can toggle walk on/off
- ;Can toggle zoom on/off
- ;Can bind side mouse buttons to a key
- ;Can bind tilde key(I set it to radio)
- ;Things I tried to do but suck shit:
- ;Bind a key to cycle between weapons. Ground Zeroes for whatever reason hates the scripts I found and will hold the key pressed so you have to double tap which makes the thing redundant
- ;Bind the mouse wheel to weapons, same deal as above with more bugs
- ;Make the script only work when GZ is active, not sure what I'm doing wrong there. I added in some hotkeys to get suspend the script for when you're not in-game instead.
- ;Have a hotkey to slow the mouse down while pressed(for scopes etc).
- Appskey::suspend ;Press this to stop the script from working
- Ralt::WinMinimize, A ;Press right alt to minimize the borderless fullscreen
- return
- Rcontrol::Reload ;Press R ctrl to reload the script if you make edits
- Sleep 1000 ; If successful, the reload will close this instance during the Sleep, so the line below will never be reached.
- MsgBox, 4,, The script could not be reloaded. Would you like to open it for editing?
- IfMsgBox, Yes, Edit
- return
- #NoEnv ;Not sure what this is
- SendMode Input ;Same with this, maybe it helps
- return
- ;Wheel key binds didn't work well for me but maybe they will for you
- ;$WheelUp::t
- ;$WheelDown::f
- return
- ;Cycle Guns with tab, his doesn't work well either
- tab::Send, % Toggle = 1 ? ( "2", Toggle := 0 ) : ( "1", Toggle := 1 )
- return
- ;Hotkeys
- $xbutton1::c ;Side Mouse 1
- $XButton2::u ;Side Mouse 2
- `::p ;Tilde key bound to radio
- ;capslock:: ;capslock unbound
- return
- ;Toggle keys, feel free to rebind them.
- ;Press T to toggle Zoom
- $t::
- {
- if(t_toggle := !t_toggle)
- send {t down}
- else
- send {t up}
- }
- return
- ;Press q to toggle Walk
- $q::
- {
- if(q_toggle := !q_toggle)
- send {q down}
- else
- send {q up}
- }
- return
- ;Press g to toggle Binoculars
- $g::
- {
- if(g_toggle := !g_toggle)
- send {g down}
- else
- send {g up}
- }
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement