This Autohotkey (v2) script is meant to be used alongside the game F-117A Nighthawk Stealth Fighter 2.0.
It allows to click on the cockpit buttons with the mouse cursor.
Here are the supported (clickable) buttons:
Select Weapon, NAV/AIR/GND, HUD de-clutter, ILS, Chaff, Flare, Decoy, ECM, IRJ, MAP/TAC, MFD Zoom in, MFD Zoom out, WAY, WPN, GRD, FLIR, BAY, AUTO, GEAR, FLAPS, BRAKE, Eject, Accelerate, Normal Speed, Pause, Maximum Power, Increase Power, Decrease Power, No Power, Tracking CAM Ahead, Tracking CAM Rear, Tracking CAM Right, Tracking CAM Left, New Target, Select Target...
For convenience:
- it's also possible to use the mouse wheel over the left MFD to zoom in/out
- WASD keys mimic the directionnal arrow keys
- pressing "E" fires missiles (mimicking the Enter key)
- clicking on the wide bar below the right MFD circles between Tracking CAM Ahead / CAM Rear / CAM Right / CAM Left
- there's a button on the left MFD that sets the throttle to 50% power
I hope to make this script stable enough and make it work on several computers (several screen resolutions, Windows DPI settings, etc).
The main problem of DOSBox is that it "captures" the mouse cursor, making the Windows one invisible in-game.
This doesn't happen with DOSBox-X because it displays the Windows mouse cursor over the (client) game area by default.
👉 I found a workaround which makes the mouse cursor visible while playing games (such as F-117A Nighhawk Stealth Fighter 2.0) in DOSBox.
This script is unofficial and not related to MicroProse Software, Inc.