Warhammer: Vermintide 2

Warhammer: Vermintide 2

Not enough ratings
How to automate a number of routine processes in Vermintide 2
By !ChadMasodin
This guide explains how to use the AutoHelper script, which helps automate a number of routine processes in Vermintide 2.
   
Award
Favorite
Favorited
Unfavorite
Introduction:
I made a handy AHK script with interface called AutoHelper, which helps automate a number of routine processes in Vermintide 2:
  • Salvage items of any rarity, including and reds.
  • Opening chests.
  • Upgrading weapons / amulet for essence in Athanor.
  • Crafting Mechanics (Convert Dust / Craft items and others).


This is only the first version of the script, so there may be bugs in it. Let me know about them and I will try to fix them.

Russian version of the guide:
https://sp.zhabite.com/sharedfiles/filedetails/?id=3385048068
Usage:
1) First, head over to this GitHub release listings page.[github.com]
In the list of assets, select the archive with the required language: English (ENG) / Russian (RUS)
Unpack the archive to any place on your disk and install the program AutoHotKey v1.1.

2) Done, now you can run the AHK script and work in it.

3) After running the script, name the preset and save it, then open Explorer, type %appdata% in the address bar and press Enter.
Go to the automatically created AutoHelper folder, where the presets file will be located. Next, from the downloaded archive, transfer the presets.ini file to the AutoHelper folder and confirm the replacement of the contents. (This file contains pre-made presets for different screen resolutions).
How it work:
There are a few important things to consider before you begin:
  • The script is adapted to the new game interface - I strongly recommend using it! (You can change the interface version in the game settings).

  • The game must be running in Borderless Fullscreen.

  • Game Bug: When using the “Dust Conversion” / “Item Crafting” functions in the script, the wheel of utilization still keeps working after pressing the “Stop” or “Pause” button. In this case, press the Win key or do a window switch (ALT+TAB) to stop instantly.

1. Presets setup
At the top of the window is the Presets List. By default, it will be empty, to make something appear here, enter a name in the field and click on “Save” the preset will save all values from the interface to a separate file, which is located in:
(C:\Users\<your user\AppData\Roaming\AutoHelper).

After restarting the script, you will be able to select the saved preset from the drop-down list. To delete the preset, use the “Delete” button on the right.
If you have overwritten the preset file, then the list will show ready-made variants, choose the one that matches your screen resolution:
2560X1440 +SCALE (this is the game setting for the interface scaling limit)
1920X1080
1280X720
If your screen resolution is not listed, you will need to manually adjust it. It won't take long, just read the info below.

2. Scripts setup
In this section, you should specify the coordinates of the required game element. To do this, click on the “Set” button and put the mouse cursor over the required element, as shown in the pictures:







Notes:
  • If you only need one function, it is not necessary to customize all parameters!
  • Salvage Red Items / Dust Convert, are completely self-contained and do not require any set up. They can be run immediately!

3. Starting processes and settings hotkeys
Let's assume that you have configured “Salvage Items”. You can start this process in two ways: by pressing a button in the GUI or by using a hotkey.
By default, pre-defined hotkeys are used. However, if you wish, you can re-bind them to others. To do this, click on the “HOTKEYS AND INFO” button.



This will open a new window that contains the script info and hotkeys setup. Once the customization is complete, click on “OK”.

4. Binding the game window
At the very bottom there is a button “Set Target Window”. Click on it to select a window, double-click on the game window. (This is to prevent the script from running in another window, for example when you press ALT+TAB).

In addition to this, you can set the “General Iteration Limiter” - this is the number of loops after which the script will stop automatically. If the field is left empty, the execution will continue until you stop it manually.

5. Process control
To stop the script, click the “Stop” or “Pause” button. The main difference between the two is that the “Stop” button terminates the process only when the current loop ends, while the “Pause” button suspends it instantly. Also note that the “Restart” clears all set values in the GUI.
Conclusion:
This script has helped me open many chests that I would never have opened manually. I hope you enjoyed this guide and learned how to use the script!

Remember, creating ready-made presets and feedback will help make this script even better! To share your preset, open your preset file, copy contents and post it in the comments. I will check your preset and if everything is fine, I will add it to the archive.
TODO List:
- Make a separate script for the old interface
- Redo the Crafting Mechanics using OCR[github.com]
- Add similar functionality to the script and solve the problem with different screen resolutions and localization.