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

FSX FS Studio Design animation problem to FSX

Messages
28
Country
france
Good morning all,

I am coming to you because I have a problem with the animation of the instrument.
I am making a device for FSX, I am at the stage where I try to create in the virtual cockpit, the animations of the instruments.
I wanted to start by doing some test, and until then it does not work. I use FS Design Studio 3.5.1, I created the anemometer and I animated the needle, named anemometer.
Until the FSDS, compile the model, without error but once the model in FSX nothing happens, no movement of the needle.
I also tested with the anmometer_spirit and anemometer_vickers animation.
I tried by modifying the modeldef file, adding the following lines to it but the result is there.

<Animation name="airspeed_needle" guid="b24c3586-f416-4e4b-b3e6-eb79b4fa499e" length="300" type="Sim" typeParam2="airspeed_needle" typeParam="AutoPlay" />

<AnimationGroup name="Jauge Animation" guid="0xB331C7EF,0xE2BA4276,0x84C433B2,0xBA9781B2">
<AnimationRef guid="b24c3586-f416-4e4b-b3e6-eb79b4fa499e"/>
</AnimationGroup>

<PartInfo>
<Name>airspeed_needle</Name>
<AnimLength>300</AnimLength>
<Animation>
<Parameter>
<Sim>
<Variable>AIRSPEED SELECT INDICATED OR TRUE</Variable>
<Units>knots</Units>
<Scale>1</Scale>
<MinValue>0</MinValue>
<MaxValue>300</MaxValue>
</Sim>
</Parameter>
</Animation>
</PartInfo>

I am not very experienced with XML but just reproduced what I followed in a tutorial, which shows how it is done under gmax, but the needle does not move in FSX.
I also put you the link of the video that I followed, but it is in French.
Video Link

No results, does anyone have a solution?

Thank you all for your responses.

I don't speak English very well, and if there are any mistakes please excuse me.

Vincent
 
Messages
124
At first glance I'd suggest that if you named the animated part in FSDS anemometer that the name of the animation in the modeldef should also be anemometer NOT airspeed needle. I would also suggest that you need a new GUID because the GUID b24c3586-f416-4e4b-b3e6-eb79b4fa499e already exists in the default modeldef.

Others may work differently, but I usually copy some working code in the model def, rename it in the <name> section, and add a new line at the top in the Animation group and add the new animation, and add a new GUID.
 
Top