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

Exporting animation with SODE

Messages
192
Country
italy
Hi , i'm trying to export animation with SODE so i've made a box with a simple test animation.
Then i have attached the animation with the SDK using the new string added in the modeldef.
the problem is that i don't see my animation working in p3d with sode menù i see only thr object.Anyone can help me please? thanks

image.jpg
image.jpg
image.jpg
image.jpg
image.jpg
image.jpg
image.jpg

in mcx the animation work fine!
 
Hello Davide,

Let's start with the modeldef.xml:
  • I think the SODE_Trigger_2_4SEC has misleaded you...Trigger_2 means that it would trigger a second animation in the same model. This is not yet supported by SODE (wrote it in the documentation). Only 1 trigger per model works, so need SODE_Trigger_1_4SEC. However, if you want your animation to last longer than 4 seconds, you need to copy-paste the SODE_Trigger_1_4SEC entry and name it for example SODE_Trigger_1_10SEC. Other duration means to tweak the Lag parameter -> to get 10 seconds, you need to divide those 100 Keyframes by 10 -> this is your lag parameter, 10. For 20 seconds it would be 100KF/5=20sec, etc...
SODE_Samples.xml:
  • The duration parameter in the TriggerableAnimation node should match the time in seconds of your animation that you have defined as described above. So far a 10 second animation, the duration is obviously 10.
3dsMax FileProperties GUID:
  • This GUID has nothing to do with the animation guid! The file properties guid set with the export tool is usually its own random guid. But it is anyway not used by SODE, but I would still generate something else there.

With these 3 steps, you should be able to trigger the animation in the sim.
 
And if i have more than one animation to attach?

As I said, that is not supported yet. To be precise, what I mean are multiple SODE-triggered animations within the same model. Combining one SODE-triggered animation and a standard animation (Ambient) is no problem.
A workaround would be to create multiple models and place it at the same coordinates, e.g. only export the door into model and the other animation into another model...didn't try this but that should work.
 
I am away from home, but you can attach your mdl file here. I can check it sometime next week.

Greetings from Singapore
 
Back
Top