How to automate a number of routine processes in Vermintide 2

Warhammer: Vermintide 2764 views8 favorites5 min readby ChadMasodinUpdated 8 JanView on Steam ↗

Introduction:


I made a handy AHK script called AutoHelper, which helps automate a number of routine processes in Vermintide 2:
  1. Salvage items of any rarity.
  2. Opening chests.
  3. Upgrading weapons or amulet for essence in Athanor.
  4. Reroll Properties for any item.
  5. Other crafting functions.

Russian version of the guide:
https://steamcommunity.com/sharedfiles/filedetails/?id=3385048068

Installation:

  1. First, go to the releases page GitHub.
  2. Download the zip archive from the list of assets.
  3. Unzip it to any location on the disk and install the AutoHotKey v1.1
  4. After installing the program, go to the Presets folder and select the type of game interface that you are using, for example, FOR OLD UI.
  5. In this folder, transfer the presets.ini file to the script directory 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:
  • This script works for both New and Old game interface. If you wish, you can change the interface type in the game settings.
  • It is recommended to run the game in Borderless Fullscreen.
  • If for the function "Reroll-Properties" the program (OCR) does not recognize text well. Try to increase the selection area or disabling scaling in the game settings, if you are using 2K resolution or higher.
  • You can use the Jewelry Checklist TEMPLATE or Items for Royale w/ Cheese Legend & Cataclysm Guides spreadsheet to check which jewelry or weapon combinations you currently have and which ones you are still missing.

1. Setting the language
By default, the script will be in English, but you can change it by selecting the one you need in the top drop-down list. The language will change immediately and the script will not need to be reloaded for all the changes to take effect.

Please note that localizations other than Russian and English are made using AI, so the translation may not be entirely correct, but the general meaning should be clear.

When using OCR, text may be recognized a little incorrectly (especially in the Chinese localization). This happens because the text size in the game is quite small. In this case, you can rename or shorten the name of the desired property in the menu file in the Languages folder. After changing the OCR, it should recognize the desired properties of the object.

2. 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 the script directory. 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 (not recommended)
2560X1440
1920X1080
1366X768
If your screen resolution is not listed, you will need to manually adjust it. It won't take long, just read the info below.
3. Scripts setup
In this section, you must specify the coordinates of the game element. Click the button and hover your mouse over the desired element in the game, as shown in the images:
Open Chests
Upgrade Athanor
Salvage Items
Salvage Red Items
Reroll Properties
This function automates the rerolling process by crating a menu system with pretty much every item property combination that once selected, will reroll the item until the chosen combination is found.

It uses OCR to cature the current properties on the item in the reroll slot and checks that agaisnt a predefined set of words that are associated with the menu item you selected. Make sure to read further for all the requirement and usage instructions.

Usage:
To start the process of rerolling an item's properties, first make sure to load the item into the reroll slot in the crafting menu, then click the reroll button once (for new interface) or hover over the item itself in the slot (for old interface) to display a window with results.

Once that's done, bring up the script menu and navigate through the different submenus to the combination that you want.

Remember that if you are rerolling a melee weapon, you'll want to choose a combination from the melee menu. Otherwise the script won't work as intended.

This also works for orange and blue items, but I wouldn't use it on anything with less than two properties because it will confuse the script and reroll until you run out of dust.

The basis for this function is the script VT2-Auto-Reroll-Properties by d-geula. This script was expanded and improved during the port.
Other Crafting Functions
If you need to automate other crafting functions, such as Creation Item or Dust Conversion, then for them you can use Salvage Items.
4. 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”.
5. Binding the game window
At the very bottom is the button Set Target Window. Click it, then double-click the game window. (This is to immediately prevent the script from running when you switch to another window, for example, using ALT+TAB.) Loop Limiter - is the number of loops after which the script will automatically stop. If the field is left blank, the process will continue until you stop it manually. This setting is optional and can be left untouched.
6. Process control
To stop the script, click the "Stop" button.
To clear all set values ​​from the interface, click the "Restart" button.

Conclusion:

I hope you enjoyed my script, as it took quite a bit of time and effort to develop.

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:
- Improve the design of the script?

This guide was created by its original author on the Steam Community. Are you the author and want it removed? Request removal.