Jump to content

Recommended Posts

Posted

I followed the instructions for exporting A-10 displays and managed to export the PVI display.

 

Here is the LUA for PVI_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}

try_find_assigned_viewport("PVI_SCREEN")

-------PAGE IDs-------

id_Page =

{

PAGE_NULL = 0,

PAGE_OFF = 1,

PAGE_MAIN = 2

}

 

id_pagesubset =

{

MAIN = 0

}

 

page_subsets = {}

page_subsets[id_pagesubset.MAIN] = LockOn_Options.script_path.."PVI\\PVI_page.lua"

 

----------------------

pages = {}

pages[id_Page.PAGE_MAIN] = {id_pagesubset.MAIN}

 

init_pageID = id_Page.PAGE_MAIN

Posted

This is my monitor config, I call it ASSPUNCH because that it what it feels like every time I mess with this, sick humor I know:

 

_ = function(p) return p; end;

name = _('ASSPUNCH');

Description = 'Two monitor configuration';

Viewports =

{

Center =

{

x = 0;

y = 0;

width = 5040;

height = 1080;

viewDx = 0;

viewDy = 0;

aspect = 5.4;

}

}

 

LEFT_MFCD =

{

x = 5768;

y = 140;

width = 500;

height = 372;

}

RIGHT_MFCD =

{

x = 6350;

y = 490;

width = 360;

height = 427;

}

PVI_SCREEN =

{

x = 5080;

y = 530;

width = 310;

height = 130;

}

Posted

Same works for the EKRAN

EKRAN.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}
try_find_assigned_viewport("EKRAN","MFCD_05")
-------PAGE IDs-------
id_Page =
{
PAGE_NULL  = 0,
PAGE_OFF   = 1,
PAGE_MAIN  = 2
}
id_pagesubset =
{
MAIN = 0
}
page_subsets = {}
page_subsets[id_pagesubset.MAIN]   = LockOn_Options.script_path.."EKRAN\\Indicator\\EKRAN.lua"

----------------------
pages = {}
pages[id_Page.PAGE_MAIN] = {id_pagesubset.MAIN}
init_pageID   = id_Page.PAGE_MAIN
use_parser    = false

 

My Monitor Config:

_  = function(p) return p; end;
name = _('Airdogs Pit');
Description = 'AirdogsPit'
Viewports =
{
    Center =
    {
         x = 0;
         y = 0;
         width = 1920;
         height = 1080;
         viewDx = 0;
         viewDy = 0;
         aspect = 1.77777777777778;
    }
}
Shkval =
{
    x = 575;
    y = 1152;
    width = 930;
    height = 345;
}
ABRIS =
{
    x = 1675;
    y = 1461;
    width = 754;
    height = 495;
}
PVI =
{
    x = 2275;
    y = 1070;
    width = 550;
    height = 120;
}
EKRAN =
{
    x = 1750;
    y = 1200;
    width = 235;
    height = 80;
}
UIMainView = Viewports.Center

 

You can also do the same for the UV26 digits

  • Like 1

Airdog

| Asus ROG Strix Z370-E Mobo | i7 8700K @ 4.7 | 32 GB DDR4@3200mhz | Gigabyte 2080Ti OC 11GB| Samsung M.2 960 Evo 250Gb and 500Gb | Win10 Pro | Hotas Warthog #02743 | Track IR 5 | Toshiba 47" 120hz LED | Acer 23" Touchscreen | HELIOS |Oculus Rift-S|

 

http://www.blackknightssquadron.com/

  • Recently Browsing   0 members

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