Решение проблемы игры в онлайне на двухмониторной конфигурации найдено! :)
Использую два монитора 17" 1280*1024 и 15" 1024*768. Выглядит примерно так:
Видюха NVidia, вот настройки экранов в windows7:
Файл конфигурации мониторов:
_ = function(p) return p; end;
name = _('Shkval+Camera+ABRIS');
Description = 'Shkval on the left monitor,ABRIS on the right and camera on the center';
Viewports =
{
Center =
{
x = 0;
y = 0;
width = 1280;
height = 1024;
viewDx = 0;
viewDy = 0;
aspect = 1.25;
}
}
Shkval =
{
x = 133;
y = 1024;
width = 1024 / 2;
height = 768 / 2;
}
ABRIS =
{
x = 133 + (1024 / 2);
y = 1024;
width = 1024 / 2;
height = 768;
}
Для того чтобы интерфейс располагался только на основном окне правим следующие файлы:
\FUI\resoursebs\multiplayer\ (путь для Ка-50) и \FUI\Resourses\Multiplayer\ для LockOn соответственно
select-as-window-multiplayer.res, stats.res, pause.res, client-screen.res, briefing.res, main-screen.res
Перед правкой предварительно не забудьте скопировать исходные файлы куда-нибуть, на всякий .... :) Ы
Теперь о том, что править на примере select-as-window-multiplayer.res
В файле наблюдаем примерно следующее:
\dialog
\begin
\tag{-1}
\coord{0, 0, 1024, 768}
\help{Select-AS-window-multiplayer}
\layer{500}
\topmost
\end
\static
\begin
\tag{0}
\coord{0, 0, 1024, 768}
\texture{1, select-AS-window-multiplayer.png}
\texturefilesize{1024, 1024}
\texturecoord{0, 0, 1024, 768}
\bottommost
\end
\listbox
\begin
\tag{2}
\coord{19, 130, 210, 633}
\defaultitem{MultiColumnListBox-Font5.res}
\marker1{Multiplayer/list_marker.res}
\help{Spectators}
\hasborder{0}
\end
\graphicbutton
\begin
\tag{3}
\coord{18, 639, 212, 670}
\caption{Back to Spectators}
\help{Back to Spectators}
\fonttype {font_dejavu_lgc_sans_condensed_14}
\fontcolor{196, 191, 102, 255}
\elevated{1}
\hasborder{1}
\bordercolor{196, 191, 102, 255}
\end
................. и тд
Это коородинаты элементов интерфейса, их и правим:
\coord{Координата X, Координата Y, Ширина X,Высота Y}
В моем случае (если мониторы расположенно вертикально) правим координату Y и высоту Y.
Путем нехитрого матемарического рассчета определяем коэфициент на коротый будем умножать координаты:
Общая высота 2х мониторов 1024+768=1792, высота основного монитора 1024, Коэфф=1024/1792=0,57
Итого получаем файл:
\dialog
\begin
\tag{-1}
\coord{0, 0, 1024, 437}
\help{Select-AS-window-multiplayer}
\layer{500}
\topmost
\end
\static
\begin
\tag{0}
\coord{0, 0, 1024, 437}
\texture{1, select-AS-window-multiplayer.png}
\texturefilesize{1024, 1024}
\texturecoord{0, 0, 1024, 768}
\bottommost
\end
\listbox
\begin
\tag{2}
\coord{19, 74, 210, 360}
\defaultitem{MultiColumnListBox-Font5.res}
\marker1{Multiplayer/list_marker.res}
\help{Spectators}
\hasborder{0}
\end
\graphicbutton
\begin
\tag{3}
\coord{18, 364, 212, 381}
\caption{Back to Spectators}
\help{Back to Spectators}
\fonttype {font_dejavu_lgc_sans_condensed_14}
\fontcolor{196, 191, 102, 255}
\elevated{1}
\hasborder{1}
\bordercolor{196, 191, 102, 255}
\end
.................. и далее до конца файла
Аналогично правим остальные файлы, Enjoy :thumbup: :pilotfly: