Jump to content

Hack for TM Warthog with 120 programmable DX buttons


sedenion
 Share

Recommended Posts

Alright, Spool! I will try this one out tonight.

Rig: Alienware Aurora R9 - 9th Gen Core i7 9700K 4.6GHz 8 Cores | NVIDIA GeForce RTX 2070 SUPER 8GB GDDR6 | 2TB M.2 PCIe NVMe SSD | 32GB Dual Channel HyperX FURY DDR4 XMP at 2933MHz | Dell 32" Curved s3220DGF | TM Warthog HOTAS w/F-18 grip | Logitech G Pro RP | TM Cougar MFDs | TrackIR 5 Pro | VR Oculus Quest 2 |

 

Modules: FC3 | F/A-18C | F-16C | A-10C II | F-14 | M-2000C | AV-8B | F-5E | JF-17 | P-51D | KA-50 | UH-1H | Supercarrier | Combined Arms | Nevada | Persian Gulf | Syria | Normandy | Chanel |

Link to comment
Share on other sites

I can't get the throttles designated for left and right thrust, Spool. Trying to st this up for the hornet.

Rig: Alienware Aurora R9 - 9th Gen Core i7 9700K 4.6GHz 8 Cores | NVIDIA GeForce RTX 2070 SUPER 8GB GDDR6 | 2TB M.2 PCIe NVMe SSD | 32GB Dual Channel HyperX FURY DDR4 XMP at 2933MHz | Dell 32" Curved s3220DGF | TM Warthog HOTAS w/F-18 grip | Logitech G Pro RP | TM Cougar MFDs | TrackIR 5 Pro | VR Oculus Quest 2 |

 

Modules: FC3 | F/A-18C | F-16C | A-10C II | F-14 | M-2000C | AV-8B | F-5E | JF-17 | P-51D | KA-50 | UH-1H | Supercarrier | Combined Arms | Nevada | Persian Gulf | Syria | Normandy | Chanel |

Link to comment
Share on other sites

Spool, went back to the first file you had me download - warthogThrottleAllSwitchPOS. The problem in that script - at least where the hornet is concerned - is that some of the switches scripted as PULSE are not pulse. The APU and Engine crank switches for example. Even though they could be misunderstood as pulse, they are not. They happen to be in PRESSED states and the sim resets them. But they're not pulse switches. So once I went through and deleted the "PULSE" from each line code that I found not to be pulse, everything is working great. Same went for left and right throttle idle/off bindings - they're not pulse. All is working fine in that script now.

Rig: Alienware Aurora R9 - 9th Gen Core i7 9700K 4.6GHz 8 Cores | NVIDIA GeForce RTX 2070 SUPER 8GB GDDR6 | 2TB M.2 PCIe NVMe SSD | 32GB Dual Channel HyperX FURY DDR4 XMP at 2933MHz | Dell 32" Curved s3220DGF | TM Warthog HOTAS w/F-18 grip | Logitech G Pro RP | TM Cougar MFDs | TrackIR 5 Pro | VR Oculus Quest 2 |

 

Modules: FC3 | F/A-18C | F-16C | A-10C II | F-14 | M-2000C | AV-8B | F-5E | JF-17 | P-51D | KA-50 | UH-1H | Supercarrier | Combined Arms | Nevada | Persian Gulf | Syria | Normandy | Chanel |

Link to comment
Share on other sites

1320624839_F-18WarthogThrottleLayout.thumb.jpg.089c87cb38a2448ec553bec0f2281ff4.jpg

 

My current layout config.

Rig: Alienware Aurora R9 - 9th Gen Core i7 9700K 4.6GHz 8 Cores | NVIDIA GeForce RTX 2070 SUPER 8GB GDDR6 | 2TB M.2 PCIe NVMe SSD | 32GB Dual Channel HyperX FURY DDR4 XMP at 2933MHz | Dell 32" Curved s3220DGF | TM Warthog HOTAS w/F-18 grip | Logitech G Pro RP | TM Cougar MFDs | TrackIR 5 Pro | VR Oculus Quest 2 |

 

