Jump to content
Sign in to follow this  
phjvh

Help switching panels

Recommended Posts

Guest MasterBlaster

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?

Share this post


Link to post
Share on other sites

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"

Share this post


Link to post
Share on other sites
Guest MasterBlaster

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

Share this post


Link to post
Share on other sites

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"

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...