Jump to content

NEED HELP WITH LUA VIEW EXPORT


Recommended Posts

I need assistance setting up some view ports.

 

The first question I have is can you set the left/right MFD view PER aircraft or do you have to do it as a monitor setting?

 

For instance I do not want my Ka-50 ABRIS to display on a small screen. I do want both MFD's in the A-10C and Harrier to display.

 

Here is my setup.

 

I am using a 4KTV (3840X2160) and TWO 7 inch AMAZON KINDLE FIRE tablets (1024X600). I am not using ALL of the display on the tablets. I am only trying to create a 600X600 viewable area.

 

I am using spacedesk software.

 

I can get all 3 screens working but I can't seem to target the MFD's correctly.

 

I am setting the main monitor (43 inch 4K) at X0 Y0 W3840 H2160.

 

The second monitor (AMAZON KINDLE FIRE) I am setting at X4052 Y0 W600 H600

 

The third monitor (AMAZON KINDLE FIRE) is X5076 Y0 W600 H600

 

I have seen another tutorial where the value was +. So do I use 3840+212 (y value) to center it? (212+600 (viewable)+212=1024).

 

X is the first vertical pixel per monitor despite any resolution of other monitors correct?

 

I would really appreciate some sample code (per a specific aircraft if possible A-10C as an example) or better yet a copy paste for my system to help get me started.

 

TV 3840X2160

KINDLE X2 (1024X600) (600X600 viewable) 

 

SETUP.png


Edited by ZQuickSilverZ

I need, I need, I need... What about my wants? QuickSilver original.

"Off with his job" Mr Burns on the Simpsons.

"I've seen steering wheels / arcade sticks / flight sticks for over a hundred dollars; why be surprised at a 150 dollar item that includes the complexities of this controller?! It has BLINKY LIGHTS!!" author unknown.

 

 

These titles are listed in the chronological order I purchased them.

[sIGPIC][/sIGPIC]

Link to post
Share on other sites

Here is my LUA file.

 

I seem to have the right one working but not the left.

Also the right one is not centered.

 

_  = function(p) return p; end;
name = _('Practice');
Description = 'Left MFCD on the left monitor,Right MFCD on the right and camera on the center'
Viewports =
{
     Center =
     {
          x = 0;
          y = 0;
          width = 3840;
          height = 2160;
          viewDx = 0;
          viewDy = 0;
          aspect = 3840/2160;
     }
}

LEFT_MFCD =
{
     x = 3840 + 212;
     y = 0;
     width = 600;
     height = 600;
}

RIGHT_MFCD =
{
     x = 3840 + 1236;
     y = 0;
     width = 600;
     height = 600;
}

UIMainView = Viewports.Center
GU_MAIN_VIEWPORT = Viewports.Center

I need, I need, I need... What about my wants? QuickSilver original.

"Off with his job" Mr Burns on the Simpsons.

"I've seen steering wheels / arcade sticks / flight sticks for over a hundred dollars; why be surprised at a 150 dollar item that includes the complexities of this controller?! It has BLINKY LIGHTS!!" author unknown.

 

 

These titles are listed in the chronological order I purchased them.

[sIGPIC][/sIGPIC]

Link to post
Share on other sites

I got them working now but the resolution seems off.

 

I need, I need, I need... What about my wants? QuickSilver original.

"Off with his job" Mr Burns on the Simpsons.

"I've seen steering wheels / arcade sticks / flight sticks for over a hundred dollars; why be surprised at a 150 dollar item that includes the complexities of this controller?! It has BLINKY LIGHTS!!" author unknown.

 

 

These titles are listed in the chronological order I purchased them.

[sIGPIC][/sIGPIC]

Link to post
Share on other sites

is this forum dead or something? I expected 20 solutions by now.

I need, I need, I need... What about my wants? QuickSilver original.

"Off with his job" Mr Burns on the Simpsons.

"I've seen steering wheels / arcade sticks / flight sticks for over a hundred dollars; why be surprised at a 150 dollar item that includes the complexities of this controller?! It has BLINKY LIGHTS!!" author unknown.

 

 

These titles are listed in the chronological order I purchased them.

[sIGPIC][/sIGPIC]

Link to post
Share on other sites
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...