Jump to content

DCS-ExportScripts F-14B Tomcat .lua script w/Special Stream Deck exports


Recommended Posts

Specific thread for the progress of my F-14B ExportScripts file with special considerations of nicely formatted output for the Stream Deck (see an example video of fuel outputs below)

 

Newest version attached

version 0.11

Date: June 30, 2020

 

Stream Deck Profiles and Graphics Included

 

NOTE: ITEMS NEED TESTING

If you are interested in helping test this script, please see "Needs Testing" area in the third post of this thread (below) for more information. Along with the pic in the second post describing which modules currently need testing.

 

All testing related posts and information are in RED below.

 

Example of FULL Working ACM Panel:

 

Example of F-14B fuel output to stream deck:

 

Example of RPM tape:

 

Random Examples on Stream Deck XL

 

See Section Progress in 2'nd Post below

See Changelog in 3'rd Post below

 

----

 

for use with these two great projects:

DCS-ExportScripts:

https://github.com/s-d-a/DCS-ExportScripts

 

DCS Stream Deck Plugin by Ctytler on ED:

https://github.com/charlestytler/streamdeck-dcs-interface

 

Example of how I use the two scripts on my stream deck (p-51 example):

 

The Script is a Work in Progress.

 

Thanks, GunSlingerAUS & Phoenix FR for providing me with the F-14 Module, it was a nice jester (sic).

 

There will be changes and modifications to the file that I will post here and keep the latest version on this page.

 

This can be used as a standard DCS-ExportScripts file for the F-14B when complete without a stream deck (use as you see fit), or has extra formatted id's that allow you to show nicely formatted live information on the stream deck. e.g. 250mph instead of 0.45048 (which might indicate needle position) see youtube video above for examples.

 

If you have any questions feel free to ask.

 

enjoy!

F-14B v0.11.rar


Edited by nosaMtrevoC
  • Like 3

Modules: Persian Gulf | Normandy | Channel | Nevada | Supercarrier | WWII Assets | FC3 | Spitfire | P-51D | P-47D | F-86F | L-39 | AV-8B | F-16C | F/A-18C | A-10C | F-14B | A-4E-C | BS2

 

System: X570 AMD-3900X | 32GB DDR4 3000 | 2TB Gen 4x4 5GB/s NVME | Dual 1070 TI | 4k 32" Samsung

Link to comment
Share on other sites

Currently broken the work down into the F-14B Cockpit Layout Sections according to the F-14B manual found in the C:\Program Files\Eagle Dynamics\DCS World OpenBeta\Mods\aircraft\F14\Docs Directory (F-14B Manual 1.0.pdf) pages 10 and 11

 

These Sections are referenced in the .lua script as A for Pilot Cockpit and B for RIO Cockpit and the number in the picture to describe the section. Table below:

 

[Ref]_ [Position]_____ [Description]________

A1a     Pilot 		Left Side Console
A1b	 Pilot 		Left Side Console
A2 	 Pilot 		Left Vertical Console
A3 	 Pilot 		Left Knee Panel 
A4 	 Pilot 		Left Instrument Panel 
A5 	 Pilot 		Left Windshield Frame
A6a 	 Pilot 		Center Panel 
A6b	 Pilot 		Center Panel 
A6c 	 Pilot 		Center Panel 
A6d	 Pilot 		Center Panel 
A7 	 Pilot 		Right Windshield Frame
A8 	 Pilot 		Right Instrument Panel 
A9 	 Pilot 		Right Knee Panel 
A10	 Pilot 		Right Vertical Console 
A11a    Pilot 		Right Side Console 
A11a    Pilot 		Right Side Console 
A12	 Pilot 		Canopy Control Handle 

 

NOTE: Areas below highlighted in RED in the picture are currently in need of testing. Please see the appropriate post (page of post listed in table above) to provide testing for these modules.

 

Picture below shows completed sections in green:

attachment.php?attachmentid=241011&stc=1&d=1593146469

