3GO模拟飞行网|3GO Cyber Air Force

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 9734|回复: 53

黑鲨多屏设置

[复制链接]
发表于 2010-1-4 12:48:51 | 显示全部楼层 |阅读模式
根据1090的帖子http://bbs.3gofly.com/bbs/viewth ... hlight=%B6%E0%C6%C1
自己研究了下 终于搞好了Win7和Vista下使用黑鲨双屏 XP无法使用水平跨越的飞友也可以使用





[ 本帖最后由 oscarnobel 于 2010-1-4 14:24 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x

评分

1

查看全部评分

 楼主| 发表于 2010-1-4 12:49:23 | 显示全部楼层
显卡上一个VGA 一个DVI接口 DVI接口上插个转接头转接VGA 2个接头都接VGA 接上2个显示器 使用扩展显示
显示器: 1680x1050的22寸 1280x1024的17寸 
黑鲨要使用窗口模式:
修改2个文件:
Eagle Dynamics\Ka 50\BlackShark\data\scripts\options.lua
Eagle Dynamics\Ka 50\Config\MonitorSetup\Shkval+Camera+ABRIS.lua
方案一:主屏显示座舱 副屏显示,左半屏显示Shkval,右半屏显示ABRIS
先根据2个显示器中分辨率最大的设置option.lua用记事本打开

option.lua修改
options = 

{
    ["views"] =
    {
        ["cockpit"] =
        {
            ["mirrors"] = false,
            ["reflections"] = false,
            ["avionics"] = 1,
            ["russianHud"] = false,
        }, -- end of ["cockpit"]
    }, -- end of ["views"]
    ["difficulty"] =
    {
        ["padlock"] = false,
        ["easyRadar"] = false,
        ["enemies"] = true,
        ["setGlobal"] = false,
        ["immortal"] = false,
        ["geffect"] = "realistic",
        ["easyFlight"] = false,
        ["permitCrash"] = false,
        ["radio"] = false,
        ["tips"] = true,
        ["fuel"] = false,
        ["aftSwitching"] = false,
        ["cockpitLanguage"] = "english",
        ["units"] = "imperial",
        ["externalViews"] = true,
        ["hud"] = false,
        ["myPlane"] = true,
        ["iconsTheme"] = "nato",
        ["map"] = true,
        ["weapons"] = false,
        ["allies"] = true,
        ["labels"] = true,
    }, -- end of ["difficulty"]
    ["audio"] =
    {
        ["wind"] = 100,
        ["radio"] = 100,
        ["musicEn"] = false,
        ["engines"] = 100,
        ["soundEn"] = true,
        ["effects"] = 100,
        ["music"] = 50,
        ["radioSpeech"] = true,
        ["warnings"] = 100,
        ["volume"] = 100,
        ["inCockpit"] = 100,
        ["mech"] = 100,
        ["subtitles"] = true,
        ["gui"] = 50,
    }, -- end of ["audio"]
    ["graphics"] =
    {
        ["multiMonitorSetup"] = "shkval+camera+abris",
        ["color"] = "32",
        ["heatBlr"] = 0,
        ["scenes"] = "low",
        ["water"] = 2,
        ["fullScreen"] = false,
        ["visibRange"] = "Low",
        ["aspect"] = 4.8,
        ["textures"] = 0,
        ["shadows"] = 1,
        ["display_mode"] =
        {
            ["avi"] =
            {
                ["bpp"] = 32,
                ["resolution"] = "640x480",
                ["full_screen"] = false,
                ["aspect"] = 4.8,
                ["height"] = 480,
                ["width"] = 640,
            }, -- end of ["avi"]
        }, -- end of ["display_mode"]
        ["effects"] = 3,
        ["lights"] = 2,
        ["haze"] = 1,
        ["terrPrld"] = "20",
        ["height"] = 1050,
        ["resolution"] = "5040x1050",
        ["civTraffic"] = 0,
        ["width"] = 5040,
    }, -- end of ["graphics"]
} -- end of options

["full_screen"] = false, 取消全屏显示,以窗口模式显示
["multiMonitorSetup"] = "shkval+camera+abris"  直接写成这样就行["aspect"] = 4.8   4.8是分辨率最大的屏幕的显示比例的3倍    [我的是1680x1050 也就是1.6x3=4.8]

["height"] = 1050   1050是显示器分辨率的最大高度
["width"] = 5040     5040是显示器分辨率最大宽度的3倍    [我的是1680x3=5040]



Shkval+Camera+ABRIS.lua修改


Description = 'ABRIS on the left monitor,Shkval on the right and camera on the center'
Viewports =
{
     Center =
     {
          x = screen.width / 3;
          y = 0;
          width = screen.width / 3;
          height = screen.height;
          viewDx = 0;
          viewDy = 0;
          aspect = screen.aspect / 3;
     }
}

ABRIS =
{
     x = screen.width *(4000 / 5040);
     y = 0;
     width = screen.width *(640 / 5040);
     height = screen.height*(1024 / 1050);
}

Shkval =
{
     x = screen.width *(2 / 3);
     y = 0;
     width = screen.width *(640 / 5040);
     height = screen.height *(1024 / 1050);

}


Description = 'ABRIS on the left monitor,Shkval on the right and camera on the center' 最上面的照这个改一下 OK了

[1]    先改Shkval
Shkval =
{
     x = screen.width *(2 / 3);
     y = 0;
     width = screen.width *(640 / 5040);
height = screen.height *(1024 / 1050);

}
width = screen.width *(640 / 5040); 640/5040意思是这样的:  screen.width刚才已经在options.lua里设置了是5040 在Shkval里的width =的意思是Shkval显示的水平宽度 我是用1280的一半做Shkval也就是640   screen.width是5040 所以要得到640 要乘以640/5040  
height = screen.height *(1024 / 1050); 1024/1050的含义: screen.height 刚才已经在options.lua里设置了是1050 因为Shkval用的是17寸的那个显示器最大高度是1024  要得到1024  要乘以1024/1050  

[2] 再改ABRIS
ABRIS =
{
     x = screen.width *(4000 / 5040);
     y = 0;
     width = screen.width *(640 / 5040);
     height = screen.height*(1024 / 1050);
}

width = screen.width *(640 / 5040); 宽度跟Shkval是一样的都是640
height = screen.height*(1024 / 1050); 高度跟ABRIS也是一样的1024
x = screen.width *(4000 / 5040); 这个我觉得是这样的定义的 从总屏幕宽度(也就是5040)的最左面算起到X点开始显示ABRIS  这个文件里默认的ABRIS是在我的主屏(22寸的左面  1680开始的)要把它移动到副屏的Shkval右边需要移动1680+1680+640 距离  50/63就是 (1680+1680+640)/5040 得到的


方案二:主屏显示座舱 副屏显示Shkval
Eagle Dynamics\Ka 50\BlackShark\data\scripts\options.lua 修改方法同上一方案

Shkval+Camera+ABRIS.lua修改
Description = 'ABRIS on the left monitor,Shkval on the right and camera on the center'
Viewports =
{
     Center =
     {
          x = screen.width / 3;
          y = 0;
          width = screen.width / 3;
          height = screen.height;
          viewDx = 0;
          viewDy = 0;
          aspect = screen.aspect / 3;
     }
}

ABRIS =
{
     x = 0;
     y = 0;
     width = screen.width *(640 / 5040);
     height = screen.height*(1024 / 1050);

}

Shkval =
{
     x = screen.width *(2 / 3);
     y = 0;
     width = screen.width *(1280 / 5040);
height = screen.height *(1024 / 1050);
}

x = 0;  把ABRIS 移动到最左边也就是主屏的左边去

width = screen.width *(1280 / 5040);  Shkval宽度是副屏总宽度1280
其他修改同上一方案





具体修改的数值根据自己的显示器分辨率还有自己的需求修改  自己计算后 修改就欧了 [感谢1090指点]

[ 本帖最后由 oscarnobel 于 2010-1-8 18:37 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2010-1-4 13:33:00 | 显示全部楼层
强顶!!!!
发表于 2010-1-4 13:55:23 | 显示全部楼层
发表于 2010-1-4 14:47:29 | 显示全部楼层
发表于 2010-1-4 16:15:16 | 显示全部楼层
545寝室看上去挺干净明亮的

[ 本帖最后由 Archer/23 于 2010-1-4 16:16 编辑 ]
 楼主| 发表于 2010-1-4 16:25:53 | 显示全部楼层

回复 6# Archer/23 的帖子

必须滴  我有轻微洁癖
发表于 2010-1-4 17:20:34 | 显示全部楼层
一个17的显示Shkval  和ABRIS

很难看 就显示Shkval
弄个双屏得了 多好
 楼主| 发表于 2010-1-4 17:27:16 | 显示全部楼层

回复 8# p741855 的帖子

好建议
发表于 2010-1-4 19:35:14 | 显示全部楼层
西城区淫民发来贺电。
发表于 2010-1-4 20:06:22 | 显示全部楼层
什么事都难不住飞友啊。545的劳动成果。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2010-1-5 16:12:17 | 显示全部楼层
520纯表情!扣分!
发表于 2010-1-8 17:06:51 | 显示全部楼层
我只想要shkval+camera.我的是一台22LED加一台19CRT.不懂得怎么设.要怎么改啊.好复杂啊.
发表于 2010-1-8 17:25:29 | 显示全部楼层
shkval+camera的设置发上来参考一下啊.
 楼主| 发表于 2010-1-8 17:33:18 | 显示全部楼层

回复 14# bf5 的帖子

把你的显示器分辨率告诉我 Eagle Dynamics\Ka 50\BlackShark\data\scripts\options.lua
Eagle Dynamics\Ka 50\Config\MonitorSetup\Shkval+Camera+ABRIS.lua 这两个文件发给我 我给你改
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|小黑屋|手机版|3GO模拟飞行网|3GO Cyber Air Force ( 沪ICP备08002287号|沪ICP备14050587号 )

GMT+8, 2024-5-2 16:47

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表