Aller au contenu

Bienvenue sur le site de l'escadron 131st VFS 'Death Vipers', unité virtuelle évoluant sur le simulateur DCS World

export abris ou autres sur deuxieme ecrans


27 réponses à ce sujet

#1

Rocco

    Aviateur

  • Membre
  • PipPipPip

Posté 15 août 2016 - 13:10

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.

#2

Rocco

    Aviateur

  • Membre
  • PipPipPip

Posté 17 août 2016 - 17:06

Personne s'y connait really ? :mad:

#3

Alias

    Pilote

  • Capitaine
  • Moniteur F-18C

Posté 17 août 2016 - 20:22

Hello, oui pardon, j'ai ca avec 4 écran
Image IPB Image IPBImage IPBImage IPB

#4

Alias

    Pilote

  • Capitaine
  • Moniteur F-18C

Posté 17 août 2016 - 20:24

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

--]]


Image IPB Image IPBImage IPBImage IPB

#5

Alias

    Pilote

  • Capitaine
  • Moniteur F-18C

Posté 17 août 2016 - 20:27

la configue sous seven

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


__ = 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

--]]
Image IPB Image IPBImage IPBImage IPB

#6

Rickorben

    Aviateur

  • Membre
  • PipPipPipPipPipPip

Posté 17 août 2016 - 21:23

salut Rocco
ils sont disposés comment tes écrans?
et donne chaque taille si tu peux, :gg:
Image IPB
Une mort certaine ? De faibles chances de survie ? Et bien, qu’attendons-nous ?!

#7

Rickorben

    Aviateur

  • Membre
  • PipPipPipPipPipPip

Posté 17 août 2016 - 22:16

Fichier joint  dcs 2 ecran plus 1 pour@.jpg   477,02 Ko   22 Nombre de téléchargements 
ma conf kamov avec ecran tactil et profil Helios ;)
Image IPB
Une mort certaine ? De faibles chances de survie ? Et bien, qu’attendons-nous ?!

#8

Rickorben

    Aviateur

  • Membre
  • PipPipPipPipPipPip

Posté 17 août 2016 - 23:15

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




_ = 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
Image IPB
Une mort certaine ? De faibles chances de survie ? Et bien, qu’attendons-nous ?!

#9

Rickorben

    Aviateur

  • Membre
  • PipPipPipPipPipPip

Posté 18 août 2016 - 14:02

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


ca marche mais que en vue F2... :gun: :cry: :suspicious: :decayed: :suspicious: :fouet:
Image IPB
Une mort certaine ? De faibles chances de survie ? Et bien, qu’attendons-nous ?!

#10

Alias

    Pilote

  • Capitaine
  • Moniteur F-18C

Posté 18 août 2016 - 14:07

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
Image IPB Image IPBImage IPBImage IPB

#11

Rickorben

    Aviateur

  • Membre
  • PipPipPipPipPipPip

Posté 18 août 2016 - 14:12

je vais essayer merci :gg:
Image IPB
Une mort certaine ? De faibles chances de survie ? Et bien, qu’attendons-nous ?!

#12

Rickorben

    Aviateur

  • Membre
  • PipPipPipPipPipPip

Posté 18 août 2016 - 14:18

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...
Image IPB
Une mort certaine ? De faibles chances de survie ? Et bien, qu’attendons-nous ?!

#13

Rickorben

    Aviateur

  • Membre
  • PipPipPipPipPipPip

Posté 18 août 2016 - 14:20

faudrait trouver le fichier lua des vues externes, si fichier il y a... :cry:
Image IPB
Une mort certaine ? De faibles chances de survie ? Et bien, qu’attendons-nous ?!

#14

Rocco

    Aviateur

  • Membre
  • PipPipPip

Posté 18 août 2016 - 16:41

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?

#15

Rickorben

    Aviateur

  • Membre
  • PipPipPipPipPipPip

Posté 18 août 2016 - 16:48

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;
}
Image IPB
Une mort certaine ? De faibles chances de survie ? Et bien, qu’attendons-nous ?!

#16

Rocco

    Aviateur

  • Membre
  • PipPipPip

Posté 18 août 2016 - 17:22

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:

#17

Rickorben

    Aviateur

  • Membre
  • PipPipPipPipPipPip

Posté 18 août 2016 - 17:45

oki :gg:
Image IPB
Une mort certaine ? De faibles chances de survie ? Et bien, qu’attendons-nous ?!

#18

gillesdrone

    Pilote

  • Membre
  • PipPip

Posté 18 août 2016 - 17:52

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

#19

Rocco

    Aviateur

  • Membre
  • PipPipPip

Posté 18 août 2016 - 18:06

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

#20

Rocco

    Aviateur

  • Membre
  • PipPipPip

Posté 18 août 2016 - 18:39

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



1 utilisateur(s) li(sen)t ce sujet

0 membre(s), 1 invité(s), 0 utilisateur(s) anonyme(s)