• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Experiences with FS2004 aircraft import/export

Could MCX have a „convert as AI“ option? All specific AI triggers are known by Tom and our MAIW conversion guys and they can provide you with it.
That would assume that MCX adds those AI specific definitions to the modeldef.xml automatically. I guess that is something we can consider. And then there would have to be a different animation mapping for AI compared to normal conversion.

Would be interesting to consider, but I would need a lot of input from you guys, as I know almost nothing about AI models.
 
Oh, and guys thanks for all the testing. Just updating all these issues in my todo list made it grow by about 20 new issues just in the last hour. That should keep me busy for many days (or weeks) to analyse and hopefully fix them. So keep up the testing, but at this pace I will never be able to fix them sooner than you produce them :D.
 
The knowledge is there, Arno. Let me talk to the guys who have it.


Send from mobile hence short
 
The knowledge is there, Arno. Let me talk to the guys who have it.
OK.

But just for my clarifcation, when you report above that for aircraft the flaps, etc are not working, you mean they are not working for AI right? Or do you also mean they are not working as flyable aircraft.
 
Hi,
So for the NH-90 package I was using to test and got all those error messages here is the link https://militaryaiworks.com/downloa...rcraft-models-fs9/2225-nh-90-german-navy-lhai I tested several of the models in this package all with the same failure...
I tried a handfull of models from that package, but they all export fine without errors. You are using the latest development release for the testing as well I assume? And is there a specific model that fails for you (the package has a dozen or so models).
 
For the AI DC-6B airstairs, the visibility tag I use is "ground equipment" in my mkmdl.parts.xml file. The code is:

XML:
<part>
  <name>ground_equipment</name> <!-- for AI aircraft -->
  <visible_in_range>
  <parameter>
  <code> (A:LIGHT BEACON, bool) (A:VELOCITY BODY Z, knots) 0 != || </code>
  </parameter>
  <minvalue>-1</minvalue>
  <maxvalue>0</maxvalue>
  </visible_in_range>
  </part>

The code in when the FS9 plane is loaded into MCX appears the same:

XML:
<PartInfo>
    <Name>fs9_ground_equipment</Name>
    <Visibility>
      <Parameter>
        <Code> (A:LIGHT BEACON, bool) (A:VELOCITY BODY Z, knots) 0 != || </Code>
      </Parameter>
    </Visibility>
  </PartInfo>
  <PartInfo>
    <Animation />
  </PartInfo>

When converted to FSX it is the same:

XML:
<PartInfo>
    <Name>fs9_ground_equipment</Name>
    <Visibility>
      <Parameter>
        <Code> (A:LIGHT BEACON, bool) (A:VELOCITY BODY Z, knots) 0 != || </Code>
      </Parameter>
    </Visibility>
  </PartInfo>
  <PartInfo>
    <Animation />
  </PartInfo>
  <PartInfo>
    <Animation />
  </PartInfo>
  <PartInfo />
  <PartInfo />
  <PartInfo />

The files do include multiple blank and partially blank PartInfo lines throughout the file, but I'm not sure they are a problem? There are 2 partially blank and 3 completely blank lines in the code above. I tried removing the extra code lines but when I export it again as an FSX model and import that into MCX the extra code is back again.
 
Last edited:
The first helicopter in that NH-90 package compiled for me as well without errors. Not tested in FSX though.
 
Hi Tom,
It does include multiple blank and partially blank PartInfo lines throughout the file, but I'm not sure they are a problem? There are 2 partially blank and 3 completely blank lines in the code above.

You mean the last XML is from the modeldef.xml that MCX generated? I will have to check where those empty parts come from. It seems XtoMDL can handle it, but it is a bug in MCX somewhere.
 
OK.

But just for my clarifcation, when you report above that for aircraft the flaps, etc are not working, you mean they are not working for AI right? Or do you also mean they are not working as flyable aircraft.

Yes, Arno. All reports from me were for AI usage.


Send from mobile hence short
 
