bones1014 Posted June 25, 2023 Posted June 25, 2023 4 hours ago, Trigati said: Before I start working on this tonight…does anyone have any requests for export fields they would like setup? I’m thinking Fuel readout, but post up some requests here and I’ll see what I can do. Sent from my iPhone using Tapatalk Definitely the UFC for the back seat if possible.
Trigati Posted June 25, 2023 Posted June 25, 2023 Seems to be working well in the Pilot seat. Great work! I've been trying to see how you did it. I found the file that lists the lines you used for the UFC data. I have no idea how to differentiate between the front and back seats. They seem to use the same lines. Something to do with this I assume. getListIndicatorValue(8) Yes, only difference is backseat comes from list 20 rather than 8Will post a version with the backseat ufc done in the morning.
AhSoul Posted June 25, 2023 Posted June 25, 2023 I might set up a section in my Discord to share my various profiles.... 1 [sIGPIC][/sIGPIC] Soul's pit thread
bones1014 Posted June 26, 2023 Posted June 26, 2023 (edited) UFC stuff I tried. It's kind of intermittent in multicrew. -- SETUP DATA FROM THE UFC WSO UFC_Data_WSO = ExportScript.Tools.getListIndicatorValue(20) if UFC_Data_WSO == nil then ExportScript.Tools.SendData(82027,"NO\nDATA") else -- LEFT SIDE DESCENDING FROM THE TOP if UFC_Data_WSO.UFC_SC_01 ~= nil then ExportScript.Tools.SendData(82028,UFC_Data_WSO.UFC_SC_01) else ExportScript.Tools.SendData(82028," ") end if UFC_Data_WSO.UFC_SC_02 ~= nil then ExportScript.Tools.SendData(82029,UFC_Data_WSO.UFC_SC_02) else ExportScript.Tools.SendData(82029," ") end if UFC_Data_WSO.UFC_SC_03 ~= nil then ExportScript.Tools.SendData(82030,UFC_Data_WSO.UFC_SC_03) else ExportScript.Tools.SendData(82030," ") end if UFC_Data_WSO.UFC_SC_04 ~= nil then ExportScript.Tools.SendData(82031,UFC_Data_WSO.UFC_SC_04) else ExportScript.Tools.SendData(82031," ") end if UFC_Data_WSO.UFC_SC_05 ~= nil then ExportScript.Tools.SendData(82032,UFC_Data_WSO.UFC_SC_05) else ExportScript.Tools.SendData(82032," ") end -- THIS IS THE RADIO LINE 1 if UFC_Data_WSO.UFC_SC_06 ~= nil then ExportScript.Tools.SendData(82033,UFC_Data_WSO.UFC_SC_06) else ExportScript.Tools.SendData(82033," ") end --CENTRE DESCENDING FROM THE TOP if UFC_Data_WSO.UFC_CC_01 ~= nil then ExportScript.Tools.SendData(82034,UFC_Data_WSO.UFC_CC_01) else ExportScript.Tools.SendData(82034," ") end if UFC_Data_WSO.UFC_CC_02 ~= nil then ExportScript.Tools.SendData(82035,UFC_Data_WSO.UFC_CC_02) else ExportScript.Tools.SendData(82035," ") end if UFC_Data_WSO.UFC_CC_03 ~= nil then ExportScript.Tools.SendData(82036,UFC_Data_WSO.UFC_CC_03) else ExportScript.Tools.SendData(82036," ") end if UFC_Data_WSO.UFC_CC_04 ~= nil then ExportScript.Tools.SendData(82037,UFC_Data_WSO.UFC_CC_04) else ExportScript.Tools.SendData(82037," ") end -- THIS IS THE SCRATCHPAD -- RIGHT SIDE DESCENDING FROM THE TOP if UFC_Data_WSO.UFC_SC_12 ~= nil then ExportScript.Tools.SendData(82038,UFC_Data_WSO.UFC_SC_12) else ExportScript.Tools.SendData(82038," ") end if UFC_Data_WSO.UFC_SC_11 ~= nil then ExportScript.Tools.SendData(82039,UFC_Data_WSO.UFC_SC_11) else ExportScript.Tools.SendData(82039," ") end if UFC_Data_WSO.UFC_SC_10 ~= nil then ExportScript.Tools.SendData(82040,UFC_Data_WSO.UFC_SC_10) else ExportScript.Tools.SendData(82040," ") end if UFC_Data_WSO.UFC_SC_09 ~= nil then ExportScript.Tools.SendData(82041,UFC_Data_WSO.UFC_SC_09) else ExportScript.Tools.SendData(82041," ") end if UFC_Data_WSO.UFC_SC_08 ~= nil then ExportScript.Tools.SendData(82042,UFC_Data_WSO.UFC_SC_08) else ExportScript.Tools.SendData(82042," ") end -- THIS IS THE RADIO LINE 1 if UFC_Data_WSO.UFC_SC_07 ~= nil then ExportScript.Tools.SendData(82043,UFC_Data_WSO.UFC_SC_07) else ExportScript.Tools.SendData(82043," ") end end ------------------------- Edited June 26, 2023 by bones1014
Wostg Posted June 26, 2023 Posted June 26, 2023 (edited) How do you identify list numbers, I found the HUD, UFC and the MFDs but surely there must be a few more. Edited June 26, 2023 by Wostg I can think of nothing heavier than an airplane I can think of no greater conglomerate of steel and metal I can think of nothing less likely to fly
Norsk-L Posted June 26, 2023 Posted June 26, 2023 Thx to @Trigati, who created the Lua file. I was able to create the stream deck profile for F15E the full cockpit, both Pilot and WSO, link to download: https://www.digitalcombatsimulator.com/en/files/3331670/ the entire plane is there with functional ufc data output No fuel count was added as in F15E, fuel count is straightforward to read. 3
Trigati Posted June 26, 2023 Posted June 26, 2023 2 hours ago, Wostg said: How do you identify list numbers, I found the HUD, UFC and the MFDs but surely there must be a few more. I just do roughly what's in this YT clip.... 2
Wostg Posted June 26, 2023 Posted June 26, 2023 ah thanks, must try and get luaconsole running I can think of nothing heavier than an airplane I can think of no greater conglomerate of steel and metal I can think of nothing less likely to fly
Trigati Posted June 26, 2023 Posted June 26, 2023 (edited) Minor Update for those still wanting WSO UFC and have not already grabbed Norsk-L's excellent profile! I'll be working on Engine and Fuel Data blocks next...please do let me know if I've made any further silly mistakes or if the UFC outputs seems to hang/fail as I've minimal safeguards coded at the moment. F-15ESE.lua Edited June 26, 2023 by Trigati 2 1
Mordants Posted June 26, 2023 Posted June 26, 2023 22 hours ago, Wostg said: That's odd, just launched and working here as pasted here, will say if I can think of anything It is odd, yours is working and mine isn't. Yet all my other profiles work ok I am definately stumped! What software status are you on your streamdeck? SYSTEM SPECS: Hardware Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz, 3792 Mhz, 64Gb RAM, NVIDIA GeForce RTX 4090, CONTROLS: VPC Rotor TCS Base, VPC Hawk-60 Collective Grip, VPC MongoosT-50CM3 Base, VPC Constellation ALPHA Prime [R], Thrustmaster Warthog – Throttle, Thrustmaster TPR - Pendular Rudder Pedals, Honeycomb Alpha Flight Control (For Anubis C-130 Hercules), Meta Quest Pro. SOFTWARE: Microsoft Windows 11,
Wostg Posted June 26, 2023 Posted June 26, 2023 2 hours ago, Mordants said: It is odd, yours is working and mine isn't. Yet all my other profiles work ok I am definately stumped! What software status are you on your streamdeck? 6.2.1.18825 same as yours, latest 5x3 firmware. All the the default files dated around 2020 except for the newly added choppers in the \Scripts\DCS-ExportScript\ExportsModules folder. Did you save yours there? Try mucking about with teh conflg.lua ports but that shouldn't be necessary if your other mods are working? Good luck! I can think of nothing heavier than an airplane I can think of no greater conglomerate of steel and metal I can think of nothing less likely to fly
Lekaa Posted June 26, 2023 Posted June 26, 2023 6 hours ago, Norsk-L said: Thx to @Trigati, who created the Lua file. I was able to create the stream deck profile for F15E the full cockpit, both Pilot and WSO, link to download: https://www.digitalcombatsimulator.com/en/files/3331670/ the entire plane is there with functional ufc data output No fuel count was added as in F15E, fuel count is straightforward to read. great profile! If possible, could you add the fuel anyway? when they fix the export to MFD, i won't even look downward
AhSoul Posted June 26, 2023 Posted June 26, 2023 If anyone wants to give mine a go (even if just to suggest improvements) it's attached. F-15E S4.streamDeckProfile [sIGPIC][/sIGPIC] Soul's pit thread
Norsk-L Posted June 26, 2023 Posted June 26, 2023 43 minutes ago, Lekaa said: great profile! If possible, could you add the fuel anyway? when they fix the export to MFD, i won't even look downward You are one lazy ass, I got no words. Sure will add it to the next version just test this one see if anything is missing or anything needs to be improved. I got fuel count on all my other profiles, if you trying to save your neck from looking down
Lekaa Posted June 26, 2023 Posted June 26, 2023 13 minutes ago, Norsk-L said: You are one lazy ass, I got no words. Sure will add it to the next version just test this one see if anything is missing or anything needs to be improved. I got fuel count on all my other profiles, if you trying to save your neck from looking down I fixed one small thing, in the CMD when the CMD was off, the icon was showing nothing, 0.00=CMD-MODE OFF,0.250=CMD-MODE STBY,0.500=CMD-MODE MAN ONLY,0.750=CMD-MODE SIMULATOR,1.000=CMD-MODE AUTO I changed the CMD-MODE-OFF from 0.00 to 0.000 And that fixed it I also made a start preset but that personal thing i think, like start the jet menu basically null 1
Mordants Posted June 26, 2023 Posted June 26, 2023 10 hours ago, Wostg said: 6.2.1.18825 same as yours, latest 5x3 firmware. All the the default files dated around 2020 except for the newly added choppers in the \Scripts\DCS-ExportScript\ExportsModules folder. Did you save yours there? Try mucking about with teh conflg.lua ports but that shouldn't be necessary if your other mods are working? Good luck! Does your config look like mine? And yes the files are correctly located in \Scripts\DCS-ExportScript\ExportsModules folder. Config.lua SYSTEM SPECS: Hardware Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz, 3792 Mhz, 64Gb RAM, NVIDIA GeForce RTX 4090, CONTROLS: VPC Rotor TCS Base, VPC Hawk-60 Collective Grip, VPC MongoosT-50CM3 Base, VPC Constellation ALPHA Prime [R], Thrustmaster Warthog – Throttle, Thrustmaster TPR - Pendular Rudder Pedals, Honeycomb Alpha Flight Control (For Anubis C-130 Hercules), Meta Quest Pro. SOFTWARE: Microsoft Windows 11,
Wostg Posted June 26, 2023 Posted June 26, 2023 Same ports as me. If others work I can't imagine what's going on... Export.lua has at the top: -- load the DCS ExportScript for DAC and Ikarus dofile(lfs.writedir()..[[Scripts\DCS-ExportScript\ExportScript.lua]]) Folder has all the files... Its going to something really dumb, try re-adding the lot?null I can think of nothing heavier than an airplane I can think of no greater conglomerate of steel and metal I can think of nothing less likely to fly
Mordants Posted June 26, 2023 Posted June 26, 2023 1 minute ago, Wostg said: Same ports as me. If others work I can't imagine what's going on... Export.lua has at the top: -- load the DCS ExportScript for DAC and Ikarus dofile(lfs.writedir()..[[Scripts\DCS-ExportScript\ExportScript.lua]]) Folder has all the files... Its going to something really dumb, try re-adding the lot?null Mine was on the second line but moved it up to the top no difference. The export log for some reason is not showing the module either. Random others loaded ok. could you share your export log showing the Gazelle see if i can spot something? Cheers Export.log SYSTEM SPECS: Hardware Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz, 3792 Mhz, 64Gb RAM, NVIDIA GeForce RTX 4090, CONTROLS: VPC Rotor TCS Base, VPC Hawk-60 Collective Grip, VPC MongoosT-50CM3 Base, VPC Constellation ALPHA Prime [R], Thrustmaster Warthog – Throttle, Thrustmaster TPR - Pendular Rudder Pedals, Honeycomb Alpha Flight Control (For Anubis C-130 Hercules), Meta Quest Pro. SOFTWARE: Microsoft Windows 11,
Bailey Posted June 27, 2023 Author Posted June 27, 2023 Been seeing some good work with the F15E stuff in my absence. Amazing collaboration everyone! This is pretty much exactly how I hoped it would happen as I am away. I have some stuff just to swing by and drop off. I won't have the time to explain much. The intent is for someone (@Trigati?) to take a look, compare the two, and make the best version for the community to come together and move forward on. Within the next few weeks(?) I make another stop by and upload the newest version I see in this thread to the Library. The file is in a spoiler so people don't think it is an update of a main version. Spoiler F-15ESE.lua Some features include: UFC exporter (5000-5012) - You can use it like the JF 17 Demo where the readout is the button! Gear Tile (5022) Flap Tile (5023) *The file above may or may not work. I do not have the ability to check.* Remember, please combine the best of both luas. I wouldn't want two branches of things that are not compatible with each other. 4 1 DCS VoiceAttack Profiles | My Mods and Utilities on ED User Files | DiCE: DCS Integrated Countermeasure Editor DCS Update Witching Utility | DCS-ExportScripts for Stream Deck Community Github Library | Kiowa Integrated Overlays
Wostg Posted June 27, 2023 Posted June 27, 2023 (edited) 8 hours ago, Mordants said: Mine was on the second line but moved it up to the top no difference. The export log for some reason is not showing the module either. Random others loaded ok. could you share your export log showing the Gazelle see if i can spot something? Cheers Here's mine, the only thing I can see is that the gazelle file shows 2.1 whereas everything else is 1.2.1. Try going into line 4 of the 3 lua files and changing them to e.g: ExportScript.Version.SA342Minigun = "1.2.1" Export-gazelle.txt Edited June 27, 2023 by Wostg I can think of nothing heavier than an airplane I can think of no greater conglomerate of steel and metal I can think of nothing less likely to fly
Trigati Posted June 27, 2023 Posted June 27, 2023 (edited) 10 hours ago, Trigati said: OK, no idea why everything else I wrote didn't appear on this post...but to re-cap...version 0.5 is out and attached. It includes functions for EDM and fuel displays that can either publish data into a single tile (see pics) or just extract a single element of data (also see pic for simple fuel example). Simple Fuel = 8368 EDM = 81100 Full Full = 8383 My typos on the first round of UFC were fixed and the WSO UFC is in place also. This has created a numbering discrepancy between what I was doing and what Norsk-L used for his StreamDeck Profile (F-15E Stream Deck XL Pilot & WSO Full Cockpit (digitalcombatsimulator.com) so for now I've included both and at the top of the file there is a field you can edit called Norsk_UFC to tell the script you want to use the numbering convention that works for Norsk-L. Just change it from "FALSE" to "TRUE". I won't produce any further updates until I have a draft of the combination of Bailey's script and mine - at that point I'm happy to list out any conflicts/choices that need to be made so the community can decide which way to go for a final draft then release version. Things I still need from you: 1. Are the UFC outputs crashing the interface? If so any idea what is it trying to show when it happens? 2. Apart from a repeat of HUD data (already requested) are there any functions/feature to go into my backlog? 3. Any missing fields or indicators/switches that should have their output format changed? Most are just 1 decimal place numbers at the moment, a few needed to be changed already. F-15ESE.lua Edited June 27, 2023 by Trigati File had a typo....again... 2 2
AhSoul Posted June 27, 2023 Posted June 27, 2023 @Trigati and @Bailey thanks so much again for getting this up and running! FWIW I've not seen any crashes of the interface from the UFC outputs - it's been solid so far. Will do some more testing later with 0.5. Did you have a look at splitting some of the longer UFC elements - either into 2 outputs, or perhaps what might work better would be a newline, so it appears on the same SD button? e.g the long 'wind qwerty123' one might be better as wind qwerty123 I have to use a small font to display these anyway, so there's loads of empty vertical space. [sIGPIC][/sIGPIC] Soul's pit thread
Mordants Posted June 27, 2023 Posted June 27, 2023 3 hours ago, Wostg said: Here's mine, the only thing I can see is that the gazelle file shows 2.1 whereas everything else is 1.2.1. Try going into line 4 of the 3 lua files and changing them to e.g: ExportScript.Version.SA342Minigun = "1.2.1" Export-gazelle.txt 908 B · 2 downloads Wostg, Thanks for your help so far. Changing 2.1 to 1.2.1 made no difference. I think I will create a new subject on this and hope someone out there can help with this very bizzare snag. It seems that it may only be me with this specific problem and weird since all other modules work fine. Cheers. 1 SYSTEM SPECS: Hardware Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz, 3792 Mhz, 64Gb RAM, NVIDIA GeForce RTX 4090, CONTROLS: VPC Rotor TCS Base, VPC Hawk-60 Collective Grip, VPC MongoosT-50CM3 Base, VPC Constellation ALPHA Prime [R], Thrustmaster Warthog – Throttle, Thrustmaster TPR - Pendular Rudder Pedals, Honeycomb Alpha Flight Control (For Anubis C-130 Hercules), Meta Quest Pro. SOFTWARE: Microsoft Windows 11,
Recommended Posts