beroun Posted January 15, 2021 Share Posted January 15, 2021 Hi, Have created my own autopilot using some existing gauges and my own .bmp. Then have added new window to the aircraft panel.cfg. Works great, but every time I need to make my autopilot visible I need to open the menu and go to views/instrument panel and select my AP window to show. Ideally, I would like to have a button in the panel to open/close this window. (Just like the GPS, or Comms buttons, common in most default aircraft). Any clue on how to create this button would be much appreciated. Thanks, Peter Peter Bendl ex. British Airways Link to comment Share on other sites More sharing options...
tgibson_new Posted January 16, 2021 Share Posted January 16, 2021 Hi, First create a little icon BMP. I took one of the existing icon textures (from an addon panel, but it could be from anywhere), erased the current icon symbol, and put AP on it instead. I named mine icon_AP.bmp Next create the XML gauge code. Here is what I used, I named it Icon_AP.xml: Display/Hide Autopilot 777 (>K:PANEL_ID_TOGGLE) You can use Notepad to create it, but it should end in .xml instead of .txt. It gets placed into a folder (which can contain many XML gauges), along with its BMP file. You can also put it into a CAB file, but that's not required. My XML and BMP files went into a folder called DC6pnl, located in the main Gauges folder (the folder can also be placed into the plane's panel folder if not used for any other planes). Next you add the icon gauge to the panel.cfg file. I added mine to the main panel (Window00 in my case) in this line: gauge75=DC6pnl!Icon_AP, 361,1065,21,21 Your gauge number, XY location (first two numbers) and size (last two numbers) will be different. Finally, when I was adding my subpanel into this panel.cfg file, I made sure that it contained this line: ident=777 Now when I click the icon the AP panel pops up (or goes away). Hope this helps, Tom Gibson CalClassic Propliner Page: http://www.calclassic.com Link to comment Share on other sites More sharing options...
beroun Posted January 18, 2021 Author Share Posted January 18, 2021 Hi Tom, as always, MANY THANKS!! Best Regards Peter Peter Bendl ex. British Airways Link to comment Share on other sites More sharing options...
ratimics Posted February 10, 2021 Share Posted February 10, 2021 Thanks from me too Tom. You probably know that lots of other people glean heaps of information from talented individuals like yourself, on the Forum. I just wanted to let you know your help is appreciated in the wider sense. Kind Regards, Link to comment Share on other sites More sharing options...
tgibson_new Posted February 11, 2021 Share Posted February 11, 2021 Thanks. :) Tom Gibson CalClassic Propliner Page: http://www.calclassic.com Link to comment Share on other sites More sharing options...
CRJ_simpilot Posted February 12, 2021 Share Posted February 12, 2021 I have what are called sim icons or something to that effect. I can't find them anywhere but those icons can be used with an ident to do things. I've used them myself with FS Panel Studio. OOM errors? Read this. What the squawk? An awesome weather website with oodles of Info. and options. Wile E. Coyote would be impressed. Link to comment Share on other sites More sharing options...
tgibson_new Posted February 12, 2021 Share Posted February 12, 2021 Those gauges are in SimIcons.cab, located in the main Gauges folder. I use it too for the "standard" icons. Tom Gibson CalClassic Propliner Page: http://www.calclassic.com Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now