Jump to content

Recommended Posts

Posted

Hi,

 

I have a 3 monitor setup using NVIDIA surround (so for DCS basically 1 monitor with a resolution of 5760x1080) which works fine so far. However, the problem is that the radio text and the comm menu are now on the right or left screen so I need to turn my head to read it. Its a little uncomfortable and not really doable in the heat of battle.

With some research I was already able to move the comm menu and the "right hand text" (e.g. the instructor text and so on) to the right side of the center screen. Basically be editing a lua file and pretending the resolution was 3840. This is fine. However, the "left hand text" (Wingman / ATC / AWACS / Bullseye calls and so on...) is still on the left screen. Since I have no clue how I should even call these radio texts I dont even know what to search for. All I found seemed to be related to the "right hand text" and the comms menu.

 

So long story short: can anyone give me a hint what file I could edit to bring my AWACS / wingman / Bullseye call texts to the center screen?

Hope you know what I mean! :)

Thanks in advance!

Posted

Assigning the GUI to the center screen used to be possible in 1.2.xx using the monitor config file. As of 1.5 if you try this it completely breaks the GUI.

Intel 9600K@4.7GHz, Asus Z390, 64GB DDR4, EVGA RTX 3070, Custom Water Cooling, 970 EVO 1TB NVMe

34" UltraWide 3440x1440 Curved Monitor, 21" Touch Screen MFD monitor, TIR5

My Pit Build, Moza AB9 FFB w/WH Grip, TMWH Throttle, MFG Crosswinds W/Combat Pedals/Damper, Custom A-10C panels, Custom Helo Collective, SimShaker with Transducer

Posted

Hi,

I have also thought about this and have read the tutorial thread somewhere here. However, if I remember correctly this guide was for a 3 monitor profile within DCS. Since I use NVIDIA Surround it pretends to be one screen. Therefor I was already thinking that this might not fix this issue... :(

Posted

Found the solution, now it works exactly as I want. For later reference:

 

asuming you run a resolution of 5760x1080. The value 3840 you will see later represents 2x1920 and will make your center monitor the "right border" for the messages. These changes are only picked up if you restart DCS completely. Reloading the mission does not work!

 

for the command menu edit DCS World/Scripts/UI/RadioCommandDialogPanel/CommandMenu.lua

 

starting at line 89 for me

do

local menuPanel = Panel.new('CommandMenu.menuPanel')

menuPanel:setSkin(containerSkin)

menuPanel:setBounds(3840 - menuWidth, 0, menuWidth, height) -- edit here

container:insertWidget(menuPanel)

self.menuPanel = menuPanel

 

additionally go to DCS World\Scripts\UI\RadioCommandDialogPanel\CommandDialogsPanel.lua

 

starting at line 175 for me

do

local screenWidth, screenHeight = Gui.GetWindowSize()

screenWidth = 3840 -- add this line

local height = 400

local window = DialogLoader.spawnDialogFromFile('Scripts/UI/RadioCommandDialogPanel/CommandDialogsPanel.dlg')

window:setBounds(0, 0, screenWidth, height)

 

Doing this will bind your radio menu to the right of you center screen. Exactly where it should be if you had 1 monitor. However now you will still have the radio text spread on your left and right screen. You can fix it by doing this:

 

go to DCS World\Scripts\UI\gameMessages.lua

starting at line 54 for me

 

window = DialogLoader.spawnDialogFromFile('Scripts/UI/gameMessages.dlg', localization)

main_w, main_h = Gui.GetWindowSize()

main_w = 1920 --add this line!

--window:setBounds(0,0, main_w, main_h)

window:setBounds(1920,0, main_w, main_h) --edit this line

 

Doing these changes will also put the left and the right radio messages to the center screen so you wont need to turn you head. Enjoy! :)

  • Like 3
Posted

Very nice. Thank you.

hsb

HW Spec in Spoiler

---

 

i7-10700K Direct-To-Die/OC'ed to 5.1GHz, MSI Z490 MB, 32GB DDR4 3200MHz, EVGA 2080 Ti FTW3, NVMe+SSD, Win 10 x64 Pro, MFG, Warthog, TM MFDs, Komodo Huey set, Rverbe G1

 

Posted
Found the solution, now it works exactly as I want. For later reference:

 

asuming you run a resolution of 5760x1080. The value 3840 you will see later represents 2x1920 and will make your center monitor the "right border" for the messages. These changes are only picked up if you restart DCS completely. Reloading the mission does not work!

 

for the command menu edit DCS World/Scripts/UI/RadioCommandDialogPanel/CommandMenu.lua

 

starting at line 89 for me

do

local menuPanel = Panel.new('CommandMenu.menuPanel')

menuPanel:setSkin(containerSkin)

menuPanel:setBounds(3840 - menuWidth, 0, menuWidth, height) -- edit here

container:insertWidget(menuPanel)

self.menuPanel = menuPanel

 

additionally go to DCS World\Scripts\UI\RadioCommandDialogPanel\CommandDialogsPanel.lua

 

