dburne Posted December 23, 2013 Posted December 23, 2013 Hey gang, I have had a Warthog for about a year and a half now, and have been creating my own profiles for it in the advanced GUI mode. I have reached the point that I want to learn doing my profiles with the script editor instead, to give me more flexibility. I have been reading the script basics manual whilst having the TARGET script editor open, I think I am starting to grasp some of it, but am still somewhat lost on best way to get started with it. Perhaps because I came from the Cougar using Foxy for years to create my macro and joystick files. So in TARGET, does one still create a macro file and then a joystick file that uses that macro file? It would seem in the script editor, you pretty much just have to type all the info you need into the script, rather than having a tool to insert with the proper syntax like was done with Foxy. For instance if I open any of the default profiles that came with TARGET , in the script editor, and click on the run button, I see the following files generated: The .tmc file. Macros .ttm file defines.tmh sys.tmh hid.tmh target.tmh So I am a little confused here. Or do I just create the .tmc ( script ) file first, and it then generates all those other files included the macro file automatically? I think I am beginning to understand somewhat, but not sure where and how to start at this point. The first thing I want to do, is be able to tweak a profile I created in the advanced gui, by adding a delay in between combo key presses. Like say LSHFT + F. Say in a sim Target generates those two keys too rapidly for the sim to recognize it as a combo key press. I would like to have a short delay in between, so the sim can recognize the combo key press. This is what got me started really wanting to learn the script editor, and after reading through the script editor basics I find myself wanting to be able to just use it to create my profiles since it does give me that much more flexibility for other things as well. I have searched but do not find much information to help one get started off on the right foot.... I would sure appreciate any advice on this one! Thanks, Don B EVGA Z390 Dark MB | i9 9900k CPU @ 5.1 GHz | Gigabyte 4090 OC | 64 GB Corsair Vengeance 3200 MHz CL16 | Corsair H150i Pro Cooler |Virpil CM3 Stick w/ Alpha Prime Grip 200mm ext| Virpil CM3 Throttle | VPC Rotor TCS Base w/ Alpha-L Grip| Point Control V2|Varjo Aero|
The_Nephilim Posted December 23, 2013 Posted December 23, 2013 Hi, I will let my Buddy HomeFries know about this thread he has made a few profiles with Target and will probally help you out.. Intel Ultra 265K 5.5GHZ / Gigabyte Z890 Aorus Elite / MSI 4070Ti Ventus 12GB / SoundBlaster Z SoundCard / Corsair Vengance 64GB Ram / HP Reverb G2 / Samsung 980 Pro 2TB Games / Crucial 512GB M.2 Win 11 Pro 21H2 / ButtKicker Gamer / CoolerMaster TD500 Mesh V2 PC Case
dburne Posted December 23, 2013 Author Posted December 23, 2013 Hi, I will let my Buddy HomeFries know about this thread he has made a few profiles with Target and will probally help you out.. Thank you - I think if I could jet get steered in the right direction for how to begin it would help a lot. Don B EVGA Z390 Dark MB | i9 9900k CPU @ 5.1 GHz | Gigabyte 4090 OC | 64 GB Corsair Vengeance 3200 MHz CL16 | Corsair H150i Pro Cooler |Virpil CM3 Stick w/ Alpha Prime Grip 200mm ext| Virpil CM3 Throttle | VPC Rotor TCS Base w/ Alpha-L Grip| Point Control V2|Varjo Aero|
Home Fries Posted December 23, 2013 Posted December 23, 2013 (edited) Thanks Neph; I found this thread on my own. :D Scripting in TARGET is essentially programming in C with some specialized libraries (e.g. target.tmh). Like Foxy, you can create a macro file, though the format is different, and you want to make sure that you don't use the +-/* in your macro name (they will be seen as mathematical operands). For the actual profile, your best bet is to look at an existing TARGET profile and copy/paste some of the basic commands. I don't recommend opening one of the GUI built profiles; those are so bloated and confusing you'd be better off building a profile from scratch. You're welcome to look at my DCS profile (see the link in my signature); it's for the Cougar, but the syntax is the same and it may give you some ideas. Note that you don't need to link a bunch of files; you can have your entire profile in one TMC file. I broke the profile up into multiple TMC files because it made sense when running multiple aircraft in DCS. Hope this helps. Edited December 23, 2013 by Home Fries -Home Fries My DCS Files and Skins My DCS TARGET Profile for Cougar or Warthog and MFDs F-14B LANTIRN Guide
dburne Posted December 23, 2013 Author Posted December 23, 2013 Thanks for the info Home Fries, I will have a look at the scripting in your profile while I work with it and see if things start to come together for me. I really appreciate it the help! Don B EVGA Z390 Dark MB | i9 9900k CPU @ 5.1 GHz | Gigabyte 4090 OC | 64 GB Corsair Vengeance 3200 MHz CL16 | Corsair H150i Pro Cooler |Virpil CM3 Stick w/ Alpha Prime Grip 200mm ext| Virpil CM3 Throttle | VPC Rotor TCS Base w/ Alpha-L Grip| Point Control V2|Varjo Aero|
dburne Posted December 24, 2013 Author Posted December 24, 2013 You know I from Foxy when I had the Cougar, and this scripting thing in Target is a whole new animal for me. So in reading the script editor basics, it described how to map all the axis - so one has to go in and type all that info in for each and every axis on the Warthog for every profile they create? No templates or anything to work with I guess. I am determined and will learn this, just right now it seems like it is going to be mighty slow go for me... Don B EVGA Z390 Dark MB | i9 9900k CPU @ 5.1 GHz | Gigabyte 4090 OC | 64 GB Corsair Vengeance 3200 MHz CL16 | Corsair H150i Pro Cooler |Virpil CM3 Stick w/ Alpha Prime Grip 200mm ext| Virpil CM3 Throttle | VPC Rotor TCS Base w/ Alpha-L Grip| Point Control V2|Varjo Aero|
Recommended Posts