Modules: FC3 | F/A-18C | F-16C | A-10C II | F-14 | M-2000C | AV-8B | F-5E | JF-17 | P-51D | KA-50 | UH-1H | Supercarrier | Combined Arms | Nevada | Persian Gulf | Syria | Normandy | Chanel |

Link to comment
Share on other sites

Hey Wolf!

 

So, I can see where that PULSE coding was screwing up the first profile...the switch activation seemed too fast, I think that definitely was the problem with my throttles and eng start buttons in the Tiger II. That said, Gizzy's profile was working 4.0 for me, so I'm not sure what the difference between your and my setups are. BUT...I'm about to start mapping the Hornet so I can start learning that bird, so we'll see if my throttles will work correctly using the Gizzy profile. Hopefully they will still work for me. I did end up having write in an exclusion line for my TFRP pedals because suddenly they were not mapped in the game anymore, as I think they were being sucked into the virtual controller, and I didn't want that.

 

But, I had no issues mapping the Tiger throttles correctly using that profile, I'll report back if I end up having issues with the Hornet, once I get a chance to try her out! Glad to hear that you're up and running though! I should look into getting that throttle quadrant plate for my Warthog too, as it will be a long time before I get into the A-10C...want to get good with the Hornet, and I bought the adversary campaigns for the Tiger and Hornet as well, so I'm set for a while :)

[sIGPIC][/sIGPIC]

Website:https://cvw-8.enjin.com/

Discord:https://discord.gg/b8AgE5m

Link to comment
Share on other sites

I don't have that faceplate; I just downloaded the image, updated the labels and printed out for my reference. The only thing I didn't like from Gizzy's profile is that it included the stick as well, and there is really no need for it. DCS and the sticks map just fine. The throttle switches are more important to me. You're gonna love the hornet!

Rig: Alienware Aurora R9 - 9th Gen Core i7 9700K 4.6GHz 8 Cores | NVIDIA GeForce RTX 2070 SUPER 8GB GDDR6 | 2TB M.2 PCIe NVMe SSD | 32GB Dual Channel HyperX FURY DDR4 XMP at 2933MHz | Dell 32" Curved s3220DGF | TM Warthog HOTAS w/F-18 grip | Logitech G Pro RP | TM Cougar MFDs | TrackIR 5 Pro | VR Oculus Quest 2 |

 

Modules: FC3 | F/A-18C | F-16C | A-10C II | F-14 | M-2000C | AV-8B | F-5E | JF-17 | P-51D | KA-50 | UH-1H | Supercarrier | Combined Arms | Nevada | Persian Gulf | Syria | Normandy | Chanel |

Link to comment
Share on other sites

it's not as pretty ... ut this is editable https://www.digitalcombatsimulator.com/en/files/3307461/

SYSTEM SPECS: Hardware Intel Corei7-9700K @ 5.1 GHz, 32Gb RAM, EVGA 3090 XC3, Dell S2716DG, Virpil T50CM3 Throttle, T-50CM2 Base & Constellation Alpha + MFG Crosswinds V2, HP Reverb G2 @ 2836 x 2768
SOFTWARE: Microsoft Windows 10 Pro x64, VoiceAttack & VIACOM PRO, TacView

VR Stuff:   My Settings for 3090 and G2  My Settings for 1080ti  Shaders MOD for VR  My variant of Kegetys mod with clear water and also IC PASS for current beta & stable, Patch Status

1569924735_WildcardsBadgerFAASig.jpg.dbb8c2a337e37c2bfb12855f86d70fd5.jpg

Link to comment
Share on other sites

I map my stick commands to the physical stick in DCS and he throttle commands to the Virtual device...seems to work for me!

 

That's exactly how I have mine set up as well.

Rig: Alienware Aurora R9 - 9th Gen Core i7 9700K 4.6GHz 8 Cores | NVIDIA GeForce RTX 2070 SUPER 8GB GDDR6 | 2TB M.2 PCIe NVMe SSD | 32GB Dual Channel HyperX FURY DDR4 XMP at 2933MHz | Dell 32" Curved s3220DGF | TM Warthog HOTAS w/F-18 grip | Logitech G Pro RP | TM Cougar MFDs | TrackIR 5 Pro | VR Oculus Quest 2 |

 

