s-d-a/DCS-ExportScripts

M2000 PCA

Simba75013 opened this issue · 8 comments

Hi Sir !
I set up my StreamDeck for use with the M2000 module and it works like a charm.
I put buttons for the 2 rows of the PCA (weapons selector panel) but I cannot display the mini screens just above each buttons.
When I look into the lua the IDs are supposed to be 2010 to 2014 for the upper row, 2015 to 2019 for the bottom ro.
I see them in the DCS coms but those ID do not ''send'' anything.

Some other items are working perfectly, like TACAN and ILS/VOR.

What can I do to make this work ?

Thank you very much.

Simba

D4Gi commented

Hallo Simbra75013

I was setting up my Stream Deck XL last night, and found the same problem as you when trying the to set up the PCA..

Did you find a workaround/solution to get the PCA to work?

I believe these changes 51b79a9#diff-c1ec9d49dcf5e30e996d8aab38fd39ddcdee85588350887e7b08057857a93dad
should address your issue... I ran into the same myself yesterday and made these changes that worked for me.

Thank you Sir !
Where do I put thoses lines into the lua ?
At the end or do I have to replace a specific part of the existing code ?

just download the fork I made and replace your own M-2000C-lua with mine => https://github.com/b04rdr1d3r/DCS-ExportScripts/blob/master/Scripts/DCS-ExportScript/ExportsModules/M-2000C.lua

this also fixes:

  • PCA labels not exporting correctly
  • PPA display not exporting
  • PCN not exporting
  • Radio frequencies not exporting

Also, you may want to try out the M-2000C profile I made for streamdeck here ==> https://github.com/b04rdr1d3r/M2KC-Streamdeck-profile-for-DCS-Interface