Git Product home page Git Product logo

helldivers-stratagem-input's Introduction

Helldivers Stratagem Input

Helldivers 2 Stratagem input for PC

I achieved voice command stratagems in Helldivers 2 using Alexa, Home Assistant, and the HASS.Agent app on my W11 PC

The basic flow is
Alexa routine -> Home Assistant switch -> HASS.Agent command -> Script execution
I've also had luck with Siri and the Homekit Add-on

Unfortunately, each stratagem is a unique command in the HASS.Agent. But really, I use the same loadout and only a few variations So I've mapped what I feel are the most common loadouts, but the switch statement is easily expandable

The param is where the script captures the text entered in at the command line. The command would look like
powershell.exe -File "C:\Users\username\automagic-democracy.ps1" -strat "Airstrike"
If the script is placed somewhere on your Windows path, you can call it with just
automagic-democracy -strat "Airstrike"

However, the HASS.Agent program cannot call it directly, I believe because it isn't running the commands in powershell but CMD, so the longform is required
Inside the HASS.Agent, I set up a Custom Command of type switch, with the command formatted like
powershell.exe -File "C:\Users\andre\automagic-democracy.ps1" -strat "Orbital Laser"

Add me on Steam if you are so inclined, and join me on the SES Paragon of Family Values

helldivers-stratagem-input's People

Contributors

bromandudeguyphd avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.