Modules: FC3 | F/A-18C | F-16C | A-10C II | F-14 | M-2000C | AV-8B | F-5E | JF-17 | P-51D | KA-50 | UH-1H | Supercarrier | Combined Arms | Nevada | Persian Gulf | Syria | Normandy | Chanel |

Link to comment
Share on other sites

I figured out how to get the Hornet grip excluded...add this line to Gizzy's profile, where all the other exclusion lines are at the top:

 

Configure(JoystickF18, MODE_EXCLUDED);

 

And boom, runs just like it does with my Warthog stick on there. GTG, but sounds like you already got that other one working for you, so that's awesome!

[sIGPIC][/sIGPIC]

Website:https://cvw-8.enjin.com/

Discord:https://discord.gg/b8AgE5m

Link to comment
Share on other sites

Can something like this be done?

 

MapKey(&Throttle, SPDF, DX7, LED(&Throttle, LED_ONOFF, LED_CURRENT-LED4));

 

What is the appropriate syntax to assign the button AND turn on/off the led?

Rig: Alienware Aurora R9 - 9th Gen Core i7 9700K 4.6GHz 8 Cores | NVIDIA GeForce RTX 2070 SUPER 8GB GDDR6 | 2TB M.2 PCIe NVMe SSD | 32GB Dual Channel HyperX FURY DDR4 XMP at 2933MHz | Dell 32" Curved s3220DGF | TM Warthog HOTAS w/F-18 grip | Logitech G Pro RP | TM Cougar MFDs | TrackIR 5 Pro | VR Oculus Quest 2 |

 

Modules: FC3 | F/A-18C | F-16C | A-10C II | F-14 | M-2000C | AV-8B | F-5E | JF-17 | P-51D | KA-50 | UH-1H | Supercarrier | Combined Arms | Nevada | Persian Gulf | Syria | Normandy | Chanel |

Link to comment
Share on other sites

Using the CHAIN command.

 

MapKey(&Throttle, SPDF, CHAIN(DX7, LED(&Throttle, LED_ONOFF, LED_CURRENT-LED4)));


Edited by Lange_666

Win10 Pro 64-bit, i7-4770K @ 4.5 GHz, Corsair H100i, AsRock Extreme4, ASUS Strix 1080Ti OC 11GB, 32 GB DDR3 G.Skill 2400. Monitors: LG 27GL850-B27 2560x1440 + Samsung SyncMaster 2443 1920x1200, HOTAS: Warthog with Virpil WarBRD base & hegykc MFG Crosswind modded pedals, TrackIR4, Oculus Rift S.

Personal Wish List: A6 Intruder, Vietnam theater, decent ATC module, better VR performance!

Link to comment
Share on other sites

Using the CHAIN command.

 

MapKey(&Throttle, SPDF, CHAIN(DX7, LED(&Throttle, LED_ONOFF, LED_CURRENT-LED4)));

 

I KNEW it would be the chain command after reading the manual but couldn't figure out what I was doing wrong with the syntax...ONE parentheses LOL. Thank you!

Rig: Alienware Aurora R9 - 9th Gen Core i7 9700K 4.6GHz 8 Cores | NVIDIA GeForce RTX 2070 SUPER 8GB GDDR6 | 2TB M.2 PCIe NVMe SSD | 32GB Dual Channel HyperX FURY DDR4 XMP at 2933MHz | Dell 32" Curved s3220DGF | TM Warthog HOTAS w/F-18 grip | Logitech G Pro RP | TM Cougar MFDs | TrackIR 5 Pro | VR Oculus Quest 2 |

 

Modules: FC3 | F/A-18C | F-16C | A-10C II | F-14 | M-2000C | AV-8B | F-5E | JF-17 | P-51D | KA-50 | UH-1H | Supercarrier | Combined Arms | Nevada | Persian Gulf | Syria | Normandy | Chanel |

Link to comment
Share on other sites

Yeah, you need to count them. Problem is that when you leave out a closing parentheses, you get an error pointing to the ; which can put you on the wrong leg. An error search chapter in the manual would have been nice.

