• 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.

Second Propeller Set

Messages
2
Country
unitedkingdom
Hello all,

I'm trying to create the effect of a rotating propeller to simulate propeller movement prior to combustion during the start sequence. As you'll be aware, Flight simulator turboprop propellers don't turn until combustion starts.

On the Tyne engine during start, the engine accellerates to a very low rpm, to avoid overheating, a state known as Low Ground Idle. Once demander, the fuel flow is progressivelly increased until High Ground Idle is reached.

I have programmed a dummy propeller to rotate as desired during the low ground idle stage, and this works fine. My problem is that I want the dummy prop to become invisible on combustion in the sim takes place and the real prop begins to rotate.

I've tried all sorts of combinations with visibility tags and getting nowhere.

The current setup, which has the prop rotating is thus:

The (L:No1_LGI,number) controls the prop rotation and repeatedly counts from 0 through 100, Id like the part to be invisible if the (L:No1_LGI,number) is greater than 110.

<part>
<name>SCREW_PORT_OUTER</name>
<visible_in_range>
<animation>
<parameter>
<code>(L:No1_LGI,number)</code>
<lag>200</lag>
</parameter>
</animation>
<maxvalue>110</maxvalue>
</visible_in_range>
</part>


props.jpg



Additionally I need to find a way to make the real propeller invisible when there is no combustion:confused:

Thanks in advance,

Fraser
 
Well, the CL-44 sure needs this kind of stuff. I do, too... Be interesting to see what folks come up with here. Default turboprop engine start looks awful. Note to developers, add the FSX variant too, if you would be so good.
 
Since you're sequencing the L:var between 0 and 100, how would it ever reach 110?

There is a very simple approach to this situation. Create a tiny polygon (doesn't matter where it is actually) to use as a "visibility control node" and assign a control XML script to it from the makemdl.parts.xml file.

By Linking your "real prop" to the aforementioned "visibility control node" you will cause the "real prop" to be hidden whenever the engine achieves combustion.

Code:
  <part>
    <name>SCREW_PORT_VIS</name>
    <visible_in_range>
      <parameter>
        <Code>
          (A:GENERAL ENG COMBUSTION:1, bool) if( 0 } els { 1 }
        </Code>
      </parameter>
      <minvalue>1</minvalue>
    </visible_in_range>
  </part>

Alternatively, separate the visibility condition from the animation section of your current XML script:

Code:
  <part>
    <name>SCREW_PORT_OUTER</name>
    <visible_in_range>
      <parameter>
        <Code>
          (A:GENERAL ENG COMBUSTION:1, bool) if( 0 } els { 1 }
        </Code>
      </parameter>
      <minvalue>1</minvalue>
    </visible_in_range>
    <animation>
      <parameter>
        <code>(L:No1_LGI,number)</code>
        <lag>200</lag>
      </parameter>
    </animation>
  </part>

In either case, the "real prop" will only be visible as long as engine combustion is FALSE (i.e., equal zero).
 
Many thanks for that.

I now have the dummy only visible during the pre-combustion start sequence, as desired, so I will have to get the model maker to add the polygon you mention to the real propeller in order to control its invisibility at the same time. Dummy visible...Real prop invisible and vice versa.

cheers

Fraser
 
Many thanks for that.

I now have the dummy only visible during the pre-combustion start sequence, as desired, so I will have to get the model maker to add the polygon you mention to the real propeller in order to control its invisibility at the same time. Dummy visible...Real prop invisible and vice versa.

cheers

Fraser

No problem. By the way, the visibility conditional code for the "real prop" is identical, except that you switch the positions of the 0 and 1 in this line:

Code:
        <Code>
          (A:GENERAL ENG COMBUSTION:1, bool) if( 1 } els { 0 }
        </Code>
 
Last edited:
Back
Top