Jump to content

F-15 - mapping autopilot to joystick not working


Recommended Posts

Posted (edited)

Hi,

 

i'm running DCS clients 1.5 and 2.0 here in a german windows 10 64 bit environment. Everything works well so far with one exception:

 

In F-15 control settings i can't map the autopilot attitude hold action to a joystick button because the action is missing in the settings, see picture:

doalh5wy.png

According to the config file (see below) there should be 6 options instead of only 5 here. It affects both clients, 1.5 and 2.0.

 

The keys "A" or "LAlt+1" work in the sim. In the settings file they are included but not in ingame settings screen:

local res = external_profile("Config/Input/Aircrafts/base_keyboard_binding.lua")
join(res.keyCommands,{

-- Autopilot
{combos = {{key = 'A'}, {key = '1', reformers = {'LAlt'}}}, down = iCommandPlaneAutopilot, name = _('Autopilot - Attitude Hold'), category = _('Autopilot')},
{combos = {{key = 'H'}, {key = '2', reformers = {'LAlt'}}}, down = iCommandPlaneStabHbar, name = _('Autopilot - Altitude Hold'), category = _('Autopilot')},
{combos = {{key = '9', reformers = {'LAlt'}}}, down = iCommandPlaneStabCancel, name = _('Autopilot Disengage'), category = _('Autopilot')},
{combos = {{key = '1', reformers = {'LCtrl'}}}, down = iCommandHelicopter_PPR_button_T_up, name = _('CAS Pitch'), category = _('Autopilot')},
{combos = {{key = '2', reformers = {'LCtrl'}}}, down = iCommandHelicopter_PPR_button_K_up, name = _('CAS Roll'), category = _('Autopilot')},
{combos = {{key = '3', reformers = {'LCtrl'}}}, down = iCommandHelicopter_PPR_button_H_up, name = _('CAS Yaw'), category = _('Autopilot')},

 

Tried a DCS repair and deleted the user settings in C:\Users\***\Saved Games\DCS\Config\Input\F-15C for testing. Nothing resolved the issue. The key option for attitude hold doesn't show up.

 

What can i do to resolve the issue? Do others have the same issue, maybe?

Maybe i have this problem, because i did a fresh install of 1.5 / 2.0 and didn't carry over old, working input setups?

 

Thanks in advance for tips!

 

Matthl

Edited by MatthlK
Posted

I'm mapping autopilot to 27 and 29 on my Warthog HOTAS and doesn't work for me.

DCS 2.0 NTTR, EVGA GTX980 Ti Hybrid, 4790k, 16GB, 27" Apple Cinema Display, Thrustmaster HOTAS, Saitek Combat pedals, TrackIR 5 and...Oculus Rift CV1.

 

Complete noob .:doh:

Posted
I'm mapping autopilot to 27 and 29 on my Warthog HOTAS and doesn't work for me.

 

Do you see five or six options in control settings? My point is, that there is one setting missing. There should be six. The important one isn't shown and can't be changed or assigned but works via "A" or "LAlt+1".

Posted (edited)

Ok so here is how I have my AP setup which is the same as how you want yours to be

 

Ap att hold is joy 15 which in the config says it's autopilot disengage I can tell you it does turn it on.

joy btn 26 is alt hold

 

found in c:\users\xxx\Saved Games\DCS\Config\Input\F-15C\joystick\Throttle -HOTAS WARTHOS {ffaskjldhasdlaksjjdjhasdlaksdjh????}.lua

{combos = {{key = "JOY_BTN26"}, }, down = iCommandPlaneStabHorizon, name = "Autopilot - Transition To Level Flight Control", category = "Autopilot"},
{combos = {{key = "JOY_BTN15"}, }, down = iCommandPlaneStabCancel, name = "Autopilot Disengage", category = "Autopilot"},

if it still does not work for you after that, then you might have an issue with your joystick needing a deadzone in the pitch and roll axis

Edited by pr1malr8ge

For the WIN

[sIGPIC][/sIGPIC]

If your desired effect on the target is making the pilot defecate his pants laughing then you can definitely achieve it with a launch like that.
Posted

Hi,

 

thanks for your message. Will try adding your config settings to my lua when i am at home. But fiddling around in config files can't be the end of the story.

 

I guess it's a bug. How can i assign whats not there? Did you keep your settings from DCS 1.2? Do you actually see 6 settings in category autopilot or only 5? Do you see an option with keys "A" and "LAlt+2"?

 

My autopilot attitude hold works by pressing a keyboard key ("A" or "LAlt+1"). The corresponding action for attitude hold is not included in my F15-C control settings in the game settings so i can't map it to my throttle and i can't change keys if i wanted to..

The altitude hold ("H" or "LAlt+2") is there and can be assigned.

 

"iCommandPlaneAutopilot" is the name of the attitude hold action in my keyboard lua (in DCS install Folder). Not shown in settings.

 

"iCommandPlaneStabHorizon", which is in your user settings lua is not included in mine.

Posted

During upgrade from 1.2xx to 1.5 I never had to redo my controls.

 

 

Ill check this when I get home tonight

For the WIN

[sIGPIC][/sIGPIC]

If your desired effect on the target is making the pilot defecate his pants laughing then you can definitely achieve it with a launch like that.
Posted
During upgrade from 1.2xx to 1.5 I never had to redo my controls.

 

 

Ill check this when I get home tonight

 

Seems like you still have the old config file format. They changed this some time ago. My input files in c:\users\xxx\Saved Games\DCS\Config\Input\F-15C\joystick\ end with .diff.lua and look like this:

["d389pnilunilcdnilvdnilvpnilvunil"] = {
    ["added"] = {
         [1] = {
              ["key"] = "JOY_BTN15",
         },
    },
    ["name"] = "Autopilot - Flughöhe halten",
},

 

So it probably only affects people who didn't carry over their controls and it will probably only be a problem for you if you decide to reassign the autopilot button, because i guess the naming is wrong in the current version.

It would be interesting to know though, if you can see the action in control settings.

Posted (edited)

Nope, my AP list has 6 options

 

i also have the .dll.lua

 

 

["d389pnilunilcdnilvdnilvpnilvunil"] = {
           ["added"] = {
               [1] = {
                   ["key"] = "JOY_BTN26",
               },
           },
           ["name"] = "Autopilot - Altitude Hold",

["d62pnilunilcdnilvdnilvpnilvunil"] = {
           ["added"] = {
               [1] = {
                   ["key"] = "JOY_BTN15",
               },
           },
           ["name"] = "Autopilot - Attitude Hold",
       },

 

there is the possibility that maybe your german version was messed up and it was not included in the build?

ap15.thumb.jpg.21901fe392acfb9f641bbbf19f628133.jpg

Edited by pr1malr8ge

For the WIN

[sIGPIC][/sIGPIC]

If your desired effect on the target is making the pilot defecate his pants laughing then you can definitely achieve it with a launch like that.
Posted
Nope, my AP list has 6 options

 

i also have the .dll.lua

 

 

["d389pnilunilcdnilvdnilvpnilvunil"] = {
           ["added"] = {
               [1] = {
                   ["key"] = "JOY_BTN26",
               },
           },
           ["name"] = "Autopilot - Altitude Hold",

["d62pnilunilcdnilvdnilvpnilvunil"] = {
           ["added"] = {
               [1] = {
                   ["key"] = "JOY_BTN15",
               },
           },
           ["name"] = "Autopilot - Attitude Hold",
       },

there is the possibility that maybe your german version was messed up and it was not included in the build?

 

Thanks! Will try to add that attitude hold action manually to my user config once i'm at home.

 

Seems like it affects german clients. Some translation thing maybe.

  • Recently Browsing   0 members

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