Jump to content

Recommended Posts

Posted

Hi, until now I've played DCS using the ingame assignment of keys/axis, but now I need more complex commands so I'm trying using TARGET but....

 

1- I have my script .tmc very simple , only axis mapped just to try, I open target script editor and load it, run it...

 

2- In DCS nothing happens, I move my stich or throttle and nothing happens!!

3- if I stop the script everything work with the ingame bindigs I've made ( I have two .lua files in " Eagle Dynamics\DCS World\Mods\aircraft\Su-25T\Input\su-25T\joystick " )

 

How to make it works my lua files together with my target tmc file? I'll attach these files here

joystick.zip

su25.zip

CPU:i5-8400@2,8GHz|GPU: GTX-1080Ti 11gb | RAM:48GB|Monitor LG38"" wide 3840x1600 | 2xSabrent SSD 2T Rocket NVMe PCIe M.2 2280| VKB GladiatorMKII Kosmosima|

*** Perché volare? Semplice. Non sono felice a meno che non ci sia un po’ di spazio tra me e la terra. ***

Posted

Hi,

 

Your profile works here. Did you have see the settings I have ?(see image)

 

 

You can add more statements:

 

//axis mapping Warthog Joystick
MapAxis(&Joystick, JOYX, DX_X_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
MapAxis(&Joystick, JOYY, DX_Y_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
MapAxis(&Throttle, THR_LEFT,  DX_XROT_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
MapAxis(&Throttle, THR_RIGHT, DX_Z_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);

// Disable DX_ZROT_AXIS for Rudder 
//MapAxis(&Throttle, SCX, DX_XROT_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);

MapAxis(&Throttle, SCY, DX_YROT_AXIS, AXIS_NORMAL, MAP_RELATIVE);
MapAxis(&Throttle, THR_FC, DX_SLIDER_AXIS, AXIS_NORMAL, MAP_ABSOLUTE); 

su25.png.dde9ea3e3dcb4154c90a1f7e56b011cf.png

Posted

And how did you make it work?

My column Combined thrustmaster is empty !!

Did you used also my 2 lua files?

 

Thank you!

CPU:i5-8400@2,8GHz|GPU: GTX-1080Ti 11gb | RAM:48GB|Monitor LG38"" wide 3840x1600 | 2xSabrent SSD 2T Rocket NVMe PCIe M.2 2280| VKB GladiatorMKII Kosmosima|

*** Perché volare? Semplice. Non sono felice a meno che non ci sia un po’ di spazio tra me e la terra. ***

Posted (edited)

Okay now it works (even if left throttle moves rudder...), I had to remove my two .lua files and use the default one!

Now I can start studying scripting for target!

 

Thank you!

Edited by qbcat

CPU:i5-8400@2,8GHz|GPU: GTX-1080Ti 11gb | RAM:48GB|Monitor LG38"" wide 3840x1600 | 2xSabrent SSD 2T Rocket NVMe PCIe M.2 2280| VKB GladiatorMKII Kosmosima|

*** Perché volare? Semplice. Non sono felice a meno che non ci sia un po’ di spazio tra me e la terra. ***

Posted

Also, I noticed T.A.R.G.E.T. renames your joystick to something else. So DCS doesn't see the assignments to 'warthog Joystick' or 'Warthog throttle' anymore. But now sees a diffrent USB device for wich it has no assignments. You can rename your stick back to the default name. But mind the spelling. All the old assigned commands (including axis assignments) should come back.

 

A rather ugly feature of the powerful T.A.R.G.E.T.program.

Happy Flying! :pilotfly:

Posted
Okay now it works (even if left throttle moves rudder...), I had to remove my two .lua files and use the default one!

Now I can start studying scripting for target!

 

Thank you!

 

 

My set up is Warthog + Simped rudder connected on TM Cougar)

 

I had the same problem! The solution is the one you can see above, cancel SCX.

Posted

how to map axis for slew control

 

Now another problem..

I 'd like to map to the slew control the target designator, so how I can do?

 

And another one, I'd like to map to the grey slide on the trhottle to the zoom function.

 

Thank you!

CPU:i5-8400@2,8GHz|GPU: GTX-1080Ti 11gb | RAM:48GB|Monitor LG38"" wide 3840x1600 | 2xSabrent SSD 2T Rocket NVMe PCIe M.2 2280| VKB GladiatorMKII Kosmosima|

*** Perché volare? Semplice. Non sono felice a meno che non ci sia un po’ di spazio tra me e la terra. ***

Posted

Ok sorry every answer's in the manual, here my selfsolution:

 

 

KeyAxis(&Throttle, SCX,0,AXMAP2(3,',',0,'0'));//SLEWCONTROL FOR TDS LFT/RGT

KeyAxis(&Throttle, SCY,0,AXMAP2(3,'9',0,'.')); //SLEWCONTROL FOR TDS UP/DWN

SetSCurve(&Throttle, SCX,0,10,0,0,-14); //SLEWCONTROL FINE TUNING

SetSCurve(&Throttle, SCY,0,10,0,0,-14); //SLEWCONTROL FINE TUNING

KeyAxis(&Throttle, THR_FC, 0, AXMAP2( LIST( 0, 49, 51 ), USB[85], 0, USB[84] )); //zoom in friction grey lever

 

 

CPU:i5-8400@2,8GHz|GPU: GTX-1080Ti 11gb | RAM:48GB|Monitor LG38"" wide 3840x1600 | 2xSabrent SSD 2T Rocket NVMe PCIe M.2 2280| VKB GladiatorMKII Kosmosima|

*** Perché volare? Semplice. Non sono felice a meno che non ci sia un po’ di spazio tra me e la terra. ***

  • Recently Browsing   0 members

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