Jump to content

Lekaa

Members
  • Posts

    224
  • Joined

  • Last visited

Everything posted by Lekaa

  1. I also tried this : local FuelTotalizer_10k = MainPanel:get_argument_value(368) local FuelTotalizer_1k = MainPanel:get_argument_value(369) local FuelTotalizer_100 = MainPanel:get_argument_value(370) local FuelTotalizer_left_100 = MainPanel:get_argument_value(374) local FuelTotalizer_left_1k = MainPanel:get_argument_value(373) local FuelTotalizer_right_100 = MainPanel:get_argument_value(378) local FuelTotalizer_right_1k = MainPanel:get_argument_value(377) -- Calculate total fuel in pounds local totalFuel = FuelTotalizer_10k * 10000 + FuelTotalizer_1k * 1000 + FuelTotalizer_100 * 100 + FuelTotalizer_left_100 * 100 + FuelTotalizer_right_100 * 100 + FuelTotalizer_left_1k * 1000 + FuelTotalizer_right_1k * 1000 -- Convert total fuel to a string and extract the first four characters local totalFuelString = tostring(totalFuel) -- Determine the number of digits in the total fuel local numDigits = totalFuelString:len() -- Extract the first four characters if the total fuel has more than four digits local firstFourDigits = totalFuelString:sub(1, math.min(numDigits, 4)) -- Include first four digits of total fuel in payload local fuelPercentage = firstFourDigits It worked but i didn't see the the same fuel count that was in the jet, tried for hours but no avail.
  2. By the way, i tried local totalFuel = LoGetEngineInfo().fuel_internal * 35550 local fueltotal = string.format("%2dK%1d", math.floor(totalFuel / 1000), (totalFuel % 1000) // 100) With the option5 corrected, it didn't work. Didn't display anything on the whole thing.
  3. I've been working on the F15E the whole day and been fighting with ChatGPT a lot. I also learned a lot. I have made few improvements, it's already midnight, feel free to add the fuel if you have time. My idea was like yours, looking down and see 35.2 or something. or X9.2. I have made so the radio channels in the correct place like the hornet and much more. ufcPatchF15e.lua
  4. Thanks! Another question, this is related to the F15E, I'm trying to put the total fuel instead %. This is the actual line for the %. local Fuelpercentage = "F" .. string.format("%03d", math.floor(LoGetEngineInfo().fuel_internal * 100)) can I just change this line or do I need to add another ufcUtils.getDCSListIndication ?
  5. Thanks man! I have put the radio channels on the Com1 and Com2, took only the hole night .. haha Feels amazing I do have a question though, Where do I find those numbers? Like in this example. getDCSListIndication(12) Here is the my modified version with the radio channels working when selected "Preset" on both radios . Thank you! ufcPatchA10C2.lua
  6. You did a wonderful job, I'm verry happy that someone is doing the A10! Now it'll be more enjoyable thanks to you a little feedback, If able, Let the current mode be there all the time, ie, not "mode" on the option but the current selected mode, ie CCIP , CCRIP, GUNS or NAV. Just like you have it now, it will show you the modes that you are currently selecting while toggling but let it stay with the current selected mode. Bad explanation but I hope you understand it. Secondly Let the Mode be on the TOP UFC option 1. Third, when you can, The Scratchpad is just like the Apache, I think. It can take letters and numbers. shown in the HUD usually and on the CDU, computer to the right knee. and the radios, You have to select the "Preset" to have the preset shown as the picture. Main radio is in the HUD, Second radio on the orange box Also, The Gun count is perfect, if you run out of places where you can place the gun count, you could skip the altitude. Again, Thank you!!
  7. Oh I see. It's shown on the middle of the left mfd om the weapons page, it will also be shown on the hud when toggling between them. Do what you see fit in that case
  8. Appreciate it, ithe preset channels on com1 and com2 for the 2 radios, not the FM one. Scratchpad, and on the options maybe current selected mode. Nav, ccip,,ccrp, gun. Steerpoint. Gun count(bullets) Total fuel Chaf/flare count
  9. I really wish that someone could do the A10IIC here, i tried but it's Chinese for me =(
  10. @NineLine i wish when you make a report for this if it will be reported that you tell the team to have a failsafe that hinders this from happening. Also say to the team that this issue is only on the dedicated server platform. I have reported earlier that when spawning AI units also in the dedicated server using moose, they will also be doubled in the LINK system both on the SA page and on the radar page. Even though you have trackfile, then you will have 1 trackfile and 1 doner and its still the same contact. All this began when the new Link16 system.
  11. Set the STN to something like 00400 but if it still works correct, then it's something else. Might be old miz.
  12. It would make more sense if ED put a stop for such a thing from their end that this can not ever happen. there is also issues with spawning in f18/f16/f15c using moose. They will be double in the link network.
  13. That is not the Link16. push the D/L twice, and then "ON" it should say "127 ON" Never the less it's ON according to the MFD.
  14. Hello. Since the last update i've noticed some new changes to the radar with the letter M on a new contact on the radar scope. It also introduced some new bugs. When having Datalink contacts on the radar page and all the sudden you alter your elevation on the radar, the radar "forgets" those contacts. the radar do not update you any longer on the position or gives you Alt and speed info even though you move your courser to that contact may it be friendly or unknown. You still see them on the radar screen but do not do any update like the SA page does. Even the Threatcross is forgotten and only visible and basically stuck If you want to watch everything look at radar2.trk (That is what I have recorded and uploaded to youtube) Youtube video of the issue. It's easy enough to try it out your self once you understand the issue. radar.trk radar2.trk
  15. Yes, we did a mission 2 days ago and that was on all the hornets and f16 so I opened the miz and saw that there was nothing wrong. All though my mate who did the mission had changed the STN to the tail number of the plane so we had 00400 and 00300 and so on, they were all effected. I tried to play with the STN to see if the problem got away and everything I tried, I tried it on a dedicated. Nothing I did with the STN helped. Only thing that worked was delete the client slots but before deleting them I copied the current one and them deleted the old. Also I tried to change the STN on the new copied one and we had the issue again so it's something to do with that but not only.
  16. I even see some people doubles on the Datalink like in this picture https://ibb.co/xj30gF3
  17. Trackfile : https://easyupload.io/q567xs Miz to test it on ( do it on a dedicated ) : https://easyupload.io/hhskyy
  18. I have noticed this problem more often now. I realized that the only thing you can do to fix it is to delete the client slot from the ME and then add it back again. Then it will work. I have a case where I had to delete all the slots and re-add them again just for that issue. Still have a backup of it, but it's not in the ED standard with Caucasus and a couple of stuff at max. Also worth noting, the issue is only on the dedicated server.
  19. They are working on the STT behavior for the radar right now. This will be fixed in the "Phase 3" of the radar. That is my understanding.
  20. @BIGNEWY can you do a follow up on this? Check my video and try my miz please
  21. @BIGNEWYAnother friend tested my MIZ and have the same issue.. Even the Markpoints will get names if you scroll down all the way to 59 then up again. Happens if you have more then a few waypoints I have for the first time since i started playing dcs removed it completely and I installed it again from scratch. NO Saved games folder, no Core installation folder, everything is fresh. first thing i did was i went into the editor, Persian Golf, created a hornet with 15 WP, the last three have names. Watch this video and tell me if I'm doing something Wrong
×
×
  • Create New...