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

FSXA XML Formats

Messages
468
Country
ca-ontario
I have recently been working on animations for my 3D radio, AP and transponder buttons/knobs and as a result I have been scouring the usual sources for existing code to steal/modify.

I came across this page in the FFDS Working Code section:

http://www.aerodynamika.com/cgi-bin/yabb2/YaBB.pl?num=1189954045

That looks like FS2004 formatting to me and I am not sure if I can use that as it stands in the FSX(A) modeldef file or if I need to modify it to make it work.

Can someone confirm if it can be used in FSX 'as is' and if not just what do I need to change to make it compatible. I have tried searching for info on the different formats/syntax but not had much luck finding a definitive answer so far.

EDIT:

Looks like this post may be what I was looking for. :rolleyes:

http://www.aerodynamika.com/cgi-bin/yabb2/YaBB.pl?num=1253030320
 
Last edited:
Larry, there are plenty of FSX syntax examples there, as well as FS9 syntax examples. I'm glad that you found my simple translation example... :D
 
I'm glad that you found my simple translation example... :D
Not as glad as I am that you put it up there in the first place! :D

I converted all the code in that script last night and tested one example and it worked perfectly. Now I have to animate all the rest, write scripts for the missing buttons and then write visibility tags for the lights in the buttons.
 
There is one small thing that my older post didn't say, but that's only because at the time I didn't know it...

I mentioned that any <PartInfo> script that has only a <Visibility> section does not need a corresponding <Animation Name="xxxx", guid=xxxx..../> entry...

Well, as it happens neither does any <PartInfo> script that has only a <MouseRect> section!

Or, putting it another way, only if a <PartInfo> script has an <Animation> section requires the <Animation Name="xxxx", guid=xxxx..../> entry... :teacher:
 
Thanks Bill I was aware of those points but no doubt it will help those coming along behind me.

Now if I can just solve the latest set of 'issues' with the AP buttons I will be happy. I will start another thread to discuss it rather than messing this one up.
 
Back
Top