Jump to content

Recommended Posts

Posted

Hi all..i need help with TM warthog script profile ...how to properly set flaps up, mvr and down keypresses on hotas flaps switch? Do i need to edit Lua file aswell?

[sIGPIC][/sIGPIC]

Pilot from Croatia

Posted

Editing lua files is likely to be one possible solution. It is, however, rarely required if you are already using Target.

 

The actual answer you need will depend on which aircraft you are talking about since almost every aircraft is done differently.

ASUS ROG Maximus VIII Hero, i7-6700K, Noctua NH-D14 Cooler, Crucial 32GB DDR4 2133, Samsung 950 Pro NVMe 256GB, Samsung EVO 250GB & 500GB SSD, 2TB Caviar Black, Zotac GTX 1080 AMP! Extreme 8GB, Corsair HX1000i, Phillips BDM4065UC 40" 4k monitor, VX2258 TouchScreen, TIR 5 w/ProClip, TM Warthog, VKB Gladiator Pro, Saitek X56, et. al., MFG Crosswind Pedals #1199, VolairSim Pit, Rift CV1 :thumbup:

Posted

Sorry its for dcs A-10C..I am using target and have my flap switch set to dx buttons..But i cant assign them ingame

[sIGPIC][/sIGPIC]

Pilot from Croatia

Posted (edited)

Ah, that does require a lua mod. The problem is that ED has never implemented the Plug-n-play lua (that gets used when you aren't running Target) for the Thrustmaster Combined device. I have a JSGME mod that adds the missing commands to the default lua so that they can be assigned in the Options>Controls screen.

 

I can't upload it right this minute but I would be happy to do so in a few hours. It will solve your problems for flaps and any of the other three positions switches.

 

EDIT: I just remembered that I posted this when I made it, including an explanation. Let me know if this does not make sense.

 

http://forums.eagle.ru/showpost.php?p=2037252&postcount=49

 

EDIT 2: The easiest, and probably best, way to use this is to use DX assignment in your script and then map the keys in the sim. That is the way I have done it.

 

EDIT 3: It just occurred to me that this mod will need the aircrafts >> aircraft folder rename fix.

Edited by cichlidfan

ASUS ROG Maximus VIII Hero, i7-6700K, Noctua NH-D14 Cooler, Crucial 32GB DDR4 2133, Samsung 950 Pro NVMe 256GB, Samsung EVO 250GB & 500GB SSD, 2TB Caviar Black, Zotac GTX 1080 AMP! Extreme 8GB, Corsair HX1000i, Phillips BDM4065UC 40" 4k monitor, VX2258 TouchScreen, TIR 5 w/ProClip, TM Warthog, VKB Gladiator Pro, Saitek X56, et. al., MFG Crosswind Pedals #1199, VolairSim Pit, Rift CV1 :thumbup:

Posted (edited)

I use TARGET Script and I have like this..hope this helps some..:)

 

At my DCSA10C.tmc -file

 

// DirectX 22= Flaps Up

// DirectX 23 = Flaps Down

//When pushing to fwd position send DirextX 22

MapKey(&Throttle,FLAPU,DX22);

//When switching to middle position I use release for FLAPU and send DirectX 23

MapKeyR(&Throttle,FLAPU,DX23);

//When pushing to aft position send DirextX 23

MapKey(&Throttle,FLAPD,DX23);

//When switching back to middle position I use release for FLAPD and send DirectX 22

MapKeyR(&Throttle,FLAPD,DX22);

//Checking Flaps switch position at throttle and put switch in same position at game

if(Throttle[FLAPU]) ActKey(KEYON+DX22);

else if (Throttle[FLAPD]) ActKey(KEYON+DX23);

 

I use those directx button command for most of my throttle swithces..

 

you can also use key presses for this..(Flaps_down 'f' and Flaps_up L_SHIFT+'f' )

MapKey(&Throttle,FLAPU,PULSE+Flaps_up);

MapKeyR(&Throttle,FLAPU,PULSE+Flaps_Down);

MapKey(&Throttle,FLAPD,PULSE+Flaps_Down);

MapKeyR(&Throttle,FLAPD,PULSE+Flaps_up);

 

-Iku

Edited by Iku64

 

[sIGPIC][/sIGPIC]

HP Z420 | Xeon E5-1650 @3.20GHz/3.70Ghz | 16Gb DDR3-1333 | ZOTAC GTX 980 Ti AMP! | Micron RealSSD C400 256Gb | Sound Blaster Z | TrackIR4 | Thrustmaster HOTAS Warthog| CH Pro pedals | Win 10 Pro 64-bit

 

Posted

Initially when I set up TARGET in the GUI rather than script I did this..

 

Target GUI

 

I used....

 

FLAPU

PRESS - L_Shift f - Pulse

PRESS - L_Shift f - Pulse

PRESS - L_Shift f - Pulse

PRESS - LED1(throttle) - release

RELEASE - L_Shift f - Pulse

 

Moving to the UP position, Three pulses ensures flaps are up what ever the start position and them the LED makes sure No1 LED green light is off.

Moving FROM the up position the release bit applies flaps down one position.

 

FLAPM

PRESS - L_Shift f - LED1(throttle) - press

 

Lights up the No1 LED green light.

 

FLAPD

PRESS - f - pulse

PRESS - f - pulse

PRESS - LED2(throttle) - press

RELEASE - L_Shift f - press

RELEAE - LED2(throttle) - release

 

Two pulses ensures flaps are fully down what ever start position.

Lights up the No2 LED green light.

On change from this position, the RELEASE bits move flaps up one, and turn off LED No 2.

 

Its worked fine ever since.... but probably not the most effecient as I was just starting out.... :noexpression:

Posted

Just one question for you hreich. Warthog "works out of the box" for A10. Why do you need to modify anything? It should just "work" for A10, no?

 

hsb

hsb

HW Spec in Spoiler

---

 

i7-10700K Direct-To-Die/OC'ed to 5.1GHz, MSI Z490 MB, 32GB DDR4 3200MHz, EVGA 2080 Ti FTW3, NVMe+SSD, Win 10 x64 Pro, MFG, Warthog, TM MFDs, Komodo Huey set, Rverbe G1

 

Posted
Just one question for you hreich. Warthog "works out of the box" for A10. Why do you need to modify anything? It should just "work" for A10, no?

 

hsb

 

 

As mentioned before in other treads. There are several reasons to do this. The main on for me is the ability to center and Pause TrackIR with my HOTAS ,also to use TS3, but that can be done easely without TARGET as TS is definatly better designed than TrackIR software.

Posted

Hansangb..i usually use my own script profile so I can add stuff like in game settings for curve response for in air refuelling, or slew sensitivity for tgp sensors, or gear up/dn function on friction wheel etc

[sIGPIC][/sIGPIC]

Pilot from Croatia

Posted

got it. thanks guys.

 

hsb

hsb

HW Spec in Spoiler

---

 

i7-10700K Direct-To-Die/OC'ed to 5.1GHz, MSI Z490 MB, 32GB DDR4 3200MHz, EVGA 2080 Ti FTW3, NVMe+SSD, Win 10 x64 Pro, MFG, Warthog, TM MFDs, Komodo Huey set, Rverbe G1

 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...