Jump to content

DCS-ExportScripts for Stream Deck Community Github Library


Bailey

Recommended Posts

Githubhttps://github.com/asherao/DCS-ExportScripts

 

TLDR; A central place to share your DCS-ExportScripts for the Elgato Stream Deck for everyone.


A number of people in the community have made some great additions to DCS-ExportScript luas over the past few years. Unfortunately it is relatively difficult to find these great additions, as they are scattered about the forums and github. This thread and Git are an attempt to consolidate, discuss, and help develop even more awesome ExportScript luas for DCS. 

 

If you have something that you would like to share, please put it in a post or you can use github if you are familiar with it (or even if you want to learn how Git to in a friendly environment). Trial, error, ingenuity, learning, asking, and window shopping are all welcome! Feel free to post screenshots of your development progress. You never know, someone else may see it and another idea could be sparked. 

 

Just as many people have IRL obligations, if for some reason I disappear from the Git or forums feel free to take this project, fork the Git, and keep it goin'. I won't be jealous. 😄

 

Here are some of the forum topics where you can see the great level of collaboration that happens with DCS-ExportScripts with the Elgato StreamDeck. Make sure to check em out! Enjoy and have fun!

 

Ctytler's DCS Interface App for Stream Deck - https://forums.eagle.ru/topic/230609-new-streamdeck-plugin/ 

Stream Deck Profiles Library - https://forums.eagle.ru/topic/198845-stream-deck-profiles-library/

Stream Deck Altimeter Settings - https://forums.eagle.ru/topic/273399-stream-deck-altimeter-setting-in-inhg-and-hpa/

Mi-24P Stream Deck Development - https://forums.eagle.ru/topic/275239-mi-24p-stream-deck-with-dcs-exportscript/

F14B Stream Deck Development - https://forums.eagle.ru/topic/238372-dcs-exportscripts-f-14b-tomcat-lua-script-wspecial-stream-deck-exports/

P-47D Stream Deck Development - https://forums.eagle.ru/topic/237624-dcs-exportscripts-p-47d-thunderbolt-lua-script
 

Previous export lua changes before the creation of this library:

- AJS37

    - corrected afterburner export

- F/A-18C Hornet

    - removed a duplicate export

- F-14B

    - Added radio freq text output (60000 - 60007)

- F-16C

    - Added Flare and Chaff Count Readouts (3000 - 3006)

    - Added SENPAI (Streamdeck Elevation Navigation Pressure Altimeter Instrument) (WIP) (44224 - 44231)

- JF-17

    - Added JF-17

- Mi-24P

    - Added DISS Info (3000 - 3002)

    - Added Ammo Counter Readouts (3011 - 3015)

    - Added Arc-15 Readouts (3020 - 3021)

    - Added Flare and Chaff Count Readouts (3022 - 3025)

    - Added SENPAI (Streamdeck Elevation Navigation Pressure Altimeter Instrument) (44224 - 44231)

    - Added VRS Detection (3030)

- Mosquito FB MkVI

    - Added Mosquito FB MkVI

    - Removed duplicate exports

- Spitfire LF MkIX

    - Read Wiki for IDs

 

 


Edited by Bailey
  • Like 3
Link to comment
Share on other sites

@scoobie @Simm0 @nosaMtrevoC @ctytler, just a heads up. Also thank you for your contributions to the luas that are already in the library.


Edited by Bailey
Link to comment
Share on other sites

- Added nosaMtrevoC's P-47D export lua (https://www.digitalcombatsimulator.com/en/files/3310456/)

