←  Maintenance matériel

131st VFS 'Death Vipers'

»

export abris ou autres sur deuxieme ecrans

 Photo Rocco 15 août 2016

Salut,

je cherche a exporter sur un deuxième écrans l'abris, le skhval etc... mais voila j'y comprends rien.

je suis tombé sur plusieurs sujet plus ou moins récents et j'avoue que j'ai un peu peur de faire une connerie.

j'e cherche donc une personne qui serait capable de m’expliquer pas a pas et sur ts la méthode a suivre pour y

arriver.

Pour l'instant ma config est un écrans principal 27 pouces en 2560 x 1440.

je possède un 17 pouces en 1280 x 1024 sur lequel j'aimerais y mettre l'abris

et un autre écrans 22 pouces sur lequel j'aimerais y mettre un peu le reste.

Cordialement.
Citer

 Photo Rocco 17 août 2016

Personne s'y connait really ? :mad:
Citer

 Photo Alias 17 août 2016

Hello, oui pardon, j'ai ca avec 4 écran
Citer

 Photo Alias 17 août 2016

un exemple de mon fichier lua. mais pour 2 écran ici.

MOn écran principale est dessous mon écran secondaire


Description = 'Configuration with 3 identical monitors each with its own camera'
Viewports =
{
Center =
{
x = 0;
y = 0;
width = 1920;
height = 1080;
viewDx = 0;
viewDy = 0;
aspect = screen.aspect / 0.58;
}
}

LEFT_MFCD =
{
x = 55;
y = 1250;
width = 380;
height = 380;
}
RIGHT_MFCD =
{
x = 1010;
y = 1250;
width = 380;
height = 380;
}



UIMainView = Viewports.Center

--[[
also you can use "displays" table to perfectly match you configuration .
it is generated by DCS automatically.
displays table is contains information about all currently attached displays

for example my setup is :

displays =
{
[1] =
{
x = 0, -- note : x == 0 and y == 0 is always mark primary windows display
y = 0,
width = 1920,
height = 1200
},
[2] =
{
x = -1440, -- mark that secondary display is on left side of primary display
y = 0,
width = 1440,
height = 900
},
... for all displays
}

screen table also contain x, y members which mark top left corner of DCS window

note about fullscreen : directx doesn't allow fullscreen applications with resolutions more than primary display can handle,
so multimonitor presets in DCS will fall back to windowed mode if fullscreen initialization failed ( this info also will be printed to dcs.log)

for reconfigure viewports setup for each unit type independently you can declare here function

function reconfigure_for_unit(unit_type) --unit type is string with unit name
if unit_type == "A-10C" then

Viewports = ... define new Viewports table
-- also you can define cockpit displays viewports here
RIGHT_MFCD = ... define new RIGHT_MFCD viewport

else
Viewports = ... define default for others
RIGHT_MFCD = nil -- remove for others
end
end

--]]

Citer

 Photo Alias 17 août 2016

la configue sous seven

Fichier joint  Capture.JPG (45,12 Ko)
Nombre de téléchargements : 14


__ = function(p) return p; end;
name = _('test');
Description = 'Configuration with 3 identical monitors each with its own camera'
Viewports =
{
Left =
{
x = 0;
y = 0;
width = 1920;
height = 1080;
viewDx = -1;
viewDy = 0;
aspect = screen.aspect / 1.7;
},

Center =
{
x = 1920;
y = 0;
width = 1920;
height = 1080;
viewDx = 0;
viewDy = 0;
aspect = screen.aspect / 1.7;
},
Right =
{
x = 3840;
y = 0;
width = 1920;
height = 1080;
viewDx = 1;
viewDy = 0;
aspect = screen.aspect / 1.7;
}


}

LEFT_MFCD =
{
x = 1975;
y = 1250;
width = 380;
height = 380;
}
RIGHT_MFCD =
{
x = 2930;
y = 1250;
width = 380;
height = 380;
}



UIMainView = Viewports.Center

