Stap 6: Andere nuttige Scripts
Voor fps gamers is er een snelle brand script, zodat wanneer u de muisknop ingedrukt, het pistool gebruikt u snelle brand, zelfs als zijn niet een automatisch wapen.
Het script rapidfire is:
#SingleInstancegActivateScript = 0; Insert to activate the macro~Insert::KeyWait, InsertGetKeyState, InsertState, Insert, TIf InsertState = D{ gActivateScript = 1}else{ gActivateScript = 0}return; CTRL + SHIFT + LBUTTON to activate the macro~+^LButton::If gActivateScript = 0{ gActivateScript = 1}else{ gActivateScript = 0}return ;Also applies to burst weapons. ie click and hold will perform like a full auto firing mode~LButton::Goto, DoFiringLoopReturn;When crouching and firing at the same time. Using Ctrl as crouch button~^LButton::Goto, DoFiringLoopReturnDoFiringLoop:if gActivateScript = 1{ Loop { ;Make sure Cod4 window is the active window. Don't want weird mouse behaviour appearing at other window IfWinActive, Call of Duty 4{ MouseClick, left,,, 1, 0, D ;delay between simu. mouse btn down and up Sleep, 50 MouseClick, left,,, 1, 0, U GetKeyState, LButtonState, LButton, P If LButtonState = U { ;break the loop if physical state of mouse btn is up. break } ;delay between each simu. click events Sleep, 50 } else { break } } }exitreturn
(By the way, ik heb niet de code dit script. Het is geschreven door Byro op autohotkey.com)
Om dit script te activeren, druk op de knop invoegen op uw toetsenbord!
Er zijn vele script repositories over het hele internet.
Sommigen van hen zijn:
De Showcase van Autohotkey Script
AutoHotkey Scripts en macro's @ Autohotkey.free.fr
Één uur Software Script repository
Dank u voor de tijd neemt om te lezen mijn instructable. Ik hoop dat je had plezier en ontdek meer over Autohotkey codering blijven!
John