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

3D needle animation (FSX SDK)

Messages
549
Country
nicaragua
Hi!
So I'm almost done with my Su-26 and I added 3D gauges instead of 2D gauges (which I don't know how to make) and there's a problem because, for example: I add the l_asi_needle animation tag to the airspeed needle and animate it rotating 360 degrees in 70 frames, as it says on the animlenght sector, but the needle doesn't move in FSX!! :eek:
What seems to be the problem?
The only needle that moves is the RPM needle that the motion is almost unnoticeable...
 
You sure you're putting it through xtomdl with animations enabled, and that when you exported from gmax you checked the box to export animations?
 
If you meant the "needle_asi_l" tag, it won't work at all, since it depends on another gauge to generate the custom (L:needle_asi, number) variable's value!

Aside from which it is 360 keyframes (0 - 359)

I would recommend coding your own XML script for this, with the keyframes limited to the actual max value of your specific airspeed indicator. For example, the airspeed gauge of the C310R has a range of 0 to 260 knots, so I've set the limit in the script to 260:

Code:
<Animation name="C310_needle_asi" guid="48b310a9-9adf-4499-95a0-7272f7def351" type="Sim" typeParam="AutoPlay" length="260" typeParam2="C310_needle_asi" />


  <PartInfo>
    <Name>C310_needle_asi</Name>
    <AnimLength>260</AnimLength>
    <Animation>
      <Parameter>
        <Sim>
          <Variable>AIRSPEED INDICATED</Variable>
          <Units>knots</Units>
        </Sim>
      </Parameter>
    </Animation>
    <MouseRect>
      <TooltipID>TOOLTIPTEXT_AIRSPEED_KNOTS</TooltipID>
    </MouseRect>
  </PartInfo>
 
Oh, ok, but it isn't only the ASI needle that's offline. All the other gauges don't work either...
 
Oh, ok, but it isn't only the ASI needle that's offline. All the other gauges don't work either...

It could well be the exact same problem in that the scripts you are tagging use custom (L:vars) instead of default (A:vars)!

You need to actually look at the scripts to see what you're tagging to... ;)

Nearly all of the scripts for the F18 and EH101 use custom (L:vars), so they aren't terribly useful except as examples that may be custom modified for our own use.
 
Back
Top