Hunting Simulator 2

Hunting Simulator 2

Not enough ratings
How to enable auto-walk/auto-run/Как включить автоходьбу/автобег
By Ecru
This little guide describes how to enable auto-walk/auto-run with keyboard macro.
Инструкции как включить автоходьбу/автобег с помощью макроса
   
Award
Favorite
Favorited
Unfavorite
English instructions
1) Visit https://www.autohotkey.com/
2) Click Download button, then Download Current Version and download the installer
3) Run the exe file, install the program
4) In the folder where you want to put your macro, click RMB, then "New", then AutoHotkeyScript, create a file.
5) Then RMB on the file, "Edit Script", it will be opened with Notepad
6) Copy and paste the following text after all lines:

g::
KeyDown := !KeyDown
If KeyDown
SendInput {w down}
Else
SendInput {w up}
Return


7) Where g is the key for autowalk (instead of g, you can choose any key, as you wish, even mouse buttons - replace g with LButton, Mbutton or RButton) and w is your key for going forward (if you use a different binding feel free to replace w with your choice).
8) Close and save the file, then launch it. A square with the letter H will appear in the taskbar at the bottom. The script is running.
9) Start the game. Now, when you press g (or whatever key), the character will go forward until you press something else. If you press Shift while auto-walking, it will auto-run until exhausted
10) Just do not forget to close the script after quitting the game with RMB at the icon with H, then Exit, otherwise the bounded button will not work properly
На русском
1) Заходишь на https://www.autohotkey.com/
2) Тыкаешь на кнопку Download, потом Download Current Version, скачивается exe-файл
3) Запускаем exe-файл, устанавливаем программу
4) В папку, в которой хочешь положить макрос, тыкаешь правой кнопкой, потом "Создать", потом AutoHotkeyScript, создаешь файл.
5) Затем по файлу правой кнопкой, "Edit Script". Откроется в блокноте.
6) Копируешь и вставляешь после всех строк такой текст:

g::
KeyDown := !KeyDown
If KeyDown
SendInput {w down}
Else
SendInput {w up}
Return


7) Где g - это кнопка для автоходьбы (вместо g можно поставить любую клавишу, как удобно, даже кнопки мыши, просто замени g на LButton, Mbutton или RButton), а w - это кнопка для движения вперед (если у тебя для движения вперед настроена другая кнопка, просто замени w на свою клавишу).
8) Закрываешь и сохраняешь файл, затем запускаешь его. Внизу в панельке задач появится квадратик с буквой H. Скрипт запущен.
9) Запускаем игру. Теперь при нажатии g (или какую вы там выставили) персонаж будет идти вперед, пока не нажмешь что-то другое. Если нажать Shift во время автоходьбы, то он будет автобежать пока не выдохнется)
10) Потом главное после игры не забыть закрыть скрипт правой кнопкой по квадратику с Н, потом Exit, а то забинденная кнопка работать не будет)
14 Comments
Yuccasu 18 Apr, 2021 @ 4:23am 
There is a key in game for auto walk. Therefore you do not need autohotkey for this any longer. It can be necessary to bind this key manually though.
peanut4802 12 Mar, 2021 @ 5:54am 
Its up to the game builder to configure that not us.
Manu5Ahau [Be] 23 Jul, 2020 @ 11:02am 
Cool Thx
Ecru  [author] 23 Jul, 2020 @ 8:02am 
@Manu5Ahau [Be]
Thank you for your remarks, I've edited the guide to clarify it.
Manu5Ahau [Be] 23 Jul, 2020 @ 2:56am 
@Ecru Thx
@all Europeans (Azertyusers) and people who alter there ingame keybindings

It didnt work in the first instance for me.

But i found out why.

I altered my ingame keybinding from w to z.
So if you are doing this you have to change w to z in the code also (or to the altered keybinding of your choice).

@Ecru thx for posting this.
Great little program that i will use alot also for other things than gaming.


Manu5Ahau [Be] 22 Jul, 2020 @ 8:50am 
thx
Ecru  [author] 22 Jul, 2020 @ 6:16am 
Does not matter, you can place it in any folder you feel convenient.
Manu5Ahau [Be] 22 Jul, 2020 @ 12:38am 
4) In the folder where you want to put your macro, click RMB, then "New", then AutoHotkeyScript, create a file.

Is this the game folder?
I thank you for explaining it a little further because i wish a autowalk key.
Thx
Joerg_B 21 Jul, 2020 @ 7:12am 
Thank you very much, works perfectly.
Ecru  [author] 20 Jul, 2020 @ 6:20pm 
Oh, try this:

RButton::
KeyDown := !KeyDown
If KeyDown
SendInput {RButton down}
Else
SendInput {RButton up}
Return