lesthegrngo Posted September 20, 2023 Posted September 20, 2023 (edited) Guys, I have other threads on this basically looking at the Helios side, but I used to have both the CDU and the RWR indicator displayed via the viewport thing in the monitor setup. By sheer luck I got the CDU displaying I had trouble getting them to work despite using the .lua files that I backed up. By sheer luck I got the CDU displaying, I have appended the following code to the init.lua files for the AN_ALR69V (there is no "RWR" device quoted and the AN_ALR69V is the only device that mentions RWR) dofile(LockOn_Options.common_script_path.."ViewportHandling.lua") try_find_assigned_viewport("ED_A10C_RWR") Can you advise if that is the correct way to do it now, or whether it has changed? The MFCD's and the CDU appear perfectly on their three allocated screens and I have no problem with the monitorsetup.lua stuff. Even if I set it to display the RWR indicator in the middle of the main screen nothing shows up. Here's my camera set up .lua _ = function(p) return p; end; name = _('Camera+LMFCD+RMFCD_RWR6'); Description = 'Left MFCD on the left monitor,Right MFCD on the right and camera on the center' Viewports = { Center = { x = 0; y = 0; width = 2560; height = 1440; viewDx = 0; viewDy = 0; aspect = 1.78; } } LEFT_MFCD = { x = 2750; y = 0; width = 610; height = 610; } RIGHT_MFCD = { x = 2700; y = 620; width = 610; height = 630; } ED_A10C_RWR = { x = 3500; y = 0; width = 610; height = 610; } ED_A10C_CDU = { x = 3600; y = 1024; width = 800; height = 480; } UIMainView = Viewports.Center GU_MAIN_VIEWPORT = Viewports.Center Can any of you see where the issue is? Cheers Les Edited September 20, 2023 by lesthegrngo
lesthegrngo Posted September 20, 2023 Author Posted September 20, 2023 (edited) Hi again - I got it working, using the AN_ALR69V_init.lua file in this thread, obviously after changing the callout in the camera lua file to match I had actually tried the same callout (A10C_RWR) on a previous attempt but there must be something in the syntax or characters that is different because when I pasted the version from the thread in it worked straight away Not going to complain, hope this helps someone. On to sorting the Helios bit Les Edited September 20, 2023 by lesthegrngo Solved 2 1
lesthegrngo Posted May 18, 2024 Author Posted May 18, 2024 Hi all, it's been a while as I have been busy with my Racing Rig, and finally making a dedicated PC for it. However when I reinstalled the Flight Sim PC back on to my rig, I am no longer getting the CDU being displayed on the dedicated monitor. It looks like the call out has changed, but I can't see what it could now be. I have tried the following callouts ED_A10C_CDU = A10C_CDU_SCREEN = ED_A10C_CDU_SCREEN = Does anyone have a working exported CDU that they can confirm the callout for? Thanks Les
lesthegrngo Posted May 18, 2024 Author Posted May 18, 2024 I tried CDU_SCREEN = and now works; not sure what changed, but obviously something did Cheers Les 1
lesthegrngo Posted May 19, 2024 Author Posted May 19, 2024 Hi all - I must have been half asleep yesterday when I was doing this, as I didn't see that the RWR was also not showing I changed ED_A10C_RWR = to RWR_SCREEN = and that fixed it. There must have been some other changes to DCS as I also was now getting the original HUD being displayed again in the 'nose view' alongside the new exported HUD The original HUD is called out in the HUD-init.lua file in this line indicator_type = indicator_types.COLLIMATOR purposes = {render_purpose.GENERAL,render_purpose.HUD_ONLY_VIEW} However I replaced it with this -- indicator_type = indicator_types.COLLIMATOR -- purposes = {render_purpose.GENERAL,render_purpose.HUD_ONLY_VIEW} effectively commenting out the lines. If you want to see more I did this post a while back Les 1
Recommended Posts