Jump to content

Recommended Posts

Posted
On 7/25/2023 at 2:15 PM, Trigati said:

New Release - mostly to cope wit the UFC changes in the patch but a couple of user requests are also included....

-- version 0.8

Hi, thanks for your work on this script!

Just a quick note, VS Code raised a warning on a duplicated table index (see attached image) for ExportScript.ConfigEveryFrameArguments[383]
null

Also, I've updated my F15 to the latest patch and I lost all my UFC exports.

Am I the only one?

image.png

Zip - VEAF :pilotfly:

 

If you want to learn, talk and fly with french-speaking friends, the Virtual European Air Force is here for you ! Meet us on our Discord and our forum

If you're a mission creator, you may want to check the VEAF Mission Creation Tools (and its GitHub repository) a set of open-source scripts and tools that make creating a dynamic mission a breeze !

Posted
54 minutes ago, davidp57 said:

Hi, thanks for your work on this script!

Just a quick note, VS Code raised a warning on a duplicated table index (see attached image) for ExportScript.ConfigEveryFrameArguments[383]
null

Also, I've updated my F15 to the latest patch and I lost all my UFC exports.

Am I the only one?

image.png

Good spot on the duplicate export, thanks. It should not cause any issues for now though.

So I'm not sure why you exports have stopped working if you've updated to Open Beta 2.8.7.42583 which broke the UFC Exports and then the Export LUA 0.8 which was my fix it should be all good. By any chance have you updated one and not the other?

Posted
6 hours ago, Trigati said:

Good spot on the duplicate export, thanks. It should not cause any issues for now though.

So I'm not sure why you exports have stopped working if you've updated to Open Beta 2.8.7.42583 which broke the UFC Exports and then the Export LUA 0.8 which was my fix it should be all good. By any chance have you updated one and not the other?

Well, I found out the reason why it did not work; it's because I'm dumb ^^