1313262417_PilotCockpitLayout.thumb.jpg.25164aa940cad26d1ed2fc1bbc5228ea.jpg


Edited by nosaMtrevoC

Modules: Persian Gulf | Normandy | Channel | Nevada | Supercarrier | WWII Assets | FC3 | Spitfire | P-51D | P-47D | F-86F | L-39 | AV-8B | F-16C | F/A-18C | A-10C | F-14B | A-4E-C | BS2

 

System: X570 AMD-3900X | 32GB DDR4 3000 | 2TB Gen 4x4 5GB/s NVME | Dual 1070 TI | 4k 32" Samsung

Link to comment
Share on other sites

_________________________________________________________________________________________________

▀▀▀█ Needs Testing █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

 

Items listed below need your testing because I am not familiar enough with the F-14 to find these systems and see if they

relate to the ID I believe they belong to.

 

6b - Need the VDI Caution lights tested located on 6b graphic above on left and right of VDI and also located on pg. 58 picture and pg.59 description

of the f-14 .pdf documentation. You cannot use the master test panel to test these as then all indicator lights are lit and I do not know if I have the

correct ID's or not. I found the proper grouping of ID's, so even if a number of them get tested and are correct, I can confidently assume the rest

are correct.

 

6c - Need the HDG and CRS Knob tested. I can spin them, obviously, but I do not see any type of change on HSD (heading change etc..) I need the

F-14 HSD or hud or whatever put in the proper mode (maybe some type of nav or course mode) to see these knobs changing something. Also the BIT

indicator at bottom right, I'm not sure how that works. Does it light up? and if so, I need a replay where it does.

 

 

 

_________________________________________________________________________________________________

▀▀▀█ Changelog █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

 

Version 0.11 - Matched most of the missing ID's, fixed error in ACM Panel (Chacal IX)

 

Version 0.10 - Matched many more ID's (not tested) for panels: A6b/A6c/A7, Created All Graphic Icons for panel A6a ACM Panel, App. Indexer Icons

Custom Station Weap. Flags output for ACM, ACM Switch, Master Arm Switch, Gun Rate Code, code for SW Cool/MSL Prep/MODE stp switch

testing ACM Panel items on Stream deck and creating profiles, Triple Indicator code and icons, Master Caution Button/Light,

L & R Fire Lights, Slip/Ball Indicator Gauge, fill icons for stream deck, testing, A6a ACM Panel completed w/StmDeck Prof. & Icons

 

Version 0.09 - Created 298 conifg Arguments and documentation for all pilot panels Left: A1a/A1b/A2/A4/A5/A6a/A6b/A6c/A6d/A7/A8/A10/A11a/A11b/12

Formatting, Matched most DCS ID's (not tested) for panels: A1a/A1b/A2/A6a

 

Version 0.08 - Formatting, Arresting Hook handle/emerg.Handle/Light, Gun Ammun. Counter knob, gun rounds counter

 

Version 0.07 - Create tape function for vertical tape displays, created engine RPM Tape and BG Icon, EIG Eng. Temp on A3, EIG Fuel Flow on A3

 

Version 0.06 - 2 Hydraulic Press. Gauges on A3 (51023 & 51063), added Engine Nozzle Tape A3, engine oil press. gauge

 

Version 0.05 - Formatting, Added Bingo Knob, Accelerometer Reset, Clock Wind, Clock Start/Stop/Reset, fixed error in Timer, A9 Panel Complete

 

Version 0.04 - More formatting, added Aft&L/Fwd&R fuselage fuel info, added Accelerometer gauge, added clock and timer gauge, Added Cockpit Refs.

 

Version 0.03 - Organization of Cockpit and RIO areas in this file for organizational purposes (ease of use)

 

Version 0.02 - Added formatted fuel output for location A9

 

Version 0.01 - Initial Layout and formatting of .lua file along with organization outside this file of all functions ID's calls etc..


Edited by nosaMtrevoC