--[[
also you can use "displays" table to perfectly match you configuration .
it is generated by DCS automatically.
displays table is contains information about all currently attached displays

for example my setup is :

displays =
{
[1] =
{
x = 0, -- note : x == 0 and y == 0 is always mark primary windows display
y = 0,
width = 1920,
height = 1200
},
[2] =
{
x = -1440, -- mark that secondary display is on left side of primary display
y = 0,
width = 1440,
height = 900
},
... for all displays
}

screen table also contain x, y members which mark top left corner of DCS window

note about fullscreen : directx doesn't allow fullscreen applications with resolutions more than primary display can handle,
so multimonitor presets in DCS will fall back to windowed mode if fullscreen initialization failed ( this info also will be printed to dcs.log)

for reconfigure viewports setup for each unit type independently you can declare here function

function reconfigure_for_unit(unit_type) --unit type is string with unit name
if unit_type == "A-10C" then

Viewports = ... define new Viewports table
-- also you can define cockpit displays viewports here
RIGHT_MFCD = ... define new RIGHT_MFCD viewport

else
Viewports = ... define default for others
RIGHT_MFCD = nil -- remove for others
end
end

--]]
Citer

 Photo Rickorben 17 août 2016

salut Rocco
ils sont disposés comment tes écrans?
et donne chaque taille si tu peux, :gg:
Citer

 Photo Rickorben 17 août 2016

Fichier joint  dcs 2 ecran plus 1 pour@.jpg (477,02 Ko)
Nombre de téléchargements : 22
ma conf kamov avec ecran tactil et profil Helios ;)
Citer

 Photo Rickorben 17 août 2016

Fichier joint  dispo.jpg (63,21 Ko)
Nombre de téléchargements : 5




_ = function(p) return p; end;
name = _('MFCD22');
Description = 'Left MFCD on the left monitor,Right MFCD on the right and camera on the center'
Viewports =
{
Center =
{
x = 1280;
y = 0;
width = 1920;
height = 1080;
viewDx = 0;
viewDy = 0;
aspect = 1.7;
}
}

LEFT_MFCD =
{
x = 3215;
y = 53;
width = 582;
height = 440;
}

RIGHT_MFCD =
{
x = 3867;
y = 73;
width = 543;
height = 664;
}

UIMainView = Viewports.Center
Citer

 Photo Rickorben 18 août 2016

Fichier joint  radar 2000.jpg (317,2 Ko)
Nombre de téléchargements : 4


ca marche mais que en vue F2... :gun: :cry: :suspicious: :decayed: :suspicious: :fouet:
Citer

 Photo Alias 18 août 2016

Tu te rapproches de la vérité. courage

Mais il n'y a pas une manipulation avec maj+enter à faire... ou un truc du style ?

J'ai lu ça il y a fort longtemps
Citer

 Photo Rickorben 18 août 2016

je vais essayer merci :gg:
Citer

 Photo Rickorben 18 août 2016

alors c'est surement ALT + ENTER, ça met la vue du radar sur le même écran
que la vue externe, et en fait le radar est exporté que en vue F2 F3 F4...
Citer

 Photo Rickorben 18 août 2016

faudrait trouver le fichier lua des vues externes, si fichier il y a... :cry:
Citer

 Photo Rocco 18 août 2016

Merci a tous, j viens de réussir a exporter l'abris sur un autre écrans maintenant je me demande si je peux affiner la résolutions de l'abris?
Citer

 Photo Rickorben 18 août 2016

oui tu peux , x et Y pour la position et width et height pour la taille par exemple :

LEFT_MFCD =
{
x = 1921;
y = 0;
width = 500;
height = 600;
}
Citer

 Photo Rocco 18 août 2016

ouep ça c bon ne fait mais j voulais essayer avoir une image moins pixelisée de l'abris tout en le gardant a la taille maximum de l'ecran

(1280x1024) enfin j'sais pas si je me fais comprendre. :class:
Citer

 Photo Rickorben 18 août 2016

oki :gg:
Citer

 Photo gillesdrone 18 août 2016

Passe l'option display dans le simu sur 1024
Ca devrai le faire
Par contre tu perdra surement car la reso reelle est 10" et tu passe sur 17
Pas sur qu'en qualité de vue tu y gagne
Citer

 Photo Rocco 18 août 2016

c'est bien ca c'est un peu mieux merci :gg:
Citer

 Photo Rocco 18 août 2016

ok une derniere question ca c'est mon fichier quel est la marche a suivre si je veux ajouter des instruments du cockpit avec genre vario, hsi

etc...

_ = function(p) return p; end;
name = _('Camera + RMFCD');
Description = 'Right MFCD on the right and camera on the center'
Viewports =
{
Center =
{
x = 0;
y = 0;
width = 2560 ;
height = 1440;
viewDx = 0;
viewDy = 0;
aspect = 16/9;
}
}

RIGHT_MFCD =
{
x = 2561 ;
y = 8;
width = 640;
height = 1024;
}

UIMainView = Viewports.Center
Citer