October 1, 200520 yr Hi,I saw this gauge in a recently downloaded panel (Airbus Simon Topmann)What does this gauge and how to use it?Jan"Beatus Ille Procul Negotiis" Jan "Beatus ille qui procul negotiis..."
October 1, 200520 yr Jan,This gauge indicates the status of the panel window it is loaded in. You specify the name of an L:Var on the panel.cfg line. The gauge set the L:Var to 1 when the window is opened and 0 when it is closed. In the example from Simon's A300 panel:gauge37=SendView!SendView, 0,0,1,1,window00the L:Var is (L:window00, bool)Doug
October 1, 200520 yr Author Doug,Thanks for your answer.It clarifies the puzzle a little bit.I thought the same could be achieved with some XML Panel Id Open/Close with a custom L:Var(?)Jan"Beatus Ille Procul Negotiis" Jan "Beatus ille qui procul negotiis..."
October 1, 200520 yr The approach you suggest would work as long as the Panel ID Open/Close was triggered from an XML gauge. It won't work if the user uses the FS menu system to open or close the window. Arne's gauge will work regardless of how the event is triggered.Doug
October 3, 200520 yr Author Doug,I noticed with your EVENT_LOGGER, using this gauge and Topman's gauge code for the windows, the sim is constantly firing "PANEL_ID CLOSE or_OPEN".So I stick to my own solution,using the Open and Close events only in the .Jan"Beatus Ille Procul Negotiis" Jan "Beatus ille qui procul negotiis..."
October 4, 200520 yr Hi Jan,If you only use your (XML-) triggered clicks to open / close windows you perhaps might want to hide them in the menu using this settings in the panel.cfg:visible=1 (or 0 if you want)nomenu=1I created my own icon-gauges for each window, that also change the value of a L:Variable, reflecting the status of the corresponding window.This is how I ensure not to mess up things...Arne's gauge of course is a bit more convenient to use, but as far as I remember it is limited to 5 or 6 windows.Herbert Pralle
October 4, 200520 yr Author Hi,Thanks all for the remarks.An observation:When i use a window over window00 to show another lighting, storm/flood, i notice a considerable FPS drop even when i take care that all gauges are loaded single (copies).Something to do about that?Jan"Beatus Ille Procul Negotiis" Jan "Beatus ille qui procul negotiis..."
Create an account or sign in to comment