Modules: Persian Gulf | Normandy | Channel | Nevada | Supercarrier | WWII Assets | FC3 | Spitfire | P-51D | P-47D | F-86F | L-39 | AV-8B | F-16C | F/A-18C | A-10C | F-14B | A-4E-C | BS2

 

System: X570 AMD-3900X | 32GB DDR4 3000 | 2TB Gen 4x4 5GB/s NVME | Dual 1070 TI | 4k 32" Samsung

Link to comment
Share on other sites

Added:

 

AFT & L Gauge (bottom left in pic)

FWD & R Fuel Gauge (bottom Center)

Added both above to Fuel Multi-Gauge (botton right third line)

Added Accelerometer (top right, posMax/current/negMax)

Added Clock and Timer (top center)

 

Added references to panels in code and documentation:

 

For instance all of the above gauges are in the Cockpit (A) and Right Knee Panel (9) so A9

 

RIO fuel gauge is in RIO Cockpit (B) and (7)

 

The number (7) and (9) are referenced in the F-14 manual on pages 10 and 11

 

A9 - Cockpit Right Knee Panel is almost done, just the reset switches and knobs left.

 

attachment.php?attachmentid=239974&stc=1&d=1592270120

0.4.thumb.jpg.32a3d9c415d6d501f1edeca612589ce6.jpg

Modules: Persian Gulf | Normandy | Channel | Nevada | Supercarrier | WWII Assets | FC3 | Spitfire | P-51D | P-47D | F-86F | L-39 | AV-8B | F-16C | F/A-18C | A-10C | F-14B | A-4E-C | BS2

 

System: X570 AMD-3900X | 32GB DDR4 3000 | 2TB Gen 4x4 5GB/s NVME | Dual 1070 TI | 4k 32" Samsung

Link to comment
Share on other sites

Example of the Exhaust nozzle position indicator on panel A3 (left knee panel) along with two different hydraulic pressure gauges.

 

Modules: Persian Gulf | Normandy | Channel | Nevada | Supercarrier | WWII Assets | FC3 | Spitfire | P-51D | P-47D | F-86F | L-39 | AV-8B | F-16C | F/A-18C | A-10C | F-14B | A-4E-C | BS2

 

System: X570 AMD-3900X | 32GB DDR4 3000 | 2TB Gen 4x4 5GB/s NVME | Dual 1070 TI | 4k 32" Samsung

Link to comment
Share on other sites

Playing with the idea of using the actual gauges from the F-14 on the stream deck... looks like the resolution is too low on the stream deck for this, plus the buttons are a little small even if it was higher res.

 

 

 

Edited this post to show final version of the gauge with cleaner output (will have to include BG images for stream deck in order to make these work like this)


Edited by nosaMtrevoC

Modules: Persian Gulf | Normandy | Channel | Nevada | Supercarrier | WWII Assets | FC3 | Spitfire | P-51D | P-47D | F-86F | L-39 | AV-8B | F-16C | F/A-18C | A-10C | F-14B | A-4E-C | BS2

 

System: X570 AMD-3900X | 32GB DDR4 3000 | 2TB Gen 4x4 5GB/s NVME | Dual 1070 TI | 4k 32" Samsung

Link to comment
Share on other sites

He's a magician :)

 

With █ and ▄ ;)

 

lol, correct.... no pictures were harmed in the making of these gauges.

 

I used the code to build a string of Extended Ascii characters that outputs the tape gauge and then send that as a value to the stream deck.

 

I thought about creating a plugin for the stream deck that will allow me to output nice graphics to the stream deck instead of just values, based on the values from the F-14 for example that would allow you to make gauges that match each aircraft, but that is definitely outside the scope of this project.

 

Might take a look at that after this, but first I think I'm going to look at getting the stream deck plugin and the dcs UFC android app working together.


Edited by nosaMtrevoC