starting at line 175 for me

do

local screenWidth, screenHeight = Gui.GetWindowSize()

screenWidth = 3840 -- add this line

local height = 400

local window = DialogLoader.spawnDialogFromFile('Scripts/UI/RadioCommandDialogPanel/CommandDialogsPanel.dlg')

window:setBounds(0, 0, screenWidth, height)

 

Doing this will bind your radio menu to the right of you center screen. Exactly where it should be if you had 1 monitor. However now you will still have the radio text spread on your left and right screen. You can fix it by doing this:

 

go to DCS World\Scripts\UI\gameMessages.lua

starting at line 54 for me

 

window = DialogLoader.spawnDialogFromFile('Scripts/UI/gameMessages.dlg', localization)

main_w, main_h = Gui.GetWindowSize()

main_w = 1920 --add this line!

--window:setBounds(0,0, main_w, main_h)

window:setBounds(1920,0, main_w, main_h) --edit this line

 

Doing these changes will also put the left and the right radio messages to the center screen so you wont need to turn you head. Enjoy! :)

 

+1

Intel Core i7-6700K Cpu 4.00 GHz OC 4.8 GHz Water Cooled|32 GB DDR4 ram OC| Nvidia RTX 2080Ti| TrustMaster Warthog|Saitek Battle Pro Pedals | Logitec G13| Oculus Rift S :joystick:

 

I´m in for a ride, a VR ride:pilotfly:

https://www.youtube.com/channel/UCBX_-Hml7_7s1dggit_vGpA?view_as=public

  • 1 year later...
Posted

I have used this method since 2016 but with Ver. 1.5.8 it is placing the Informational meassages over the top of wingman, JTAC, etc. Hopefully i can find a fix.

[sIGPIC][/sIGPIC]

Posted (edited)

This link may hopefully help you!

https://forums.eagle.ru/showthread.php?t=143536

 

Basically add to this file:

...\DCS World\Config\MonitorSetup\1Camera.lua (you can copy/paste this file and create a new one with whatever name you see fit and edit this new file - select it in the DCS options ingame!)

I named it my3CamProfile.lua

I added this:

 

_ = function(p) return p; end;

name = _('my3CamProfile');

Description = 'One monitor configuration'

Viewports =

{

Center =

{

x = 0;

y = 0;

width = screen.width;

height = screen.height;

viewDx = 0;

viewDy = 0;

aspect = screen.aspect;

}

}

Gui =

{

x = 1920;

y = 0;

width = 1920;

height = 1080;

}

 

UIMainView = Gui

 

This makes all the above changes in this thread obsolete.

 

In a nutshell: it should be enough to add the changes above to your "monitorSetup" file and you will not need ANY changes to adjust to your 3 monitor setup anymore. Your new "custom" file will never be replaced by any updates and will remain through updates. As of now it seems that you can basically forget everything that has been written above (including things I have written in this thread) and just do this and you should be good to go!

 

Hope this helps!

Edited by Ayindi
  • Like 1
  • 2 years later...
  • 9 months later...
Posted
On 12/20/2017 at 10:46 PM, Ayindi said:

This link may hopefully help you!

https://forums.eagle.ru/showthread.php?t=143536

 

Basically add to this file:

...\DCS World\Config\MonitorSetup\1Camera.lua (you can copy/paste this file and create a new one with whatever name you see fit and edit this new file - select it in the DCS options ingame!)

I named it my3CamProfile.lua

I added this:

 

_ = function(p) return p; end;

name = _('my3CamProfile');

Description = 'One monitor configuration'

Viewports =

{

Center =

{

x = 0;

y = 0;

width = screen.width;

height = screen.height;

viewDx = 0;

viewDy = 0;

aspect = screen.aspect;

}

}

Gui =

{

x = 1920;

y = 0;

width = 1920;

height = 1080;

}

 

UIMainView = Gui

 

This makes all the above changes in this thread obsolete.

 

In a nutshell: it should be enough to add the changes above to your "monitorSetup" file and you will not need ANY changes to adjust to your 3 monitor setup anymore. Your new "custom" file will never be replaced by any updates and will remain through updates. As of now it seems that you can basically forget everything that has been written above (including things I have written in this thread) and just do this and you should be good to go!

 

Hope this helps!

 

 

Works perfectly .Thank you !!

 I7 4770K / 1080 TI / 16GB RAM / VR Q2 / 3X IIYAMA 27 / T.16000M FCS TWCS / TRACK IR PRO

A-10C II / F/A18 C / F-14 / F16-C / M-2000C / F-86F Sabre / C-101 / SPITFIRE LF / P-51D / FW 190 D-9 / FW 190 A-B / Bf 109 K-4

CHRISTEN EAGLE II / YAK-52 / UH-1H Huey / SA 342

CHANNEL MAP / NEVADA / NORMANDY /  PERSIAN / SYRIA / SUPERCARRIER /

TAKE OFF FRANCE.FR

  • Recently Browsing   0 members

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