Jump to content

Recommended Posts

Posted

Hi all

 

I'm getting back into the A10 after a lengthy absence.

 

I use Hawg Touch on my 2nd monitor to display and manipulate my MFCDs and UFC. All working fine.

 

I'd like to get the CDU on the 2nd screen too, but I'm struggling with it. For sure I've done it before (quite some time ago) because my monitor setup file still has the relevant lines:

 

_  = function(p) return p; end;
name = _('MFCD+UFC');
Description = 'Camera on left screen, MFCDs & UFC on right screen'
Viewports =
{
    Center =
    {
         x = 0;
         y = 0;
         width = 1920;
         height = 1080;
         viewDx = 0;
         viewDy = 0;
         aspect = screen.aspect;
    }
}

LEFT_MFCD =
{
    x = 2010;
    y = 73;
    width = 403;
    height = 403;
}

RIGHT_MFCD =
{
    x = 2628;
    y = 73;
    width = 403;
    height = 403;
}

[color="Red"][b]CDU = 
{     
   x = 3238;
   y = 36;
   width = 226;
   height = 171;
}[/b][/color]

UIMainView = Viewports.Center

 

The screen coordinates in the monitor file match the Hawg Touch panel's location. However, I can't remember how to get the CDU to display. I think it was something to do with the CDU_init.lua but having only recently re-installed DCS that file is stock, so I'm not sure what modifications I need to make (if any).

 

Advice/guidance on getting this set up would be much appreciated.

 

Thanks!

Posted

Hello Epoch! i have used this technique from [FSF]Ian.

https://forums.eagle.ru/showpost.php?p=2133064&postcount=2

He has it in his discription below his name you might be able to use it. I have used the same trick for CMSC,CMSP and RWR. I believe as long as there is a CDU_init.lua its doable. Just have to place unique name Veiwporthandling.lua at bottom of init.lua.

 

dofile(LockOn_Options.common_script_path.."ViewportHandling.lua")

try_find_assigned_viewport("ED_A10C_CDU")

 

and then in the moniter setup LUA type the name you used in the dofile like this

ED_A10C_CDU

Hope this helps.

  • Like 1

[sIGPIC][/sIGPIC]

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...