This is a macro script for Helldivers on PC. It utilizes AutoHotKey to help you call in your strategems with a simple single key press. I realize that this may be frowned upon by members of the helldiver’s community…but no one is forcing you to use it. I encourage you to play the game the way that you enjoy it. If you think that using macros for a co-op game is unfair to your team then I suggest you turn away from this article. However, if you are interested in how this might work, keep reading!
You can access the Helldivers Macro Project github page, there you will find the associated files and README for specific use. I will detail some of that information below:
Installation & Usage:
In order to use this script, you will need to download AutoHotKey. It is also recommended that you download Notepad++ for editing the script. Editing the script will include assigning which key presses you will be using and which strategem hot keys you want active.
- To edit the script – Right click the ‘HellDiversScript.ahk’ file, then click edit with Notepad++
- Further instructions are within the ‘HellDiversScript.ahk’ script
Using the Script:
; All-in-One HellDiversScript ; Dev Team Blu3spirits, Crushfield ; Thanks to bred34 for the stratagem directionals ; Special Thanks to grasshopper and Pawteegal ;^ means Ctrl, + is Shift, ! is Alt ; TO 'ENABLE' a strategem define 'x' and remove the ';' in front of it ; Be warned! I'm not sure what duplicates will do! ; This is where the controls of your scripts are located
AutoHotKey uses semi-colons to comment code, so the text on each line is not read by the script interpreter. Notice that every line in the above code begins with a semi-colon. This portion of the script is there for informational purposes only and is skipped by the script interpreter.
;x::AMGIIMinigunTurret() ;x::ARX34RailcannonTurret() ;x::AC22DumDum() numpad2::AD289Angel() ; <------ ;x::AD334GuardDog() ;x::AT47AntiTankEmplacement() ;x::AirdroppedAntiTankMines() ;x::AirdroppedStunMines() ;x::AntiPersonnelBarrier() ;x::CloseAirSupport() ;x::DistractorBeacon() ;x::EAT17() ;x::EXO44StomperExosuit() numpad8::EXO48Obsidian() ; <------- ;x::EXO51Lumberer() ;x::EmergencyBeacon() ;x::FLAM40Incinerator() ;x::HeavyAirstrike() ;x::HellfireIncendiaryBombs() ;x::HumblebeeUAVdrone() ;x::LAS98LaserCannon() ;x::LIFT850JumpPack() ;x::M25Rumbler() ;x::M5APC() ;x::M532HAV() ;x::MC109HammerMotorcycle() ;x::ME1SnifferMetalDetector() ;x::MG94MachineGun() ;x::MLS4XCommando() ;x::MissileBarrage() ;x::NUX223Hellbomb() ;x::ObliteratorGrenadeLauncher() ;x::OrbitalLaserStrike() ;x::REC6Demolisher() ;x::REP80() ;x::RL112RecoillessRifle() numpad3::RailcannonStrike() ; <------ numpad7::Reinforce() ; <------ numpad1::Resupply() ; <------ ;x::ResupplyPack() numpad4::SH20ShieldGenerator() ; <------ ;x::SH32DirectionalKineticShield() ;x::ShredderMissileStrike() ;x::SledgePrecisionArtillery() numpad5::StaticFieldConductors() <------ ;x::StrafingRun() ;x::TD110Bastion() ;x::TOX13Avenger() ;x::TripleThundererBarrage() ;x::VindicatorBunkerBusterBomb()
Notice how the semi-colon has been removed from each active function within the script. You will have to remove those semi-colons for each hotkey you make active. The above example script is using the NumPad for the associated hot keys.
Active macros on this script:
- numpad1 – Resupply
- numpad2 – AD289 Angel
- numpad3 – Rail cannon Strike
- numpad4 – SH20 Shield Generator
- numpad5 – Static Field Conductors
- numpad7 – Reinforce
- numpad8 – EXO48 Obsidian
You can change the hotkeys to whatever key you like. However, you must know the proper syntax for the associated key. For a complete key list – visit AHK’s page about the List of Keys, Mouse Buttons and Joystick Controls that AutoHotKey supports.
You can make copies of the script for each individual load out you prefer. Making copies will allow you to quickly change your load out without the hassle of editing the script over and over based on which strategems are picked per each mission.
Notice: If you make edits to your script while its running, be sure to right click the AutoHotKey task tray icon and click ‘Reload This Script’. Lastly, many have reported that the script must be ran as administrator in order for it to work properly. For this, simply right click the script and click ‘Run as administrator’.