Jump to content

Recommended Posts

Posted (edited)

Hello,

 

I am having problems setting up the Shkval on a second monitor for the SU-25T

I have done a lot of research and have gone as far as I can.

I started by making a copy of one of the monitor setup LUA files and edited it using Notepad Plus Plus.

I have included a screen shot of what the game looks like when using the file.

I have also included a screen shot of the settings I am using. I am confident I have done this correctly, resolution, aspect ratio, full screen un-ticked.

 

My main monitor is 29” Ultrawide 2560 X 1080 21:9 aspect ratio

Second monitor (positioned to the right) 22” 1920 X 1080 16:9 aspect ratio

 

When I turn the Shkval on it doesn’t come up on my second screen. The only thing that I can get on my second screen is the controller indicator in the bottom right of the screen.

 

I would appreciate any help.

 

Thanks

 

_ = function(p) return p; end;

name = _('aSckval2');

Description = 'aSckval2'

Viewports =

{

Center =

{

x = 0;

y = 0;

width = 2560;

height = 1080;

viewDx = 0;

viewDy = 0;

aspect = 2.37;

}

}

 

RIGHT_MFCD =

{

x = 0;

y = 2561;

width = 2561;

height = 1080;

}

 

UIMainView = Viewports.Center

GROUND_MAIN_VIEWPORT = Viewports.Center

1.thumb.png.dcb8e2406e0f409722bd11b6b9adefa4.png

aSckval2.lua

Edited by A10-C

Ryzen 5 3600X, 32GB DDR4, 1060 6GB, 1TB M.2, ASUS B450-I Gaming, Windows 10 64, ASUS Monitor 29" Ultrawide 2560 X 1080, BenQ 22" 1080p

DCS Stable version, FC3, L39, A10-C

Thrustmaster T.16000 HOTAS

Posted

Thanks for the reply.

I did as you suggested, replace "RIGHT_MFCD" WITH THE WORD "Shkval" but unfortunately there wasn't any difference.

 

Below is my updated file with the suggestion above plus i have renamed the file.

 

 

_ = function(p) return p; end;

name = _('aShkval');

Description = 'aShkval'

Viewports =

{

Center =

{

x = 0;

y = 0;

width = 2560;

height = 1080;

viewDx = 0;

viewDy = 0;

aspect = 2.37;

}

}

 

Shkval =

{

x = 0;

y = 2561;

width = 2561;

height = 1080;

}

 

UIMainView = Viewports.Center

GROUND_MAIN_VIEWPORT = Viewports.Center

Ryzen 5 3600X, 32GB DDR4, 1060 6GB, 1TB M.2, ASUS B450-I Gaming, Windows 10 64, ASUS Monitor 29" Ultrawide 2560 X 1080, BenQ 22" 1080p

DCS Stable version, FC3, L39, A10-C

Thrustmaster T.16000 HOTAS

Posted

I have re-posted this as a replay on a different thread as i thought that was a more appropriate place for my question.

https://forums.eagle.ru/showthread.php?t=89282&page=14

 

I will delete this thread as to avoid duplication as soon as i work out how to delete it.

Ryzen 5 3600X, 32GB DDR4, 1060 6GB, 1TB M.2, ASUS B450-I Gaming, Windows 10 64, ASUS Monitor 29" Ultrawide 2560 X 1080, BenQ 22" 1080p

DCS Stable version, FC3, L39, A10-C

Thrustmaster T.16000 HOTAS

Posted (edited)

Try changing the last line to this:

 

GU_MAIN_VIEWPORT = Viewports.Center

 

Also it should be RIGHT_MFCD by default as this was changed a while back (not sure when)

Edited by SVgamer72
Posted

Thanks for the reply, i have made the two changes you suggested but unfortunately it didn't work.

Ryzen 5 3600X, 32GB DDR4, 1060 6GB, 1TB M.2, ASUS B450-I Gaming, Windows 10 64, ASUS Monitor 29" Ultrawide 2560 X 1080, BenQ 22" 1080p

DCS Stable version, FC3, L39, A10-C

Thrustmaster T.16000 HOTAS

Posted

I should have looked closer at your code snippet....

 

Swap your x and Y values for the Right MFD and set the Shkval dimensions to fit within the display size of the second monitor or less. You currently have it set to display below and off the screen.

 

RIGHT_MFCD =

{

x = 2561; (starting where the first monitor ends and the second begins)

y = 0; (starting at the top edge of the monitor - MAKE SURE BOTH ARE ALIGNED AT THE TOP WITH NO GAP IN WINDOWS)

width = 1920; (Width of the second monitor)

height = 1080; (height of the second monitor)

}

  • Like 1
  • Thanks 1
Posted

Thank you so much SVgamer72

 

It now WORKS.

 

I now how a 22" Shkval working perfectly next to my main monitor.

 

I have included the code below if it can be of any help to anyone else.

 

_  = function(p) return p; end;
name = _('shkval');
Description = 'Shkval on a second monitor for the SU-25T'
Viewports =
{
    Center =
    {
         x = 0;
         y = 0;
         width  = 2560;
         height = 1080;
         viewDx = 0;
         viewDy = 0;
         aspect = 2.37;
    }
}

RIGHT_MFCD =
{
    x = 2561;
    y = 0;
    width = 1920;
    height = 1080;
}

UIMainView = Viewports.Center
GU_MAIN_VIEWPORT = Viewports.Center

  • Like 2
  • Thanks 1

Ryzen 5 3600X, 32GB DDR4, 1060 6GB, 1TB M.2, ASUS B450-I Gaming, Windows 10 64, ASUS Monitor 29" Ultrawide 2560 X 1080, BenQ 22" 1080p

DCS Stable version, FC3, L39, A10-C

Thrustmaster T.16000 HOTAS

Posted

Happy to help!

 

DCS does not make it easy to do common config mods. It would be nice if they built in a GUI tool to build the LUA files sort of like a mission editor.

  • Like 1
  • Recently Browsing   0 members

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