Jump to content

Recommended Posts

Posted

Ive read stuff tried a million things it seems like and im stuck. I am trying to setup the helios capt_zeen su25t profile.

I have it working in dcs but cannot for the life of me figure out this monitor lua. thing...

Please if someone can help me understand this. Heres my info for my monitors:

I have three 24" set at one screen which is 4268x770

I then have a 19" under those which makes a "T"

The total screen size of all together is 4268x 1538

My problem is im not understanding how to edit the 2nd monitor lua. That capt_zeen has put into the file. Ive tried but no cigar...please help!!!

Posted

So the Helios is working with all the gauges and switches? But you cannot get the MFD to display?

 

What is the actual filename of the lua file you are referring to??

🍺 Snack Officer  🥨 
Intel I9-10850K (OC @ 5.0ghz) │ 64GB (4x16GB) DDR4 3200 │Gigabyte RTX 4090 Gaming OC 24gb
- ҉ - Blackshark Cockpit Trainer - ҉ -    Thread   | Download

Posted

yes helios running and all gauges work fine. I need the picture in the mfd screen in helios.the file im referring to is in the .rar he packaged. he says to input the proper values and save it than put into the config folder. I cant figure out how to find and input the value properly. also, he said to get the viewport size in paint, I did that and I got 464x311. here is the lua. im referring too:

_ = function(p) return p; end;

name = _('2_monitores_su25t');

Description = 'Right MFCD on the right and camera on the center'

 

--TOTAL DEL VIEWPORT

Viewports =

{

Center =

{

x = 0;

y = 0;

width = 1280;

height = 1024;

viewDx = 0;

viewDy = 0;

aspect = 4/3;

}

}

 

--SHKVAL su25t

RIGHT_MFCD =

{

x = 2150;

y = 0;

width = 568;

height = 360;

}

 

 

UIMainView = Viewports.Center

Posted

yes helios running and all gauges work fine. I need the picture in the mfd screen in helios.the file im referring to is in the .rar he packaged. he says to input the proper values and save it than put into the config folder. I cant figure out how to find and input the value properly. also, he said to get the viewport size in paint, I did that and I got 464x311. here is the lua. im referring too:

_ = function(p) return p; end;

name = _('2_monitores_su25t');

Description = 'Right MFCD on the right and camera on the center'

 

--TOTAL DEL VIEWPORT

Viewports =

{

Center =

{

x = 0;

y = 0;

width = 1280;

height = 1024;

viewDx = 0;

viewDy = 0;

aspect = 4/3;

}

}

 

--SHKVAL su25t

RIGHT_MFCD =

{

x = 2150;

y = 0;

width = 568;

height = 360;

}

 

 

UIMainView = Viewports.Center

Posted (edited)

Try this. You will have to change the X and Y of the RIGHT_MFCD to move it into the window of the Helios profile. I usually run the profile, press Prt Scr. And Paste that into MS Paint. Then you can find the X and Y coordinates in Paint by moving your mouse over the top/left corner of the Helios MFD window. Use those coordinates in the RIGHT_MFCD in this .lua file.

 

In DCS Settings select this Monitor file. It will be called by the 'name' below: "Helios Su-25T" DCS shows this 'name', not the file's filename...

 

_  = function(p) return p; end;
name = _('Helios Su-25T');
Description = 'Monitor Setup for Helios.'
Viewports =
{
    Center =
    {
         x = 0;
         y = 0;
         width = screen.width;
         height = screen.height;
         viewDx = 0;
         viewDy = 0;
         aspect = screen.aspect;
    }
}

--SHKVAL Su-25t
RIGHT_MFCD =
{
x = 2150;  -- Horizontal position on the screen
y = 790;   -- Vertical   position on the screen
width = 464;
height = 311;
}

UIMainView = Viewports.Center

Edited by Snacko

🍺 Snack Officer  🥨 
Intel I9-10850K (OC @ 5.0ghz) │ 64GB (4x16GB) DDR4 3200 │Gigabyte RTX 4090 Gaming OC 24gb
- ҉ - Blackshark Cockpit Trainer - ҉ -    Thread   | Download

Posted

so where im confused is:

1}is the top one "center" my top main monitor?

2} and the "right mfcd" underneath for my second monitor? ie, the one under my main screen that helios is on

 

I really wanna learn this as it required a lot in flying dcs if you wana use helios and such

Posted

Thanks for your help...as it stands i kinda got it figured out...my wife bought me a 4k tv for fathers day. I set up the new screen size and put in the new size into the lua.

