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

MSFS20 Localizer needle animation not centered - SOLVED (my mistake)

Messages
18
Country
belgium
Hi! I'm having issues getting CDI to work correctly for a plane I'm building. It's the localizer needle that is giving me a headache...
I'm using standard Asobo templates (similar to the one on the Cessna 152).

The model XML looks like this:
XML:
<Component ID="INSTRUMENTS_CDI">
    <DefaultTemplateParameters>
        <IS_AVIONICS_ON>(A:CIRCUIT ON:11, Bool)</IS_AVIONICS_ON>
    </DefaultTemplateParameters>
    <UseTemplate Name="ASOBO_INSTRUMENT_CDI_Template">
        <ID>1</ID>
        <NO_GPS_DEPENDENCY>True</NO_GPS_DEPENDENCY>
        <KNOB_HIGHLIGHT_NODE_ID>INSTRUMENT_CDI_Knob_Course_OnlyVisual_1</KNOB_HIGHLIGHT_NODE_ID>
    </UseTemplate>
</Component>

The animation in my model is 254 frames long and is named INSTRUMENT_CDI_Needle_Localizer_1 (both as required by the standard template).
Now it seems like msfs recognizes the animation, but the range is limited and the needle swing seems to be offset to the left.

The pictures below show the leftmost, center and rightmost position of the needle in MSFS:
1635989113792.png
1635989084184.png
1635989134486.png


The pictures below show the same animation extremities in Blender at frames 0, 127 and 254:
1635989464469.png
1635989498153.png
1635989540091.png


I hope anybody can help me out with this...
 
Ok, nevermind... human error 🤦‍♂️

Apparently I already had the CDI code somewhere in my model but I've forgotten about it...
🙄

So it was in there twice... No wonder it was acting strange
 
Back
Top