Jump to content

Recommended Posts

Posted

Hello gentlemen,

for cockpit builders and multi monitor users that try to localize the instruments/indicators to "unlock" them for export to separate monitors...

they are now in a different place!

 

Before:

H:\Program Files\Eagle Dynamics\DCS World\Scripts\Aircrafts\A-10C\Cockpit

 

Now:

H:\Program Files\Eagle Dynamics\DCS World\Mods\aircrafts\A-10C\Cockpit\Scripts

 

For those who forgot how to enable them Icemaker made this great tutorial and attached the final results for replace

http://forums.eagle.ru/showthread.php?t=70716&highlight=display+export

 

____________________________________________________

 

ViewportHandling.lua to shut off in game displays is still in:

H:\Program Files\Eagle Dynamics\DCS A-10C\Scripts\Aircrafts\_Common\Cockpit\ViewportHandling.lua

line 31

should look like:

purposes = {

--render_purpose.GENERAL,

render_purpose.HUD_ONLY_VIEW,

render_purpose.SCREENSPACE_OUTSIDE_COCKPIT,

render_purpose.SCREENSPACE_INSIDE_COCKPIT

} -- set purposes to draw it always

________________________________________________

 

Recource management (rearm) window is still dividing the overall screen width by two (*0.5) which depending on your multi monito setup can result in an inconvenient position like below your Helios profile for example.

 

So in some cases still lua fix needed:

...:\Program Files\Eagle Dynamics\DCS World\Scripts\UI

line 242: window = base.Window.new((mw - window_width)*0.5

 

lower values move it to the left...you get the idea

 

__________________________________________________

 

Similar the radio commands that still appear on the very right monitor

 

Fix by Kuky:

... DCS World/Scripts/UI/RadioCommandDialogPanel/CommandMenu.lua

 

Line 55:

 

menuWidth = 280

 

Increase this number (its in pixels) and the menu will move to the left side. Example... I have main screen 1920 pixels wide and 800 pixels touchscreen to its right... so my menus now show on the touchscreen... when I increase this number from 280 to 1080 (adding the 800 pixels of the touchscreen) the menu shows 280 pixels over the main monitor... simple aye biggrin.gif

____________________________________________

 

I haven't checked but I am pretty sure looking at what hasn't been fixed in Beta 1.2.0 I assume the status bar is still off too :)

 

If so, here fix by Kuky&Peter:

http://forums.eagle.ru/showpost.php?p=1468697&postcount=19

 

______________________________________________________________

 

 

 

I ripped my cockpit appart for some modification and have only limited test possibilities atm. Also I need to go to bed now.

But if anyone has time check if anything of PeterP's bug-collection maybe has been solved (I guess PeterP is already doing that anyways :) )

http://forums.eagle.ru/showthread.php?t=88996

 

 

I experienced a frame drop with same settings so far but I am not completely done with adjusting.

Let me know how its works out for you!

 

regards

  • Like 1

4790K@4,6Ghz | EVGA Z97 Classified | 32GB @ 2400Mhz | Titan X hydro copper| SSD 850 PRO

____________________________________

Moments in DCS:

--> https://www.youtube.com/user/weltensegLA

-->

 

WELD's cockpit: --> http://forums.eagle.ru/showthread.php?t=92274

Posted
Thank you so much for this post!

Very welcome!

I always have to find everything again when I reinstall for any reason so I thought why not listing it now that probably everybody has to do it as well.

4790K@4,6Ghz | EVGA Z97 Classified | 32GB @ 2400Mhz | Titan X hydro copper| SSD 850 PRO

____________________________________

Moments in DCS:

--> https://www.youtube.com/user/weltensegLA

-->

 

WELD's cockpit: --> http://forums.eagle.ru/showthread.php?t=92274

Posted

in case you missed these:

 

I found a way to move the score/debrief window also

 

You need to edit Debriefing.lua file located in .../DCS World/Scripts/UI folder

For example I use 1920x1200 main screen resolution so I changed the line 155 from:

window:setBounds((mw-w)*0.5, (mh-h)*0.5, w, h)

to:

window:setBounds((1920-w)*0.5, (1200-h)*0.5, w, h)