- Created Wiki (https://github.com/asherao/DCS-ExportScripts/wiki/)
- Added Spitfire to wiki

- Added P-47D to wiki

- Added Mossie pics

- Added hind pics
- Added Spitfire pics

- Added Spitfire media

    - Demo of the Gun Sight Solution Tile

134962944-d6440294-2378-4093-9997-36e033

 

    - Current Spitfire exports and "Tiles"
134961372-176c7606-8588-4948-9929-0ea3c6


Edited by Bailey
Link to comment
Share on other sites

Awesome!!!!:clap: This is exactly what I'm looking for. Huge thanks Bailey for this and all your other contributions Buddy. Also all the other folks for their time contribution's put forward to share:thumbsup:

 

I've have been sim flying DCS since lock on and just started posting on this wonderful well informed forum.

  • Thanks 1
Link to comment
Share on other sites

16 hours ago, bones1014 said:

Is there a way to export mods to the stream deck? I created a lua for the A-4 mod but it doesn't look like DCS exports the controls unless it's in the install directory.

Hmm, via ExportSripts, I have no idea.


Edited by Bailey
Link to comment
Share on other sites

- Updated Mossie exportScrips lua
    - Added Engine Instruments Left Tile 1
    - Added Engine Instruments Left Tile 2
    - Added Engine Instruments Right Tile 1
    - Added Engine Instruments Right Tile 2
    - Added Gun Sight Solution Tile
    - Added Fuel Inner Tanks Tile
    - Added Fuel Center Tanks Tile
    - Added Fuel Outer Tanks Tile
    - Added Fuel Total Tanks Tile
    - Added Pilot Radio Tile
    - Added T1154 Radio Blue Tile 1
    - Added T1154 Radio Blue Tile 2
    - Added T1154 Radio Red Tile 1
    - Added T1154 Radio Red Tile 2
    - Added T1154 Radio Yellow Tile 1
    - Added T1154 Radio Yellow Tile 2
    - Added R115 and T1154 Radio Tile
    - Added exports 3000-3026 to support the above Tiles
- Updated Mossie wiki (https://github.com/asherao/DCS-ExportScripts/wiki/MosquitoFBMkVI)
- Added Mossie pics
- Update wiki table formats
- Added Mossie media pic
- Added psd files
- Added calculator files
- Updated spitfire pics

- Updated Spitfire lua

    - Added Trim Tile (3011)

    - Added elevator and rudder trim readouts (2018 and 2019)

 

 (Mossie Tiles Added)
2021-10-03_13_19_25-Window.jpg


Edited by Bailey
Link to comment
Share on other sites

- Updated the Git to mirror sda's format so that its a 1-stop-shop

- Spitfire

    - Fixed typos

    - Fixed a condition where the trim display would not show unless trim was adjusted

- Mosquito

    - Updated Wiki (https://github.com/asherao/DCS-ExportScripts/wiki/MosquitoFBMkVI)

    - Cleaned up the export descriptions a bit

    - Relocated some functions to "low importance"

    - Added the following tiles (see wiki for more info)

        - Air Temperature

        - Navigation 1

        - Altimeter Dial

        - Instruments

        - Trim

    - Added the following sub-tiles (see wiki for more info)

        - Air Temperature

        - Compass Dial Readout

        - Compass Dial Needle 1 Readout

        - Compass Dial Needle 2 Readout

        - Altimeter Readout

        - Pressure Readout

        - Airspeed Readout

        - Vertical Speed Readout

        - Elevator Trim Readout

        - Rudder Trim Readout

        - Aileron Trim Readout

        - (is) Gear Up

        - (is) Gear Down

        - Flap Indicator


Edited by Bailey
  • Like 1
Link to comment
Share on other sites

Library updated. See Git for details. Thank you to other DCS-ExportScript forks where these updates came from. 

 

- A10A

    - Added speedbrake detection

- A10C2

    - Created A-10C_2.lua

- Bf-109K

    - Added a digit to the bomb fusing selector output

- F15C

    - Enabled canopy open/close detection

- F16C

    - Adjusted .lua spacing

- F5E

    - Added Guns, Missile and Camera Switch Cover Export

- F18C

    - Adjusted some export accuracy

    - Added export 2090 ScratchPadString2Display all characters

- M2000C

    - Added VHF radio export

    - Added Fuel exports

 


Edited by Bailey
  • Like 1
Link to comment
Share on other sites

- Mossie

    - Added special characters for temp and No10/12 tanks

- JF-17

    - added example for arrow output and comm1/comm2 freq output

- Wiki updated for Mossie and JF-17

- The special characters in this update post were added via this method. TODO - Document in Library Git

Link to comment
Share on other sites

This Mossie update brings what will be the last of the majority of the mossie exports. If this were a release, it would be the "1.0". All of the tiles that need need to be "dynamic" are in fact "dynamic". Radio freqs, radio presets, engine settings, navigation, oxygen, and even the Best Power settings are dynamically adjusted on the fly depending on the aircrafts altitude, engine settings, and a few other values. It's basically like having the navigator crunch numbers at your fingertips, letting you know how to best fly the aircraft. Feel free to cherry pick what exports you want to use and which ones you don't. There is a table of all the exports on the wiki that have previews of what each export will look like. Enjoy! (https://github.com/asherao/DCS-ExportScripts/wiki/MosquitoFBMkVI)

 

- Updated Mossie Wiki Streamdeck IDs and Mossie Media

- Added the following Mossie Tiles

    - Pilot Oxygen Tile

    - Copilot Oxygen Tile

    - Oxygen Tile

    - Takeoff Power Tile

    - Intermediate Power Tile

    - Max Continuous Power Tile

    - Emergency Power Tile

    - Max Rage Climb Tile

    - Max Range Climb Tile

    - Best Cruise Tile

    - Approach Speed (w/ Glide at Idle) Tile

    - Max Speeds Tile 1

    - Max Speeds Tile 2

    - Stall Speeds Tile

- Added the following Mossie supporting exports

    - Pilot Oxygen Flow Rate

    - (is) Pilot Oxygen Flow Emergency

    - Pilot Oxygen Supply

    - (is) Pilot Oxygen Supply Red Zone
    - Copilot Oxygen Flow Rate
    - (is) Copilot Oxygen Flow Emergency
    - Copilot Oxygen Supply
    - (is) Copilot Oxygen Supply Red Zone
    - (is) Pilot Oxygen Emergency
    - (is) Copilot Oxygen Emergency
    - (is) Either Oxygen Emergency

    - (is) Aircraft Stall

 

Pics of current Mossie 40xx series exports.

5fMsyyS.png

 

yPNbPhI.png

 

  • Like 3
Link to comment
Share on other sites

21 hours ago, Bailey said:

This Mossie update brings what will be the last of the majority of the mossie exports. If this were a release, it would be the "1.0". All of the tiles that need need to be "dynamic" are in fact "dynamic". Radio freqs, radio presets, engine settings, navigation, oxygen, and even the Best Power settings are dynamically adjusted on the fly depending on the aircrafts altitude, engine settings, and a few other values. It's basically like having the navigator crunch numbers at your fingertips, letting you know how to best fly the aircraft. Feel free to cherry pick what exports you want to use and which ones you don't. There is a table of all the exports on the wiki that have previews of what each export will look like. Enjoy! (https://github.com/asherao/DCS-ExportScripts/wiki/MosquitoFBMkVI)

 

- Updated Mossie Wiki Streamdeck IDs and Mossie Media

- Added the following Mossie Tiles

    - Pilot Oxygen Tile

    - Copilot Oxygen Tile

    - Oxygen Tile

    - Takeoff Power Tile

    - Intermediate Power Tile

    - Max Continuous Power Tile

    - Emergency Power Tile

    - Max Rage Climb Tile

    - Max Range Climb Tile

    - Best Cruise Tile

    - Approach Speed (w/ Glide at Idle) Tile

    - Max Speeds Tile 1

    - Max Speeds Tile 2

    - Stall Speeds Tile

- Added the following Mossie supporting exports

    - Pilot Oxygen Flow Rate

    - (is) Pilot Oxygen Flow Emergency

    - Pilot Oxygen Supply

    - (is) Pilot Oxygen Supply Red Zone
    - Copilot Oxygen Flow Rate
    - (is) Copilot Oxygen Flow Emergency
    - Copilot Oxygen Supply
    - (is) Copilot Oxygen Supply Red Zone
    - (is) Pilot Oxygen Emergency
    - (is) Copilot Oxygen Emergency
    - (is) Either Oxygen Emergency

    - (is) Aircraft Stall

 

Pics of current Mossie 40xx series exports.

5fMsyyS.png

 

yPNbPhI.png

 

 

Is there anyway to get this kind of information for the F/A-18C? Obviously, not all of it is relevant in a modern jet fighter, but some of it is and I need to know where to start. I have all of the functions and switches, for the most part, all using Charles Tytler's DCS Interface

 

Any help greatly appreciated

 

 

Toni Carrera (Ice Rhino)

 

ThrustMaster HOTAS Warthog Throttle & A10C Stick, ThrustMaster F/A-18C Stick, ThrustMaster TFRP Pedals, ThrustMaster Cougars x 2, fitted to CubeSim USB Screens, TrackIR 4 Active LED & Cap Reflector, Stream Deck XL

Intel® Core™ i7-5820K 12 Core Processor, 32GB RAM, 1 x 500GB SSD, 2 x 256GB SSD, 1 x 1TB SSD 4 x 4TB Western Digital Mechanical. 2 x ASUS GTX 1080's SLI, ASUS 29" Ultrawide flanked by 2 x 22" IPS Monitors

Link to comment
Share on other sites

30 minutes ago, Toni Carrera said:

 

Is there anyway to get this kind of information for the F/A-18C? Obviously, not all of it is relevant in a modern jet fighter, but some of it is and I need to know where to start. I have all of the functions and switches, for the most part, all using Charles Tytler's DCS Interface

 

Any help greatly appreciated

 

 

In general, here is the flow for getting what you need. 

- Think of what you want

- Draw what you want the Tile to look like on a piece of paper

- Look at the module Lua and determine which instrument, argument, or animation give you want you want

- Make a function that reads the argument and then converts it into the data you desire 

- Export the converted argument to the StreamDeck. 

 

This process is much more simple in ww2 aircraft like the mossie. As you get more and more digital like the F18, the process gets much more difficult. I'm curious, what would you like to export for the F18? That would be the first 2 steps. Thinking, and then laying it out on paper. Disclaimer: It's likely to be quite difficult, assuming it's possible. I suggest learning to make custom exports like this with a ww2 bird. Opening the Lua file and seeing how things work helps get exposure to what you should/could do things. 

Link to comment
Share on other sites

Hi,

 

Thanks for your question(s). I am looking for say waypoint information, Fuel info, FPAS info, perhaps even information about Air to Ground Weapon configs, like the SLAM missile and what config it is set for, such as BOL, Low, Skim, Waypoint, Search activation miles, Destroy in miles etc etc

Toni Carrera (Ice Rhino)

 

ThrustMaster HOTAS Warthog Throttle & A10C Stick, ThrustMaster F/A-18C Stick, ThrustMaster TFRP Pedals, ThrustMaster Cougars x 2, fitted to CubeSim USB Screens, TrackIR 4 Active LED & Cap Reflector, Stream Deck XL

Intel® Core™ i7-5820K 12 Core Processor, 32GB RAM, 1 x 500GB SSD, 2 x 256GB SSD, 1 x 1TB SSD 4 x 4TB Western Digital Mechanical. 2 x ASUS GTX 1080's SLI, ASUS 29" Ultrawide flanked by 2 x 22" IPS Monitors

Link to comment
Share on other sites

14 minutes ago, Toni Carrera said:

Hi,

 

Thanks for your question(s). I am looking for say waypoint information, Fuel info, FPAS info, perhaps even information about Air to Ground Weapon configs, like the SLAM missile and what config it is set for, such as BOL, Low, Skim, Waypoint, Search activation miles, Destroy in miles etc etc

I'm not gonna lie, that's some pretty varsity stuff that I don't know how to do. If it is possible, that stuff may be behind some code that took me months to understand. I can take a look at it as see what I can do from my side. In the meantime, watch Charles Tytler's youtube videos, which will eventually teach you how do do it.

Link to comment
Share on other sites

Hi Bailey,

 

As you can see from the following thread, I have watched all of Charle's videos and have made a very extensive profile for my F/A-18C

 

 

So I have a pretty good understanding of the DCS Interface, and 99% of all the screens you will see are direct interface, rather than using Keyboard hotkeys/bindings, it is all DCS ID etc etc

 

 

Toni Carrera (Ice Rhino)

 

ThrustMaster HOTAS Warthog Throttle & A10C Stick, ThrustMaster F/A-18C Stick, ThrustMaster TFRP Pedals, ThrustMaster Cougars x 2, fitted to CubeSim USB Screens, TrackIR 4 Active LED & Cap Reflector, Stream Deck XL

Intel® Core™ i7-5820K 12 Core Processor, 32GB RAM, 1 x 500GB SSD, 2 x 256GB SSD, 1 x 1TB SSD 4 x 4TB Western Digital Mechanical. 2 x ASUS GTX 1080's SLI, ASUS 29" Ultrawide flanked by 2 x 22" IPS Monitors

Link to comment
Share on other sites

26 minutes ago, Toni Carrera said:

Hi Bailey,

 

As you can see from the following thread, I have watched all of Charle's videos and have made a very extensive profile for my F/A-18C

 

 

So I have a pretty good understanding of the DCS Interface, and 99% of all the screens you will see are direct interface, rather than using Keyboard hotkeys/bindings, it is all DCS ID etc etc

 

 

Ah, I see. Nice! I think the next step is to get familiar with "list_indication" exports using the DCS-BIOS console. Do you know how to do that? It is in a few of Charles Tytler's videos.

Link to comment
Share on other sites

Hi Bailey,

 

No not really. I will re-watch all his videos and see what I can glean regarding list_indication values. Obviously, I have managed to access data in the IFEI data, but there is so much more that I really want to access as I said previously

 

If you have anything you can throw my way to assist me with this, then I would appreciate it. To be specific, I am also trying to find out other information in this thread I posted earlier today, before I got in to this conversation with you. So anything on that would be very kind of you

 

 

Thank you


Edited by Toni Carrera
Spelin mistakes :)

Toni Carrera (Ice Rhino)

 

ThrustMaster HOTAS Warthog Throttle & A10C Stick, ThrustMaster F/A-18C Stick, ThrustMaster TFRP Pedals, ThrustMaster Cougars x 2, fitted to CubeSim USB Screens, TrackIR 4 Active LED & Cap Reflector, Stream Deck XL

Intel® Core™ i7-5820K 12 Core Processor, 32GB RAM, 1 x 500GB SSD, 2 x 256GB SSD, 1 x 1TB SSD 4 x 4TB Western Digital Mechanical. 2 x ASUS GTX 1080's SLI, ASUS 29" Ultrawide flanked by 2 x 22" IPS Monitors

Link to comment
Share on other sites

33 minutes ago, Toni Carrera said:

Hi Bailey,

 

No not really. I will re-watch all his videos and see what I can glean regarding list_indication values. Obviously, I have managed to access data in the IFEI data, but there is so much more that I really want to access as I said previously

 

If you have anything you can throw my way to assist me with this, then I would appreciate it. To be specific, I am also trying to find out other information in this thread I posted earlier today, before I got in to this conversation with you. So anything on that would be very kind of you

 

 

Thank you

 

I responded to the other thread. Hopefully it helps.

 

As for the F18, from what I have seen so far, the status of FPAS (as an example) seems to only show when the FPAS page is up, which kind of defeats the point. For the left screen it seems that the things located on it are in list_indication(2). I used this in the DCS-BIOS to get that info, and that of others.

local a = 
"\nList Indication 0\n" .. list_indication(0) ..
"\nList Indication 1\n" .. list_indication(1) ..
"\nList Indication 2\n" .. list_indication(2) ..
"\nList Indication 3\n" .. list_indication(3) ..
"\nList Indication 4\n" .. list_indication(4) ..
"\nList Indication 5\n" .. list_indication(5) ..
"\nList Indication 6\n" .. list_indication(6) ..
"\nList Indication 7\n" .. list_indication(7) ..
"\nList Indication 8\n" .. list_indication(8) ..
"\nList Indication 9\n" .. list_indication(9) ..
"\nList Indication 10\n" .. list_indication(10)
return a

 

Link to comment
Share on other sites

Mossie Update
- Added "°C" to temperatures
- Fixed typos
- Moved "Fuel Tot" to the bottom of its Tile
- Made radio frequency detection more accurate
- Changed "mbar" to "hPa"
- Added commas to RPM values above 999
- Added kts2mph function
- Converted all knots to mph

Link to comment
Share on other sites

(See wiki for details https://github.com/asherao/DCS-ExportScripts/wiki)

F-86F Sabre
- Added UHF and ADF frequency and channel export (3000-3003)

uqERd0p.png

 

Mi-24P Hind
- Added following radios and channel exports (3031-3034)
    - R-863
    - JARDO 1
    - R-828
    - R-852

WmGofhO.png

Link to comment
Share on other sites

12 hours ago, bones1014 said:

Can you setup a radio tile for the F-14B pilot and RIO?

I may be able to, but no promises. What are things you would like to see? 

Link to comment
Share on other sites

  • Recently Browsing   0 members

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