Win10 Pro 64-bit, i7-4770K @ 4.5 GHz, Corsair H100i, AsRock Extreme4, ASUS Strix 1080Ti OC 11GB, 32 GB DDR3 G.Skill 2400. Monitors: LG 27GL850-B27 2560x1440 + Samsung SyncMaster 2443 1920x1200, HOTAS: Warthog with Virpil WarBRD base & hegykc MFG Crosswind modded pedals, TrackIR4, Oculus Rift S.

Personal Wish List: A6 Intruder, Vietnam theater, decent ATC module, better VR performance!

Link to comment
Share on other sites

Something in the script is interfering with VoiceAttack. I'll have to investigate.

Rig: Alienware Aurora R9 - 9th Gen Core i7 9700K 4.6GHz 8 Cores | NVIDIA GeForce RTX 2070 SUPER 8GB GDDR6 | 2TB M.2 PCIe NVMe SSD | 32GB Dual Channel HyperX FURY DDR4 XMP at 2933MHz | Dell 32" Curved s3220DGF | TM Warthog HOTAS w/F-18 grip | Logitech G Pro RP | TM Cougar MFDs | TrackIR 5 Pro | VR Oculus Quest 2 |

 

Modules: FC3 | F/A-18C | F-16C | A-10C II | F-14 | M-2000C | AV-8B | F-5E | JF-17 | P-51D | KA-50 | UH-1H | Supercarrier | Combined Arms | Nevada | Persian Gulf | Syria | Normandy | Chanel |

Link to comment
Share on other sites

Is there a way I can make LED1,2, etc blink?

Rig: Alienware Aurora R9 - 9th Gen Core i7 9700K 4.6GHz 8 Cores | NVIDIA GeForce RTX 2070 SUPER 8GB GDDR6 | 2TB M.2 PCIe NVMe SSD | 32GB Dual Channel HyperX FURY DDR4 XMP at 2933MHz | Dell 32" Curved s3220DGF | TM Warthog HOTAS w/F-18 grip | Logitech G Pro RP | TM Cougar MFDs | TrackIR 5 Pro | VR Oculus Quest 2 |

 

Modules: FC3 | F/A-18C | F-16C | A-10C II | F-14 | M-2000C | AV-8B | F-5E | JF-17 | P-51D | KA-50 | UH-1H | Supercarrier | Combined Arms | Nevada | Persian Gulf | Syria | Normandy | Chanel |

Link to comment
Share on other sites

I did see some code to do this it was something along the lines of using the REXEC Command I was planning to use it for Flaps MID but ended up reassigning the light to Speedbrakes as as flaps were obvious, so I dont have to code to hand but it might steer you in the right direction. I have this piece of snippet as a half example

ActKey(KEYON+REXEC(0, 500, "ActKey(KEYON+LED(&Throttle, LED_ONOFF, LED_CURRENT^LED1));"));

Slightly expanded here :

//LED1 blinking when TG1 is pressed, stops blinking and sets LED1 to off when TG1 is released

MapKey(&Joystick, TG1, CHAIN((Gun_trigger_stage1), REXEC(0, 200, "ActKey(KEYON+LED(&Throttle, LED_ONOFF, LED_CURRENT^LED1));")));

MapKeyR(&Joystick, TG1, EXEC("ActKey(PULSE+KEYON+LED(&Throttle, LED_ONOFF, LED_CURRENT-LED1));"));

from here


Edited by shu77

Hornet, Super Carrier, Warthog & (II), Mustang, Spitfire, Albatross, Sabre, Combined Arms, FC3, Nevada, Gulf, Normandy, Syria AH-6J

i9 10900K @ 5.0GHz, Gigabyte Z490 Vision G, Cooler Master ML120L, Gigabyte RTX3080 OC Gaming 10Gb, 64GB RAM, Reverb G2 @ 2480x2428, TM Warthog, Saitek pedals & throttle, DIY collective, TrackIR4, Cougar MFDs, vx3276-2k

Combat Wombat's Airfield & Enroute Maps and Planning Tools

 

cw1.png

Link to comment
Share on other sites

Is there a way, at the start of the script, to turn off the throttle back light, yet keep LED 1-5 operational? Clearly, the GUI software can do this manually, but I can't locate an identifier for the throttle back light; only the LEDs.

