GeoS72 Posted July 2, 2021 Posted July 2, 2021 Hi all, I would like to move the UH-1's Crew Indicator display to another monitor. Is there any tribal knowledge on this? I've searched the forum and come up empty handed. I've tried modifying the lua files with no luck either. I've tried editing the crew_indicator_common.lua file in ...OpenBeta\Scripts\Aircraft\_Common\Cockpit. The line that normally affects an overlay (like the controls indicator) is the base.init_pos value. However, when I edit this value, nothing happens to the Crew Indicator. Additionally, I've treid to edit the crew_Indicator_page.lua file in ...OpenBeta\Mods\aircraft\Uh-1H\Cockpit\Scripts\CrewIndicator with no luck either. Any help would be much appreciated! Cheers, GeoS72 1
Tanuki44 Posted July 2, 2021 Posted July 2, 2021 I do not know how to move it to another monitor, but I made this change to compact it. 2
Solution GeoS72 Posted July 2, 2021 Author Solution Posted July 2, 2021 (edited) @Tanuki44, Thank you for posting and providing the knowledge. I moved the crew status indicator based on your work. I was looking at the wrong file. For those who wish to move their crew indicator then please use this as a reference. The folder & file to edit is here: Folder: ...OpenBeta\Mods\aircraft\Uh-1H\Cockpit\Scripts\AI\ControlPanel File: g_panel_page.lua (See attachment) The lines of code to adjust will be the "local shift_X", "local shift_Y", and "local size_X". These should be on lines 42 - 44. Adjusting the "local shift_X" value will move the overlay along the X-axis. A negative value will move it left and a positive value will move it right. Adjusting the "local shift_Y" value will move the overlay along the Y-axis. A negative value will move it down and a positive value will move it up. Adjusting the "local size_X" value will adjust the width of the shaded box. Use a set decimal value instead of the variable value. A positive decimal value will increase the width of the shaded box to the right. A value of 0 will remove the shaded box. A negative decimal value will increase the width of the shaded box to the left. Note: No other values were adjusted. Your results may vary because of monitor resolution and monitor configuration. The values that work for my monitor setup are: local shift_X = -3.85 -- -0.65 local shift_Y = 0.40 -- -1 local size_X = 0.68 -- -shift_X + 0.02 Monitor setup is msi Optix MAG271CQR (27" curved) with 3 Cubesim displays. Monitor resolution for DCS is set at 4960x1440. P.S. You can save the file as is then rename your original file to *.lua.bak or *.lua.orig. If you want to use this file then remove the ".CURRENT" file extension after you make a backup of the original. g_panel_page.lua.CURRENT Edited July 2, 2021 by GeoS72 Added Post Script 2
Scal Posted March 20 Posted March 20 Cannot move the Crew Indicator with this method in VR. Any hint?
Recommended Posts