cause nobody asked, my Combat Hotkey (AHK)

This is my combat hotkey I use, Autohotkey script. It does a couple things for me:

  • Deploys hardpoints
  • Sets pips to 3/0/3 (my combat pips)
  • Deploys my condor fighter with active pilot
  • Turns on nightvision
  • Turns on fight music (random mp3 file)

Also, f4 will exit combat and prepare to jump

  • Recall fighter
  • Retract hardpoints
  • Turn off nightvision
  • Turn off fight music

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
#Persistent
#SingleInstance, Force        ;only one instance of the script open
#MaxThreadsPerHotkey 2
SetTitleMatchMode, 2
#IfWinActive Elite - Dangerous (CLIENT)        ; only starts the fun if elite is active window


f1::                    ;COMBAT GO
    Send u                  ;deploys hardpoints
    Sleep 50        ;combat pips. pips are set to num 1-3 and 5 to reset
    Send {Numpad5}
    Sleep 50
    Send {Numpad1}
    Sleep 50
    Send {Numpad3}
    Sleep 50
    Send {Numpad1}
    Sleep 50
    Send {Numpad3}          ;end combat pips
    Sleep 50
    Send {3 down}       ;deploy fighter with crew pilot... what a pita
    Sleep 50
    Send {3 up}
    Sleep 200
    Send {w down}       ;safety key
    Sleep 50
    Send {w up}
    Sleep 200
    Send {s down}       ;select condor (2nd ship)
    Sleep 50
    Send {s up}
    Sleep 200
    Send {enter down}
    Sleep 50
    Send {enter up}
    Sleep 200
    Send {s down}
    Sleep 50
    Send {s up}
    Sleep 200
    Send {s down}
    Sleep 50
    Send {s up}
    Sleep 200
    Send {w down}
    Sleep 50
    Send {w up}
    Sleep 200
    Send {w down}
    Sleep 50
    Send {w up}
    Sleep 200
    Send {enter down}
    Sleep 50
    Send {enter up}
    Sleep 200
    Send {s down}
    Sleep 50
    Send {s up}
    Sleep 200
    Send {s down}
    Sleep 50
    Send {s up}
    Sleep 200
    Send {w down}
    Sleep 50
    Send {w up}
    Sleep 200
    Send {enter down}
    Sleep 50
    Send {enter up}
    Sleep 200
    Send {3 down}
    Sleep 50
    Send {3 up}
    Sleep 50            ;end launch fighter nightmare
    Send n                  ;turn on nightvision
    Sleep 50
    SetTimer, Music, -1     ;turn on fight music
return



f4::
    Send {Numpad6}          ;recalls fighter, set to your recall key
    Sleep 200
    Send u              ;retract hardpoints
    Sleep 200
    Send n              ;turn off nightvision
    Sleep 200
    Process, Close, VLC.exe     ;turn off fightmusic
return


Music:
f3::            ;make f3 key to start random song once first finishes
    songs := ["Bee Gees - Stayin' Alive (Official Video).mp3", "Cardi B, Bad Bunny & J Balvin - I Like It [Official Music Video].mp3", "Dire Straits - Sultans Of Swing.mp3", "Metallica Holier than Thou (Lyrics).mp3", "Mötley Crüe - Kickstart my Heart.mp3", "Muse - Supermassive Black Hole (Original Music Video).mp3", "Sturgill Simpson - Sing Along (Official Video).mp3"]


    Process, Close, VLC.exe            ;closes any instances of VLC prior 
    Random, activeSong, 1, 7            ;assign activeSong to random value
    Run, % songs[activeSong]            ;play song located in random value pos
    Sleep 300
    WinGetActiveTitle, Title
    WinMinimize, % Title                ;minimize vlc and bring elite back
    WinActivate, Elite - Dangerous (CLIENT)
return

Gamer

Recent Posts

Ledx have been so hard for me this wipe

Not being able to craft them sucks. Especially when everyone I talk to about it…

5 months ago

My interesting and unfortunate Gwent life

First I'd like to say I absolutely love this game it's quality. Basically I first…

5 months ago

Teacher Tuesday 12/Dec/2023 – ask your questions here!

Welcome to Teacher Tuesday, a thread where anyone can ask any type of question without…

5 months ago

This games balance is confusing

I’m kind of new/returning to gwent I played beta and obviously it’s a lot lot…

5 months ago

Summary of 10 Days of Draws from Chaffee’s Bundles

Level 1 Bag (Free with Atmosphere Level 2) 6 small consumable (First Aid, Repair, Fire…

5 months ago

Why is my crew at 135%?

Here's my crew - T34-85M - for the life of me I cant figure out…

5 months ago