May 2, 20206 yr Can someone please help me with makemdl.parts xml code. I am trying to have a special effect on a model I am working on that will have a part visible on the left side when flaps are down and left aileron is up OR that will have a part visible on the right side when flaps are down and right aileron is up. This code works correctly for the right side but not for the left. What is happening is the left_part_up becomes visible when the right aileron is up but not visible when the left aileron is up. If i am totally going about this the wrong way maybe suggest a better way. Here is the code i am using <part> <name>right_part_up</name> <visible_in_range> <parameter> <code> (A:TRAILING EDGE FLAPS0 RIGHT PERCENT, percent) 95 > (A:AILERON RIGHT DEFLECTION PCT,percent) 1 > && </code> </parameter> <minvalue>1</minvalue> </visible_in_range> </part> <part> <name>right_part_down</name> <visible_in_range> <parameter> <code> (A:TRAILING EDGE FLAPS0 RIGHT PERCENT, percent) 95 < (A:AILERON RIGHT DEFLECTION PCT,percent) 1 < || ; </code> </parameter> <minvalue>1</minvalue> </visible_in_range> </part> <part> <name>left_part_up</name> <visible_in_range> <parameter> <code> (A:TRAILING EDGE FLAPS0 LEFT PERCENT, percent) 95 > (A:AILERON LEFT DEFLECTION PCT,percent) 1 > && </code> </parameter> <minvalue>1</minvalue> </visible_in_range> </part> <part> <name>left_part_down</name> <visible_in_range> <parameter> <code> (A:TRAILING EDGE FLAPS0 LEFT PERCENT, percent) 95 < (A:AILERON LEFT DEFLECTION PCT,percent) 1 < || ; </code> </parameter> <minvalue>1</minvalue> </visible_in_range> </part> thank you David
May 8, 20206 yr On 5/2/2020 at 2:18 PM, this4david2 said: (A:TRAILING EDGE FLAPS0 LEFT PERCENT, percent) 95 < (A:AILERON LEFT DEFLECTION PCT,percent) 1 < || ; 😀 I love XML....so unforgiving. For starters get rid of the semi colon at the end. If you have XML questions best to post here: https://www.avsim.com/forums/forum/122-fsxfsx-se-aircraft-and-panel-design-forum-how-to/ or here: https://www.fsdeveloper.com/forum/ Edited May 8, 20206 yr by edetroit My FS Videos
Archived
This topic is now archived and is closed to further replies.