ED Forums - View Single Post - How to move controls position window
View Single Post
Old 05-11-2013, 07:00 AM   #2
PeterP
Veteran
 
PeterP's Avatar
 
Join Date: Mar 2009
Location: Germany / UTC+1
Posts: 5,180
Default

>>> Triple-head/Multi-Monitor GUI and NVG Fix

Post #1 , near to the bottom:

How to move/resize the Controls Indicator:

The corresponding path for the Huey is
DCS World\Mods\aircrafts\Uh-1H\Cockpit\Scripts\ControlsIndicator\...
Quote:
Originally Posted by PeterP View Post
OK, Pitbull- You are a lucky guy! - I had a some time on my hands for a deeper look - and I found the right triggers that are responsible for the placement of the control indicator in the cockpit-view.
(BTW : I took me only 7min to find the right lines.. be warned that will also change the position of the CTRL-Indicator in the "HUD-only" view")


... here we go:



First go to
DCS:BlackShark 1.1.1.1:
\DCS Black Shark 2\Scripts\Aircrafts\Ka-50\Cockpit\ControlsIndicator

DCS: A10C 1.1.1.1:
\DCS A-10C\Scripts\Aircrafts\A-10C\Cockpit\ControlsIndicator

than open
ControlsIndicator_page.lua
with a proper Editor (>>> Notepad++)



Than edit the size in line #14
>> local size = 0.15 -- 0.30 nearly doubles the width/height of the default one
and position in line #43
>> base.init_pos = {X-position,Y-position} -- both values can be decimal and negative


I made some quick testing and instead of posting lots of pictures that show nearly the same; I copied each different position into the same screen.

I made notes which values are used for each position.




Now you should know enough how to create your own desired spawn point of the CTRL-Indicator.
Keep in mind than you have to use different values on diffident resolutions
(...Up to now I not fully aware what exact logic triggers the spawn-point.
But up to now I can say that when moving the indicator (size 0.15) from x0 to x1 -it will equal 384 pixels and all values are bound to the centre of the XYjoystick position cross.).



See...

Its a whole different thing compared to moving the Radio-menu

Tip:

First set the wished Size - and than place it where you want it. - Because resizing it will change the relative position again , and you have to start over again.
__________________

PeterP is offline   Reply With Quote