PDA

View Full Version : tmc and ttm files for those trying to program Warthog/Cougar in Target for COD



TX-Gunslinger
Mar-20-2013, 01:02
Hi folks,

I constantly see people struggling with Target programming for their Thrustmaster devices. I thought I'd post a few files that might give you a place to start.

For the last few years, I've been working on Target configurations for CoD and RoF. I always intend to completely finish these, including documentation and diagrams for all the controls - but never seem to have time to get to it all.

I face a bit of additional difficulty in that I use a very non-standard setup - i.e. Cougar joystick (U2Nxt) with Warthog throttle, 2nd Cougar Throttle with pots ported to a project box, 2X Cougar MFD's with small USB monitors, 2 X Saitek throttle quadrants, Saitek TPM, Saitek Combat Pedals.

Mapping all the functions in CoD is particularly daunting - if one desires an ergonomically efficient setup for both fighters and bombers. Additionally, there is only so much you can do with the "Target GUI", it's very limiting for me and of course takes up more processing overhead and is slow when compared to using script editor to run *.ttm/*.tmc files.

Many of the examples I've seen in forums for these files, use high level key generation versus direct USB codes - which again execute and compile faster and more efficiently.

So here are my current *.ttm/*.tmc files for CoD - which with a little editing and customization on your part can maximize the use of your Warthog/Cougar controller in CoD. There are some useful routines that are not documented anywhere that I'm aware of that you may find useful.

Couple of notes:

1) These are setup for Cougar Joystick/MFD/Warthog throttle - by editing the variables you can easily modify for your own setup. I've attempted to document within these files suggestions on how certain functions work and what you might do to customize.

2) I've attempted to focus commands for weapons/flight/view controls on Joystick (Warthog joystick is identical to the cougar with the exception of the extra pushbutton on Hat4) with Engine controls on Throttle whenever possible.

Files:
2343

Hopefully Warthog users who are struggling with the structure and application of proper Target programming will find these a useful start to getting the most out of CoD and their Warthog's.

S!

Gunny

ATAG_Septic
Mar-20-2013, 06:00
Hi Gunslinger,

I have to be honest and say I only use Target for the joystick axis curves and would prefer not to have it running. I use JoytoKey to assign a couple of buttons to enable smooth FoV zoom, it's very easy to use. I could only get Target to do this with three keys and I wasn't able to adjust the zoom speed satisfactorily.

This might prompt me to have another go with Target, thanks for sharing.

Septic.:salute:

TX-Gunslinger
Mar-20-2013, 10:56
Hello Septic,

If you could tell me which Warthog buttons you want for smooth zoom - I could write the script parts into a new file for you which performs the exact same function as joytokey. In fact I could just paste an example of the syntax so you could copy and paste it into your own file.

I viewed the JG53 video just a minute ago - so I understand the function.

Actually, if you could provide me a map for what you desire on your controllers - in terms of button to function (one layer or two layers or three) - I might just have time to create a custom map for you that others might use as an example.

ATAG_Lolsav
Mar-20-2013, 11:15
Tx-Gunslinger im hijacking this thread to make you a request: Get Thunderbolt56 and all the boys of TUSA back here !! If you see them just howler them for me, thank you

ATAG_Septic
Mar-20-2013, 11:59
Hello Septic,

If you could tell me which Warthog buttons you want for smooth zoom - I could write the script parts into a new file for you which performs the exact same function as joytokey. In fact I could just paste an example of the syntax so you could copy and paste it into your own file.

I viewed the JG53 video just a minute ago - so I understand the function.

Actually, if you could provide me a map for what you desire on your controllers - in terms of button to function (one layer or two layers or three) - I might just have time to create a custom map for you that others might use as an example.

Hi Gunslinger,

That's a very generous and useful offer.

I don't need a full profile myself, although if this works I might be motivated to do more. My stumbling block has been the ability to use just two keys (such as H2U and H2D) for smooth zoom. I managed to create a script that would work but I struggled with adding the modifier key (I can't remember the default but I am using middle mouse as the modifier) and the speed of zoom (mouse speed).

I'd be very grateful if you could write a script to acheive this. H2U press for zoom out and H2D for zoom in.

Thanks again and I'm sorry if my description is not clear.

Septic.

ATAG_Headshot
Mar-20-2013, 12:56
I would love something like this as well for my warrhog

TX-Gunslinger
Mar-20-2013, 23:26
Will get right on it! Certainly by the end of the week - quite busy with work tonight and my TX-TUSA Brothers keep texting me with - "Gunny, we are up in CoD right now, come get on comm's and fly........"

Can't seem to stay out of the ATAG, er... English Channel lately..

I can't tell you all how much I admire what you've accomplished in ALL areas - from the server to the forums, and now this miraculous Team Fusion who has done so much to restore my dreams of a great simulation.

Tonight over the channel with Thrud and TX-Ecodragon in 109's - I had the time of my life. To be able to fly at contrail height, smoothly in my brand new E-4N (all the while Thrud in a stripped E-3B is saying - Gunny, your pulling away from me, again dammit) is just, too much for words. At one point an escorting Spitfire, broke in front of me and I lost coherence admiring it - brain went blank with thoughts of "Wow, that's is so beautiful..." as I watched the elliptical wings out-maneuver me - I actually forgot to maneuver.....

My heart was in my throat as I maneuvered, attempted to coordinate and actually shot at something. I haven't felt that in years, even in RoF. Although, I ended up in the drink - with a boatload of .303's in my bottom - it was the most FUN I've had in five years flying.

So anyway, I'll pull myself out of the channel for a few hours and finish this little script for button to mouse translation :)

P.S. - Hi Lolsav! - I'll send a PM to TB post-haste!

Salute and THANKS!

Gunny

ATAG_Bliss
Mar-21-2013, 00:09
Sorry for the off topic, but that was very touching what you wrote. Thanks for that! That makes all if this worth it.

ATAG_Lolsav
Mar-21-2013, 10:04
Agreed with what Bliss wrote. Knowing ppl are getting pleasure from this simulation and getting back to the virtual skies, having fun, flying and fighting with their friends its like going back in time, to old fun times. So, if you dont mind being a courier, spread the message to TUSA brothers, Col. Sabeth, Dire, TB, Pepper, and many others. Be a profet and tell the world the fun is BACK!

On a side note. There are many good pilots around. But i never seen a squadron so well organized when engaging a fight like you boys used to do. Despite myself being in danger many times, i never felt myself in danger because i knew a angel T would be around me.