Hello gang, been working with the M2K MM for a while and for some reason can't get it to work. I have read all the posts, tried them one by one but maybe my eyes are tired and I can't find the mistake. I have the RWR to work but the radar I can't make it to work.
I have the A-10C and F-15C set the way I want them so I think I have a basic understanding on how this works.
Have 2 24" monitors 1920x1200 with a total of 3840x1200. This is the last settings I am using, the radar works fine in the Center but not in the extended monitor, the RWR works on both.
First my Monitor Setup (I am using only one file for testing purposes).
_ = function(p) return p; end;
name = _('M-2000');
Description = 'Right MFCD on the right and camera on the center'
Viewports =
{
Center =
{
x = 0;
y = 0;
width = 1920;
height = 1200;
viewDx = 0;
viewDy = 0;
aspect = 1.6;
}
}
--//////////////////////////////////////
-- Mirage 2000 =
--//////////////////////////////////////
Mirage_Radar =
{
x = 2200;
y = 40;
width = 600;
height = 600;
}
Mirage_RWR =
{
x = 2900;
y = 30 ;
width = 100;
height = 100;
}
UIMainView = Viewports.Center
My VTB_ini.lua
dofile(LockOn_Options.common_script_path.."devices_defs.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
SRC_VTB_BASE = 0
SRC_VTB_0 = 1
SRC_VTB_1 = 2
SRC_VTB_2 = 3
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",
}
----------------------
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},
}
init_pageID = VTB_PAGE_0
used_render_mask = "interleave2.bmp" --default mask for TV
update_screenspace_diplacement(SelfWidth/SelfHeight,false)
dofile(LockOn_Options.common_script_path.."ViewportHandling.lua")
try_find_assigned_viewport("Mirage_Radar")
And last, my 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("Mirage_RWR")
BTW: The line on the VTB lua file
purposes = {render_purpose.GENERAL,render_purpose.HUD_ONLY_VI EW, render_purpose.SCREENSPACE_INSIDE_COCKPIT} I have tried this line with the remarks dashes and without and also erasing it completely and nada.
Can you see what is it that I am missing here?
Really appreciate it. :)