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

XtoMDL - per Wiki

Pyscen

Resource contributor
Messages
3,040
Country
us-texas
@n4gix - Bill, need some clarification if you would please.
In reference to: https://www.fsdeveloper.com/wiki/index.php/XtoMDL

When it comes to the different "/" commands or switches (ex: /XANIM and /DICT): It states that the "/XMLSAMPLE" is to be added at the end of the target Path for scenery models. Would it be correct to assume that this is to be also the case for the exterior (model) of an aircraft? The /XANIM and /DICT switches are to be used specifically for the cockpit or the interior control panel?
 
Last edited:
No, I do not believe you should add XMLSAMPLE for any aircraft model?

I know if you want any animations at all (interior or exterior) you need the XANIM switch. And I believe you can use the DICT switch all the time. Although it might not be needed for scenery models, it probably doesn't hurt.
 
Well, going by the wiki, the /DICT is used to keep the cmd screen open which allows the user to follow along with XToMdl as it compiles. I was just wondering what the /XMLSAMPLE switch does in regards to scenery models.
 
Ok... I have found what I'm looking for :cool: !

The /XMLSAMPLE switch isn't necessary for scenery objects - unless you are planning on using the XML that is created for the placement. of the object. Tom, you are correct that aircraft (interior or exterior) do not use /XMLSAMPLE at all.
 
Good to know, thanks. Does the xml from XMLSAMPLE also include the ModelData information? If so, that makes it easy to add to a library using only XML and BGLComp.
 
Tom - It's actually including the source mdl name within the XML sample file (ex: ModelData sourceFile="C:\...\Scenery Development\Blender_Files\Files_Export\xxxxxxxxxx.mdl" />), but not the actual data of the model. Of course, you can change the location where the model will appear.

I'm not sure if this was a bug or not, but the /XMLSAMPLE switch doesn't work with the /XANIM switch. I can see that as being a problem in some cases.
 
Back
Top