Hi,
Special tools/smooth shade object doesn't appear to be working properly with animated parts, worked as expected in previous mcx version.
Can you be a bit more specific what does not work or what you would expect? I did some testing and the smooth shading seems to work OK. Either when applied from the hierarchy editor on a specific part or when applied via the special tools menu.
 
You mean the last XML is from the modeldef.xml that MCX generated? I will have to check where those empty parts come from. It seems XtoMDL can handle it, but it is a bug in MCX somewhere.
I tried to reproduce those empty parts in the XML, but I can't. Can you be more specific in which conditions you see them and where?
 
All I need to do to see the duplicate lines is:

Import the FS9 AI DC-6B into MCX.
Open the Modeldef Editor.
Scroll through the file.
I see two sections of these "blank" lines or sections.
 
This is the modeldef file I see. One section is below light_taxi_vis and the other section is below fs9_ground_equipment.

XML:
<?xml version="1.0" encoding="utf-8"?>
<ModelInfo>
  <Animation name="c_gear" guid="E2E339A6-FCBF-43a9-A780-3473E03AB54B" length="200" type="Sim" typeparam2="c_gear" typeparam="AutoPlay" />
  <Animation name="c_tire_blurred_key" guid="4e1cc3e5-5933-445d-80e0-b0dd693125f0" length="100" type="Sim" typeParam2="c_tire_blurred_key" typeParam="AutoPlay" />
  <Animation name="l_gear" guid="E6A307E6-D0D8-4ca0-8A8E-77B7EA22FFB9" length="200" type="Sim" typeparam2="l_gear" typeparam="AutoPlay" />
  <Animation name="l_tire_blurred_key" guid="2c52a54a-9902-487a-a355-d00874ce7d0f" length="100" type="Sim" typeParam2="l_tire_blurred_key" typeParam="AutoPlay" />
  <Animation name="prop_anim" guid="528339be-18a4-40a0-9ea5-2e47af4419da" length="100" type="Sim" typeParam2="prop_anim" typeParam="AutoPlay" />
  <Animation name="prop0_blurred" guid="a30d1108-0e02-4e78-a41a-4c072a815e90" length="100" type="Sim" typeParam2="prop0_blurred" typeParam="AutoPlay" />
  <Animation name="prop0_slow" guid="b964023e-998f-40bf-9875-19f21c3b8031" length="100" type="Sim" typeParam2="prop0_slow" typeParam="AutoPlay" />
  <Animation name="prop0_still" guid="1ca952e2-9e61-4905-b1ca-46a2c07b8bdf" length="100" type="Sim" typeParam2="prop0_still" typeParam="AutoPlay" />
  <Animation name="prop1_blurred" guid="f97a46e1-0994-476f-939b-cffed355a4e8" length="100" type="Sim" typeParam2="prop1_blurred" typeParam="AutoPlay" />
  <Animation name="prop1_slow" guid="044d8822-f2f7-4906-b60b-435d977b4b59" length="100" type="Sim" typeParam2="prop1_slow" typeParam="AutoPlay" />
  <Animation name="prop1_still" guid="b32f1e35-0f79-463f-84a3-896ccfa33ad7" length="100" type="Sim" typeParam2="prop1_still" typeParam="AutoPlay" />
  <Animation name="prop2_blurred" guid="364CEB6C-000B-443b-BBC8-4DB8AC7A7C14" length="100" type="Sim" typeParam2="prop2_blurred" typeParam="AutoPlay" />
  <Animation name="prop2_slow" guid="7DBA2A55-F3D6-496b-9CEF-8A4B2C2DBF1F" length="100" type="Sim" typeParam2="prop2_slow" typeParam="AutoPlay" />
  <Animation name="prop2_still" guid="0432F7F6-4641-4d7a-9275-924ABB313B46" length="100" type="Sim" typeParam2="prop2_still" typeParam="AutoPlay" />
  <Animation name="prop3_blurred" guid="091ECF1F-FBC0-4ef6-A10E-CBFAD7CBAD96" length="100" type="Sim" typeParam2="prop3_blurred" typeParam="AutoPlay" />
  <Animation name="prop3_slow" guid="22049588-9EEF-4ecb-B16C-B3AE0005F8C6" length="100" type="Sim" typeParam2="prop3_slow" typeParam="AutoPlay" />
  <Animation name="prop3_still" guid="63294645-3A2A-45a4-AB53-3CA152EA3B19" length="100" type="Sim" typeParam2="prop3_still" typeParam="AutoPlay" />
  <Animation name="r_gear" guid="77C00B94-DDA1-450a-B725-1E2B4ADF6BC8" length="200" type="Sim" typeparam2="r_gear" typeparam="AutoPlay" />
  <Animation name="r_tire_blurred_key" guid="aa67f522-28c5-4d09-a246-2823d34a686b" length="100" type="Sim" typeParam2="r_tire_blurred_key" typeParam="AutoPlay" />
  <Animation name="tire_anim" guid="d42f8553-3ec7-4bfc-a9ba-0d669b174ef4" length="100" type="Sim" typeParam2="tire_anim" typeParam="AutoPlay" />
  <PartInfo>
    <Name>c_gear</Name>
    <AnimLength>200</AnimLength>
    <Animation>
      <Parameter>
        <Sim>
          <Variable>GEAR ANIMATION POSITION:0</Variable>
          <Units>keyframe</Units>
        </Sim>
      </Parameter>
    </Animation>
  </PartInfo>
  <PartInfo>
    <Name>l_gear</Name>
    <Copy>c_gear</Copy>
    <AnimLength>200</AnimLength>
    <Animation>
      <Parameter>
        <Sim>
          <Variable>GEAR ANIMATION POSITION:1</Variable>
        </Sim>
      </Parameter>
    </Animation>
  </PartInfo>
  <PartInfo>
    <Name>r_gear</Name>
    <Copy>c_gear</Copy>
    <AnimLength>200</AnimLength>
    <Animation>
      <Parameter>
        <Sim>
          <Variable>GEAR ANIMATION POSITION:2</Variable>
        </Sim>
      </Parameter>
    </Animation>
  </PartInfo>
  <PartInfo>
    <Name>tire_anim</Name>
    <AnimLength>100</AnimLength>
    <Animation>
      <Parameter>
        <Sim>
          <Variable>CENTER WHEEL ROTATION ANGLE</Variable>
          <Units>radians</Units>
          <Bias>0</Bias>
          <Scale>15.91</Scale>
        </Sim>
      </Parameter>
    </Animation>
  </PartInfo>
  <PartInfo>
    <Name>c_tire_blurred_key</Name>
    <Copy>tire_anim</Copy>
    <AnimLength>100</AnimLength>
    <Visibility>
      <Parameter>
        <Code>
            (A:CENTER WHEEL RPM, grads) 400 &gt; if{ 1 } els{ 0 }
          </Code>
      </Parameter>
    </Visibility>
    <Animation>
      <Parameter>
        <Sim>
          <Variable>CENTER WHEEL ROTATION ANGLE</Variable>
        </Sim>
      </Parameter>
    </Animation>
  </PartInfo>
  <PartInfo>
    <Name>l_tire_blurred_key</Name>
    <Copy>tire_anim</Copy>
    <AnimLength>100</AnimLength>
    <Visibility>
      <Parameter>
        <Code>
            (A:LEFT WHEEL RPM, grads) 400 &gt; if{ 1 } els{ 0 }
          </Code>
      </Parameter>
    </Visibility>
    <Animation>
      <Parameter>
        <Sim>
          <Variable>LEFT WHEEL ROTATION ANGLE</Variable>
        </Sim>
      </Parameter>
    </Animation>
  </PartInfo>
  <PartInfo>
    <Name>r_tire_blurred_key</Name>
    <Copy>tire_anim</Copy>
    <AnimLength>100</AnimLength>
    <Visibility>
      <Parameter>
        <Code>
            (A:RIGHT WHEEL RPM, grads) 400 &gt; if{ 1 } els{ 0 }
          </Code>
      </Parameter>
    </Visibility>
    <Animation>
      <Parameter>
        <Sim>
          <Variable>RIGHT WHEEL ROTATION ANGLE</Variable>
        </Sim>
      </Parameter>
    </Animation>
  </PartInfo>
  <PartInfo>
    <Name>prop_anim</Name>
    <AnimLength>100</AnimLength>
    <Animation>
      <Parameter>
        <Sim>
          <Variable>PROP ROTATION ANGLE:1</Variable>
          <Units>radians</Units>
          <Scale>15.92</Scale>
        </Sim>
      </Parameter>
    </Animation>
  </PartInfo>
  <PartInfo>
    <Name>prop0_still</Name>
    <Copy>prop_anim</Copy>
    <AnimLength>100</AnimLength>
    <Visibility>
      <Parameter>
        <Code>
          (AROP MAX RPM PERCENT:1, percent) 6.25 &lt; if{ 1 } els{ 0 }
        </Code>
      </Parameter>
    </Visibility>
    <Animation>
      <Parameter>
        <Sim>
          <Variable>PROP ROTATION ANGLE:1</Variable>
        </Sim>
      </Parameter>
    </Animation>
  </PartInfo>
  <PartInfo>
    <Name>prop0_slow</Name>
    <Copy>prop_anim</Copy>
    <AnimLength>100</AnimLength>
    <Animation>
      <Parameter>
        <Sim>
          <Variable>PROP ROTATION ANGLE:1</Variable>
        </Sim>
      </Parameter>
    </Animation>
    <Visibility>
      <Parameter>
        <Code>
                    (AROP MAX RPM PERCENT:1, percent) 6.25 &gt;
                    if{
                        (AROP MAX RPM PERCENT:1, percent) 12.5 &lt; if{ 1 } els{ 0 }
                    } els{ 0 }
                </Code>
      </Parameter>
    </Visibility>
  </PartInfo>
  <PartInfo>
    <Name>prop0_blurred</Name>
    <Copy>prop_anim</Copy>
    <AnimLength>100</AnimLength>
    <Animation>
      <Parameter>
        <Sim>
          <Variable>PROP ROTATION ANGLE:1</Variable>
        </Sim>
      </Parameter>
    </Animation>
    <Visibility>
      <Parameter>
        <Code>
            (AROP MAX RPM PERCENT:1, percent) 12.5 &gt; if{ 1 } els{ 0 }
                </Code>
      </Parameter>
    </Visibility>
  </PartInfo>
  <PartInfo>
    <Name>prop1_still</Name>
    <Copy>prop_anim</Copy>
    <AnimLength>100</AnimLength>
    <Visibility>
      <Parameter>
        <Code>
          (AROP MAX RPM PERCENT:2, percent) 6.25 &lt; if{ 1 } els{ 0 }
        </Code>
      </Parameter>
    </Visibility>
    <Animation>
      <Parameter>
        <Sim>
          <Variable>PROP ROTATION ANGLE:2</Variable>
        </Sim>
      </Parameter>
    </Animation>
  </PartInfo>
  <PartInfo>
    <Name>prop1_slow</Name>
    <Copy>prop_anim</Copy>
    <AnimLength>100</AnimLength>
    <Animation>
      <Parameter>
        <Sim>
          <Variable>PROP ROTATION ANGLE:2</Variable>
        </Sim>
      </Parameter>
    </Animation>
    <Visibility>
      <Parameter>
        <Code>
          (AROP MAX RPM PERCENT:2, percent) 6.25 &gt;
          if{
          (AROP MAX RPM PERCENT:2, percent) 12.5 &lt; if{ 1 } els{ 0 }
          } els{ 0 }
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>
  <PartInfo>
    <Name>prop1_blurred</Name>
    <Copy>prop_anim</Copy>
    <AnimLength>100</AnimLength>
    <Animation>
      <Parameter>
        <Sim>
          <Variable>PROP ROTATION ANGLE:2</Variable>
        </Sim>
      </Parameter>
    </Animation>
    <Visibility>
      <Parameter>
        <Code>
          (AROP MAX RPM PERCENT:2, percent) 12.5 &gt; if{ 1 } els{ 0 }
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>
  <PartInfo>
    <Name>prop2_still</Name>
    <Copy>prop_anim</Copy>
    <AnimLength>100</AnimLength>
    <Visibility>
      <Parameter>
        <Code>
          (AROP MAX RPM PERCENT:3, percent) 6.25 &lt; if{ 1 } els{ 0 }
        </Code>
      </Parameter>
    </Visibility>
    <Animation>
      <Parameter>
        <Sim>
          <Variable>PROP ROTATION ANGLE:3</Variable>
        </Sim>
      </Parameter>
    </Animation>
  </PartInfo>
  <PartInfo>
    <Name>prop2_slow</Name>
    <Copy>prop_anim</Copy>
    <AnimLength>100</AnimLength>
    <Animation>
      <Parameter>
        <Sim>
          <Variable>PROP ROTATION ANGLE:3</Variable>
        </Sim>
      </Parameter>
    </Animation>
    <Visibility>
      <Parameter>
        <Code>
            (AROP MAX RPM PERCENT:3, percent) 6.25 &gt;
            if{
            (AROP MAX RPM PERCENT:3, percent) 12.5 &lt; if{ 1 } els{ 0 }
                    } els{ 0 }
                </Code>
      </Parameter>
    </Visibility>
  </PartInfo>
  <PartInfo>
    <Name>prop2_blurred</Name>
    <Copy>prop_anim</Copy>
    <AnimLength>100</AnimLength>
    <Animation>
      <Parameter>
        <Sim>
          <Variable>PROP ROTATION ANGLE:3</Variable>
        </Sim>
      </Parameter>
    </Animation>
    <Visibility>
      <Parameter>
        <Code>
            (AROP MAX RPM PERCENT:3, percent) 12.5 &gt; if{ 1 } els{ 0 }
                </Code>
      </Parameter>
    </Visibility>
  </PartInfo>
  <PartInfo>
    <Name>prop3_still</Name>
    <Copy>prop_anim</Copy>
    <AnimLength>100</AnimLength>
    <Visibility>
      <Parameter>
        <Code>
            (AROP MAX RPM PERCENT:4, percent) 6.25 &lt; if{ 1 } els{ 0 }
          </Code>
      </Parameter>
    </Visibility>
    <Animation>
      <Parameter>
        <Sim>
          <Variable>PROP ROTATION ANGLE:4</Variable>
        </Sim>
      </Parameter>
    </Animation>
  </PartInfo>
  <PartInfo>
    <Name>prop3_slow</Name>
    <Copy>prop_anim</Copy>
    <AnimLength>100</AnimLength>
    <Animation>
      <Parameter>
        <Sim>
          <Variable>PROP ROTATION ANGLE:4</Variable>
        </Sim>
      </Parameter>
    </Animation>
    <Visibility>
      <Parameter>
        <Code>
              (AROP MAX RPM PERCENT:4, percent) 6.25 &gt;
              if{
              (AROP MAX RPM PERCENT:4, percent) 12.5 &lt; if{ 1 } els{ 0 }
                      } els{ 0 }
                  </Code>
      </Parameter>
    </Visibility>
  </PartInfo>
  <PartInfo>
    <Name>prop3_blurred</Name>
    <Copy>prop_anim</Copy>
    <AnimLength>100</AnimLength>
    <Animation>
      <Parameter>
        <Sim>
          <Variable>PROP ROTATION ANGLE:4</Variable>
        </Sim>
      </Parameter>
    </Animation>
    <Visibility>
      <Parameter>
        <Code>
                      (AROP MAX RPM PERCENT:4, percent) 12.5 &gt; if{ 1 } els{ 0 }
                  </Code>
      </Parameter>
    </Visibility>
  </PartInfo>
  <PartInfo>
    <Name>light_landing_vis</Name>
    <Visibility>
      <Parameter>
        <Sim>
          <Variable>LIGHT LANDING</Variable>
          <Units>bool</Units>
        </Sim>
      </Parameter>
    </Visibility>
  </PartInfo>
  <PartInfo>
    <Name>light_taxi_vis</Name>
    <Visibility>
      <Parameter>
        <Sim>
          <Variable>LIGHT TAXI</Variable>
          <Units>bool</Units>
        </Sim>
      </Parameter>
    </Visibility>
  </PartInfo>
  <PartInfo />
  <PartInfo />
  <PartInfo />
  <PartInfo />
  <PartInfo />
  <PartInfo />
  <PartInfo />
  <PartInfo />
  <PartInfo />
  <PartInfo />
  <PartInfo>
    <Name>fs9_ai_flap</Name>
    <Animation />
    <Visibility>
      <Parameter>
        <Code> (A:TRAILING EDGE FLAPS LEFT PERCENT, percent) 0 &gt; (A:LIGHT LANDING, bool) (A:GEAR CENTER POSITION, percent) 0 &gt; &amp;&amp; || </Code>
      </Parameter>
    </Visibility>
  </PartInfo>
  <PartInfo>
    <Name>fs9_ai_light_land</Name>
    <Animation />
    <Visibility>
      <Parameter>
        <Code> (A:LIGHT LANDING, bool) </Code>
      </Parameter>
    </Visibility>
  </PartInfo>
  <PartInfo>
    <Name>fs9_ai_door</Name>
    <Animation />
    <Visibility>
      <Parameter>
        <Code> (A:LIGHT BEACON, bool) ! (A:VELOCITY BODY Z, knots) 0 == &amp;&amp; </Code>
      </Parameter>
    </Visibility>
  </PartInfo>
  <PartInfo>
    <Name>fs9_ground_equipment</Name>
    <Visibility>
      <Parameter>
        <Code> (A:LIGHT BEACON, bool) (A:VELOCITY BODY Z, knots) 0 != || </Code>
      </Parameter>
    </Visibility>
  </PartInfo>
  <PartInfo>
    <Animation />
  </PartInfo>
  <PartInfo>
    <Animation />
  </PartInfo>
  <PartInfo />
  <PartInfo />
  <PartInfo />
  <Animation name="custom_anim_LIGHT_LANDING_01" guid="e5031146-2d23-4f31-b938-6d9ff6045fbc" length="100" type="Sim" typeParam2="custom_anim_LIGHT_LANDING_01" typeParam="AutoPlay" />
  <PartInfo>
    <Name>custom_anim_LIGHT_LANDING_01</Name>
    <AnimLength>100</AnimLength>
    <Animation>
      <Parameter>
        <Code>(A:LIGHT LANDING, bool) if{ 0 } els{ 100 }</Code>
        <Lag>30</Lag>
      </Parameter>
    </Animation>
  </PartInfo>
  <Animation name="custom_anim_LEFT_WHEEL_RPM_02" guid="ee20c0fb-7b21-4ad9-9411-24e5d8450f4a" length="100" type="Sim" typeParam2="custom_anim_LEFT_WHEEL_RPM_02" typeParam="AutoPlay" />
  <PartInfo>
    <Name>custom_anim_LEFT_WHEEL_RPM_02</Name>
    <AnimLength>100</AnimLength>
    <Animation>
      <Parameter>
        <Code>(A:LEFT WHEEL RPM, rpm) (A:RIGHT WHEEL RPM, rpm) -  2 * (A:VELOCITY BODY Z, knots) 5 / / 150 + }</Code>
        <Lag>100</Lag>
      </Parameter>
    </Animation>
  </PartInfo>
  <Animation name="custom_anim_LIGHT_BEACON_03" guid="6fc0ddd1-5507-4d95-bd09-3100e820cd8c" length="100" type="Sim" typeParam2="custom_anim_LIGHT_BEACON_03" typeParam="AutoPlay" />
  <PartInfo>
    <Name>custom_anim_LIGHT_BEACON_03</Name>
    <AnimLength>100</AnimLength>
    <Animation>
      <Parameter>
        <Code>(A:LIGHT BEACON, bool) (A:VELOCITY BODY Z, knots) 0 != || if{ 0 } els{ 100 }</Code>
        <Lag>20</Lag>
      </Parameter>
    </Animation>
  </PartInfo>
  <Animation name="custom_anim_TRAILING_EDGE_FLAPS_LEFT_PERCENT_06" guid="ca22a154-eb94-4e80-981c-93e79aaf5eb4" length="100" type="Sim" typeParam2="custom_anim_TRAILING_EDGE_FLAPS_LEFT_PERCENT_06" typeParam="AutoPlay" />
  <PartInfo>
    <Name>custom_anim_TRAILING_EDGE_FLAPS_LEFT_PERCENT_06</Name>
    <AnimLength>100</AnimLength>
    <Animation>
      <Parameter>
        <Code>(A:TRAILING EDGE FLAPS LEFT PERCENT, percent) 0 &gt; if{ (A:TRAILING EDGE FLAPS LEFT PERCENT, percent) } els{ (A:LIGHT LANDING, bool) (A:GEAR CENTER POSITION, percent) 99 &gt; &amp;&amp; if{ 40 } els{ 0 } }</Code>
        <Lag>5</Lag>
      </Parameter>
    </Animation>
  </PartInfo>
  <PartInfo>
    <Name>custom_vis_GEAR_ANIMATION_POSITION_0_00_mcx</Name>
    <Visibility>
      <Parameter>
        <Code>GEAR ANIMATION POSITION:0 1 &amp;gt; GEAR ANIMATION POSITION:0 200 &amp;lt; &amp;amp;</Code>
      </Parameter>
    </Visibility>
  </PartInfo>
