Update: Latest version of the script is v3.1 - Released April 1, 2020. Download from post #40 below (<-- Click to be taken to post 40). Adds several new locomotives and a few minor fixes. See post #40 for details. ------------------------------------------------ What is this? Use a Thrustmaster Warthog Throttle to run trains in Train Sim World The download contains a Thrustmater TARGET Script that allows a Thrustmater Warthog to accurately control all locomotive levers in TSW, no skipping over locomotive lever notches, no major out of sync issues or frustration getting the in game lever to move where you want it. Yes, it is an axis to keyboard mapper, but unlike others I have seen this one works nearly as well as if Dovetail actually supported a DirectX Game controller. Sadly, though, I cannot use the TARGET Scripting language to make this work with a RailDriver or other game controllers that are not TARGET compatible. You can see videos of this in action in post #25 (<-- Click to be taken to post 25). Thrustmaster Warthog Throttle For most locomotives, the right lever controls the throttle or throttle/brake, the left lever controls the brakes (selected with the FLAPs switch), and the little lever controls the reverser. Functions can be remapped as desired, or the script can be modified to support other TARGET supported Thrustmaster devices (e.g. TWCS Throttle, HOTAS Cougar Throttle, MFD panels to add more buttons, etc.). I have mapped commonly used functions to the Warthog buttons and switches. Thrustmaster TWCS Throttle The new version of the script adds support to use a TWCS Throttle along side the Warthog Throttle to add an extra axis (split out a brake lever to reduce need to use the FLAPs switch). This can easily be changed to support the HOTAS Cougar throttle as well. You could even replace the Warthog Throttle and use just the TWCS by making a DIY 3 axis lever box and attach it to the RJ12 connector on the TWCS (see image below). This gives an inexpensive 4 axis lever box to run TSW, for those looking for a less expensive solution vs. the Warthog. Why am I doing this? Because I can't stand using a keyboard or Xbox controller to run a train. Using the mouse is OK but still not good enough. I want to have the tactile feel of a real controller. I used Thrustmaster TARGET to program these devices because it is a very powerful scripting language. No other scripting language I've seen makes this possible (short of writing a custom program, but then again TARGET is basically an interpreted C language). I own a RailDriver, but sadly, even the macro language from PI Engineering isn't quite good enough to do what I did in TARGET with the Thrustmater controllers. I may one day convert my efforts here into a custom program that will support all game controllers including the RailDriver, but for now I have chosen to focus on using TARGET. The script is free (though donations are accepted to help buy DLC to add more locomotive support). I have to custom program every locomotive in TSW, so the major down side is not all locomotives are supported yet. You can modify it to suite your needs if you understand basic TARGET scripting. And to be frank, the Warthog Throttle actually feels better as a controller than using a RailDriver. But yes, it is a little more expensive than a RailDriver. I don't intend people will go out and buy a Warthog Throttle just for Train Sim World, but if you are a flight sim fan, maybe you already have one. The Warthog Throttle normally comes with the Warthog Joystick, but you can buy the Warthog Throttle as a stand alone device for about $250. If you are a flight sim fan, the Warthog is an excellent throttle for airplanes and helicopters as well. Please read through the included documentation. It is very complete. Come back here to ask any questions if you need help, or want to request support for a locomotive I haven't programmed yet. If you are savvy with TARGET scripting, I can work with you to add locomotives yourself for DLC I haven't bought yet. Just contact me. Regards, Michael ------------------------------------------------ Below is my original post when I created this thread. You can ignore this info - it is included for historical purposes only. I created a TARGET Script for the Thrustmaster Warthog Throttle to control the GP38-2, SD40-2, GP40-2, AC4400CW engines in Train Sim World. Yes I currently only have TSW: CSX Heavy Haul. No guarantees it will work with other engines. Most the commuter engines from the other DLC have combined throttle/dynamic brake levers. If those levers are similar to the AC4400CW throttle/brake lever, then this may work, but probably not perfectly. Modifying the script for other engines isn't difficult, so when I get other DLC's, I will update the script. Hopefully, Dovetail Games will add analog game controller support to TSW eventually so that a kludge like this isn't necessary. If you desire such a feature, let them know. You can download it here. Read the _README.txt file and the PDF documentation for details and usage. http://akhara.com/drop/TrainSimWorld/TSW_TARGET_Script_Drakoz_v1.0.zip The script isn't perfect as it is mapping axes to perform keypresses. Also included are some profiles for the Saitek Throttle Quadrant and the Throttle Quadrant that comes with the Saitek ProFligtht Yoke. You can control the reverser, throttle, independent brake, dynamic brake, and automatic brake all with the Warthog Throttle (Warthog Joystick not needed). The Warthog Left Throttle axis can be set to control all 3 brake levers with a toggle switch. But the Saitek profiles take care of the independent and automatic brake levers so you don't have to task swap on the Warthog Left axis. If you have wanted to see advanced programming in TARGET, this is an excellent script to learn from. It isn't hugely complicated once you see what I did, but it does go way beyond simple MapKey() commands.