Jump to content

HMCS is centered between stacked monitors


Go to solution Solved by Freyr86,

Recommended Posts

Posted

I have two monitors stacked on top of each other. The top one is 3440x1440 and the bottom one is 1920x1080. I've been using Helios without issue until the update to 2.9.6.

Everything works exactly the same except the HMCS for the A10C. It's getting centered between both monitors. I've tried adjusting the monitor config Lua and creating new ones. Some with the UIMainView and GU_Main_Viewport set to the same width and height settings as the center view and others using Viewports.Center. Any thoughts on how to get the helmet display centered to my main monitor (3440x1440)?

Cockpit1.JPG

Cockpit2.JPG

Cockpit3.JPG

DCS Settings.JPG

Lua.JPG

Display Settings.JPG

Posted

Hello so I found a solution you have to modify a script file of the A10.

In the following folder
"<DCS file>\DCSWorld\Mods\aircraft\A-10C_2\Cockpit\Scripts\Scorpion_HMCS\Indicator"

open the file "HMCS_base_page.lua"

Modify the lines that I have framed by adapting the numbers to your screen that displays the cookpit.
You have to add the lines

corrections.png

In my example my main screen is 1920 x 1080.

I commented out the two original lines.

I hope I helped you



Hello alors j'ai trouver une solution tu dois modifier un fichier script de l'A10.

Dans le dossier suivant
"<fichier DCS>\DCSWorld\Mods\aircraft\A-10C_2\Cockpit\Scripts\Scorpion_HMCS\Indicator"

ouvre le fichier "HMCS_base_page.lua"

Modifies les lignes que j'ai encadrée en addaptant les chiffres a ton ecran qui affiche le cookpit.
Il faut ajouter les lignes

corrections.png


Dans mon exemple mon ecran principal 1920 x 1080.

J'ai mit en commentaire les dseux ligne d'origine.

J'éspère t'avoir aidée

  • Solution
Posted

 

ok I repost because I dig deeper in the lua and I found a solution.

in the folder:
"<game file>\DCSWorld\Mods\aircraft\A-10C_2\Cockpit\Scripts\Scorpion_HMCS\Indicator"

the file:
"HMCS_init.lua"

you have to put line 28 in comment and uncomment line 29 see image below

corrections.png



ok je reposte car je fouiller plus loins dans le lua et j'ai trouver une solution.

dans le dossier:
"<fichier du jeu>\DCSWorld\Mods\aircraft\A-10C_2\Cockpit\Scripts\Scorpion_HMCS\Indicator"

le fichier:
"HMCS_init.lua"

il faut mettre le ligne 28 en commentaire et décommenter la ligne 29 voir image ci-dessous

corrections.png

Posted
On 8/3/2024 at 4:17 AM, Freyr86 said:

 

ok I repost because I dig deeper in the lua and I found a solution.

in the folder:
"<game file>\DCSWorld\Mods\aircraft\A-10C_2\Cockpit\Scripts\Scorpion_HMCS\Indicator"

the file:
"HMCS_init.lua"

you have to put line 28 in comment and uncomment line 29 see image below

corrections.png



ok je reposte car je fouiller plus loins dans le lua et j'ai trouver une solution.

dans le dossier:
"<fichier du jeu>\DCSWorld\Mods\aircraft\A-10C_2\Cockpit\Scripts\Scorpion_HMCS\Indicator"

le fichier:
"HMCS_init.lua"

il faut mettre le ligne 28 en commentaire et décommenter la ligne 29 voir image ci-dessous

corrections.png

Thank you for taking the time to look into this. Your solution worked! I appreciate it. 

Posted

No worries, it makes me happy because I was bored for a while and did not have time until now to find a viable solution.

Once you have learned how to use the HMCS it is difficult to do without it, right??? 😄

 


Pas de soucis ca me fait plasir car j'ai été ennuier un moment et n'ai pas eu le temps jusqu'a maintenant pour trouver une solution viable.

Une fois qu'on a appris en se servire du HMCS c'est difficile de s'en passer pas vrais??? 😄

  • Recently Browsing   0 members

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