DeJohn Posted January 30, 2021 Posted January 30, 2021 Did something get changed? My AI panel won't open, pressing LWin + H does nothing. I've tried remapping the keybinds to something else, but it still won't open.
Raven (Elysian Angel) Posted January 31, 2021 Posted January 31, 2021 Mine worked just fine yesterday and the days before... Spoiler Ryzen 9 5900X | 64GB G.Skill TridentZ 3600 | Asus ProArt RTX 4080 Super | ASUS ROG Strix X570-E GAMING | Samsung 990Pro 2TB + 960Pro 1TB NMVe | VR: Varjo Aero Pro Flight Trainer Puma | VIRPIL MT-50CM2 grip on VPForce Rhino with Z-curve extension | Virpil CM3 throttle | Virpil CP2 + 3 | FSSB R3L | VPC Rotor TCS Plus base with SharKa-50 grip | Everything mounted on Monstertech MFC-1 | TPR rudder pedals OpenXR | PD 1.0 | 100% render resolution | DCS graphics settings
DeJohn Posted February 1, 2021 Author Posted February 1, 2021 Found the issue. Its not an issue with DCS but with Helios. When using Helios 1.6 with the Helios Monitor configuration, if you go from an aircraft that has exports, ie F-16, A-10 etc, to something that doesn't have any exports like the UH-1. The Monitor configuration can't compensate for the lack of exports and DCS sees your full screen width and height. My main monitor used for the view port is 2560x1440 and 2nd monitor used for the Helios panel is 1920x1080, DCS sees this as a screen resolution of 4480x1440. Since the AI panel is normally placed in your lower right corner, this is sending it to an area that is off the bottom of the 2nd monitor, rather than using the view port resolution for its placement. So I'm off to fiddle with the g_panel_page.lua to try and change where DCS will place it. 1
DeJohn Posted February 9, 2021 Author Posted February 9, 2021 Ok, I give up!!! At first I thought the issue might be with DCS, next maybe its Helios 1.6 (since before I got the F-16, I was mainly flying the UH-1 which doesn't have any exports, so I was always using just 1 monitor in the configuration.) However, there is nothing wrong with Helios monitor configuration, and after going over the g_panel_page.lua, on the surface it looks like DCS is compensating for multi monitors and making calculations based on the viewport. So what is my problem... First some facts about my setup. I'm using two monitors, #1 the main monitor is 2560 x 1440, this is my main viewport, #2 1920 x 1080, used for my Helios panels. This gives me a total resolution of 4480 x 1440. In the g_panel_page.lua at line 10 is where the calculations for a multimonitor are made. But somewhere along the way DCS is reverting back to the Full Resolution for its placement. I have checked this against the other monitor setups in DCS's MonitorSetup and the results are the same. Primarily this concerns the UH1 AI panel. But if you want to check whether the placement is figured correctly on your multimonitor setup... When in an aircraft of your choosing, open the Controls Indicator on your screen, is should be on the left side of your screen, at the (top, center or bottom). Now press LAlt + F1 to enter HUD only view,(which is how I fly when using Helios panels), if the indicator is not in the center of your viewport (top, center or bottom), but slightly off to the right of center, then the calculation is using your full resolution also. Good luck and Happy Flying to you all.
Milky991 Posted February 10, 2021 Posted February 10, 2021 I was having the same issue and came to the same conclusion for the cause. For me to get around it I use two different LUAs. One is for "Multi Monitor" and used whenever the export is required. FA-18, A-10C etc. On top of the monitor is MFDs and Buddyfox. The other is "Single Monitor" used for flying Helicopters such as UH-1H, Gazelle etc. All I do it turn the second screen off but still use the MFD / Buddyfox on top as button boxes. If you like I can send my two LUA files as it looks like you have the same resolution across your screens as I do. Hope this helps.
Chops Posted February 12, 2021 Posted February 12, 2021 (edited) I just downloaded the Huey module and have the same issue; no AI panel. Using a single monitor, no mods installed, no helios. Edited February 12, 2021 by Chops
admiki Posted February 14, 2021 Posted February 14, 2021 Try repair, this looks like .lua hooks issue
DeJohn Posted February 15, 2021 Author Posted February 15, 2021 I've done several repairs. Issue is with both the OB and the Release versions. I had hoped to find a solution without editing files, however since I could not find in the lua file where the issue is, I just modified the file to move the panel into the main view port. I also edited the controlsindicator.lua to move that to the middle of the view port while in HUD only mode.
Padonis Posted March 29, 2021 Posted March 29, 2021 Has the problem been solved. I also want to move the AI panel so that it is on the second monitor, but in the right place.
Smashy Posted March 29, 2021 Posted March 29, 2021 I was able to move the AI panel from my secondary monitor to my primary one by editing the following file: <DCS installation path>/Mods/aircraft/Uh-1H/Cockpit/Scripts/AI/ControlPanel/g_panel_page.lua Look for the following line: local shift_X = -0.65 Back the original file up and play with the value. The value of "-4.22" worked for me. I don't play multiplayer so I don't know if this fail IC or not. I'd also like to find a way to move the cargo view panel but that's not super high priority for me so I haven't looked into it yet.
Recommended Posts