to move the rearming window (LAlt + ') you have to edit MissionResourcesDialogs.lua file located in .../DCS World/Scripts/UI folder

 

again, my resolution of main monitor is 1920x1200 so I changed lines 240 and 241 from:

window = base.Window.new((mw - window_width)*0.5,

(mh - window_height)*0.5,

to:

window = base.Window.new((1920 - window_width)*0.5,

(1200 - window_height)*0.5,

this is for DCS World version 1.2.0

PC specs:

Windows 11 Home | Asus TUF Gaming B850-Plus WiFi | AMD Ryzen 7 9800X3D + LC 360 AIO | MSI RTX 5090 LC 360 AIO | 55" Samsung Odyssey Gen 2 | 64GB PC5-48000 DDR5 | 1TB M2 SSD for OS | 2TB M2 SSD for DCS | NZXT C1000 Gold ATX 3.1 1000W | TM Cougar Throttle, Floor Mounted MongoosT-50 Grip on TM Cougar board, MFG Crosswind, Track IR

Posted

Cool! thanks.

But these are all automatically fixed if you create a centered GUI in your monitor lua aren't they?

 

Well even if not thats actually something useful for here:

 

for menus and briefing screens not stretched add to you monitor lua:

GUI=

 

{

x = screen.width / 5; -- five monitors horizontally arranged in this case lets it display on the second screen; alternatively in pixels 1920

y = 0;

width = screen.width / 5;

height = screen.height;

}

 

UIMainView = GUI

4790K@4,6Ghz | EVGA Z97 Classified | 32GB @ 2400Mhz | Titan X hydro copper| SSD 850 PRO

____________________________________

Moments in DCS:

--> https://www.youtube.com/user/weltensegLA

-->

 

WELD's cockpit: --> http://forums.eagle.ru/showthread.php?t=92274

Posted

That doesn't help with rearming and score window, I have the UIMainView = GUI specified in my monitor.lua file but it doesn't affect these

PC specs:

Windows 11 Home | Asus TUF Gaming B850-Plus WiFi | AMD Ryzen 7 9800X3D + LC 360 AIO | MSI RTX 5090 LC 360 AIO | 55" Samsung Odyssey Gen 2 | 64GB PC5-48000 DDR5 | 1TB M2 SSD for OS | 2TB M2 SSD for DCS | NZXT C1000 Gold ATX 3.1 1000W | TM Cougar Throttle, Floor Mounted MongoosT-50 Grip on TM Cougar board, MFG Crosswind, Track IR

Posted (edited)
That doesn't help with rearming and score window, I have the UIMainView = GUI specified in my monitor.lua file but it doesn't affect these

 

Oh I c but I posted a solution for that above already...its a different approach though...guess you like yours better :) ...seems to work too

But now I know the line for the debriefing, thanks!

Edited by Weltensegler

4790K@4,6Ghz | EVGA Z97 Classified | 32GB @ 2400Mhz | Titan X hydro copper| SSD 850 PRO

____________________________________

Moments in DCS:

--> https://www.youtube.com/user/weltensegLA

-->

 

WELD's cockpit: --> http://forums.eagle.ru/showthread.php?t=92274

  • 4 weeks later...
Posted

I used this a while back to export my Shkval and Abris and it worked great, however, I didn't save a backup copy of the viewporthandling.lua file. Now I temporarily want to go back to a single screen but the Shkval is showing up in the upper left corner of the screen. How do I get back to default? I'm wondering what the original looked like before the modification to export the displays?

 

Can someone post what what

[sIGPIC][/sIGPIC]

Flight Box: ASUS P8P67 DELUXE, i7-2700K @ 4.5GHz, 8GB DDR3, Kingston 96GB SSD, EVGA GTX-570 HD 2560MB, Sony KDL-32BX420 32", 2 x Lilliput UM-70, Win7 Pro 64, CH Fighterstick, Pro Throttle, Pro Pedals

Posted (edited)

The position of exports is defined in the monitor.lua (config\monitorsetup\... Just out-comment ( --[[ text ]] ) the block with the Shkval to stop export or change x,y for new position.

The viewporthandling.lua is used to make an export with the monitor.lua possible at all (though I think the Shkval is activated by default) or switch off in game Shkval etc.

To switch an export on or off its easier to modify monitor.lua.

 

I'm at work so this example out of my mind might be not 100% accurate but similar:

--[[

RIGHT_MFCD = { x = 5555; y = 666; width = 445; height = 445; } ]]

 

This block should get green and is then inactive so it doesn't get exported any longer.

Use notepad++ to maintain format.

 

Let me know if I understood you correctly.

Edited by Weltensegler

4790K@4,6Ghz | EVGA Z97 Classified | 32GB @ 2400Mhz | Titan X hydro copper| SSD 850 PRO

____________________________________

Moments in DCS:

--> https://www.youtube.com/user/weltensegLA

-->

 

WELD's cockpit: --> http://forums.eagle.ru/showthread.php?t=92274

  • Recently Browsing   0 members

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