Modules: Persian Gulf | Normandy | Channel | Nevada | Supercarrier | WWII Assets | FC3 | Spitfire | P-51D | P-47D | F-86F | L-39 | AV-8B | F-16C | F/A-18C | A-10C | F-14B | A-4E-C | BS2

 

System: X570 AMD-3900X | 32GB DDR4 3000 | 2TB Gen 4x4 5GB/s NVME | Dual 1070 TI | 4k 32" Samsung

Link to comment
Share on other sites

How do you do as we can use only two pictures ?

 

to duplicate this, download the latest version above which includes a dir with the background image of the rpm gauge (more to come for tit and ff on the EIG)

 

on stream deck create a momentary button/Display

 

then change the picture to the one included in the dir and then under the third option "Title Text Change on DCS" and use ID 51057 in the DCS ID field.

Modules: Persian Gulf | Normandy | Channel | Nevada | Supercarrier | WWII Assets | FC3 | Spitfire | P-51D | P-47D | F-86F | L-39 | AV-8B | F-16C | F/A-18C | A-10C | F-14B | A-4E-C | BS2

 

System: X570 AMD-3900X | 32GB DDR4 3000 | 2TB Gen 4x4 5GB/s NVME | Dual 1070 TI | 4k 32" Samsung

Link to comment
Share on other sites

on another note... make the font size 7 i think for proper scale

Modules: Persian Gulf | Normandy | Channel | Nevada | Supercarrier | WWII Assets | FC3 | Spitfire | P-51D | P-47D | F-86F | L-39 | AV-8B | F-16C | F/A-18C | A-10C | F-14B | A-4E-C | BS2

 

System: X570 AMD-3900X | 32GB DDR4 3000 | 2TB Gen 4x4 5GB/s NVME | Dual 1070 TI | 4k 32" Samsung

Link to comment
Share on other sites

I can't seem to make it work. There isn't a DCS ID 51057 in the ID Lookup. Any idea?


Edited by Chopstix

Modules: Persian Gulf | Nevada | The Channel | Syria | Supercarrier | FC3 | A10-C | A-4E-C | AV-8B | F-14B | F-16C | F-5E | F-86F | Spitfire

 

System: Intel i5-8600K | 32GB DDR4 3200 |RTX 2080Ti | 38" LG Ultrawide G-Sync

Link to comment
Share on other sites

I can't seem to make it work. There isn't a DCS ID 51057 in the ID Lookup. Any idea?

 

There won't be, it's not part of the module. I wrote these as specific stream deck ID's, they are not a part of the I/O of the F-14 module.

 

Just use the id as specified above and it will work. You also have to download the attached exportscripts on the first post of this thread if you haven't

 

Let me know if it turns out for you.


Edited by nosaMtrevoC

Modules: Persian Gulf | Normandy | Channel | Nevada | Supercarrier | WWII Assets | FC3 | Spitfire | P-51D | P-47D | F-86F | L-39 | AV-8B | F-16C | F/A-18C | A-10C | F-14B | A-4E-C | BS2

 

System: X570 AMD-3900X | 32GB DDR4 3000 | 2TB Gen 4x4 5GB/s NVME | Dual 1070 TI | 4k 32" Samsung

Link to comment
Share on other sites

I can't seem to make it work. There isn't a DCS ID 51057 in the ID Lookup. Any idea?

 

if it helps, you don't need a button ID or Device ID, so there is no reason to be using the ID Lookup at all. You have all the relevant information (DCS ID 51057) to make this work.

 

You need to use the third option (arrows) to input this ID.

Modules: Persian Gulf | Normandy | Channel | Nevada | Supercarrier | WWII Assets | FC3 | Spitfire | P-51D | P-47D | F-86F | L-39 | AV-8B | F-16C | F/A-18C | A-10C | F-14B | A-4E-C | BS2

 

System: X570 AMD-3900X | 32GB DDR4 3000 | 2TB Gen 4x4 5GB/s NVME | Dual 1070 TI | 4k 32" Samsung

Link to comment
Share on other sites

