Jump to content

Recommended Posts

Posted (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

IMG_5103.jpg

IMG_4633.jpg

IMG_5122.jpg

Edited by Sharknoir
  • Like 1
Posted

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

Posted

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)

  • 1 month later...
Posted (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 by Sharknoir
  • 1 year later...
Posted

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

Posted

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?

  • 2 months later...
Posted (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 by karpiyon
  • Recently Browsing   0 members

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