Woohoo, it's working now, thanks for the tips Snacko! :D
You were right about the 2 lines at the bottom or my monitor setup lua, they were partially causing my issues. I also had to modify the code a bit to remove the left and right MFCD sections from the viewports section.
In my defense, I did this before, but I missed a pesky little comma and that broke the file, so it didn't work. :doh: But I went back over it again with a fine toothed comb and fixed it.
Here's my lua files for anyone else that has any issues and have a similar setup to me.
Monitor Setup
_ = function(p) return p; end;
name = _('M-2000C');
Description = '1 triple screen for main camera, radar and RWR exported to MFCD locations'
Viewports =
{
Left =
{
x = 0;
y = 0;
width = 1920;
height = 1080;
viewDx = -1;
viewDy = 0;
aspect = 1.777777777777778;
},
Center =
{
x = 1920;
y = 0;
width = 1920;
height = 1080;
viewDx = 0;
viewDy = 0;
aspect = 1.777777777777778;
},
Right =
{
x = 3840;
y = 0;
width = 1920;
height = 1080;
viewDx = 1;
viewDy = 0;
aspect = 1.777777777777778;
}
}
LEFT_MFCD =
{
x = 2100;
y = 1660;
width = 405;
height = 405;
}
RIGHT_MFCD =
{
x = 3270;
y = 1680;
width = 405;
height = 405;
}
UIMainView = Viewports.Center
RWR_init.lua
dofile(LockOn_Options.common_script_path.."devices_defs.lua")
local my_path = LockOn_Options.script_path.."RWR/"
indicator_type = indicator_types.COMMON
PAGE_0 = 0
SRC_RWR_BASE = 0
SRC_RWR_0 = 1
page_subsets = {
[sRC_RWR_BASE] = my_path.."RWR_base.lua",
[sRC_RWR_0] = my_path.."RWR_page.lua",
}
----------------------
pages = {
[PAGE_0] = {SRC_RWR_BASE,SRC_RWR_0},
}
init_pageID = PAGE_0
used_render_mask = "interleave2.bmp" --default mask for TV
dofile(LockOn_Options.common_script_path.."ViewportHandling.lua")
try_find_assigned_viewport("RIGHT_MFCD")
VTB_init.lua
dofile(LockOn_Options.common_script_path.."devices_defs.lua")
dofile(LockOn_Options.common_script_path.."ViewportHandling.lua")
indicator_type = indicator_types.COMMON
purposes = {render_purpose.GENERAL,render_purpose.HUD_ONLY_VIEW, render_purpose.SCREENSPACE_INSIDE_COCKPIT}
VTB_PAGE_0 = 0
VTB_PAGE_1 = 1
VTB_PAGE_2 = 2
VTB_PAGE_3 = 3
SRC_VTB_BASE = 0
SRC_VTB_0 = 1
SRC_VTB_1 = 2
SRC_VTB_2 = 3
SRC_VTB_3 = 4
local my_path = LockOn_Options.script_path.."VTB/"
page_subsets = {
[sRC_VTB_BASE] = my_path.."VTB_base.lua",
[sRC_VTB_0] = my_path.."VTB_page_0.lua",
[sRC_VTB_1] = my_path.."VTB_page_1.lua",
[sRC_VTB_2] = my_path.."VTB_page_2.lua",
[sRC_VTB_3] = my_path.."VTB_page_3.lua",
}
----------------------
pages = {
[VTB_PAGE_0] = {SRC_VTB_BASE,SRC_VTB_0},
[VTB_PAGE_1] = {SRC_VTB_BASE,SRC_VTB_1},
[VTB_PAGE_2] = {SRC_VTB_BASE,SRC_VTB_2},
[VTB_PAGE_3] = {SRC_VTB_BASE,SRC_VTB_3},
}
init_pageID = VTB_PAGE_0
used_render_mask = "interleave2.bmp" --default mask for TV
update_screenspace_diplacement(SelfWidth/SelfHeight,false)
try_find_assigned_viewport("LEFT_MFCD")