RESERVED FOR TESTING POSTS


Edited by nosaMtrevoC

Modules: Persian Gulf | Normandy | Channel | Nevada | Supercarrier | WWII Assets | FC3 | Spitfire | P-51D | P-47D | F-86F | L-39 | AV-8B | F-16C | F/A-18C | A-10C | F-14B | A-4E-C | BS2

 

System: X570 AMD-3900X | 32GB DDR4 3000 | 2TB Gen 4x4 5GB/s NVME | Dual 1070 TI | 4k 32" Samsung

Link to comment
Share on other sites

RESERVED FOR TESTING POSTS


Edited by nosaMtrevoC

Modules: Persian Gulf | Normandy | Channel | Nevada | Supercarrier | WWII Assets | FC3 | Spitfire | P-51D | P-47D | F-86F | L-39 | AV-8B | F-16C | F/A-18C | A-10C | F-14B | A-4E-C | BS2

 

System: X570 AMD-3900X | 32GB DDR4 3000 | 2TB Gen 4x4 5GB/s NVME | Dual 1070 TI | 4k 32" Samsung

Link to comment
Share on other sites

Your F14B.lua should go in?: C:\Users\<USER>\Saved Games\DCS\Scripts\DCS-ExportScript\ExportsModules\

Modules: Persian Gulf | Nevada | The Channel | Syria | Supercarrier | FC3 | A10-C | A-4E-C | AV-8B | F-14B | F-16C | F-5E | F-86F | Spitfire

 

System: Intel i5-8600K | 32GB DDR4 3200 |RTX 2080Ti | 38" LG Ultrawide G-Sync

Link to comment
Share on other sites

Your F14B.lua should go in?: C:\Users\<USER>\Saved Games\DCS\Scripts\DCS-ExportScript\ExportsModules\

 

Correct.

Modules: Persian Gulf | Normandy | Channel | Nevada | Supercarrier | WWII Assets | FC3 | Spitfire | P-51D | P-47D | F-86F | L-39 | AV-8B | F-16C | F/A-18C | A-10C | F-14B | A-4E-C | BS2

 

System: X570 AMD-3900X | 32GB DDR4 3000 | 2TB Gen 4x4 5GB/s NVME | Dual 1070 TI | 4k 32" Samsung

Link to comment
Share on other sites

Great, got it working but the rpm bars are too far to the edge, they cover the L and R, do you know how to bring the bars closer together?

Modules: Persian Gulf | Nevada | The Channel | Syria | Supercarrier | FC3 | A10-C | A-4E-C | AV-8B | F-14B | F-16C | F-5E | F-86F | Spitfire

 

System: Intel i5-8600K | 32GB DDR4 3200 |RTX 2080Ti | 38" LG Ultrawide G-Sync

Link to comment
Share on other sites

Great, got it working but the rpm bars are too far to the edge, they cover the L and R, do you know how to bring the bars closer together?

 

probably change font size to 7 will do it.

Modules: Persian Gulf | Normandy | Channel | Nevada | Supercarrier | WWII Assets | FC3 | Spitfire | P-51D | P-47D | F-86F | L-39 | AV-8B | F-16C | F/A-18C | A-10C | F-14B | A-4E-C | BS2

 

System: X570 AMD-3900X | 32GB DDR4 3000 | 2TB Gen 4x4 5GB/s NVME | Dual 1070 TI | 4k 32" Samsung

Link to comment
Share on other sites

Yes, found it under Title. Great stuff!! Thank you.


Edited by Chopstix

Modules: Persian Gulf | Nevada | The Channel | Syria | Supercarrier | FC3 | A10-C | A-4E-C | AV-8B | F-14B | F-16C | F-5E | F-86F | Spitfire

 

System: Intel i5-8600K | 32GB DDR4 3200 |RTX 2080Ti | 38" LG Ultrawide G-Sync

Link to comment
Share on other sites

  • Recently Browsing   0 members

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