Steel Jaw Posted March 28, 2021 Posted March 28, 2021 (edited) Can anyone post a script they are using please? The tmc file please and thanks. I dont need ideas etc, I just wanted the format so I dont have to type it all out by hand. Also, where can I find a list of the throttle button names please for the scripting? Edited March 28, 2021 by Mower "You see, IronHand is my thing" My specs: W10 Pro, I5/11600K o/c to 4800 @1.32v, 64 GB 3200 XML RAM, ASUS RTX3060ti/8GB.
speed-of-heat Posted March 28, 2021 Posted March 28, 2021 I have one script that i use for every aircraft; I just use it to make sure all the DX buttons are working as i expect; and then i just map the DX buttons in game SYSTEM SPECS: Hardware AMD 9800X3D, 64Gb RAM, 4090 FE, Virpil T50CM3 Throttle, WinWIng Orion 2 & F-16EX + MFG Crosswinds V2, Varjo Aero SOFTWARE: Microsoft Windows 11, VoiceAttack & VAICOM PRO YOUTUBE CHANNEL: @speed-of-heat
shu77 Posted March 28, 2021 Posted March 28, 2021 This uses the 128Key library but otherwise has every button position so should help, its potentially an old version as I dont see my lighting commands but it was all I could reference at work so ping me if you want the current version and I'll pick it up tonight: include "targetdx128.tmh" int main() { Configure(&T16000, MODE_EXCLUDED); Configure(&TFRPRudder, MODE_EXCLUDED); Configure(&T16000L, MODE_EXCLUDED); Configure(&TWCSThrottle, MODE_EXCLUDED); if(Init(&EventHandle)) return 1; SetKBRate(32, 50); SetKBLayout(KB_ENG); SetShiftButton(0, 0, 0, 0, 0, 0); MapKey(&Throttle, SC, DX1); MapKey(&Throttle, MSU, DX2); MapKey(&Throttle, MSD, DX3); MapKey(&Throttle, MSL, DX4); MapKey(&Throttle, MSR, DX5); MapKey(&Throttle, MSP, DX6); MapKey(&Throttle, SPDF, DX7); MapKey(&Throttle, SPDM, PULSE+DX8); MapKey(&Throttle, SPDB, DX9); MapKey(&Throttle, BSF, DX10); MapKey(&Throttle, BSM, PULSE+DX11); MapKey(&Throttle, BSB, DX12); MapKey(&Throttle, CHF, DX13); MapKey(&Throttle, CHM, PULSE+DX14); MapKey(&Throttle, CHB, DX15); MapKey(&Throttle, PSF, PULSE+DX16); MapKey(&Throttle, PSM, PULSE+DX17); MapKey(&Throttle, PSB, PULSE+DX18); MapKey(&Throttle, CSU, DX19); MapKey(&Throttle, CSD, DX20); MapKey(&Throttle, CSL, DX21); MapKey(&Throttle, CSR, DX22); MapKey(&Throttle, LTB, DX23); MapKey(&Throttle, EFLNORM, PULSE+DX24); MapKey(&Throttle, EFLOVER, PULSE+DX25); MapKey(&Throttle, EFRNORM, PULSE+DX26); MapKey(&Throttle, EFROVER, PULSE+DX27); MapKey(&Throttle, EOLIGN, DX28); MapKey(&Throttle, EOLNORM, PULSE+DX29); MapKey(&Throttle, EOLMOTOR,DX30); MapKey(&Throttle, EORIGN, DX31); MapKey(&Throttle, EORNORM, PULSE+DX32); MapKey(&Throttle, EORMOTOR, PULSE+DX33); MapKey(&Throttle, APUON, DX34); MapKey(&Throttle, APUOFF, PULSE+DX35); MapKey(&Throttle, LDGH, DX36); MapKey(&Throttle, FLAPU, DX37); MapKey(&Throttle, FLAPM, PULSE+DX38); MapKey(&Throttle, FLAPD, DX39); MapKey(&Throttle, EACON, PULSE+DX40); MapKey(&Throttle, EACOFF, PULSE+DX41); MapKey(&Throttle, RDRNRM, PULSE+DX42); MapKey(&Throttle, RDRDIS, PULSE+DX43); MapKey(&Throttle, APPAT, DX44); MapKey(&Throttle, APAH, PULSE+DX45); MapKey(&Throttle, APALT, DX46); MapKey(&Throttle, APENG, DX47); MapKey(&Throttle, IDLELON, PULSE+DX48); MapKey(&Throttle, IDLERON, PULSE+DX49); MapAxis(&Throttle, SCX, DX_XROT_AXIS, AXIS_NORMAL, MAP_ABSOLUTE); SetSCurve(&Throttle, SCX, 0, 0, 0, 0, 0); MapAxis(&Throttle, SCY, DX_YROT_AXIS, AXIS_NORMAL, MAP_ABSOLUTE); SetSCurve(&Throttle, SCY, 0, 0, 0, 0, 0); MapAxis(&Throttle, THR_RIGHT, DX_Z_AXIS, AXIS_NORMAL, MAP_ABSOLUTE); SetSCurve(&Throttle, THR_RIGHT, 0, 0, 0, 0, 0); MapAxis(&Throttle, THR_LEFT, DX_ZROT_AXIS, AXIS_NORMAL, MAP_ABSOLUTE); SetSCurve(&Throttle, THR_LEFT, 0, 0, 0, 0, 0); MapAxis(&Throttle, THR_FC, DX_SLIDER_AXIS, AXIS_NORMAL, MAP_ABSOLUTE); SetSCurve(&Throttle, THR_FC, 0, 0, 0, 0, 0); } int EventHandle(int type, alias o, int x) { DefaultMapping(&o, x); } 2 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
Lange_666 Posted March 29, 2021 Posted March 29, 2021 20 hours ago, Mower said: Can anyone post a script they are using please? The tmc file please and thanks. I dont need ideas etc, I just wanted the format so I dont have to type it all out by hand. Also, where can I find a list of the throttle button names please for the scripting? You are one hell of a lazy dude... LOL. Target includes a template.tmc file. This is an "empty" tmc with all throttle, joystick and mfd names. 1 Win11 Pro 64-bit, Ryzen 5800X3D, Corsair H115i, Gigabyte X570S UD, EVGA 3080Ti XC3 Ultra 12GB, 64 GB DDR4 G.Skill 3600. Monitors: LG 27GL850-B27 2560x1440 + Samsung SyncMaster 2443 1920x1200, HOTAS: Warthog with Virpil WarBRD base, MFG Crosswind pedals, TrackIR4, Rift-S, Elgato Streamdeck XL. Personal Wish List: A6 Intruder, Vietnam theater, decent ATC module, better VR performance!
Steel Jaw Posted March 29, 2021 Author Posted March 29, 2021 (edited) 48 minutes ago, Lange_666 said: You are one hell of a lazy dude... LOL. Here's what Ive learned in that regard: if I wait long enough, my laziness is usually rewarded. Im lazy but patient. Thanks folks. BTW, is there a list somewhere of what the Throttle buttons are? Not the DX ones but the names? Edited March 29, 2021 by Mower "You see, IronHand is my thing" My specs: W10 Pro, I5/11600K o/c to 4800 @1.32v, 64 GB 3200 XML RAM, ASUS RTX3060ti/8GB.
speed-of-heat Posted March 29, 2021 Posted March 29, 2021 They are all mapped in game... chucks guide is a good place to start to look for the mappings SYSTEM SPECS: Hardware AMD 9800X3D, 64Gb RAM, 4090 FE, Virpil T50CM3 Throttle, WinWIng Orion 2 & F-16EX + MFG Crosswinds V2, Varjo Aero SOFTWARE: Microsoft Windows 11, VoiceAttack & VAICOM PRO YOUTUBE CHANNEL: @speed-of-heat
Lange_666 Posted March 29, 2021 Posted March 29, 2021 7 hours ago, Mower said: BTW, is there a list somewhere of what the Throttle buttons are? Not the DX ones but the names? Do you mean the throttle buttons/switches like they are named by Thrustmaster? Then the list of shu77 has them all. And you can find them in the template.tmc file that comes with Target, like i mentioned. If that is not what you mean, maybe a little extra effort to explain what you really need/want would be helpfull... (lazy bastard) . Win11 Pro 64-bit, Ryzen 5800X3D, Corsair H115i, Gigabyte X570S UD, EVGA 3080Ti XC3 Ultra 12GB, 64 GB DDR4 G.Skill 3600. Monitors: LG 27GL850-B27 2560x1440 + Samsung SyncMaster 2443 1920x1200, HOTAS: Warthog with Virpil WarBRD base, MFG Crosswind pedals, TrackIR4, Rift-S, Elgato Streamdeck XL. Personal Wish List: A6 Intruder, Vietnam theater, decent ATC module, better VR performance!
Steel Jaw Posted March 29, 2021 Author Posted March 29, 2021 3 hours ago, Lange_666 said: Do you mean the throttle buttons/switches like they are named by Thrustmaster? Precisely...for example, what button on the throttle is "BSF"? Surely there is a picture with the button names around somewhere. "You see, IronHand is my thing" My specs: W10 Pro, I5/11600K o/c to 4800 @1.32v, 64 GB 3200 XML RAM, ASUS RTX3060ti/8GB.
Lange_666 Posted March 30, 2021 Posted March 30, 2021 (edited) SC: Slew Cursor Press MSU: Mic Switch Up SPDF: Speedbrake Forward BSF: Boat Switch Forward CHF: China Hat Forward PSF: Pinky Switch Forward CSU: Control Switch Up LTB: Left Throttle Button EFLOVER: Engine Left Overide EFLNORM: Engine Left Fuel Norm EOLIGN: Engine Left IGN EOLMOTOR: Engine Left Motor APUON: APU Start LDGH: Landing Gear Button FLAPU: FlapsUp EACON: EAC ARM RDRNRM: Radar Alt NRM APPAT: AutoPilot Path APAH: AutoPilot ALT/HDG APALT: AutoPilot ALT APENG: AutoPilot Engage/Disengage IDLELON: Left Throttle Idle Position. I'm sure you can figure out the other derivates yourself... Edited March 30, 2021 by Lange_666 Win11 Pro 64-bit, Ryzen 5800X3D, Corsair H115i, Gigabyte X570S UD, EVGA 3080Ti XC3 Ultra 12GB, 64 GB DDR4 G.Skill 3600. Monitors: LG 27GL850-B27 2560x1440 + Samsung SyncMaster 2443 1920x1200, HOTAS: Warthog with Virpil WarBRD base, MFG Crosswind pedals, TrackIR4, Rift-S, Elgato Streamdeck XL. Personal Wish List: A6 Intruder, Vietnam theater, decent ATC module, better VR performance!
Dudikoff Posted March 30, 2021 Posted March 30, 2021 16 hours ago, Mower said: Precisely...for example, what button on the throttle is "BSF"? Surely there is a picture with the button names around somewhere. When you install Target, it has a subfolder called Resources with the diagrams for Cougar and Warthog showing the button names. i386DX40@42 MHz w/i387 CP, 4 MB RAM (8*512 kB), Trident 8900C 1 MB w/16-bit RAMDAC ISA, Quantum 340 MB UDMA33, SB 16, DOS 6.22 w/QEMM + Win3.11CE, Quickshot 1btn 2axis, Numpad as hat. 2 FPH on a good day, 1 FPH avg. DISCLAIMER: My posts are still absolutely useless. Just finding excuses not to learn the F-14 (HB's Swansong?). Annoyed by my posts? Please consider donating. Once the target sum is reached, I'll be off to somewhere nice I promise not to post from. I'd buy that for a dollar!
Steel Jaw Posted March 30, 2021 Author Posted March 30, 2021 6 hours ago, Dudikoff said: When you install Target, it has a subfolder called Resources with the diagrams for Cougar and Warthog showing the button names. Good call brother thanks. "You see, IronHand is my thing" My specs: W10 Pro, I5/11600K o/c to 4800 @1.32v, 64 GB 3200 XML RAM, ASUS RTX3060ti/8GB.
Recommended Posts