Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;Killing Floor 2 Hotkeys
- ;Created by 11GOD11
- ;Version 2.1
- #installkeybdhook
- #installmousehook
- #UseHook on
- #NoEnv
- #MaxThreads 255
- #MaxMem 4095
- #singleInstance, force
- #IfWinActive ahk_exe KFGame.exe
- SetWorkingDir, %A_ScriptDir%
- SendMode Input
- ;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
- ; REQUIRED KEY ASSIGNMENTS (All Default Keybindings)
- ; b = Throw dosh
- ; q = Heal self
- ; Backspace = Drop weapon
- ; 1,2,3,4 = Weapon selection
- ; Left Click = Primary fire
- ; g = Throw Grenade
- ; t = Chat
- ; Middle Mouse Button = Alt Fire
- ; Left Control not assigned
- ;If you want to disable any of these put a ; before the varible below and infront of the corrisponding Hotkey line
- ;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
- ;Variables to change / If you change these keep the asterix it makes it so that if you are holding down shift the hotkey will still work
- Weapon = 1 ; Change this to 1, 2 or 3 depending on if you want to swap to primary, pistols or melee
- HealSelf = *q ; this will heal you then imediatly switch back to selected weapon (Above)
- DoshDrop = WheelDown ; hold down this key to drop dosh much faster rather than puch the button a lot {you can still tap to drop)
- DoshDropSpeed = 25 ; Lower this value to drop dosh faster, increase to drop slower
- HealPlayer = *Numpad0 ; Swap to syringe and heal the player you are next to then swap back to weapon
- ChatFleshpound = *Numpad7 ; Will type message "Fleshpund incoming!"
- ChatScrake = *Numpad8 ; Will type message "Scrake incoming!"
- ChatHeal = *Numpad4 ; Will type message "Thanks for the heal :)"
- ChatThanks = *Numpad6 ; Will type message "Thank you!"
- ChatDosh = *Numpad5 ; Will type message "Does anyone need dosh?"
- Suicide = *Numpad3 ; Press this if you know you are about to die, Will drop all your weapons, dosh and grenades
- MedicHeal = LControl ; This will swap between the MedAR, MedShotgun and MedPistol and shoot healing darts, You need to have all three and be holding the MedAR
- ;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
- ;Dont change these variables unless they dont work, you can increase them or decrease them, Some depend on weapon swap speeds so can be decreased or need to be increased
- Chatdelay = 125
- SuicideDelay = 50
- SelfHealDelay = 1300
- WeaponSwapDelay = 1300
- HealOtherDelay = 1000
- GrenadeDelay = 650
- MedDartDelay = 180
- MedARMedSG = 1500
- MedSGMedPistol = 1300
- MedPistolMedAR = 1300
- Hotkey, %HealSelf%, HealSelf
- Hotkey, %HealPlayer%, HealPlayer
- Hotkey, %ChatFleshpound%, ChatFleshpound
- Hotkey, %ChatScrake%, ChatScrake
- Hotkey, %ChatThanks%, ChatThanks
- Hotkey, %ChatHeal%, ChatHeal
- Hotkey, %ChatDosh%, ChatDosh
- Hotkey, %DoshDrop%, DoshDrop
- Hotkey, %Suicide%, Suicide
- Hotkey, %MedicHeal%, MedicHeal
- Return
- MedicHeal:
- {
- While GetKeyState("LControl","P")
- {
- loop, 3
- {
- Send {MButton}
- Sleep %MedDartDelay%
- }
- Send 2
- Sleep %MedSGMedPistol%
- loop, 3
- {
- Send {MButton}
- Sleep %MedDartDelay%
- }
- Send 1
- Sleep %MedPistolMedAR%
- }
- }
- Return
- HealSelf:
- {
- Sendinput, Q
- sleep %SelfHealDelay%
- send %Weapon%
- }
- Return
- HealPlayer:
- {
- Send 4
- sleep %WeaponSwapDelay%
- Loop, 5
- {
- MouseClick,
- }
- sleep %HealOtherDelay%
- send %Weapon%
- }
- Return
- ChatHeal:
- {
- Send T
- Sleep %Chatdelay%
- Send Thanks for the heal :)
- Sleep %chatdelay%
- Send {Enter}
- }
- Return
- ChatThanks:
- {
- Send T
- Sleep %Chatdelay%
- Send Thank you{!}
- Sleep %Chatdelay%
- Send {Enter}
- }
- Return
- ChatScrake:
- {
- Send T
- Sleep %Chatdelay%
- Send Scrake incoming{!}
- Sleep %Chatdelay%
- Send {Enter}
- }
- Return
- ChatFleshpound:
- {
- Send T
- Sleep %Chatdelay%
- Send Fleshpound incoming{!}
- Sleep %Chatdelay%
- Send {Enter}
- }
- Return
- ChatDosh:
- {
- Send T
- Sleep %Chatdelay%
- Send Does anyone need dosh?
- Sleep %Chatdelay%
- Send {Enter}
- }
- Return
- DoshDrop:
- {
- Send WheelDown
- Sleep %DoshDropSpeed%
- Return
- }
- Suicide:
- {
- Send 1 ;Swaps to primary weapon
- Sleep 620
- loop, 10 ;will drop all weapons
- {
- Send {Backspace}
- Sleep %SuicideDelay%
- }
- loop, 100 ;Will drop up to 5000 dosh in .1 second
- {
- send b
- Sleep 1
- }
- loop, 5 ; Throws all of your grenades
- {
- send g
- Sleep %GrenadeDelay%
- }
- }
- Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement