- Messages
- 371
- Country

Hello,
In first, thank you very much Arno for MCX.
I try to edit the ehanced B747 virtual cockpit of Alexandro Rojas, to fix some bugs and get new switch functions for a special panel that I coded.
So, there are in this cockpit 2 rotary knobs thant have not the right function. Currently, they switch the display location (PFD / MFD invert there location ) and primary ECAS exchange with secondary EICAS.
I want to assign the GPS/NAV function to the first knob (as written on the panel board) and MFD mode to the second knob.
I loaded in MCX the VC mdl file, and edited the modeldef with the modeldef editor.
First knob part info and animation is linked to a variable called (L;panelSwitch,number) . I changed the code with my new code (part info and animation) A:GPS Drives Nav1 and TOGGLE_GPS_DRIVES_NAV1. I saved the new MDL file.
My new knob function worksfine : GPS / NAV toggle function work with the rotary switch and animation is ok. But the old function of the knob still be active (PFD - MFD screens exchange.
I don't understand, because the old L:vars (L;panelSwitch,number) has disappears of the MDL file (I checked with an hexadecimal editor).
So, that's means that some code is hidden and not accessible ? Is this function (toggle displays) is a FSX function assigned to a mysterious code ? is therean other tools than modeldef editor to access to other code in the MDL file ?
Thanks for your help and sorry for my bad english
François
In first, thank you very much Arno for MCX.
I try to edit the ehanced B747 virtual cockpit of Alexandro Rojas, to fix some bugs and get new switch functions for a special panel that I coded.
So, there are in this cockpit 2 rotary knobs thant have not the right function. Currently, they switch the display location (PFD / MFD invert there location ) and primary ECAS exchange with secondary EICAS.
I want to assign the GPS/NAV function to the first knob (as written on the panel board) and MFD mode to the second knob.
I loaded in MCX the VC mdl file, and edited the modeldef with the modeldef editor.
First knob part info and animation is linked to a variable called (L;panelSwitch,number) . I changed the code with my new code (part info and animation) A:GPS Drives Nav1 and TOGGLE_GPS_DRIVES_NAV1. I saved the new MDL file.
My new knob function worksfine : GPS / NAV toggle function work with the rotary switch and animation is ok. But the old function of the knob still be active (PFD - MFD screens exchange.
I don't understand, because the old L:vars (L;panelSwitch,number) has disappears of the MDL file (I checked with an hexadecimal editor).
So, that's means that some code is hidden and not accessible ? Is this function (toggle displays) is a FSX function assigned to a mysterious code ? is therean other tools than modeldef editor to access to other code in the MDL file ?
Thanks for your help and sorry for my bad english
François





