TrigaNZ Posted April 22 Posted April 22 Hi PF Still have an issue. I put the new wwt into saved games. SP works with all A/C from what I can see. In MP the first one or two A/C work then it gets stuck on whatever the last A/C was. The last A/C data gets stuck on the UFC even after shutting down DCS. Also, I see in the 'Events' wwt folder there are two files, wwtExport_Coroutine.lua and wwtExport_NextEvent.lua. These will get removed if copy and pasting the mod wwt folder there, does this matter? or should just the contents of the mod wwt folder be inserted here? Should these be in the mod wwt folder? DCS log attached. Thanks so much for your work on this. dcs.log
HanuXXL Posted Friday at 03:14 PM Posted Friday at 03:14 PM (edited) Great work guys! Just noticed this, and started to customize it, as I don't much care about info's that are easilly read from the cockpit... HOWEVER F-14 and IAS is a different thing... I managed to get what I want (IAS on scratchpad and flight mode buttons) via modifying ufcPatchGeneral.lua, but I'd like to have dedicated settings for F-14... I'm not much a coder, but a copy/paste-engineer, so I made a guess and added these F-14 lines in ufcPatch.lua between A-10 and Apache: ... -- A-10C sends throttled data every 0.2 seconds elseif moduleName == "A-10C" then if ufcExportClock.canTransmitLatestPayload then return ufcPatchA10C2.generateUFCData() end -- F-14A sends throttled data every 0.2 seconds elseif moduleName == "F-14A" then if ufcExportClock.canTransmitLatestPayload then return ufcPatchF14.generateUFCData() end -- F-14B sends throttled data every 0.2 seconds elseif moduleName == "F-14B" then if ufcExportClock.canTransmitLatestPayload then return ufcPatchF14.generateUFCData() end -- AH-64D_BLK_II sends information when latest is available ... And my ufcPatchF14.lua looks like this local ufcUtils = require("ufcPatch\\utilities\\ufcPatchUtils") ufcPatchF14 = {} -- Shows static data on the UFC function ufcPatchF14.generateUFCData() local MainPanel = GetDevice(0) -- local FC3RadarAltitudeString = ufcPatchUtils.GenaricRadarAltitudeFeet() -- local HeadingString = ufcPatchUtils.MagHeading() local AirspeedString = ufcPatchUtils.AirspeedKnots() -- local FuelString = ufcPatchUtils.TotalFuel() -- local Vertical = ufcPatchUtils.VerticalV_FPM() -- local FlareCount = ufcPatchUtils.flares() -- local ChaffCount = ufcPatchUtils.chaff() --Send info to UFC components log.write("WWT", log.INFO, "Trying to load custom example") return ufcUtils.buildSimAppProUFCPayload({ option1="T.O.", option2="CRUI", option3="A/A", option4="A/G", option5="LNDG", scratchPadNumbers="AirspeedString", scratchPadString1="O", scratchPadString2="N", com1="X", com2="8", selectedWindows={"1", "2", "3", "4", "5"} }) end return ufcPatchF14 Tried also using "F-14AB" as moduleName as some programs see it, but had no success... I guess the problem is that I have wrong modulename? Or something else? dcs.log looks promising however? 2025-05-02 15:09:48.190 INFO WWT (Main): Winwing export installed! 2025-05-02 15:09:48.191 INFO WWT (Main): Export start! 2025-05-02 15:09:57.546 INFO WWT (Main): F-14B 2025-05-02 15:09:57.546 INFO WWT (Main): UFC Patch Mod Enabled: Setting up now 2025-05-02 15:09:57.546 INFO WWT (Main): Detected module F-14B, UFC Patch Mod Enabled 2025-05-02 15:09:57.546 INFO WWT (Main): Running use custom ufc now But sadly the screens stay black Edited Friday at 03:16 PM by HanuXXL Typos
Wostg Posted Friday at 08:45 PM Posted Friday at 08:45 PM This is a guess but DCS-BIOS suggests the names for the modules might be "F-14B", "F-14A-135-GR" so try that for the A 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
HanuXXL Posted Friday at 10:02 PM Posted Friday at 10:02 PM Yes, those names mentioned seem to be correct ones, thanks. Also I just found one missing line in ufcPatch.lua that had to be defined. Now it works in F-14 with dedicated lua definitions. This thing really helps to ulilize F-18 UFC better! 1
prestonflying Posted 12 hours ago Author Posted 12 hours ago On 5/2/2025 at 3:02 PM, HanuXXL said: Yes, those names mentioned seem to be correct ones, thanks. Also I just found one missing line in ufcPatch.lua that had to be defined. Now it works in F-14 with dedicated lua definitions. This thing really helps to ulilize F-18 UFC better! Awesome job! Glad you are enjoying and nice skills
Recommended Posts