Jump to content

Fsea

Members
  • Posts

    17
  • Joined

  • Last visited

About Fsea

  • Birthday 08/09/1987

Personal Information

  • Location
    CN

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. The AI interface not be displayed correctly in the bottom left/right corner of GU_MAIN_VIEWPORT in some view ports layouts. For details and solutions, please see:
  2. The original code didn't scale the offset. This will cause the AI interface to not be displayed correctly in the bottom left/right corner of GU_MAIN_VIEWPORT in some view ports layouts. For example: The screen resolution: 2560*2520 Monitor setup is as follows: _ = function(p) return p end name = _('Helios') description = 'Generated from compatible Helios Profiles' A_10C_2_CDU_SCREEN = { x = 1222.5, y = 2082.5, width = 221.25, height = 162.5 } A_10C_2_LEFT_MFCD = { x = 61.25, y = 1583.75, width = 430, height = 430 } A_10C_2_RIGHT_MFCD = { x = 1425, y = 1583.75, width = 430, height = 430 } A_10C_2_RWR_SCREEN = { x = 590, y = 1601.25, width = 185, height = 185 } F_16C_DED = { x = 1212.5, y = 1441.25, width = 316.25, height = 107.5 } F_16C_EHSI = { x = 858.75, y = 2280, width = 206.25, height = 206.25 } F_16C_LEFT_MFCD = { x = 282.5, y = 1823.75, width = 375, height = 375 } F_16C_RIGHT_MFCD = { x = 1278.75, y = 1823.75, width = 375, height = 375 } F_16C_RWR = { x = 461.25, y = 1515, width = 225, height = 225 } FA_18C_CENTER_MFCD = { x = 783.75, y = 2131.25, width = 350, height = 350 } FA_18C_IFEI = { x = 152.5, y = 2193.75, width = 525, height = 205 } FA_18C_LEFT_MFCD = { x = 287.5, y = 1637.5, width = 375, height = 375 } FA_18C_RIGHT_MFCD = { x = 1263.75, y = 1637.5, width = 375, height = 375 } FA_18C_RWR = { x = 1491.25, y = 2160, width = 181.25, height = 181.25 } FA_18C_UFC = { x = 741.25, y = 1470, width = 456.25, height = 258.75 } Viewports = { Center = { x = 0, y = 0, width = 2560, height = 1440, aspect = 1.77777777777778, dx = 0, dy = 0 } } UIMainView = Viewports.Center GU_MAIN_VIEWPORT = Viewports.Center =============================================================== The soluation is: Modify file : DCS World OpenBeta\Mods\aircraft\AH-64D\Cockpit\Scripts\AI\PrestonAI_page_common.lua --viewports stuff local v = find_viewport("GU_MAIN_VIEWPORT", "CENTER") if v ~= nil then if v.width ~= total_w or v.height ~= total_h then ULX = v.x ULY = v.y SZX = v.width SZY = v.height local aspect = SZX/SZY -- Thanks Asto (https://forum.dcs.world/profile/127293-asto/) local control_pos_offset = {(ULX + SZX / 2 - total_w / 2) / total_w * total_aspect * 2, -(ULY + SZY / 2 - total_h / 2) / total_h * 2} weap_control_pos = {0.8 * aspect * (SZY / total_h) + control_pos_offset[1], -0.75 * (SZY / total_h) + control_pos_offset[2]} compass_pos = {-0.82 * aspect * (SZY / total_h) + control_pos_offset[1], -0.7 * (SZY / total_h) + control_pos_offset[2]} -- Kudos to you (https://forum.dcs.world/topic/295236-george-interface-with-3-monitors/?do=findComment&comment=4922420) weap_control_size = weap_control_size * v.height / total_h compass_size = compass_size * v.height / total_h end end --end viewports stuff The key is: weap_control_pos = {0.8 * aspect * (SZY / total_h) + control_pos_offset[1], -0.75 * (SZY / total_h) + control_pos_offset[2]} compass_pos = {-0.82 * aspect * (SZY / total_h) + control_pos_offset[1], -0.7 * (SZY / total_h) + control_pos_offset[2]}
  3. In current version 2.6, the default position of kneeboard, controller indicator and crew status is calculate by LockOn_Options.screen.width & LockOn_Option.screen.height. //DCS World OpenBeta\Scripts\Aircrafts\_Common\Cockpit\ViewportHandling.lua function update_screenspace_diplacement(aspect,is_left,zoom_value) local w = LockOn_Options.screen.width; local h = LockOn_Options.screen.height; if LockOn_Options.screen.oculus_rift then local ui_x,ui_y,ui_w,ui_h = get_UIMainView() w = ui_w; h = ui_h; end local x0 = 0 local w0 = 0.5 * h local aspect = aspect or 1 local zoom_value = zoom_value or 0 local default_width = w0 + (64 * zoom_value) if default_width > h then default_width = h end if default_width > 0.5 * w then default_width = 0.5 * w end local default_height = default_width / aspect local default_y = h - default_height local default_x = w - default_width - x0 if is_left then default_x = x0 end dedicated_viewport = {default_x,default_y,default_width,default_height} dedicated_viewport_arcade = {default_x, 0 ,default_width,default_height} end If I use multiple monitors to display MDF and main screen(Viewports.center) , the view port of kneeboard, controller indicator, crew status may not be displayed properly. For example, when I use Helios, the kneeboard and crew status( UH-1H) will be displayed on the second screen and blocked by the Helios panel.
  4. In the US ship list, there are only aircraft carriers, Ticonderoga and Arleigh Burke, but no LHA ​​and Perry.
  5. At 19:30, I took off from Nellis and found the entire city of Las Vegas in darkness. After I zoomed in, I could see some of the city lights. It seems that whether the city will be illuminated has something to do with the distance I observe
  6. Hi: I have watched the quick start video released by Matt Wagner. https://www.youtube.com/user/wagmatt/videos I think that compared to the wallpaper of other modules, the wallpaper of Supercarrier is a bit rough and ugly. So I want to ask if it is possible to replace it with a more beautiful wallpaper before release
  7. I'm in the same situation, windows defender reports virus in dcs.exe Threat detected:Behavior:Win32/CredentialAccess.A!ml
  8. SA-15 can even shoot down HARM,but SA-11 can't. I'm not sure if it will happen in reality.
  9. Yes, even empty mission can't saved. And also can't open mission file. I mean there is no response after click the open button, no file pick dialog is displayed. According to the call stack in the dcs.log, an exception that might be thrown when the file dialog box was about to display.
  10. I have run the repair application and rename my dcs.openbeta folder in saved game, but it's still not world Logs.zip
  11. There is no response when I click the open/save button. Log:
  12. Crash report: Can't start open beta server The server application crashes after logging in. DCS open beta server version: 2.5.6.43872 OS: Windows 10 x64 1909 version: 18363.657 # -------------- 20200221-065925 -------------- DCS/2.5.6.43872 (x86_64; Windows NT 10.0.18363) C:\Program Files\Eagle Dynamics\DCS World OpenBeta Server\bin\DCS.exe # 80000003 BREAKPOINT at E2890A40 00:00000000 SymInit: Symbol-SearchPath: '.;C:\Program Files\Eagle Dynamics\DCS World OpenBeta Server;C:\Program Files\Eagle Dynamics\DCS World OpenBeta Server\bin;C:\Windows;C:\Windows\system32;SRV*C:\websymbols*http://msdl.microsoft.com/download/symbols;', symOptions: 530, UserName: 'dcs' OS-Version: 10.0.18363 () 0x100-0x1 0x0000000000870A40 (DCS): uiAsyncNet::onGameStop + 0x3A8D0 0x0000000000870FF9 (DCS): uiAsyncNet::onGameStop + 0x3AE89 0x00000000017471DB (DCS): AmdPowerXpressRequestHighPerformance + 0xBCD1D7 0x000000000084E2CC (DCS): uiAsyncNet::onGameStop + 0x1815C 0x00000000000DD1C4 (edCore): ed::this_thread::yield + 0x10E4 0x00000000000DCFE1 (edCore): ed::this_thread::yield + 0xF01 0x00000000000DB805 (edCore): ed::thread::_get_current_thread_id + 0x45 0x0000000000020E72 (ucrtbase): beginthreadex + 0x142 0x0000000000017BD4 (KERNEL32): BaseThreadInitThunk + 0x14 0x000000000006CED1 (ntdll): RtlUserThreadStart + 0x21
  13. But there are only approach charts of 21L and 03R in knee board。:(:(
  14. The disappearance of PAPI lights at Nellis Airport When I try to land on the runway 21L of Nellis airbase, I noticed that only the PAPI light of runway 21R were working, and the 21L seemed to disappear.
  15. Hi: I have 2 screen like this: right one is 1920x1080. left one is 1080x1920 I have create a new monitor setup file to put left MFD and right MFD to my left monitor. lua code: But when I play F-15C It's only put VSD to my left monitor. So Is there any way to put MPCD and RWR to my left monitor?
×
×
  • Create New...