March 6, 200422 yr I have several aircraft with 3 different primary panels:Landing PanelRight Main PanelLeft Main PanelThese panels pop up replacing the panel that was there.I made a landing panel and I can not for the life of me figure out how they make it replace a panel. I just can't find anything in the panel.cfg file that is different other than all 3 are visible=1.When I bring up my new landing panel it shows up on top of the panel that is there.So... where is the magic? How do I do it?
March 6, 200422 yr Author Hi,Make a simple xml gauge, some study!, and put that on a visible place on all primary panels (as gaugexx=!panels, ..,..,..,..)In the panel.cfg only one panel must be visible (=1), the rest not (Visible=0); mind the ident numbers!In the xml gauge in the click events, just an example:11 (>K: PANEL_ID_OPEN) 0 (>K: PANEL_ID_CLOSE)This means the main panel, ident=0 closes and in the same click the second panel, ident=11, opens.etc. etc.Hope it helps,Jan"Procul Negotiis" Jan "Beatus ille qui procul negotiis..."
March 9, 200422 yr Thanks Jan,Are you saying I have to have a click spot to do this?Example Dreamfleet Cardinal:[Window Titles]Window00=Do Not CloseWindow01=Main Panel LandingWindow02=Main Panel RightWindow03=Main Panel LeftAll three of these windows are "visible=1" but only ident=30 shows.(I don't know why all three don't show up when I load the A/C)Then as I shift+3 or shift+4 that window replaces Window01.If I try the same thing, I get a new panel on top of the existing one.Is the trick in the ident= statement?MB
March 9, 200422 yr Author Hi,You need a clickspot to switch panels the way i told above.The different idents determine which panel is visible, after the click.Jan"Procul Negotiis" Jan "Beatus ille qui procul negotiis..."
Create an account or sign in to comment