0 of 0

File information

Last updated

Original upload

Created by

Modesta1

Uploaded by

Modesta1

Virus scan

Safe to use

Tags for this mod

About this mod

Hotkey for the Taser.

Requirements
Permissions and credits
ATTENTION:
This is an AutoHotkey script, and it is not counted as a mod, so you can get S-rank with it.

____________________________________________________________________________________________

INTRODUCTION


By default, we have two ways to draw the Taser:

  • By pressing "2" key once to draw the pistol, then press it again to switch to the Taser. (Should I even say how annoying this is?)
  • Or by pressing "2" key and scroll up to select the Taser. (Still, you need two actions.)
And think about it: we can assign any button to any device in the game settings, except for the Taser. ???

Looks like the devs intentionally made it complicated to reflect real-life scenarios where cops sometimes pull their gun instead of a Taser.

It'd be great if we had the option to completely unequip unused weapons and tactical devices, so we can beat suspects with our bare hands! :D But seriously, when your job is to carry gas grenades or other tools, there’s no point in taking ammo for your main gun, and it just becomes useless. Same for the "Tank class" with a shield, who just uses his pistol, and doesn't use his main gun, but still takes an unloaded gun with him. Even for melee attacks, it's better to use the Taser, which has a stunning on-hit effect. 
Really need this feature.


Anyway, no more struggling. Just press one button and draw your Taser. Simple.
____________________________________________________________________________________________

FEATURES


  • Taser is assigned to Tab. (Press "Tab" and the script will automatically press "2" and "Scroll Up". Yes, this is how it works.)
  • The script activates only when the ReadyOrNot window is active, If the game is closed or minimized, your keys will function as usual. (Tab will not be recognized by the game, now it's "2+Scroll Up" key, and you can unbind Tab from any actions in game settings. Also when game is active, Alt+Tab combination will not work, to minimize your game use Windows key.)

Tip: Personally, I remapped my Left Win to Right Ctrl through the registry to prevent accidentally minimizing the game, and it can be assigned for some other actions. Or you can download PowerToys from Microsoft store, I'm using it for other games to remap keys on the fly.)
____________________________________________________________________________________________

INSTALLATION GUIDE


  • Install AutoHotkey v2.0.19, from the official website: https://www.autohotkey.com/.
  • Download my .ahk script file and place it wherever you want.
  • Double-click on downloaded .ahk script to run it. (The script will appear in the taskbar tray.)
  • In the game settings, set Item Selection Style to Wheel.
  • Press Tab in-game to instantly pull out the Taser.
Tip: You can launch this script on Window's startup by placing it into this folder: %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup
____________________________________________________________________________________________

HOW TO CHANGE KEYBINDINGS


  • Right-click on AutoHotkey tray icon, and select "Open".
  • In the top menu, choose "View" -> "Key History and Script Info".
  • Press the key you want, then press F5 to refresh the list.
  • Replace the key bindings in the script, prefixing them with "SC"
For example: Scan Code for Caps Lock is 03A -> SC03A
____________________________________________________________________________________________

P.S.


  • You can actually assign a hotkey for the Taser in the game options without this mod. To make it work, remove all tactical devices from your loadout, add the Taser first, and then add other devices. Once that's done, simply remap "Equip Tactical Device" (default is "4") to your preferred key. However, I’ve noticed that sometimes I accidentally double-click the key, and it switches to the next device, so it’s not the most reliable method. Better to use my script :P