Jump to content

Tess

Members
  • Posts

    34
  • Joined

  • Last visited

Everything posted by Tess

  1. Just flown Mission 15 and noticed that the TOT is shown as XXXX in the briefing PDF - or am I missing something? Only managed a 'draw' as the AI Sledge formation was stuck in the hold with the tanker and failed to push on time. Pressed to the target late and alone but none of the triggers worked. Despite these problems it was a very enjoyable 2+ hours of my life! I cannot praise Baltic Dragon highly enough for the experience he has created. As a former GR4 pilot it was nice to see my former mount in the thick of the action. Hopefully next time I fly the mission I'll be in the correct bit of airspace at the correct time, instead of floating around with the KC135 over 100nms away from the action!!!
  2. I had the same problem and you are quite correct to state that it is because there is no elevation against the waypoint. I might be wrong but I thought the elevation was supposed to be provided by the terrain elevation database in the jet, but this does not seem to be happening.
  3. Thanks for the quick response. Just a thought but rather than modifying all the individual briefings perhaps you could provide a single pdf sheet with mission standard items? AATAC is desirable during the day, but essential for night tactical formation.
  4. Hi, Really enjoying another of your excellent campaigns. Just finished mission 3 and you have once again nailed the feel of Fast Jet operations. Looking forward to see how the story and CAS elements develop. Quick question: is it possible to get the AATAC working in the Harrier between leader and wingman? In the absence of an A2A radar this would greatly help SA. Anyway, thanks once again for an excellent campaign.
  5. Just flown mission 6 and I can confirm that the AI route following is initially erratic. After I arrived at waypoint 1 the AI formation flew back towards Incirlik before eventually setting course for the Gold corridor. After that the big picture routing seemed fine, although the AI still seemed to have frequent 'wobbles' when it came to flying a heading and a height. Still a great mission though!
  6. Same happened to me during mission 9. Answered "Fine" via F10 then mission failed to progress, i.e. no more dialogue from Lotus.
  7. Difference between . and : in Lua programming (tutorialspoint.com)
  8. Thanks, I’ll give it a go. I also think {u3a} may work (UTF-8 code for colon).
  9. The :(colon) operator in Lua is used when you want to pass an invisible parameter to the method of an object that you are calling.
  10. Thanks for the replies. Tried the first 2 methods with no luck so it looks like Bailey is right about it being a limitation of Lua. Looking on the bright side "LShift + R" is going to save me a load of time!
  11. A10 Digital Clock I've managed to 'stack' the A10 digital clock on a Streamdeck tile (i.e. hours and minutes above seconds), but I'm struggling to add the colon between the hours and minutes. It's probably an easy fix but so far it has eluded me. Line of code is below, any advice would be welcome. ExportScript.Tools.SendData(2010, string.format("%s%s%s%s", lDigitalClock.txtHours, lDigitalClock.txtMinutes, "\n" .. lDigitalClock.txtSeconds, "\n" .. lCET))
  12. Thanks for the steer. I’ll give it a try.
  13. Plea for help again! Trying to create an "All Radios" tile for the A10. I've tried using code from the SA342M (shown below) but no joy. Any ideas? -- AN/ARC-164 UHF and UHF Preset Channel --------------------------------------------------- local lUHF_RADIO = GetDevice(54) if lUHF_RADIO:is_on() then ExportScript.Tools.SendData(2000, ExportScript.Tools.RoundFreqeuncy((lUHF_RADIO:get_frequency()/1000000))) UHF_readout = ExportScript.Tools.RoundFreqeuncy((lUHF_RADIO:get_frequency()/1000000))) local lPresetChannel = ExportScript.Tools.getListIndicatorValue(10) ExportScript.Tools.SendData(2001, string.format("%s", lPresetChannel.txtPresetChannel)) else ExportScript.Tools.SendData(2000, " ") ExportScript.Tools.SendData(2001, " ") end -- AN/ARC-186(V) VHF AM and Preset Channel --------------------------------------------------- local lVHF_AM_RADIO = GetDevice(55) ExportScript.Tools.SendData(2002, ExportScript.Tools.RoundFreqeuncy((lVHF_AM_RADIO:get_frequency()/1000000))) VHFAM_readout = ExportScript.Tools.RoundFreqeuncy((lVHF_AM_RADIO:get_frequency()/1000000))) local lVHF_AM_RADIO_PRESET = {[0.0]="1",[0.01]="2",[0.02]="3",[0.03]="4",[0.04]="5",[0.05]="6",[0.06]="7",[0.07]="8",[0.08]="9",[0.09]="10",[0.10]="11",[0.11]="12",[0.12]="13",[0.13]="14",[0.14]="15",[0.15]="16",[0.16]="17",[0.17]="18",[0.18]="19",[0.19]="20",[0.20]="1"} ExportScript.Tools.SendData(2003, lVHF_AM_RADIO_PRESET[ExportScript.Tools.round(mainPanelDevice:get_argument_value(137), 2)]) -- AN/ARC-186(V) VHF FM and Preset Channel ------------------------------------------------- local lVHF_FM_RADIO = GetDevice(56) ExportScript.Tools.SendData(2004, ExportScript.Tools.RoundFreqeuncy((lVHF_FM_RADIO:get_frequency()/1000000))) VHFFM_readout = ExportScript.Tools.RoundFreqeuncy((lVHF_FM_RADIO:get_frequency()/1000000))) -- Preset is buggy local lVHF_FM_RADIO_PRESET = {[0.0]="1",[0.01]="2",[0.02]="3",[0.03]="4",[0.04]="5",[0.05]="6",[0.06]="7",[0.07]="8",[0.08]="9",[0.09]="10",[0.10]="11",[0.11]="12",[0.12]="13",[0.13]="14",[0.14]="15",[0.15]="16",[0.16]="17",[0.17]="18",[0.18]="19",[0.19]="20",[0.20]="1"} ExportScript.Tools.SendData(2005, lVHF_FM_RADIO_PRESET[ExportScript.Tools.round(mainPanelDevice:get_argument_value(151), 2, "ceil")]) --------------------- -- All Radios Tile -- --------------------- ExportScript.Tools.SendData(2030, "U " .. UHF_readout .. "\n" .. "VA " .. VHFAM_readout .. "\n" .. "VF " .. VHFFM_readout)
  14. @BaileyMany thanks from me too! I'll recheck the export script I'm using for the A10C-II - looking forward to getting it working.
  15. Looking for some help with creating a function to display the A10 fuel totalizer. I've tried adapting Bailey's F16 lines of code, but no luck. Here's what I've got so far. Any help greatly appreciated. function ExportScript.FuelInfo(mainPanelDevice) local FuelTotalizer_10k = mainPanelDevice:get_argument_value(90) * 100000 local FuelTotalizer_1k = math.floor(mainPanelDevice:get_argument_value(91) * 10) * 1000 -- this method counters the odd rounding seen with roller counters local FuelTotalizer_100 = mainPanelDevice:get_argument_value(92) * 1000 local totalFuel = FuelTotalizer_10k + FuelTotalizer_1k + FuelTotalizer_100 totalFuel = round(totalFuel, 0) totalFuel = format_int(totalFuel) ExportScript.Tools.SendData(2007, "Fuel LBS\n" .. totalFuel) end
  16. I do have some sympathy for Major_Mayhem as it does seem at times that the Open Beta is “2 steps forward, 1 step back” - frustrating given the time we all invest in configuring controllers before we get to fly the sim. Anyway, my particular problem is that since the previous Open Beta update I have been unable to load a modified default joystick Lua file - actually I can load it but none of the custom key commands are visible. Just wondering if anyone has any idea how to fix it?
  17. Just finished this mission - absolutely fantastic! Thought the ATC system was great and loved the attention to detail which gives a great sense of immersion. Takes me back to flying out of Incirlik in the 90s on Provide Comfort and ONW! Can't wait for the whole campaign. Many thanks.
  18. Hi, Just got round to trying this out and it works a treat. Thank you so much!
  19. Thanks for the info! I’ll get digging....
  20. Hello All, I'm trying to modify the F16 Export Script to allow the export of the chaff & flare amounts to a Streamdeck profile. So far I have looked at how it is achieved on the A10 (extract below) - seems to involve the creation of a table to display CMSP values, 2014 = Chaff and 2015 = Flare - but I'm not sure how to proceed for the F16. What is the significance of "if mainPanelDevice:get_argument_value(364) > 0" and are there any other lua files I need to be exploring? I would be very grateful for any advice. Thanks. -- A-10C CMSP ------------------------------------------------- if mainPanelDevice:get_argument_value(364) > 0 then local lCMSP = ExportScript.Tools.getListIndicatorValue(7) local lCMSPTable = {"","","",""} if lCMSP ~= nil and lCMSP.txt_UP ~= nil then lCMSP.txt_UP = lCMSP.txt_UP:gsub(" ", " ") lCMSP.txt_UP = lCMSP.txt_UP.." " lCMSPTable = ExportScript.Tools.split(lCMSP.txt_UP, "%s") end --ExportScript.Tools.WriteToLog('lCMSP: '..ExportScript.Tools.dump(lCMSP)) --ExportScript.Tools.WriteToLog('lCMSPTable: '..ExportScript.Tools.dump(lCMSPTable)) ExportScript.Tools.SendData(2014, string.format("%s", lCMSPTable[1])) ExportScript.Tools.SendData(2015, string.format("%s", lCMSPTable[2])) ExportScript.Tools.SendData(2016, string.format("%s", lCMSPTable[3])) ExportScript.Tools.SendData(2017, string.format("%s", lCMSPTable[4])) ExportScript.Tools.SendData(2018, string.format("%s", lCMSP.txt_DOWN1)) ExportScript.Tools.SendData(2019, string.format("%s", lCMSP.txt_DOWN2)) ExportScript.Tools.SendData(2020, string.format("%s", lCMSP.txt_DOWN3)) ExportScript.Tools.SendData(2021, string.format("%s", lCMSP.txt_DOWN4)) else ExportScript.Tools.SendData(2014, " ") ExportScript.Tools.SendData(2015, " ") ExportScript.Tools.SendData(2016, " ") ExportScript.Tools.SendData(2017, " ") ExportScript.Tools.SendData(2018, " ") ExportScript.Tools.SendData(2019, " ") ExportScript.Tools.SendData(2020, " ") ExportScript.Tools.SendData(2021, " ") end
  21. Took a while to figure out which code to exclude but finally got there. The attached ExportScript lua file allows use of the Streamdeck without crashing the TGP. F-16C_50.lua
  22. Hi, The F16 Export Script needed a little tidying up as it still had a load of code relating to the F18. If you replace the current F16C_50.lua file in your Saved Games folder (file path something like this.... C:\Users\Admin\Saved Games\DCS.openbeta\Scripts\DCS-ExportScript\ExportsModules\F-16C_50.lua) with the attached file, you should find that using the TGP no longer causes the game to freeze. Edit: Not as simple as I thought! Yes, TGP works but at the expense of the export-script, so Streamdeck rendered inop
  23. Millennial???!!!!! I can assure you I am no millennial! If you want to talk about the old days, how about an early issue of MS Flight Sim - ZX Spectrum I seem to remember! Some of us have been flying (sim & real-life) for our whole lives!!
×
×
  • Create New...