</ModelInfo>
 
Hi,

I tried a handfull of models from that package, but they all export fine without errors. You are using the latest development release for the testing as well I assume? And is there a specific model that fails for you (the package has a dozen or so models).
Hi Arno,

The one's I tested in that package are:

GermanyNL_TS_ASW_mu90_M1
GermanyNL_TS_14p_M1
GermanyNL_TS_ASUW_M1
GermanyNL_TS_Prototype_M1

All of them failed... In terms of MCX version I assume I am using the latest one I downloaded it about 1pm eastern US time yesterday... Thanks!
 
I used the GermanyNL_TS_14p_M1 model and it compiled without errors for me.
 
It is a consistent result on my end... I just re-downloaded and reinstalled MCX; as well as replaced those models on my drive with fresh copies out of the zip file... Happened again... Something unique to these models as I have compiled several other models just fine now...
 
As a further experiment; I tried re-compiling several of the models that I had already converted to P3d and those re-compiled just fine... Also, I tried one of the other FS9 NH-90 packages in this case the French Navy package and got the same errors...
 
Can you send me the X file made with your MCX? Hopefully I can spot the difference.
 
All I need to do to see the duplicate lines is:

Import the FS9 AI DC-6B into MCX.
Open the Modeldef Editor.
Scroll through the file.
I see two sections of these "blank" lines or sections.
After using your mkmdl.parts.xml file I do see the issue. But I think your file has some invalid entries, for example this one:

Code:
<part>
    <Name>lever_propliner_blower1</Name>
    <Animation>
       <Parameter>
       <Code> (L:supercharger control 1,bool) 100 * </Code>
        <Lag>100</Lag>
       </Parameter>
    </Animation>
<MouseRect>
       <Cursor>Hand</Cursor>
       <Tooltip_Text>Supercharger 1 %((L:supercharger control 1,bool))%{case}%{:1}HIGH%{:0}LOW%{End}</Tooltip_Text>
        <mouse_flags>LeftSingle+LeftDrag</mouse_flags>
        <Callback_Code>
             (L:supercharger control 1,bool) ! (&gt;L:supercharger control 1,bool) }
          </Callback_Code>
    </MouseRect>
</part>

That one is a mixture of the FSX and FS2004 XML syntax (FS2004 uses lower cases tags, FSX upper case for example). So I think MakeMDL will ignore this entry as well. For sure the MCX logic that translates between the makemdl.parts.xml and the modeldef.xml can't handle this one.
 
Back
Top