Compare commits
10 Commits
753922a5ae
...
8a823e763c
| Author | SHA1 | Date | |
|---|---|---|---|
| 8a823e763c | |||
| 73d7530204 | |||
| 0cd15866ec | |||
| eab9ce31af | |||
| 7348df9849 | |||
| dac4462fb4 | |||
| 196349046d | |||
| 5f656d459c | |||
| 6f502181f8 | |||
| d546f6b2d2 |
|
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 6.0 KiB |
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 3.8 KiB |
|
Before Width: | Height: | Size: 7.0 KiB After Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 5.4 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
@@ -2,13 +2,13 @@
|
||||
SendMode "Event"
|
||||
SetKeyDelay 100, 50
|
||||
|
||||
; if ( not WinExist("ahk_exe helldivers2.exe")) {
|
||||
; runResult := MsgBox("Do you want to start the game?", "Run Helldivers 2?", "292 T10")
|
||||
if ( not WinExist("HELLDIVERS™ 2")) {
|
||||
runResult := MsgBox("Do you want to start the game?", "Run Helldivers 2?", "292 T10")
|
||||
|
||||
; if (runResult = "yes") {
|
||||
; Run("steam://rungameid/553850")
|
||||
; }
|
||||
; }
|
||||
if (runResult = "yes") {
|
||||
Run("steam://rungameid/553850")
|
||||
}
|
||||
}
|
||||
|
||||
sendStratagem(keyname) {
|
||||
BlockInput("On")
|
||||
@@ -19,11 +19,11 @@ sendStratagem(keyname) {
|
||||
|
||||
; Loadout recorder
|
||||
global recording := false
|
||||
HotIfWinactive("ahk_exe helldivers2.exe")
|
||||
HotIfWinactive("HELLDIVERS™ 2")
|
||||
Hotkey("~Space", recorderHotkey, "Off")
|
||||
Hotkey("~w", recorderHotkey, " Off ")
|
||||
Hotkey("~s", recorderHotkey, " Off ")
|
||||
Hotkey("~a", recorderHotkey, " Off ")
|
||||
Hotkey("~w", recorderHotkey, "Off")
|
||||
Hotkey("~s", recorderHotkey, "Off")
|
||||
Hotkey("~a", recorderHotkey, "Off")
|
||||
Hotkey("~d", recorderHotkey, "Off")
|
||||
|
||||
global loadoutSequence := ""
|
||||
@@ -31,8 +31,8 @@ recorderHotkey(keypressed) {
|
||||
global loadoutSequence .= keypressed = "~Space" ? "x" : StrSplit(keypressed, "~")[2]
|
||||
}
|
||||
|
||||
#HotIf WinActive("ahk_exe helldivers2.exe")
|
||||
[:: {
|
||||
#HotIf WinActive("HELLDIVERS™ 2")
|
||||
!]:: {
|
||||
if (recording) {
|
||||
Hotkey("~Space", , "Off")
|
||||
Hotkey("~w", , "Off")
|
||||
@@ -64,7 +64,7 @@ recorderHotkey(keypressed) {
|
||||
}
|
||||
|
||||
; Delete current loadout
|
||||
^[:: {
|
||||
![:: {
|
||||
delValue("LOADOUTS", getValue("WINDOW", "CurrentLoadout"))
|
||||
changeLoadout(1)
|
||||
}
|
||||
@@ -173,7 +173,7 @@ changeLoadout(offset) {
|
||||
loop parse, IniRead(configPath, "HOTKEYS"), "`n" {
|
||||
hotkeyPair := StrSplit(A_LoopField, "=")
|
||||
|
||||
HotIfWinactive("ahk_exe helldivers2.exe")
|
||||
HotIfWinactive("HELLDIVERS™ 2")
|
||||
Hotkey(hotkeyPair[1], sendStratagem)
|
||||
}
|
||||
|
||||
@@ -190,8 +190,10 @@ loop parse, IniRead(configPath, "HOTKEYS"), "`n" {
|
||||
MyGui_Close(*) {
|
||||
SetNumLockState(orgNumlockState = 0 ? "Off" : "On")
|
||||
MyGui.GetPos(&guiX, &guiY)
|
||||
setValue("WINDOW", "X", guiX)
|
||||
setValue("WINDOW", "Y", guiY)
|
||||
if ( not guiX = -32000 and not guiY = -32000) {
|
||||
setValue("WINDOW", "X", guiX)
|
||||
setValue("WINDOW", "Y", guiY)
|
||||
}
|
||||
ExitApp(0)
|
||||
}
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ AntiMaterielRifle=sadws
|
||||
AntiPersonnelMinefield=sawd
|
||||
ArcThrower=
|
||||
Autocannon=saswwd
|
||||
AutocannonSentry=
|
||||
AutocannonSentry=swdwaw
|
||||
BallisticShieldBackpack=
|
||||
EMSMortarSentry=
|
||||
Eagle110MMRocketPods=wdwa
|
||||
@@ -17,14 +17,14 @@ EagleStrafingRun=wdd
|
||||
ExpendableAntiTank=ssawd
|
||||
Flamethrower=
|
||||
GatlingSentry=swda
|
||||
GrenadeLauncher=
|
||||
GrenadeLauncher=sawas
|
||||
GuardDog=swawds
|
||||
GuardDogRover=swawdd
|
||||
HMGEmplacement=swadda
|
||||
Hellbomb=swaswdsw
|
||||
IncendiaryMines=
|
||||
IncendiaryMines=saas
|
||||
JumpPack=swwsw
|
||||
LaserCannon=
|
||||
LaserCannon=saswa
|
||||
MachineGun=saswd
|
||||
MachineGunSentry=swddw
|
||||
MortarSentry=swdds
|
||||
@@ -32,7 +32,7 @@ Orbital120MMHEBarrage=ddsads
|
||||
Orbital380MMHEBarrage=dswwass
|
||||
OrbitalAirburstStrike=ddd
|
||||
OrbitalEMSStrike=
|
||||
OrbitalGasStrike=
|
||||
OrbitalGasStrike=ddsd
|
||||
OrbitalGatlingBarrage=dsaww
|
||||
OrbitalIlluminationFlare=ddaa
|
||||
OrbitalLaser=dswds
|
||||
|
||||