Rig: Alienware Aurora R9 - 9th Gen Core i7 9700K 4.6GHz 8 Cores | NVIDIA GeForce RTX 2070 SUPER 8GB GDDR6 | 2TB M.2 PCIe NVMe SSD | 32GB Dual Channel HyperX FURY DDR4 XMP at 2933MHz | Dell 32" Curved s3220DGF | TM Warthog HOTAS w/F-18 grip | Logitech G Pro RP | TM Cougar MFDs | TrackIR 5 Pro | VR Oculus Quest 2 |

 

Modules: FC3 | F/A-18C | F-16C | A-10C II | F-14 | M-2000C | AV-8B | F-5E | JF-17 | P-51D | KA-50 | UH-1H | Supercarrier | Combined Arms | Nevada | Persian Gulf | Syria | Normandy | Chanel |

Link to comment
Share on other sites

Check page 18 of the T.A.R.G.E.T. manual (if you use the page option it will show page 17 instead, so scroll one down to 18...:book:)

Win10 Pro 64-bit, i7-4770K @ 4.5 GHz, Corsair H100i, AsRock Extreme4, ASUS Strix 1080Ti OC 11GB, 32 GB DDR3 G.Skill 2400. Monitors: LG 27GL850-B27 2560x1440 + Samsung SyncMaster 2443 1920x1200, HOTAS: Warthog with Virpil WarBRD base & hegykc MFG Crosswind modded pedals, TrackIR4, Oculus Rift S.

Personal Wish List: A6 Intruder, Vietnam theater, decent ATC module, better VR performance!

Link to comment
Share on other sites

If you're referring to the Intensity, that affects ALL lighting, I can't control the intensity of one LED. I tried playing with it on one of the buttons, but the function was not localized to that button only. But I know it must be doable, after all, the GUI can do it.

Rig: Alienware Aurora R9 - 9th Gen Core i7 9700K 4.6GHz 8 Cores | NVIDIA GeForce RTX 2070 SUPER 8GB GDDR6 | 2TB M.2 PCIe NVMe SSD | 32GB Dual Channel HyperX FURY DDR4 XMP at 2933MHz | Dell 32" Curved s3220DGF | TM Warthog HOTAS w/F-18 grip | Logitech G Pro RP | TM Cougar MFDs | TrackIR 5 Pro | VR Oculus Quest 2 |

 

Modules: FC3 | F/A-18C | F-16C | A-10C II | F-14 | M-2000C | AV-8B | F-5E | JF-17 | P-51D | KA-50 | UH-1H | Supercarrier | Combined Arms | Nevada | Persian Gulf | Syria | Normandy | Chanel |

Link to comment
Share on other sites

LED0!! Got it!

 

Do the MFD backlights have a designation? I tried 0 and 3, no go.


Edited by Wolf333

Rig: Alienware Aurora R9 - 9th Gen Core i7 9700K 4.6GHz 8 Cores | NVIDIA GeForce RTX 2070 SUPER 8GB GDDR6 | 2TB M.2 PCIe NVMe SSD | 32GB Dual Channel HyperX FURY DDR4 XMP at 2933MHz | Dell 32" Curved s3220DGF | TM Warthog HOTAS w/F-18 grip | Logitech G Pro RP | TM Cougar MFDs | TrackIR 5 Pro | VR Oculus Quest 2 |

 

Modules: FC3 | F/A-18C | F-16C | A-10C II | F-14 | M-2000C | AV-8B | F-5E | JF-17 | P-51D | KA-50 | UH-1H | Supercarrier | Combined Arms | Nevada | Persian Gulf | Syria | Normandy | Chanel |

Link to comment
Share on other sites

I believe looking at the GUI and manual that the only LED's you can discretely control are the position lights in the top left and right corners which are 1 and 2. THeres a reference in the manual to MFD LED support being a 'bonus' due to their age.

Hornet, Super Carrier, Warthog & (II), Mustang, Spitfire, Albatross, Sabre, Combined Arms, FC3, Nevada, Gulf, Normandy, Syria AH-6J

i9 10900K @ 5.0GHz, Gigabyte Z490 Vision G, Cooler Master ML120L, Gigabyte RTX3080 OC Gaming 10Gb, 64GB RAM, Reverb G2 @ 2480x2428, TM Warthog, Saitek pedals & throttle, DIY collective, TrackIR4, Cougar MFDs, vx3276-2k

