![]() Hotkey, % "*$" keyAlternateWeapon " Up", AlternateWeaponUp, on Intercept end of alternate attacks Hotkey, % "*$" keyAlternateWeapon, AlternateWeapon, on Intercept alternate attacks If (A_PriorHotKey = A_ThisHotKey and A_TimeSincePriorHotkey < 500) This detect if a double-click has been done, if so, enter in rapidfire mode If errorlevel = 1 This registers as a 'press-n-hold' on the mouse button. Keywait, %keyUseWeapon%, t%mouseHoldDelay% Wait to see if mouse is released in the next 200 milliseconds StringSplit, arrayDelays, delayValues, `, Hotkey, % "*" keySelectCrossbowDelay, SetCrossbowDelayĬrossbowDelayDuration=450 initial value from the delayValues listĭelayValues=350,375,400,425,450,475,500,525,550,575 Hotkey, % "*$" keyAlternateWeapon " Up", AlternateWeaponUp, off This hotkey is turned on when we want to intercept alternate attacks Hotkey, % "*$" keyAlternateWeapon, AlternateWeapon, off This hotkey is turned on when we want to intercept alternate attacks HotKey, IfWinActive, Orcs Must Die! Make all Hotkeys work only if Orcs Must Die is the active window Dynamically create the Hotkeys, based on the keybindings InitialCrossbowDelay=350 Additional delay necessary before rapidfire kicks in, in milliseconds MouseHoldDelay=0.2 Delay necessary for a mouse hold to be registered, in seconds KeySuspend:="RShift" Suspend script hotkeys (script stops responding to keystrokes, excepted the suspend key) KeySelectCrossbowDelay:="RAlt" User has 2 seconds to select crossbow refire delay by choosing from 1,2.9,0 KeyAlternateWeapon:="RButton" Right mouse Button by default, change this for the keybinding you use In Game KeyUseWeapon:="LButton" Left mouse Button by default, change this for the keybinding you use In Game For a list of the keys that can be used, see This will make the reticle grow quite large, so when you release the right mouse button, and keep holding left mouseīutton, it will take a while for the reticle to shrink back down, depending on the delay between shots of the steady button: modify the rate of fire of the crossbow to BURST RAPIDFIRE MODE (lots of inacurrate shots) By default, the script uses the value corresponding to number 5 use followed by a number from to adjust the delay between each shotįired when in steady rapidfire mode. ![]() This mode is intended to let the reticle go back to its This script has been written to give some rapidfire to the crossbow. #NoEnv Recommended for performance and compatibility with future AutoHotkey releases. AutoHotkey Version Tested: AutoHotkey Basic and AutoHotkey_L Unicode 64 bits It seems that the script does not behave well with the Vampiric Gauntlet, so if you are a fan of the gauntlet, it is probably better to not use the script at all. button: modify the rate of fire of the crossbow to BURST RAPIDFIRE MODE (lots of inacurrate shots) This will make the reticle grow quite large, so when you release the right mouse button, and keep holding left mouse button, it will take a while for the reticle to shrink back down, depending on the delay between shots of the steady fire mode. button: will make the crossbow launch its alternate attack when in STEADY RAPIDFIRE MODE, you can use the right mouse button in 2 ways By default, the script uses the value corresponding to number 5Ī smaller number gives a smaller delay and a bigger number gives a bigger delay, between shots. use followed by a number from to adjust the delay between each shot fired when in steady rapidfire mode. This mode is intended to let the reticle go back to its smallest size between each shot. button and then button, to start the STEADY RAPIDFIRE MODE. ![]() Here is a script to enable rapidfire for the crossbow for the game:
0 Comments
Leave a Reply. |