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

Help with a new custom animation

Messages
14
Country
argentina
Hi everyone, my name is Juan, I'm from Argentina this world all new to me and all your post help so much with a proyect and I think is 75% complete in terms of i need, I desing a A-4AR, a modified version of de A-4M. I managed to do all the animation, make textures (not me, but a I do all de map), and now I want to prepare some upgrades on the animation. In the case specyfing on the "spoiler wing", an addiment of de A-4 for export, is a control surface like the flap but this case spoiler open upwards. The conditions of deployment of the "spoiler" are, first a switch on cockpit and eng rpm less than 70%, when switch position is off or rmp value higher than 70% the spoiler goes down.
I could create new animation, makes codes, with my knowlegde but anyone deploy when I set wing fold or unfold or hit the throttle and take n1 rmp higher than 70% and nothing happens.

In the model I use de wingfolding to do this action, and my question is posible make the wings fold system are:
Folden when FOLDING WING HANDLE POSITION 0, or FOLDING WING HANDLE POSITION 1 with turb eng n1:0, more than 70
Unfold when FOLDING WING HANDLE POSITION 1 AND TUR ENG N1:0, PERCENT LESS THAN 70.
And obviusly using rpn scripting, to do this only on the groud (In theory, this could happen when the aircraft is flying, but is rare case because sensor in the aircraft they prevent it.
Other whise if you have a manual (not sdk, because i dont can't understood at all) that was very helpful.
Salutings



XML:
 <Animation name="wing_fold_to_spoiler" guid="509b9afd-d521-47d8-a00f-729beb8c5a4f" lengt="100" type="sim" typeParam2="wing_fold_to_spoiler" typeParam="autoplay" />
  <PartInfo>
  <Name>wing_fold_to_spoiler</Name>
  <AnimLength>100</AnimLength>
  <Animation>
    <Parameter>
     <Code>
         (SIM ON GROUND, bool) 1 ==
         (FOLDING WING HANDLE POSITION, 1)
         (TURB ENG N1:0, percent) 70&lt;
         and
         and
         and
         if{1} els{0}
     </Code>
    </Parameter>
  </Animation>
  </PartInfo>
 
These should be something like:

XML:
(A:SIM ON GROUND, bool)
(A:FOLDING WING HANDLE POSITION, bool) 1 ==
(A:TURB ENG N1:0, percent) 70&lt;
 
Back
Top