I got a transparent red box to show on my second screen where the mfcd would be...so to test it i tried to turn on the screen with the "O" key but it wouldnt turn on. Then i went into options and mapped a controller key to the screen but that wouldnt turn on the screen either...

I then went into the a10c to see if the mfcds worked in that, they were on but i had the writing from the cdu in the upper right of my screen, have no idea why thats there or how it got there...

I am lost... Ive desided to delete dcs and all files and try to reinstall...thats where im at now. So i guess ill see if that atleast fixes the cdu problem.

Also, i saw a program called ultra mfcd i think its called and thought id try that and maybe i could use that but i get the main program screen and it just says waiting for dcs and does nothing else so scratch that...

Again thanks for your time...it seems hard to get any help on these forums unless your a regular

Posted
so where im confused is:

1}is the top one "center" my top main monitor?

2} and the "right mfcd" underneath for my second monitor? ie, the one under my main screen that helios is on

 

I really wanna learn this as it required a lot in flying dcs if you wana use helios and such

 

1) Yes, the top area called Viewports defines the where the game is displayed within your resolution. I got that wrong I think.

 

Viewports =
{
    Center =
    {
         x = 0;
         y = 0;
         width =4268;
         height = 770;
         viewDx = 0;
         viewDy = 0;
         aspect = 4268/770;
    }
}

 

2) Yes, correct.

 

Then, this line:

UIMainView = Viewports.Center

tells it where to put the Main Menus in the game.

 

If you really want to learn this the best way is to look at some of the other MonitorSetup.lua files that came with the game. For instance if you look at the 3Camera.lua (3 Screen), It has 3 sections defined within the ViewPorts section. So it breaks the game area up into 3 monitors, and renders 3 views of the game for a triple screen setup that does not stretch the game like the 1Camera.lua does.

 

Also, there are already good guides and info on this posted in the forums:

https://forums.eagle.ru/showthread.php?t=60815&highlight=viewports+guide

https://forums.eagle.ru/showthread.php?t=70716&highlight=viewports+guide

https://forums.eagle.ru/showthread.php?t=89282&highlight=viewports+guide

 

The game has some exported viewports like the Right_MFCD, Left_MFCD, etc built into it for different aircraft. But some aircraft don't have all of the viewports that you want/need. Like the A10. So, you need to mod the game to get the extra ones like the RWR...

 

1) So, for Helios I basically have a mod that I use to add extra export viewports.

2) A monitorsetup.lua file that uses and displays those viewports.

3) A Helios profile to run.

4) and the Helios Export.lua in the scripts folder to get the gauges and switch info for Helios.

 

You don't get a lot of responses to your posts because most people don't uses this stuff.. The forums don't care if you are new here or not.

 

Snacko

🍺 Snack Officer  🥨 
Intel I9-10850K (OC @ 5.0ghz) │ 64GB (4x16GB) DDR4 3200 │Gigabyte RTX 4090 Gaming OC 24gb
- ҉ - Blackshark Cockpit Trainer - ҉ -    Thread   | Download

Posted
Thanks for your help...as it stands i kinda got it figured out...my wife bought me a 4k tv for fathers day. I set up the new screen size and put in the new size into the lua.

I got a transparent red box to show on my second screen where the mfcd would be...so to test it i tried to turn on the screen with the "O" key but it wouldnt turn on. Then i went into options and mapped a controller key to the screen but that wouldnt turn on the screen either... Was the screen on in the game's cockpit? If so , it should be on in your viewport.

I then went into the a10c to see if the mfcds worked in that, they were on but i had the writing from the cdu in the upper right of my screen, have no idea why thats there or how it got there... So you have a different monitorsetup lua file for the A10c?

I am lost... Ive desided to delete dcs and all files and try to reinstall...thats where im at now. So i guess ill see if that atleast fixes the cdu problem. I don't think that will help. Something is setup wrong. I cannot tell what's wrong from reading text messages. But I doubt it's your install.

Also, i saw a program called ultra mfcd i think its called and thought id try that and maybe i could use that but i get the main program screen and it just says waiting for dcs and does nothing else so scratch that... I tried UMFCD but it didn't work correctly on my triple screen. Kept flashing..

Again thanks for your time...it seems hard to get any help on these forums unless your a regular

No Problem..

🍺 Snack Officer  🥨 
Intel I9-10850K (OC @ 5.0ghz) │ 64GB (4x16GB) DDR4 3200 │Gigabyte RTX 4090 Gaming OC 24gb
- ҉ - Blackshark Cockpit Trainer - ҉ -    Thread   | Download

  • Recently Browsing   0 members

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