lians

Dark Souls 1 PC Setup

Mar 20th, 2016
7,787
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; Init
  2. #NoEnv
  3. #SingleInstance Force
  4. Process, Priority, , High
  5. SendMode Input
  6. SetTitleMatchMode, 3
  7. ; /Init
  8.  
  9.  
  10. #IfWinActive, ahk_class DARK SOULS
  11.  
  12. !Esc::Pause
  13.  
  14. ~LButton::h
  15. *^LButton::u
  16.  
  17. RButton::z
  18. *^RButton::Tab
  19.  
  20. MButton::f
  21. XButton1::PgDn
  22. XButton2::PgUp
  23.  
  24. WheelUp::
  25. {
  26.     Send {up down}
  27.     Sleep 50
  28.     Send {up up}
  29.     return
  30. }
  31.  
  32. WheelDown::
  33. {
  34.     Send {down down}
  35.     Sleep 50
  36.     Send {down up}
  37.     return
  38. }
  39.  
  40. 1::v
  41. 2::c
  42. 3::b
  43. 4::n
  44.  
  45. Shift::m
  46.  
  47. Space::
  48. {
  49.     Send {m up}
  50.     Sleep 50
  51.     Send {m down}
  52.     return
  53. }
  54.  
  55. Space Up::
  56. {
  57.     if not GetKeyState("Shift", "P")
  58.     {
  59.         Send {m up}
  60.     }
  61.     return
  62. }
  63.  
  64. ; Guard Break / Kick
  65. *!LButton::
  66. {
  67.     isMoving := GetKeyState("w", "P")
  68.    
  69.     BlockInput, SendAndMouse
  70.    
  71.     if isMoving
  72.     {
  73.         Send {w up}
  74.         Sleep 200
  75.     }
  76.    
  77.     Send {w down}
  78.     Sleep 20
  79.     Send {h down}
  80.     Sleep 30
  81.     Send {h up}
  82.    
  83.     BlockInput, Off
  84.    
  85.     if not isMoving
  86.     {
  87.         Send {w up}
  88.     }
  89.     return
  90. }
  91.  
  92. ; Jump Attack
  93. *!RButton::
  94. {
  95.     isMoving := GetKeyState("w", "P")
  96.    
  97.     BlockInput, SendAndMouse
  98.    
  99.     if isMoving
  100.     {
  101.         Send {w up}
  102.         Sleep 200
  103.     }
  104.    
  105.     Send {w down}
  106.     Sleep 30
  107.     Send {u down}
  108.     Sleep 30
  109.     Send {u up}
  110.    
  111.     BlockInput, Off
  112.    
  113.     if not isMoving
  114.     {
  115.         Send {w up}
  116.     }
  117.     return
  118. }
  119.  
  120. #IfWinActive
Advertisement
Add Comment
Please, Sign In to add comment