Combat Wombat's Airfield & Enroute Maps and Planning Tools

 

cw1.png

Link to comment
Share on other sites

Yeah. I was able to turn the MFD backlights up an down - simulating on/off - using INTENSITY. Works fine enough for me.

Rig: Alienware Aurora R9 - 9th Gen Core i7 9700K 4.6GHz 8 Cores | NVIDIA GeForce RTX 2070 SUPER 8GB GDDR6 | 2TB M.2 PCIe NVMe SSD | 32GB Dual Channel HyperX FURY DDR4 XMP at 2933MHz | Dell 32" Curved s3220DGF | TM Warthog HOTAS w/F-18 grip | Logitech G Pro RP | TM Cougar MFDs | TrackIR 5 Pro | VR Oculus Quest 2 |

 

Modules: FC3 | F/A-18C | F-16C | A-10C II | F-14 | M-2000C | AV-8B | F-5E | JF-17 | P-51D | KA-50 | UH-1H | Supercarrier | Combined Arms | Nevada | Persian Gulf | Syria | Normandy | Chanel |

Link to comment
Share on other sites

  • 3 months later...
Okay Wolf here you go...

 

Credit for this one goes to both Sedenion and ReflexArc as they each created one of these useful scripts...

 

Save both the attachments to your desktop and rename them by deleting the .txt at the end of each file.

 

Place BOTH files in your Thrustmaster /TARGET/scripts folder

 

Open TARGET Script Editor and Open WarthogThrottleALLSwitchPos.tmc

 

Run the script...

 

Assuming no errors on loading, you will now see a Thrustmaster virtual device in your control settings in DCS, in addition to the physical throttle. To avoid any cross control inputs, ensure you clear out the physical throttle bindings so that column is blank, and map all your commands for the throttle to the Thrustmaster Virtual controller column.

 

Let me know if you run into any problems! I'll probably go back to using this one, since I'm not sure I can figure out how to incorporate the Hornet grip in to the one I'm using now...though I really like it, as it has some additional features in it. We'll see...I should probably just learn how to add the Hornet grip to the existing script!

 

 

Hi Spool.

 

 

 

I hace a problem and only sometimes. I don't know that causes that problem and how I can fixed it.

When I launch the "WarthogThrottleALLSwitchPosNOTDC.tmc" it seems all correct. It detect the "Combine throttle" but the original Hotas throttle disapear.

I thought it could be if I launched the profile with a switch pushed or up but not.

I attached a capture before to launch and after it.

 

 

Can you or some else help me?

 

 

Thank you

Before.bmp

Panel Control.bmp

After.bmp

Target.bmp

Link to comment
Share on other sites

Hi Spool.

 

 

 

I hace a problem and only sometimes. I don't know that causes that problem and how I can fixed it.

When I launch the "WarthogThrottleALLSwitchPosNOTDC.tmc" it seems all correct. It detect the "Combine throttle" but the original Hotas throttle disapear.

I thought it could be if I launched the profile with a switch pushed or up but not.

I attached a capture before to launch and after it.

 

 

Can you or some else help me?

 

 

Thank you

 

that's intended behaviour and how it works by default, to fix it:

 

	//Turn off automatic Joystick and Throttle disabling
Configure(&Throttle, MODE_KEEPENABLED);
Configure(&Joystick, MODE_KEEPENABLED); 

SYSTEM SPECS: Hardware Intel Corei7-9700K @ 5.1 GHz, 32Gb RAM, EVGA 3090 XC3, Dell S2716DG, Virpil T50CM3 Throttle, T-50CM2 Base & Constellation Alpha + MFG Crosswinds V2, HP Reverb G2 @ 2836 x 2768
SOFTWARE: Microsoft Windows 10 Pro x64, VoiceAttack & VIACOM PRO, TacView

VR Stuff:   My Settings for 3090 and G2  My Settings for 1080ti  Shaders MOD for VR  My variant of Kegetys mod with clear water and also IC PASS for current beta & stable, Patch Status

1569924735_WildcardsBadgerFAASig.jpg.dbb8c2a337e37c2bfb12855f86d70fd5.jpg

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...