My Warthog Throttle LED TARGET script
-
I hate the cheesy craptastic afterburner detent on the warthog, so I made a script to use the LEDs to indicate when in or out of afterburner.
At idle, all LEDs are off:
As the throttle is advanced, the LEDs at the top light one by one:
I created a small “plateau” region where handle movement doesn’t change throttle position to be used for full military power. The zone is 10% of the handle movement range, so it is very easy to hit. When the handle reaches this region all LEDs light indicating military power:
Past that, the strip of LEDs at the top stays lit but other LEDs go dark to indicate afterburner:
With this setup I can quickly go to military power and I know when I am in afterburner with just my peripheral vision. Here is the relevant TARGET script:
// Throttles MapAxis(&Throttle, THR_LEFT, DX_ZROT_AXIS, AXIS_NORMAL, MAP_ABSOLUTE); MapAxis(&Throttle, THR_RIGHT, DX_Z_AXIS, AXIS_NORMAL, MAP_ABSOLUTE); SetCustomCurve(&Throttle, THR_LEFT, LIST(0,0, 3,0, 75,80, 85,80, 97,100, 100,100)); // 3% dead zone at each end, plateau between 75% and 85% for military power SetCustomCurve(&Throttle, THR_RIGHT, LIST(0,0, 3,0, 75,80, 85,80, 97,100, 100,100)); // 3% dead zone at each end, plateau between 75% and 85% for military power // Throttle Slider //MapAxis(&Throttle, THR_FC, DX_SLIDER_AXIS, AXIS_NORMAL, MAP_ABSOLUTE); //SetSCurve(&Throttle, THR_FC, 0, 0, 0, 0, 0); // Init LEDs ActKey(PULSE+KEYON+LED(&Throttle, LED_INTENSITY, 49)); // LED intensity ActKey(PULSE+KEYON+LED(&Throttle, LED_ONOFF, LED_CURRENT-LED0)); // Initialize LED1 off ActKey(PULSE+KEYON+LED(&Throttle, LED_ONOFF, LED_CURRENT-LED1)); // Initialize LED1 off ActKey(PULSE+KEYON+LED(&Throttle, LED_ONOFF, LED_CURRENT-LED2)); // Initialize LED2 off ActKey(PULSE+KEYON+LED(&Throttle, LED_ONOFF, LED_CURRENT-LED3)); // Initialize LED3 off ActKey(PULSE+KEYON+LED(&Throttle, LED_ONOFF, LED_CURRENT-LED4)); // Initialize LED4 off ActKey(PULSE+KEYON+LED(&Throttle, LED_ONOFF, LED_CURRENT-LED5)); // Initialize LED5 off // LED Throttle Position Indicator; All LED circles + Backlight = MIL, All LED circles without Backlight = AB KeyAxis(&Throttle, THR_LEFT, 0, AXMAP2( LIST( 0, 3, 17, 32, 46, 61, 75, 85, 100 ), CHAIN( LED(&Throttle, LED_ONOFF, LED_CURRENT-LED0), LED(&Throttle, LED_ONOFF, LED_CURRENT-LED5) ), // IDLE - all lights off CHAIN( LED(&Throttle, LED_ONOFF, LED_CURRENT-LED0), LED(&Throttle, LED_ONOFF, LED_CURRENT+LED5), LED(&Throttle, LED_ONOFF, LED_CURRENT-LED4) ), CHAIN( LED(&Throttle, LED_ONOFF, LED_CURRENT-LED0), LED(&Throttle, LED_ONOFF, LED_CURRENT+LED4), LED(&Throttle, LED_ONOFF, LED_CURRENT-LED3) ), CHAIN( LED(&Throttle, LED_ONOFF, LED_CURRENT-LED0), LED(&Throttle, LED_ONOFF, LED_CURRENT+LED3), LED(&Throttle, LED_ONOFF, LED_CURRENT-LED2) ), CHAIN( LED(&Throttle, LED_ONOFF, LED_CURRENT-LED0), LED(&Throttle, LED_ONOFF, LED_CURRENT+LED2), LED(&Throttle, LED_ONOFF, LED_CURRENT-LED1) ), CHAIN( LED(&Throttle, LED_ONOFF, LED_CURRENT-LED0), LED(&Throttle, LED_ONOFF, LED_CURRENT+LED1) ), CHAIN( LED(&Throttle, LED_ONOFF, LED_CURRENT+LED0) ), // MIL - 5 circles plus backlight CHAIN( LED(&Throttle, LED_ONOFF, LED_CURRENT-LED0) ) // AB - backlight off ) );
Hopefully someone finds it useful
-
Awsome thing, i was planning to do the same thing when i get more into programming my own profile. Since you already done it you saved up me some time, also i can learn something from it aswell.
-
Very interesting. Thanks for sharing!
-
Interesting, I might look to do something similar with my Cougar throttle axis. I’d like to add a deadzone for the 0.5-1mm distance between the two clicks each at AB and idle.
That, or I may just modify the dentent plate so that AB and idle have only one click each instead of two.
-
Not meaning to rain on your parade, but what happens when you’re padlocked on a target and want to go to or come out of afterburner? Do you risk moving your head to get your LEDs into (peripheral) view? The whole point of the detent in the Warthog throttle and the real thing is so that the pilot has another form of feedback going from one to the other. You can also look at your nozzle position or your fuel flow gauge to check if you’re in AB or not, or you can listen to the sound of the engine, but when you are busy in a turning fight or trying to get into a good position for the merge, you may not have time for any of those.
-
I use Track IR, and even with my head turned as far right as I can to look behind me, my throttle is still in my peripheral vision, especially since my eyes must be looking left to see the monitor (I can’t wait for VR so I can look at things 1:1!).
Plus as you say, afterburner makes a different sound, although I was still learning the various sounds in the game when I made this.
-
Fair enough… depends on monitor and HOTAS placement, I guess.
-
I have a single 24" monitor. If you are using an ultrawide monitor or triple screen setup I am sure it would be different.
-
I have a single 24" monitor. If you are using an ultrawide monitor or triple screen setup I am sure it would be different.
My setup:
-
I did similar for flap position for WW2 aircraft when I first got my Warthog years ago. Was fun to figure it out, but in flight I rarely looked down at my throttle so it became just bling for me. Plus I found out how different aircraft indicated flap position by markings on the wings. Still it’s cool.
-
THX, very usefull