I forgot to redo the symbolic link for the new script version (I'm using scripts from my GIT repo to the DCS scripts folder) and it was using the old branch...

Sorry for the false alarm and thanks for the correction!

  • Like 1

Zip - VEAF :pilotfly:

 

If you want to learn, talk and fly with french-speaking friends, the Virtual European Air Force is here for you ! Meet us on our Discord and our forum

If you're a mission creator, you may want to check the VEAF Mission Creation Tools (and its GitHub repository) a set of open-source scripts and tools that make creating a dynamic mission a breeze !

Posted
3 hours ago, davidp57 said:

symbolic link

What is the symbolic link please?

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,

Posted (edited)
14 hours ago, Mordants said:

What is the symbolic link please?

https://learn.microsoft.com/en-us/windows/win32/fileio/symbolic-links

It's a way to make 'shortcuts' for your folders/files. 

Say your C drive is getting full you can make a symbolic link to another drive and move the files there physically. Now windows will not know the difference when accessing the files on the C drive that they are actually on a different drive.

Edited by inexus
  • Thanks 1

13900@5.8Ghz, Asus TUF 4090 OC, 64GB@6400mhz DDR5, 4K, TrackIR 5, Tobii, Virpil CM2, CM3
CH-47F | OH-58D | F-15E | F-16C | F/A-18C | A-10C | A-10C II | AV-8B | AH-64D |  MI-24P | MI-8 | BS 2 | UH-1H | Mosquito | BF 109 | Spitfire | P-47D | CA | SC | WWII AP

 

Posted
18 hours ago, Mordants said:

What is the symbolic link please?

As Inexus explained!

I've got a folder where I store all the export scripts I use, this folder being a GIT repository, and I link this folder in my Saved Games\DCS\Scripts to make DCS use the scripts without having to duplicate them.

Zip - VEAF :pilotfly:

 

If you want to learn, talk and fly with french-speaking friends, the Virtual European Air Force is here for you ! Meet us on our Discord and our forum

If you're a mission creator, you may want to check the VEAF Mission Creation Tools (and its GitHub repository) a set of open-source scripts and tools that make creating a dynamic mission a breeze !

Posted

Could I please get some advice / a link to something I can modify for showing a rounded value for the Harrier Nozzles. The existing value in the script (487) reflects 0.0000-0.9999 so I gather I need to add a new formula into the export script that rounds 487 into e.g. 0.9700 = 97 nozzle degrees, and provides a new id number for the streamdeck plugin. I can then either display that value raw or further tidy it in the display text box.

Its that or add 9999 labels into the plugin. Any tips appreciated!  

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

Posted
58 minutes ago, Wostg said:

Could I please get some advice / a link to something I can modify for showing a rounded value for the Harrier Nozzles. The existing value in the script (487) reflects 0.0000-0.9999 so I gather I need to add a new formula into the export script that rounds 487 into e.g. 0.9700 = 97 nozzle degrees, and provides a new id number for the streamdeck plugin. I can then either display that value raw or further tidy it in the display text box.

Its that or add 9999 labels into the plugin. Any tips appreciated!  

This would go in the Low Importance section of the LUA and send a rounded 'whole number' of the first two decimal places on code 6487 (but I've done this from memory as away from my DCS system right now):

ExportScript.Tools.SendData(6487,string.format("%1d",mainPanelDevice:get_argument_value(487)*100))

But are you sure it's a straight conversaion like that?

  • Thanks 1
Posted (edited)

Yeah - if you set the stopper at 75 the nozzle will hold at 0.7500 etc.

e: That did the job, thank you!

Edited 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

Posted

I think I'm doing something wrong with this.  I've installed the lua, and dcs bios, but most of the functions dont work and theres no readouts.

i7 - 9700k | EVGA 1080Ti | 32 DDR4 RAM | 750w PS | TM Warthog HOTAS/X-55 | Track IR 5 |

  • 2 weeks later...
Posted
The hornet streamdeck have changed since the last update, Fuel and engine RPM and fuel flow is not working anymore
null
image.png.83f731145a10acb6b43bfa9db2d6c2d8.png

If nobody else helps before I get to my PC tonight I’ll take a look for you.


Sent from my iPhone using Tapatalk
Posted
21 minutes ago, Trigati said:


If nobody else helps before I get to my PC tonight I’ll take a look for you.


Sent from my iPhone using Tapatalk

I deleted the post because it was bad on my end, sorry for the hassle 🙂

 

  • Like 1
Posted

Is there an update to the F15SE export script since July? I noticed the WSO mic switch in my Streamdeck profile isn't working

 

Posted

I’ve only had issue reported, which wasn’t really in need of an immediate fix and one additional feature request so have not looked to update and release a new version.

I’m not flying the 15 till I learn to fuel in the 18 or 14….promised myself I’d earn the right to play….so not found any issues myself.

I’ll take a look at what you report in the next couple of days then issue an update if needed….so this is also an open shout out for any other requests?


Sent from my iPhone using Tapatalk

  • 2 weeks later...
Posted

Anyone using the SD with the F-16 and having issues getting the Autopilot Pitch switch to behave? I can set the Roll switch to either of the 3 values (-1,0,1) fine but the Pitch one just doesn't seem to work. If I try and set it to 1, it moves. If I try and set it to 0 it doesn't, and sending -1 sets it to 0 😞

[sIGPIC][/sIGPIC]

Soul's pit thread

Posted (edited)

I can duplicate your problem. I can get the switch to go to Alt hold but not ATT hold. It'll read a -1 command when you place the switch in ATT hold with the mouse. Also there are two options that you can use. One that makes the switch move up (3013) and the other down(3012). I can't find the file that defines the possible inputs. I'll keep looking. Looks like it could be an error in a lua somewhere.

null

image.png

Edited by bones1014
  • 1 month later...
Posted

Hello all. I need some help.

I fly the a10c_2 in game and I recently came back to DCS after a long time away and was pleasantly surprised to see they added the arc210 to the aircraft. 

It seems like with the new a10 radio setup I will need a new module to get the the thing working with the stream deck and I honestly don't even know where to start.  I am not really coding literate so figuring that side out is a challenge for me ...I barely knew enough to get the stream deck plug in working and programed the first time around. 

is there any change that any of you have a new working a10c_2 module which includes the new radio? or know what I can do to make it work?

I am really excited to start flying again so I would really love to get this thing up and running. 

any help would be greatly appreciated

 

Posted (edited)

Hello,

I am looking for help. I reinstalled windows on my Computer and reinstaller the save game with all his containt (including the stream deck scripts).

Everything is working fine concerning the official modules. But I have some issues with the non official modules (like the MH-60R).

I indicate the correct destination of the my save game, it identify the modules included in my aircraft file and when playing it can read the value of the different argument. But when i want to affect an argument to a button it doesn't propose me any list as it was doing before my reinstallation.

Does any body have an explanation and or a solution ? 

By advance thank you for your support

Regards

 

Edited by FST_Bearcat
  • 4 weeks later...
Posted

I've recently encountered an issue where the button lists for certain modules won't populate when doing the ID lookup. My stream deck still works for these modules in game but currently can't edit anything. Install path is correct and all other modules work fine.

Screenshot 2023-11-24 231953.png

Screenshot 2023-11-24 232037.png

Posted

@Bailey, First I love this app. I am trying to figure out how to add the ARC 201 FM frequency display on the UH-60 to a streamdeck tile. I have found this in DCS-bios but when I try to implement it into the exsisting export module lua I get no return.

local ARC201FM_1 = ExportScript.Tools.split(list_indication(9), "%c")[7]:sub(1,5) --(added ARC201FM_1 as a label)

It returned 30000. (in DCS Bios lua enviroment.

I commented out the original FM1 frequencies as they show incorrect frequencies anyways.

Here is the code I have tried.

function ExportScript.ProcessIkarusDCSConfigLowImportance(mainPanelDevice)

 

    ExportScript.Radios(mainPanelDevice)

    ExportScript.FlightInstruments(mainPanelDevice)

    ExportScript.NavInstruments(mainPanelDevice)

    ExportScript.NavModes(mainPanelDevice)

    ExportScript.VrsCalculator(mainPanelDevice)

    ExportScript.PlayWithFire2(mainPanelDevice)

    ExportScript.UhfSuperFromListIndication(mainPanelDevice)

    --ExportScript.HiLowCalculator(mainPanelDevice)--Not implemented

 

    --ARC 201 FM freq display

    local ARC201FM_1 = ExportScript.Tools.split(list_indication(9), "%c")[7]:sub(1,5)

    ExportScript.Tools.SendData(6000, string.format("%-5s", ARC201FM_1))

 

end


 

function ExportScript.ProcessDACConfigLowImportance(mainPanelDevice)

end

 

-- -- -- -- -- -- -- -- -- -- --

--  Custom Functions --

-- -- -- -- -- -- -- -- -- -- --


 

function ExportScript.Radios(mainPanelDevice)

 

    -- ADF Radio

    local ADF_digit1 = round(mainPanelDevice:get_argument_value(625)*2,0)

    local ADF_digit2 = round(mainPanelDevice:get_argument_value(626)*10,0)

    local ADF_digit3 = round(mainPanelDevice:get_argument_value(627)*10,0)

    local ADF_digit4 = round(mainPanelDevice:get_argument_value(628)*10,0)

    local ADF_digit5 = round(mainPanelDevice:get_argument_value(629)*10,0)

   

    local ADF_freq = string.format("%4.1f", ADF_digit1 .. ADF_digit2 .. ADF_digit3

                                .. ADF_digit4 .. "." .. ADF_digit5)

                           

    ADF_freq = trim(ADF_freq)  

   

    if #ADF_freq == 3 then --1.0 to 0001.0

        ADF_freq = "000" .. ADF_freq

    elseif #ADF_freq == 4 then --10.0 to 0010.0

        ADF_freq = "00" .. ADF_freq

    elseif #ADF_freq == 5 then --100.0 to 0100.0

        ADF_freq = "0" .. ADF_freq

    end                        

   

    ExportScript.Tools.SendData(4000, "ADF KHz\n" .. ADF_freq)

   

    -- Uhf new method

    local UHF_freq = string.format("%3.3f", GetDevice(5):get_frequency()/1000000)

    ExportScript.Tools.SendData(4001,"UHF MHz\n" ..  UHF_freq)  

   

    -- FM1

    --local FM1_freq = string.format("%3.2f", GetDevice(6):get_frequency()/100000)

    --ExportScript.Tools.SendData(4002, "FM1 MHz\n" ..  FM1_freq)  




 

    -- FM2

    local FM2_freq = string.format("%3.2f", GetDevice(10):get_frequency()/100000)

    ExportScript.Tools.SendData(4003, "FM2 MHz\n" ..  FM2_freq)

Any Ideas?

  • Recently Browsing   0 members

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