September 1, 201213 yr On most of my aircraft I've created custom GPS and radio panel windows that are nicely positioned and large enough to interact with. I use the virtual cockpit and like to keep the GPS and radio windows open sometimes, but the problem is every time I switch between cockpit and outside views the windows disappear. Is there a way to keep them open until toggled off?
September 1, 201213 yr Moderator Right-click and choose "undock"... Fr. Bill AOPA Member: 07141481 AARP Member: 3209010556 Avsim Board of Directors | Avsim Forums Moderator
September 2, 201213 yr Author Right-click and choose "undock"... Thanks for the response. That's pretty much what I want to do, except undocking the windows puts a border and title bar around them. I've spent a lot of time getting the windows perfectly sized and positioned so they are easily accessable, yet unobtrusive. The borders and title bars around them don't look good at all and block part of the view. Plus, I would like for it to happen every time automatically. I was kind of hoping for some kind of command I could put in the panel,cfg file where the options like window size and position are listed. I'll try undock=1 :-)
September 2, 201213 yr Is there a way to keep them open until toggled off? Although it is possible to do what you want, you would need to write a lot of code to handle all the possible variants when changing views in FSX, and I doubt it's worth the effort. Tom
September 16, 201213 yr Is there a way to keep them open until toggled off?I can't help with the rest of your query, but, a simple panel.cfg edit/addition in a window description works for that. [WindowXX] ... ... type=SPECIAL That keeps that window open until you decide otherwise...Don
September 23, 201213 yr Author I can't help with the rest of your query, but, a simple panel.cfg edit/addition in a window description works for that. [WindowXX] ... ... type=SPECIAL That keeps that window open until you decide otherwise...Don Don, thank you so much!! That does exactly what I wanted to do.
September 24, 201213 yr If you want your FSX 2d panel to only show in the VC and have Doug Dawson's sound gauge installed you can use this code:- Make a gauge in VC 1 <Element id="2Dshow"> <Select id="Select0"> <Expression id="Expression"> <Script> (L:AutopilotPanelContrl,bool) (L:ViewSystemStatus,number) 2 == and 0 > d (L:APwindowONSecs,number) * (>L:APwindowONSecs,number) (P:absolute time, number) 1 > d (L:APwindowONSecs,number) + 3 min (>L:APwindowONSecs,number) * ! (L:APwindowONSecs,number) 2 > || ! if{ 10070 (>K:PANEL_ID_TOGGLE) } </Script> </Expression> </Select> </Element> Make an icon on the VC panel (this will only open the 2D panel) <MouseArea id="Gauge_2Dpanel_OPEN"> <FloatPosition>0.000,0.000</FloatPosition> <Size>20,20</Size> <CursorType>Hand</CursorType> <MouseClick id="MouseClick"> <Script> (M:Event) 'LeftSingle' scmp 0 == if{ 1 (>L:AutopilotPanelContrl,bool) } </Script> <ClickType>LeftSingle+LeftRelease</ClickType> </MouseClick> </MouseArea> Make an Icon or clickspot on your 2D panel (this will only close the 2D panel) <MouseArea id="Gauge_2Dpanel_CLOSE"> <FloatPosition>0.000,0.000</FloatPosition> <Size>50,50</Size> <CursorType>Hand</CursorType> <MouseClick id="MouseClick"> <Script>(M:Event) 'LeftSingle' scmi 0 == if{ 10070 (>K:PANEL_ID_TOGGLE) 0 (>L:AutopilotPanelContrl,bool) } </Script> <ClickType>LeftSingle</ClickType> </MouseClick> </MouseArea> Make an icon on the VC panel to open & close (L:AutopilotPanelContrl,bool) if{ 0 (>L:AutopilotPanelContrl,bool) 795 (>K:PANEL_ID_TOGGLE) quit } 1 (>L:AutopilotPanelContrl,bool) Only tested on one 2D panel but should work on more. I did find in testing I lost the (L:ViewSystemStatus,number) 2 == value after lots of recoding but it could be OK now with this stable code. Paul EGLD
Create an account or sign in to comment