ANDR0ID Posted February 16, 2023 Posted February 16, 2023 (edited) @prestonflying Thanks again for the string manipulation tip, works great and really opened up some options. I added recommendations to the github... first time using it so I'm sure I did it wrong. Cue flight of the Valkyries... recommended profiles for the Hip, Hind, "Hawks" and updates to the Huey ETA: There is some extra code in the lua files if users want to display different data or move things around. In case anyone asks, I did look into things like IAS and radar altimeter for the Mi-8 and Mi-24, but they appear to have non-linear outputs. I was able to get data to display, but it was often (very) wrong. The code is included if anyone else wants to try tweaking it. I may revisit it later, but I wanted to at least get an initial product to the DCS helicopter community. Additionally, the UH-60 weapon status will no display until the next version of the Armed Blackhawk mod is released. Hopefully soon now that I've wrapped up making UFC profiles for the time being. Edited February 16, 2023 by ANDR0ID 1
prestonflying Posted February 16, 2023 Author Posted February 16, 2023 @ANDR0IDAmazing work, ill get your changes added to the Github release later today so other can start trying them out! Ill update here when its complete. 1
prestonflying Posted February 16, 2023 Author Posted February 16, 2023 Updated with latest modules from ANDR0ID 1
Kurothas Posted February 18, 2023 Posted February 18, 2023 @prestonflying, after i tested a little bit around, especially with the huey, i think the tomcat would be also great. Information´s like Heading, (RDR)-Altitude, Speed and probably the vertical velocity indicator would be helpful for landing and probably dogfighting. The radio´s or countermeasure count would also be great. What do you think? Thanks for the great tool
prestonflying Posted February 18, 2023 Author Posted February 18, 2023 (edited) Sounds like a fun weekend project! I do have the tomcat. I’ll post back when it’s added Edited February 18, 2023 by prestonflying
Lekaa Posted February 25, 2023 Posted February 25, 2023 i would love to see the apache mini screen there
ANDR0ID Posted February 27, 2023 Posted February 27, 2023 @prestonflying I had the chance to fly again... log story short I was having issues with cold starts and SRS. The UFC would not display data from a cold start aircraft, and SRS would not connect to the game. There appears to be interference between SRS and the UFC in the export.lua I changed the UFC command in export.lua to the following and all appears to be working, I'll add a note on github too. dofile(lfs.writedir()..[[Scripts\wwt\wwtExport.lua]])
prestonflying Posted March 5, 2023 Author Posted March 5, 2023 @ANDR0ID Thanks for looking into that. I also noticed and updated the release to add a fix. The message to update LCD brightness was never being sent over on a cold start thus no data was appearing. This should be fixed now. Also the KA-50 was just added thanks to Cmdr Henparty! Latest release includes this V1.0.4 2
Lekaa Posted March 14, 2023 Posted March 14, 2023 (edited) Hey man, thank you for this work you're doing. any progress for the apache? Wanna se freq on the right, 5 small screens on the ufc and the main screen on the ufc, would like to see the small keyboard screen while writing cords och freq Edited March 14, 2023 by Lekaa
ANDR0ID Posted March 15, 2023 Posted March 15, 2023 If someone wants to buy me the Apache I'd be willing to work on it... no guarantees of success though
ANDR0ID Posted March 17, 2023 Posted March 17, 2023 (edited) Just dropped some updates to the UH-60L and MH-60R files on github to correct a display error related to the AN/ARC-164 UHF radios. Edit: Also proposed some updates to the A-10C_2 and added support for the original A-10C Edited March 17, 2023 by ANDR0ID 2
prestonflying Posted March 17, 2023 Author Posted March 17, 2023 19 hours ago, ANDR0ID said: Just dropped some updates to the UH-60L and MH-60R files on github to correct a display error related to the AN/ARC-164 UHF radios. Edit: Also proposes some updates to the A-10C_2 and added support for the original A-10C Amazing thanks for PRs! All approved and I updated the release .zip file to include these changes 1
ANDR0ID Posted March 20, 2023 Posted March 20, 2023 Initial crack at a JF-17 profile. Generally works, although it gets "hung up" sometimes depending what is selected/changed. @prestonflying or anyone else, do you think its possible to apply a similar code for the strings as is done with number over 9 to get more characters displayed like with comm1 and comm2? It would be "squished" but I we could squeeze the JF-17's eight digits onto the WinWing display if the programing would allow... I just don't understand the string coding very well. 1
ANDR0ID Posted March 20, 2023 Posted March 20, 2023 (edited) Couldn't edit my post, but here is an updated prototype profile for the JF-17. Master Arm: A = Armed, S = Sim, X = Safe Mode: A = A/A, 1 = AG1, 2 = AG2 Questions from my above post remain. @Kurothas Edited March 20, 2023 by ANDR0ID Update 1
Lekaa Posted March 21, 2023 Posted March 21, 2023 On 3/15/2023 at 4:16 PM, ANDR0ID said: If someone wants to buy me the Apache I'd be willing to work on it... no guarantees of success though can't you try the apache for 14 days?
prestonflying Posted March 21, 2023 Author Posted March 21, 2023 21 hours ago, ANDR0ID said: Initial crack at a JF-17 profile. Generally works, although it gets "hung up" sometimes depending what is selected/changed. @prestonflying or anyone else, do you think its possible to apply a similar code for the strings as is done with number over 9 to get more characters displayed like with comm1 and comm2? It would be "squished" but I we could squeeze the JF-17's eight digits onto the WinWing display if the programing would allow... I just don't understand the string coding very well. It sounds like you are trying to fit an 8 digit alpha-numeric string EX: (1234ABCD, 12345678, AAAABBBB) onto the UFC? The only place this is do-able is the main scratch pad. If you send more information on the type of data you want to display and where on the UFC I might be able to give a more helpful answer! Nice work with the JF17 updates
ANDR0ID Posted March 21, 2023 Posted March 21, 2023 Thanks for the extra info. I'm working on FC3 profiles now (F-15, Mig-29, Su-25, etc.)... I'm not sure we'll be able to do anything beyond static data, but I'm open to suggestions with the understanding we'll probably be more limited in what we can do when compared to full fidelity modules. Also, with the FC3 planes I'm seeing an issue where the UFC will blank out when switching aircraft... like it recognizes we're in a different aircraft, but wont load the corresponding UFC data. Open to thoughts anyone may have as to why as I can swap to a full fidelity plane and not have an issue, but not back to FC3.
Wostg Posted March 22, 2023 Posted March 22, 2023 (edited) Hey I was playing with them as well and think I stopped at about the same place - its not broken as such but nothing displays. No doubt you have these already but below are refs, with thanks to CaptZeen for his Helios work. There's also that high-fidelity-FC3-cockpits mod in development - I wondered if the UFC could piggyback on top of it, if it builds on any display outputs? -- FLAMING CLIFFS AIRCRAFT -- -- FC aircraft don't support GetDevice -- function ProcessFCExports () local myData = LoGetSelfData() if (myData) then local altBar = LoGetAltitudeAboveSeaLevel() local altRad = LoGetAltitudeAboveGroundLevel() local pitch, bank, yaw = LoGetADIPitchBankYaw() local engine = LoGetEngineInfo() local hsi = LoGetControlPanel_HSI() local vvi = LoGetVerticalVelocity() local ias = LoGetIndicatedAirSpeed() local route = LoGetRoute() local aoa = LoGetAngleOfAttack() local accelerometer = LoGetAccelerationUnits() local glide = LoGetGlideDeviation() local side = LoGetSideDeviation() local distanceToWay = 999 local navInfo = LoGetNavigationInfo() Edited March 22, 2023 by Wostg 1 1 I can think of nothing heavier than an airplane I can think of no greater conglomerate of steel and metal I can think of nothing less likely to fly
Wostg Posted March 22, 2023 Posted March 22, 2023 I found some more at: 1 I can think of nothing heavier than an airplane I can think of no greater conglomerate of steel and metal I can think of nothing less likely to fly
ANDR0ID Posted March 22, 2023 Posted March 22, 2023 JF-17 profile has be uploaded to github for approval. Thanks to prestonflying for helping me better understand string data to make this possible. I was able to correct the delays for master arm status and mode status so they now update in real time. Additionally, radio frequency will now shift based on the last radio programmed, and both comm channels are displayed. There are some peculiarities forcing the JF-17 data into a F-18 format, but I think this set up is the most logical for the constraints we have and the physical layout of the WinWIng UFC. 1
ANDR0ID Posted March 22, 2023 Posted March 22, 2023 Just for fun... TF-51D profile with radio frequency, altimeter, and true heading. This may also be directly applicable to the paid P-51 modules but I am not able to test that myself. Proposed code uploaded to github. 1
prestonflying Posted March 23, 2023 Author Posted March 23, 2023 New Profiles added to Github Release V1.0.5 (Download from original post or visit the release and follow instructions). Shout out to @ANDR0IDfor adding EVEN more profiles. This new release includes the JF17 and TF51D. See his posts above for screenshots of the new fields for these modules. 2
ANDR0ID Posted March 26, 2023 Posted March 26, 2023 Thanks to the generosity of @rrutko I've started work on an AH-64 profile... static data is working, now the more challenging part for dynamic data. I expect this profile to take some time as I learn the module and how it exports data. 4
ggerman2862 Posted April 7, 2023 Posted April 7, 2023 On 3/23/2023 at 5:45 PM, prestonflying said: New Profiles added to Github Release V1.0.5 (Download from original post or visit the release and follow instructions). Shout out to @ANDR0IDfor adding EVEN more profiles. This new release includes the JF17 and TF51D. See his posts above for screenshots of the new fields for these modules. Would it be possible to do a profile for the CJS Super Hornet? Hopefully it wouldn't be too difficult, since it's exactly the same as the stock F/A-18C! Thanks in advance!! Greg
Recommended Posts