Skip to content

spyoungtech/stratagem-hero-player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stratagem Hero Player

A bot to play the Stratagem Hero minigame in Helldivers 2.

Please note: this is not intended for inputting stratagems in-mission, only in the minigame. This project makes no efforts to hide itself, evade detection, or circumvent any anti-cheat measures. If you use this software in Helldivers 2, there is no guarantee of any kind that you will not be banned. Use at your own risk.

2024-03-08.02-18-48.mp4

Installation

Requires Python and Windows.

Install Requirements (ideally, in a virtualenv):

pip install -r requirements.txt

For NVIDIA users, if you have CUDA installed (available here), you can install the optional cuda requirements for faster processing:

install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121

Usage

  1. Open Helldivers 2 and get ready to play Stratagem Hero
  2. Start the script (python play.py) It will take a few moments to start up.
  3. While the script is starting up, with the "Enter any Stratagem Input to Start!" screen up, drag the mouse down and to the right to get the camera in a reliable position
  4. The script will automatically start the game when ready and play by itself
  5. To stop the bot, simply alt-tab out of Helldivers and focus any other window

Note: the capture region is hard-coded for a 3440x1440 monitor. If your monitor has a different resolution, you will probably have to adjust the capture region in play.py

About

A Python bot for Helldivers 2 Stratagem Hero minigame

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages