Jump to content

Recommended Posts

Posted

Hi everyone,

I played for years with 1 screen only ... but I just changed for a setup with triples (3 x 2560 x 1440).

Everything works great, but I have the following issue : when using triples the radio messages (subtitles), or the mission triggered messages doesn't display on screen (I can hear them, but no text visible). The radio menus (when you've to chose F1, F2, ...) are there, but not the "subtitles of the voices".

I tried almost eveything without any success. I figured out that the only thing that makes it work is to put DCS on "1 monitor" in the options... but it creates other issues. When setting it to "3 monitors" the messages are never displayed on any screen...

I am pretty sure that guys with triples out there must have a solution for that.... how are you doing it ?

PS : I tried it with and without Nvidia Surround, same results.

Posted (edited)

in your main DCS folder go to Scripts - UI,  Its the gameMessages LUA file that will need a couple of adjustments to say get messages displayed on your center screen

Half way down the file

local function getLentaTriggerBounds(a_h)
    local offsetTop        = 20
    local offsetLeft    = 2250  (DEFAULT IS 20 - TRIGGERED MESSAGE BOX)
    local width

 

and a little further down

function create()
    local localization = {
    }

    window = DialogLoader.spawnDialogFromFile('Scripts/UI/gameMessages.dlg', localization)
    main_w, main_h = Gui.GetWindowSize()
    window:setBounds(0, 0, main_w, main_h)  (THIS IS THE DEFAULT VALUES FOR RADIO MESSAGES AND SHOWS IN CENTER OF MAIN SCREEN)  

Edited by IanC58
more info
  • Like 1
  • Thanks 1

74_Fox

Posted
4 minutes ago, IanC58 said:

in your main DCS folder go to Scripts - UI,  Its the gameMessages LUA file that will need a couple of adjustments to say get messages displayed on your center screen

Yeah.. I read a some posts about it ... but I'm not sure if it's my issue or even related. Actually even if I don't mind the screen where they appear... they just don't.

If I set "1 monitor" in the options they appear (on the right of the right screen), if I set "3 monitor" they don't appear at all on any screen.

Posted (edited)

Im on one screen with res 5120 x 1440, my pref position is 2250

Yours is 7680 x 1440 so your center point is at 3840

Edited by IanC58

74_Fox

Posted (edited)

Thanks IanC58 for trying to help 😉 Really appreciated !

But if you don't mind, just let's break it down :

1) In the setup, do you set 1 or 3 monitors ?

2) This choice is related to the lua files that are in /*DCS Folder*/Config/MonitorSetup ... did you edit them ? Like in this topic : 
https://forum.dcs.world/topic/120413-all-information-on-centre-screen 
I tried to edit the "1 monitor" file, but when I did, it worked with all the GUI, menus and stuff... but the radio text messages disappeared (like if I choose the 3 monitor option). I had to revert back.

3) Where did in the gameMessages LUA file did you setup your 2250 pref position ? I saw the following post, but it doesn't get me anywere, as when I try to apply the same modifications (with my numbers), the radio text messages doesn't appear anymore 
https://forum.dcs.world/topic/134049-3-monitor-setup-moving-all-radio-texts-to-center-screen/?do=findComment&comment=2725156

Again, thanks for your time and patience

 

PS : Ok, just saw that you edited your previous message pointing some code. Il try these modifications in a few minutes.

Edited by Steel600
Posted
3 hours ago, IanC58 said:

in your main DCS folder go to Scripts - UI,  Its the gameMessages LUA file that will need a couple of adjustments to say get messages displayed on your center screen

Half way down the file

local function getLentaTriggerBounds(a_h)
    local offsetTop        = 20
    local offsetLeft    = 2250  (DEFAULT IS 20 - TRIGGERED MESSAGE BOX)
    local width

Great ! That did the trick !

I even can use the "3 monitor" option again, as the messages stay on my center screen (I just tweeked the value to keep them on the top right of my center screen).

Thanks again for the help !

Posted
11 minutes ago, Steel600 said:

Great ! That did the trick !

I even can use the "3 monitor" option again, as the messages stay on my center screen (I just tweeked the value to keep them on the top right of my center screen).

Thanks again for the help !

most welcome, make a copy of the file as it will get overwritten with any patch/updates 

74_Fox

Posted (edited)
23 hours ago, IanC58 said:

in your main DCS folder go to Scripts - UI,  Its the gameMessages LUA file that will need a couple of adjustments to say get messages displayed on your center screen

Half way down the file

local function getLentaTriggerBounds(a_h)
    local offsetTop        = 20
    local offsetLeft    = 2250  (DEFAULT IS 20 - TRIGGERED MESSAGE BOX)
    local width

 

and a little further down

function create()
    local localization = {
    }

    window = DialogLoader.spawnDialogFromFile('Scripts/UI/gameMessages.dlg', localization)
    main_w, main_h = Gui.GetWindowSize()
    window:setBounds(0, 0, main_w, main_h)  (THIS IS THE DEFAULT VALUES FOR RADIO MESSAGES AND SHOWS IN CENTER OF MAIN SCREEN)  

 

I'm using a 65" TV and the radio messages up at the top/left are to hard to read. This fix is a great solution. Thanks!

Question: Is it possible to make these lua files have the file rights set to read-only / write-deny? I'm not sure if subsequent DCS updates would choke. Just a thought I had.

***Update: That's a bad idea! Ignore that sentence. Move along, nothing to see here...

Edited by HwyStar

LG C1 65", NZXT BLD, i9-12900K, 32G 4400MHz, RTX 3080, WinWing Orion2 w/ F-16EX Grip, TM Warthog Throttle, StreamDeck XL, Virpil Rudders, Tobii 5

Posted
1 hour ago, HwyStar said:

I'm using a 65" TV and the radio messages up at the top/left are to hard to read. This fix is a great solution. Thanks!

Question: Is it possible to make these lua files have the file rights set to read-only / write-deny? I'm not sure if subsequent DCS updates would choke. Just a thought I had.

***Update: That's a bad idea! Ignore that sentence. Move along, nothing to see here...

 

Its just one of those things on the 'to do' list after an update/patch unfortunately, I tend to make a copy of the new orig file then drop the edited file in to overwrite the new orig file.

  • Like 1

74_Fox

  • Recently Browsing   0 members

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