Rabso Posted June 8, 2018 Posted June 8, 2018 (edited) Hi F/A-18C pilots, Since the release of F-18 and I am trying public release TM Warthog profiles. It's clear that we need to use TARGET to get most of Warthog hardware. However, the scripts I came cross were sending keyboard characters to DCS which it's in my opinion: You need to be careful with how keyboard characters are sent to DCS, generally they should not be in down state for long periods of time. You can't re-map from DCS but you must change the scripts code. So, I used my preferred TARGET script that was made by Gizzy on 2015 (for THROTTLE only), for full detailed: https://forums.eagle.ru/showthread.php?t=153039 The advantages of his script: It sends DX codes instead of keyboard characters (other than Right Shift) The ability to map OFF and Middle positions. It will give you freedom to re-map the profile within DCS itself (there is no need to edit script and a lot of ####) It runs TARGET script from command line via a BAT file which uses very small memory comparing to GUI. I used his script and mapped the warthog hardware to closest real F18 HOTAS. Of course, you still have the ability to re-map at your preferences. Installation 1. Place the file Gizzys-profile.tmc into TARGET scripts folder, usually @ C:\Program Files (x86)\Thrustmaster\TARGET\scripts 2. Place the gizzys-profile.bat at the same drive (partition) of TARGET GUI installation files (Desktop is good if you installed at C drive) Usage: 1. Before starting DCS, run gizzys-profile.bat 2. Run DCS and load my attached profiles (At first time only) Joystick - HOTAS Warthog.diff Thrustmaster Combined.diff TM HOTAS Warthog profile with gizzy TARGET script (DX codes).zip Edited June 12, 2018 by Rabso Updating profiles i7-6700K | MSI Z170A Gaming M7 | Dominator 32GB 3000MHz | MSI GTX 1070 GAMING Z | 2TB SSD & 1TB HDD | Acer H277HU 27" WQHD | Audeze Mobius | TM Warthog | MFG Crosswind | TrackIR 5 | Windows 10 Pro
markturner1960 Posted August 8, 2018 Posted August 8, 2018 (edited) Hi Rabso, trying this out and when I run the .bat file, it took a while and then threw an error message saying cannot associate a filter with the selected usb hid device ( which was the throttle according to the id code..) Next line was a runtime error... Any idea what might be amiss? Can I use your profiles without the Gizzys script running? How much of it uses the things his script does? Also, not sure I have loaded the profiles correctly, I highlighted a box under the joystick column and navigated to the profiles, click on the joystick profile and loaded it....same for throttle.....Some commands were loaded, but only a few....most on the throttle, only 3 or 4 on the joystick....again, any idea what I am doing wrong please? Thanks! Edited August 8, 2018 by markturner1960 System specs: PC1 :Scan 3XS Ryzen 5900X, 64GB Corsair veng DDR4 3600, EVGA GTX 3090 Win 10, Quest Pro, Samsung Odyssey G9 Neo monitor.
SamJM Posted October 7, 2018 Posted October 7, 2018 I can't get this to work properly, the controls on the throttle work fine but none of the joystick buttons are bound to anything. When I run the bat script it does say some hardware devices are not found, any idea how I might go about fixing it?
Headwarp Posted October 7, 2018 Posted October 7, 2018 (edited) I'm not saying to stop using this or anything but I feel like maybe using TARGET software in DCS is overcomplicating things in most cases unless you just really want 2 and 3 position switches in aircraft that don't have native bindings for such, which many do including the hornet. The hornet in particular has MOST of the 2 and 3 position switches we'd want ED has provided "abstractions" for. and if ever you need multi functions out of any of your buttons you can add any button as a modifier within the DCS controls menu. That being said - TARGET is pretty much 100% necessary in older sims that don't recognize more than one or two input devices, but DCS World actually allows for a lot of configurations with the option of adding as many modifiers as you want to get multiple functions out of keys/buttons from within the game client. I tend to use the diagrams from the manuals to map things to the stick and throttle grip. Some people have even managed to learn how to program positional switches in the games existing .lua files where they didn't exist previously. Just a suggestion. Edited October 7, 2018 by Headwarp Spoiler Win 11 Pro, z790 i9 13900k, RTX 4090 , 64GB DDR 6400GB, OS and DCS are on separate pci-e 4.0 drives Sim hardware - VKB MCG Ultimate with 200mm extension, Virpil T-50CM3 Dual throttles. Blackhog B-explorer (A), TM Cougar MFD's (two), MFG Crosswinds with dampener. Obutto R3volution gaming pit.
Rabso Posted December 24, 2018 Author Posted December 24, 2018 I can't get this to work properly, the controls on the throttle work fine but none of the joystick buttons are bound to anything. When I run the bat script it does say some hardware devices are not found, any idea how I might go about fixing it? try to run the bat with "Run as Administrator", then inside the DCS you need to import the attached profiles. remember to open .bat in notepad and check all links are correct on your PC That being said - TARGET is pretty much 100% necessary in older sims that don't recognize more than one or two input devices, but DCS World actually allows for a lot of configurations with the option of adding as many modifiers as you want to get multiple functions out of keys/buttons from within the game client. I tend to use the diagrams from the manuals to map things to the stick and throttle grip. Some people have even managed to learn how to program positional switches in the games existing .lua files where they didn't exist previously. Just a suggestion. I am with your suggestion and I wish just stop using TARGET, I tried several time to understand how can I create special.lua but still did not get it (well don't have much time) i7-6700K | MSI Z170A Gaming M7 | Dominator 32GB 3000MHz | MSI GTX 1070 GAMING Z | 2TB SSD & 1TB HDD | Acer H277HU 27" WQHD | Audeze Mobius | TM Warthog | MFG Crosswind | TrackIR 5 | Windows 10 Pro
Py Posted December 24, 2018 Posted December 24, 2018 There's also a category "Special For Joystick" in the controls that has some extra options, they may cover the settings you need.
Delareon Posted December 26, 2018 Posted December 26, 2018 I also prefer using lua instead of TARGET. And there are many functions allready layed out which you can use. With a bit programming knowledge you can easily add or tweak some of these. If you are able to edit a TARGET script you should be able to edit that lua script. Only downside (especially as long as its in Development) is that you get your lua file regulary overwritten by updates.
Davee Posted December 27, 2018 Posted December 27, 2018 (edited) I also prefer using lua instead of TARGET. And there are many functions allready layed out which you can use. With a bit programming knowledge you can easily add or tweak some of these. If you are able to edit a TARGET script you should be able to edit that lua script. Only downside (especially as long as its in Development) is that you get your lua file regulary overwritten by updates. Target script (NOTE - Target script), is far more powerful and more intuitive. Also, as you indicate, it doesn't get overwritten. I can do far more with Target script than what a .lua file can do. Modifiers, delays, sequences and much more and very quickly. For example: There has been much posted about the difficulty in using the TM Throttle with the AGM65F - having to press a key and the slew at the same time. Many requests to ED to modify it. I had mine working in about three minutes by using Target Script. I just use my slew key and when I release it, it locks on the target. I don't have to use a button plus the slew. Very easy. You can't do that with a .lua file. You can check it here. #1 I've chosen to use key commands but also I'm now slowly starting to switch over to DX commands. Edited December 27, 2018 by Catseye
Rabso Posted December 31, 2018 Author Posted December 31, 2018 I also prefer using lua instead of TARGET. And there are many functions allready layed out which you can use. With a bit programming knowledge you can easily add or tweak some of these. If you are able to edit a TARGET script you should be able to edit that lua script. Only downside (especially as long as its in Development) is that you get your lua file regulary overwritten by updates. it's about time too, I will try my luck again with lua. However one more downside, I believe that we need to make lua for each aircraft where the TARGET script is one file for all. Target script (NOTE - Target script), is far more powerful and more intuitive. Also, as you indicate, it doesn't get overwritten. I can do far more with Target script than what a .lua file can do. Modifiers, delays, sequences and much more and very quickly. I've chosen to use key commands but also I'm now slowly starting to switch over to DX commands. I agree but not all they like to run TARGET script including me. and yes you need to use DX commands as it's cleaner. Have look at gizzy's script it will give you indication i7-6700K | MSI Z170A Gaming M7 | Dominator 32GB 3000MHz | MSI GTX 1070 GAMING Z | 2TB SSD & 1TB HDD | Acer H277HU 27" WQHD | Audeze Mobius | TM Warthog | MFG Crosswind | TrackIR 5 | Windows 10 Pro
Davee Posted December 31, 2018 Posted December 31, 2018 it's about time too, I will try my luck again with lua. However one more downside, I believe that we need to make lua for each aircraft where the TARGET script is one file for all. I agree but not all they like to run TARGET script including me. and yes you need to use DX commands as it's cleaner. Have look at gizzy's script it will give you indication Agreed on the use of DX and I'm switching over now and have modified some of the DX protocol to give Press and Release commands on some switches. I'm curious to know if I can get a modifier key assigned to my Gunfighter stick and have it understood by my WH Hotas. Hmmmmmm.
Recommended Posts