Advertisement
Guest User

nordgard the core hotkey layout

a guest
Apr 17th, 2021
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. SendMode Input
  3.  
  4. ;
  5. ; BUTTON COORDINATES
  6. ;
  7. ; x
  8. colOne := 1695
  9. colTwo  := 1752
  10. colThree := 1810
  11. colFour := 1865
  12.  
  13. ~F11::
  14. Reload
  15. Sleep 1000
  16. return
  17.  
  18. ;#IfWinActive ahk_class Northgard
  19.  
  20.  
  21. ; y
  22.  
  23. ;
  24. ; VILLAGE
  25. ; BASED ON j
  26. ;
  27. ; HOUSE
  28. j & o::
  29. BuildingHotkey(1752, 167)
  30. return
  31.  
  32. ; SCOUT CAMP
  33. j & p::BuildingHotkey(colOne, 165)
  34.  
  35. ; HEALERS HUT
  36. j & k::BuildingHotkey(colThree, 166)
  37.  
  38. ; BREWERY
  39. j & l::BuildingHotkey(colFour, 165)
  40.  
  41. ; FORGE
  42. j & SC027::BuildingHotkey(colOne, 222)
  43.  
  44. ;
  45. ; PRODUCTION
  46. ; BASED ON h
  47. ;
  48. ; WOODCUTTERS LODGE o
  49. h & o::BuildingHotkey(colOne, 315)
  50.  
  51. ; MINE p
  52. h & p::BuildingHotkey(colTwo, 315)
  53.  
  54. ; FISHERMANS HUT '
  55. h & SC028::BuildingHotkey(colOne, 370)
  56.  
  57. ; HUNTERS LODGE k
  58. h & k::BuildingHotkey(colTwo, 370)
  59.    
  60. ; FIELDS l
  61. h & l::BuildingHotkey(colThree, 370)
  62.  
  63. ; FOOD SILO ;
  64. h & SC027::BuildingHotkey(colFour, 370)
  65.  
  66. ; UNUSED CARVED STONE
  67. ;h & ::BuildingHotkey(colThree, 315)
  68.  
  69. ;
  70. ; MILITARY
  71. ; BASED ON N
  72. ;
  73. ; TRAINING CAMP o
  74. n & k::BuildingHotkey(colOne, 465)
  75.  
  76. ; AXE THROWER CAMP k
  77. n & l::BuildingHotkey(colTwo, 465)
  78.  
  79. ; SHIELD BEARER CAMP l
  80. n & SC027::BuildingHotkey(colThree, 465)
  81.  
  82. ; DEFENSE TOWER p
  83. n & o::BuildingHotkey(colFour, 465)
  84.  
  85.  
  86. ;
  87. ; TRADE
  88. ; BASED ON b
  89. ;
  90. ; TRADING POST o
  91. b & o::BuildingHotkey(colOne, 560)
  92.  
  93. ; MARKETPLACE k
  94. b & k::BuildingHotkey(colTwo, 560)
  95.  
  96. ; LONGSHIP DOCK l
  97. b & l::BuildingHotkey(colThree, 560)
  98.  
  99. ; LIGHTHOUSE ;
  100. b & SC027::BuildingHotkey(colFour, 560)
  101.  
  102.  
  103.  
  104. Ctrl & p::^1
  105. return
  106. Ctrl & j::^2
  107. return
  108. Ctrl & l::^3
  109. return
  110.  
  111.  
  112. RShift & P::
  113. Send {1 down}
  114. Sleep 10
  115. Send {1 up}
  116. return
  117.  
  118. RShift & J::
  119. Send {2 down}
  120. Sleep 10
  121. Send {2 up}
  122. return
  123.  
  124. RShift & L::
  125. Send {3 down}
  126. Sleep 10
  127. Send {3 up}
  128. return
  129.  
  130.  
  131. j::
  132. Send {j down}
  133. Sleep 10
  134. Send {j up}
  135. return
  136.  
  137.  
  138.  
  139. BuildingHotkey(x, y)
  140. {
  141.     Send {j down}
  142.     Sleep 20
  143.     Send {j up}
  144.     Click, %x% %y%
  145. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement