Jump to content

Getting a fixed cockpit instrument view


TAIPAN_

Recommended Posts

Comieodor you can't figure it out because it's probably corrrect mostly.. I think.

 

I reckon you are missing a comma:

 

name = _('2 Screens');

Description = 'Two monitors each with own camera';

Viewports =

{

Center =

{

x = 2560;

y = 0;

width = 1680;

height = 1050;

viewDx = 0;

viewDy = -0.8;

aspect = 1.6;

},

Top =

{

x =0;

y = 0;

width = 2560;

height = 1440;

viewDx = 0;

viewDy = 0.2;

aspect = 1.777777778;

}

}

 

Also don't forget to set width=4240 in options.lua

 

Cheers

Pimax Crystal VR & Simpit User | Ryzen CPU & Nvidia RTX GPU | Some of my mods

Link to comment
Share on other sites

  • 4 weeks later...

Hey Taipan

 

I've recently took the plunge and installed a second 19" screen for instrument monitorin like in your setup. With the 8" Hami touchscreen for touchbuddy I am running 3 screens with FC2 now! :D

 

I would be a happy camper but I cannot get your 'zoom' trick running correctly. The lower screen overlays the main screen. I switched both DVI connections around with no success. Any advice on what I am doing wrong?

 

My LUA:

 

_ = function(p) return p; end;

name = _('2 Screens zoom');

Description = 'Configuration with 2 non-identical monitors';

Viewports =

{

 

Center =

{

x = 0;

y = 0;

width = 1920;

height = 1080;

viewDx = 0;

viewDy = 0.3;

aspect = 1.77777777777778;

},

Bottom =

{

x = 1600;

y = 0;

width = 1920;

height = 1024;

viewDx = 0;

viewDy = -0.5;

aspect = 1.875;

}

}

 

 

Kirin out

Link to comment
Share on other sites

If the lower one overlays the main, sounds like we can swap them. It writes them to the screen in the order they are in the file.

 

So if we change it around like this:

 

_ = function(p) return p; end;

name = _('2 Screens zoom');

Description = 'Configuration with 2 non-identical monitors';

Viewports =

{

 

Center =

{

x = 1600;

y = 0;

width = 1920;

height = 1024;

viewDx = 0;

viewDy = -0.5;

aspect = 1.875;

},

Bottom =

{

x = 0;

y = 0;

width = 1920;

height = 1080;

viewDx = 0;

viewDy = 0.3;

aspect = 1.77777777777778;

}

}

 

What are your normal screen res?

 

What width do you have in options.lua?

 

Does the above work?

Pimax Crystal VR & Simpit User | Ryzen CPU & Nvidia RTX GPU | Some of my mods

Link to comment
Share on other sites

Hey Taipan. Thanks for your reply. Using your suggested modification produces the same result: the lower screen overlays the main screen. I added the native resolution of the monitors below:

 

 

_ = function(p) return p; end;

name = _('2 Screens zoom');

Description = 'Configuration with 2 non-identical monitors';

Viewports =

{

 

Center =

{

x = 1600; moved 320 more than necessary

y = 0;

width = 1920; true resolution: 1280, added 640

height = 1024; unmodified

viewDx = 0;

viewDy = -0.5;

aspect = 1.875;

},

Bottom =

{

x = 0;

y = 0;

width = 1920; unmodified

height = 1080; unmodified

viewDx = 0;

viewDy = 0.3;

aspect = 1.77777777777778;

}

}

 

 

In the options.lua I use: ["width"] = 3520 added 320 to combined width

 

As stated in the original reply I also tried to switch the physical DVI connection with no success. Using following desktop settings (under Win7)

 

catalyst_desktop.JPG

 

Any further advice? :(

 

 

Kirin out

Link to comment
Share on other sites

Hey Taipan

 

My original .lua has the order reversed - still showing the same result. Will post all my different variations later when I have access to my gaming rig.

 

I also put up the question on widescreengamingforum. LockOn is a true rarity when it comes to customizability and screen setup - no other game lets you fiddle with those settings.

 

I really wonder where you can set the order of screen overlay - if you can set that at all. There is no hint in the catalyst center nor in windows settings.

Link to comment
Share on other sites

It shouldn't be in catalyst or windows settings.

 

When mine overlapped the wrong way I fixed it by lua change.

 

Sorry it's not working, can you post a photo to show the overlap? We may be misunderstanding the meaning of overlap - there will always be some parts of the cockpit at certain view angles on both screens.

Pimax Crystal VR & Simpit User | Ryzen CPU & Nvidia RTX GPU | Some of my mods

Link to comment
Share on other sites

  • 1 month later...

Thanks mate it looks good! I hear that leavu is banned from the 104th and many popular servers though, or they don't allow LUA export.

 

I haven't been in DCS for a while, been adicted to rise of flight at the moment having some guns only action :)

 

Will probably come back for dcs: a10 for the new fixed wing flight model

Pimax Crystal VR & Simpit User | Ryzen CPU & Nvidia RTX GPU | Some of my mods

Link to comment
Share on other sites

  • Recently Browsing   0 members

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