Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;recordings Multiple Push-To-Talk keys using Dxtory with AutoHotKeys
- ;Currently working for:
- ;Arma 2 OA with ACRE mod
- ;Download Autohotkeys and past this script into it
- ;follow instructions below
- ;version 1.2 By Dzuari
- ;Special thanks too:
- ;Barrow
- ;Harrier
- ;Frag85
- ;Rafferty
- ;bozz
- ;Default Radio PTT Button = Capslock
- ;Default Direct PTT Button = Mouse button 2(XButton2)
- ;Default Dead Key for ACRE radio = Home
- ;Default Dead key for Dxtory = =
- ;set (=) key to your PTT in dxtory
- ;To change radio button, just edit code below and
- ;replace capslock with your key
- ;To change direct chat button, just edit code below
- ;and replace XButton2 with your key
- ;To change Dxtory PTT key, change (=) to your key
- ;You must find ACRE_Keys.hpp in your Arma directory
- ;and edit "class PTTRadio" to be home key(199)
- ;To change ACRE radio dead key, change Home to your key
- ;you must also edit ACRE_Keys.hpp to match AutoHotKey's key
- ;this script works by actually setting your ACRE radio
- ;to the Home key but AutoHotkey activates home when you press
- ;Capslock, so you will still use Capslock as your radio
- ;Key but behind the scene, home is your actual radio key
- ;don't ask cause i can't tell you why, but if you don't set
- ;ACRE_Keys.hpp to your home key(199), bad things will happen
- ;very odd, unexplainable things.
- #SingleInstance, Force
- SendMode, input
- #IfWinActive, ahk_class ArmA 2 OA
- ;Radio chat button
- $Capslock:: Send, {Home down}{= down}
- $Capslock Up:: Send, {Home up}{= up}
- ;direct chat button
- ~XButton2::
- {
- Send, {= down}
- Return
- }
- ~XButton2 up::
- {
- Send, {= up}
- Return
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement