elsmoko Posted January 13, 2022 Report Posted January 13, 2022 Hi, I'd like to create a toggle for the subject panel (and the overhead panel) for this aircraft. I believe the overhead panel SDK code is '250"; however I don't know what code to use for the engineer's panel or even if there is a code for it. Ideally I would like to be able to toggle both of these panels open and closed by pressing keys on my CH controllers. I have done this sort of thing before so if my rememberer will cooperate I may be able to do it again if there is a code available for the Engineer's Panel. Best regards Ken Boardman
Pete Dowson Posted January 13, 2022 Report Posted January 13, 2022 5 hours ago, elsmoko said: if there is a code available for the Engineer's Panel. Find the PANEL.CFG file for the aircraft -- it'll be in a folder with Panel in the name, within the files for the aircraft. In there look for the Ident= line. Please refer to the explanation given here: https://docs.flightsimulator.com/html/Content_Configuration/Instruments/Panel_Config_Definition.htm If there is no such line, you can add one yourself giving it a unique ID number (10000 - 19999 as it says). If there's a name given, look it up here: // Panel identifiers #define IDENT_MAIN_PANEL 0 #define IDENT_MAIN_PANEL_ALT1 1 #define IDENT_MAIN_PANEL_ALT2 2 #define IDENT_MAIN_PANEL_ALT3 3 #define IDENT_MAIN_PANEL_ALT4 4 #define IDENT_MAIN_PANEL_ALT5 5 #define IDENT_MAIN_PANEL_ALT6 6 #define IDENT_MAIN_PANEL_ALT7 7 #define IDENT_MAIN_PANEL_ALT8 8 #define IDENT_MAIN_PANEL_ALT9 9 #define IDENT_THROTTLE_PANEL 10 #define IDENT_RADIO_STACK_PANEL 50 #define IDENT_COMPASS_PANEL 75 #define IDENT_MINI_CONTROLS_PANEL 100 #define IDENT_ANNUNCIATOR_PANEL 125 #define IDENT_ANNUNCIATOR2_PANEL 150 #define IDENT_IFR_MAIN_PANEL 175 #define IDENT_COLLECTIVE_PANEL 200 #define IDENT_GPS_PANEL 225 #define IDENT_OVERHEAD_PANEL 250 #define IDENT_PARKING_BRAKE_PANEL 251 #define IDENT_FLAPS_TRIM_PANEL 252 #define IDENT_FUEL_PANEL 253 #define IDENT_ELECTRICAL_PANEL 254 #define IDENT_TRIM_PANEL 255 #define IDENT_LANDING_GEAR_PANEL 256 #define IDENT_MISC_POPUP_1 260 #define IDENT_MISC_POPUP_2 261 #define IDENT_MISC_POPUP_3 262 #define IDENT_MISC_POPUP_4 263 #define IDENT_MISC_POPUP_5 264 #define IDENT_MISC_POPUP_6 265 #define IDENT_MISC_POPUP_7 266 #define IDENT_MISC_POPUP_8 267 #define IDENT_MISC_POPUP_9 268 #define IDENT_MISC_POPUP_10 269 to get the ID. Then you should be able to toggle the panel on and off using the PANEL_ID_TOGGLE control, or open / close it using PANEL_ID_OPEN and PANEL_ID_CLOSE. Pete
elsmoko Posted January 14, 2022 Author Report Posted January 14, 2022 Thank you for helping with this Pete. Both the Overhead panel and the Engineers panel are listed on the FSX Views\New Views\Cockpit pull down menu and I can make them popup / appear when they are selected from there; however I can find no reference to either of them in the Panel.cfg file. The Overhead panel is listed in your post (above) as Code 250, but I cannot get it to pop-up by setting it to Control \ Panel ID Toggle using the FSUIPC Options and Settings "Key Presses Tab". If you can offer any suggestions for something else to try that would be much appreciated. Attached are some screen caps, the B722 panel.cfg and my FSUIPC.ini file. Best regards, Ken panel.cfg FSUIPC4.ini
Pete Dowson Posted January 14, 2022 Report Posted January 14, 2022 10 hours ago, elsmoko said: Both the Overhead panel and the Engineers panel are listed on the FSX Views\New Views\Cockpit pull down menu and I can make them popup / appear when they are selected from there; however I can find no reference to either of them in the Panel.cfg file. Then I don't think they are panels as such. They are just different preset views, which I think you can accomplish by moving your view around. I suspect a lot of add-on aircraft with so-called 3D cockpits don't actually bother with the traditional 2D panels as such, as you can move around and zoom in and out as you like. From your PANEL.CFG I see panels iwth IDs 29, 10002, 10005, RADIO_STACK_PANEL, GPS_PANEL, 11004, 11223, 11005, 10050, 10007, 11040, 11041. I can't tell what they all are -- the gauge names for some are rather obscure. But you could try them. Pete Pete
elsmoko Posted January 14, 2022 Author Report Posted January 14, 2022 Thank you for the great explanation Pete. I understand, and will stop chasing my tail ~:) I like flying that CS B727 and love the CIVA INS; however their panel features could have been better implemented (IMO). I still miss flying the VMAX B742 with the triple redundant CIVA INS (and realistic fuel management). Would have been nice if VMAX had brought it along to FSX, but alas ............ All the best, Ken
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