I just looked at your link above. The lights are already there as is the animation of the landing lights in the modeI. don't understand if they are already IN the model why they do not extend and retract with the landing light switch or what code would be added in the <Click Event> to make it happen. Redesign in Blender is not an option.
Redesign in Blender is not required. These are very clear steps to follow
But he already has the model loaded into MCX.
He simply has to write a new visibility code into his modeldef.xml
This step is only required if you add a new light. Using the default landing light effect does not need a new visibility condition.
tick down the nodes in the Hierarchy Editor until he finds the landing gear and make that the attach point
If each of those steps are too difficult to perform, the project may be too ambitious.
The lights are already there as is the animation of the landing lights in the modeI. don't understand if they are already IN the model why they do not extend and retract with the landing light switch or what code would be added in the <Click Event> to make it happen.
Ed has already explained the simulator code has no provision for retracting lights. They will never retract based on code, or switches, they will only retract when they are attached to something else that retracts. It is important to understand the difference between attach points, visibility conditions, gauges, animation triggers, etc. They are all written in XML, but they do not work the same and they cannot be swapped and transposed, beyond certain limits. You can take a code snippet for a term and place it into a different type of XML file, but you cannot transpose a gauge xml for a visibility condition.
Gauges aren't going to help here, visibility conditions might, animation triggers are definitely out, because you do not intend to edit the model. The tutorial I linked had been intended to show what was possible, with the expectation that the process could be adapted to MCX. It is not intended as a direct guide in this circumstance. The only part of that tutorial that requires Blender, is the creation of the 3d light cones, which could be done in Sketchup, FSDS, or entirely left out, the default landing light effect should be adequate for your needs, if it could just get itself linked up.
Ultimately, you are not required to edit the model in 3d software to get retractable lights, you are required to recompile the model using MCX, because you have to edit the Hierarchy nodes to move the light to the landing gear and that change will need to be saved.