Advertisement
kazuya2k8

AtelierRyza.ahk

Nov 13th, 2019
442
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
  2. #SingleInstance, Force
  3. ; #Warn  ; Enable warnings to assist with detecting common errors.
  4. SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
  5. SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
  6.  
  7. #IfWinActive ahk_exe Atelier_Ryza.exe
  8. #UseHook
  9. ;-----------------------------------------
  10. ; Hotkeys
  11. ; Set Atelier Ryza's bindings to default
  12. ; Then set A Confirm / B Cancel
  13. ;-----------------------------------------
  14.  
  15. F10::Suspend,Toggle ; Suspend toggle of hotkeys
  16.  
  17. ; Screens/Functions
  18. F1::i      ; Menu
  19. F2::Enter  ; Story/Quest
  20. F4::q      ; Switch Tool
  21. F5::Up     ; Log
  22. Tab::Down  ; Map
  23.  
  24.  
  25. ; Field Movements
  26. Space::k   ; Jump
  27. LShift::e  ; Run
  28. x::l       ; Action/Pickup
  29. v::j       ; Melee
  30.  
  31. ; Camera
  32. z::r       ; Look Left
  33. c::y       ; Look Right
  34. r::t       ; Look Up
  35. f::g       ; Look Down
  36. g::h       ; Look Forward
  37. LCtrl::u   ; Zoom In
  38. LAlt::o    ; Zoom Out
  39. ;z::MouseMove, -1, 0, 50, R   ; Look Left
  40. ;c::MouseMove, 1, 0, 50, R    ; Look Right
  41. ;r::MouseMove, 0, -1, 50, R   ; Look Up
  42. ;f::MouseMove, 0, 1, 50, R    ; Look Down
  43. ;LCtrl::WheelDown
  44. ;LAlt::WheelUp
  45.  
  46. ; Navigation
  47. Esc::k     ; Cancel/Menu
  48. t::f       ; ???
  49.  
  50. ; Combat Hotkeys 1-5
  51. `::n       ; Upgrade
  52. 1::l       ; Attack
  53. 2::k       ; Move
  54. 3::j       ; Item
  55. 4::i       ; Magic
  56. 5::o       ; Quick Actions
  57. y::return
  58. h::return
  59.  
  60. ; Mouse button bindings
  61. LButton::l   ; Mouse 1 - action/confirm (move) X
  62. RButton::j   ; Mouse 2 - swing tool (item) A
  63. MButton::h   ; Mouse 3 - reset camera RS Press
  64. XButton1::e  ; Mouse 4 - next
  65. XButton2::q  ; Mouse 5 - back
  66. WheelDown::  ; MouseWheel Down - zoom out
  67. Send {o down}
  68. Sleep 50
  69. Send {o up}
  70. return
  71. WheelUp::    ; MouseWheel Up - zoom in
  72. Send {u down}
  73. Sleep 50
  74. Send {u up}
  75. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement