Jump to content

Grev

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by Grev

  1. I like the thought and effort that has been put into the update. Here's some info I found with the updated UH-1H.lua. local crewStatusInfo = parse_indication(6) -- contains table of the status of the crew parse_indication is from DCS-BIOS, so that and everything after that's called in the UH-1H ProcessIkarusDCSConfigLowImportance does not run. e.g. these ExportScript.CrewStatusRepeater(mainPanelDevice) -- Crew Status Window ExportScript.RadioFreqs(mainPanelDevice) if LoIsObjectExportAllowed() then -- returns true if world objects data is available if LoIsOwnshipExportAllowed() then -- returns true if ownship data is available ExportScript.LoAircraftInfo(mainPanelDevice) -- Provides a lot of aircraft properties ExportScript.AirportInfo(mainPanelDevice) -- Provides info on the two closest airports ExportScript.WindsAloft(mainPanelDevice) -- Gets winds at the aircraft ExportScript.GroundRadar(mainPanelDevice) -- Reports 2 closest friendlies and 2 enemies (Use in Single Player) ExportScript.AirRadar(mainPanelDevice) -- Reports 2 closest friendlies and 2 enemies (Use in Single Player) ExportScript.IglaHunter(mainPanelDevice) -- Locates closest Igla (Use in Single Player) end end I dumped the function from DCS-Bios into my copy of UH-1H.lua to work around it. function ExportScript.parse_indication(indicator_id) local ret = {} local li = list_indication(indicator_id) if li == "" then return nil end local m = li:gmatch("-----------------------------------------\n([^\n]+)\n([^\n]*)\n") while true do local name, value = m() if not name then break end ret[name] = value end return ret end I don't know if you can go about doing the same, something something licensing Simple Public License 2.0 vs LGPL-3.0 license. I just got the XL as a gift so I was checking what it can do and so showing some ready made text is very useful. At some point I'll see if I can do something to highlight the EGT and potentially measure/countdown duration in yellow/red zone, I tend to run a bit close to the limit and find myself falling out of the sky when I get distracted.
×
×
  • Create New...