Sharknoir Posted June 3, 2021 Posted June 3, 2021 (edited) 422 / 5000 Hello, I have a cockpit for F-16C from F4 BMS. This uses graphic displays for the instruments. They are graphic screens and not monitors. So I can't do visual exports on these. With the Export lua and the help of the community, I managed to adapt all my screens except the RWR and especially the eHSI (or HSI). Anyone know how to retrieve the infos I am missing for the HSI? - HSI : bearing to beacon? - HSI : CRS deviation? - HSI : Current heading? - HSI : Desired CRS? - HSI : Desired Heading? - HSI : Distance to Beacon? For the RWR these are the threats displayed If anyone can help me that would be wonderful Edited June 3, 2021 by Sharknoir 1
Sharknoir Posted June 4, 2021 Author Posted June 4, 2021 Hello, i found for current heading : local hdgDeg local selfData = LoGetSelfData() if selfData.Heading ~= nil then local hdgDegValue = selfData.Heading / (2 * math.pi) * 360 hdgDeg = math.floor(hdgDegValue) end thanks DCS-BIOS
Sharknoir Posted June 5, 2021 Author Posted June 5, 2021 Hello, someone knows how to find the different instruments in the "parse_indication" for F-16? Mainly for eHSI and RWR? I know : DED = parse_indication(6) CMDS = parse_indication(16) UHF PresetChannel = parse_indication(10) UHF FreqStatus = parse_indication(11)
Sharknoir Posted July 23, 2021 Author Posted July 23, 2021 (edited) Hello, I'm still looking for a heading to the F-16's NAV / TACAN point. the small blue arrow on the HSI. I tried "LoGetControlPanel_HSI ()" but it didn't work. I tried "LoGetControlPanel_eHSI ()" same. Someone would have any idea? Edited July 23, 2021 by Sharknoir
Sharknoir Posted March 9, 2023 Author Posted March 9, 2023 Good morning, I go back to this post, someone would know how to read in the lua export for the HSI (for the F-16 but the data may be common?): - Bearing to Beacon (tacan,nav) - Desired heading i hope someone can help me Thanks
Sharknoir Posted March 9, 2023 Author Posted March 9, 2023 Hello again, If data is not available... A question about the LUA: Is it possible to determine the values by "reading" the position of the blue arrow and the white cursor on the instrument in LUA?
karpiyon Posted May 21, 2023 Posted May 21, 2023 (edited) You could read teh course using: local EHSI_fields = parse_indication(13) local EhsiCourse = EHSI_fields["Course Indicator Value"] This is what I do on my plugin. I do not know how to get Ehsi WP/Tacan arrow direction. Edited May 21, 2023 by karpiyon
Recommended Posts