• 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 FSDS V3.51 Compile problem

Messages
5
Country
australia
Hi,

I have recently re-installed FSDS onto my Windows 7 PC. I am constructing a model which compiles in FSDS 3.51 with out any problem, unless I try to an animation to a reference part, eg r_gear etc.

When I add the animation frames to the part, I get a compile problem as follows.
---------------------------------------------------------
Found dictionary file: D:\fsx\modeldef.xml
OutputFile: _temp.MDL
Output file after modification: _temp.MDL
Creating output MDL file: _temp.MDL
(0): error : XToMdl.exe Unhandled Application Exception
(0): error : System.Xml.XPath.XPathException: This is an unclosed string.

(0): error : at MS.Internal.Xml.XPath.XPathScanner.ScanString()

(0): error : at MS.Internal.Xml.XPath.XPathScanner.NextLex()

(0): error : at MS.Internal.Xml.XPath.XPathScanner..ctor(String xpathExpr)

(0): error : at MS.Internal.Xml.XPath.XPathParser.ParseXPathExpresion(String xpathExpresion)

(0): error : at MS.Internal.Xml.XPath.QueryBuilder.Build(String query, Boolean allowVar, Boolean allowKey)

(0): error : at MS.Internal.Xml.XPath.QueryBuilder.Build(String query, Boolean& needContext)

(0): error : at System.Xml.XPath.XPathExpression.Compile(String xpath, IXmlNamespaceResolver nsResolver)

(0): error : at System.Xml.XPath.XPathNavigator.Select(String xpath)

(0): error : at System.Xml.XmlNode.SelectNodes(String xpath)
-----------------------------------------------------------------------------


not sure what it means.

many thanks for your replies.
 

Attachments

  • temp_exterior.txt
    temp_exterior.txt
    6.4 KB · Views: 937
  • tu128.jpg
    tu128.jpg
    244.3 KB · Views: 692
Last edited:
What do you mean "add animation to a reference part"? Animated parts must contain geometry (i.e. polygons).
 
What do you mean "add animation to a reference part"? Animated parts must contain geometry (i.e. polygons).


yes, that's exactly what I mean. I have created a reference part for the model. The right landing gear, for example, and I wish to add animation frames to the part.

The compile of the model will not work anymore. Remove the animation frames. all is ok again.
 
Bretth,
As you say you have created a 'reference' part. Reference parts are not generated in the final mdl, when exported.
This is also what tgibson is saying, although they do have polys, just they are not made into the final mdl.

I don't know if animating a non-generated reference part can cause this sort of problem?
I wondering why you have made the landing gear as a 'reference part', if you don't mean that or need to make it as a RP then try unchecking it as an RP, and see if that cures the problems?

Cheers

Shessi
 
You cannot animate a reference part, period, AFAIK. You must create a small cube or similar object and animate that.
 
Hi

I have created for parts for my model, eg flaps, landing gear, ailerons, rudder etc etc.

I have to now animate them, but FSDS will not compile if I try to animate the part. My understanding is that I have to name each part according to a particular convention in FSDS to get it to work properly, and them add animation frames.

Is my understanding correct so far?
 
From the “Part Properties” box you need to name the part “Ambient”…for FSX.

I have written a few tutorials on the subject of animation, none specifically for aircraft but they should help you with the basics you may like to give then a read.:D

http://farfyscenery.katuu.com/

H_Farfy
 
Do you tried an animation with Ambient?

I believe "ambient" should be used for animations in scenery only, not aircraft. It is used in place of "tick18" which was for FS9. It is used for rotating radar dishes, rotating beacon lights on ships and airports, etc.
For starters your landing gear should be named l_gear, r_gear, etc. These are listed under standard parts names which you get to by hitting F2 and then browse.

Best, Paul
 
Thanks PutPut

See what happens when a scenery guy tries to help an Aircraft guy LOL.
I guess one day I should try to build a Plane instead of just thing to crash them into.

H_Farfy:D:D
 
My suggestion was just for a test on a basic animation. I assume that if Ambient does not work so the problem is on the software, not the operation...
 
I believe "ambient" should be used for animations in scenery only, not aircraft. It is used in place of "tick18" which was for FS9. It is used for rotating radar dishes, rotating beacon lights on ships and airports, etc.
For starters your landing gear should be named l_gear, r_gear, etc. These are listed under standard parts names which you get to by hitting F2 and then browse.

Best, Paul

Yep, that is exactly what I am doing. Anyone read or understand tbe error message in the files I have attached. It should be evident whst I am trying to do in the compile log I have attached.
Thanks
 
Yep, that is exactly what I am doing. Anyone read or understand tbe error message in the files I have attached. It should be evident whst I am trying to do in the compile log I have attached.
Thanks

I have not seen those error messages (at least not that I remember) but it appears they suggest a path problem in your FSDS setup. It keeps talking about a Xml.XPath path error. I can't solve the problem without being in front of your computer but the first thing I would check is the path to the modeldef.xml file. Have you accidently moved it; or is it corrupt?
It appears there isn't anything wrong with your model, but the problem is within FSDS. I have used FSDS since the getgo back in 2000 and I find sometimes things corrupt in the program itself. My version of FSDSv3.51 recently stopped laying out textures correctly. The solution was to uninstall and reinstall FSDS. It doesn't take all that long and your existing data is saved.

Best, Paul
 
Thanks Paul.
I'll have a try at re-installing FSDS v3.51. I can't see anything obvious wrong with the directory paths that I am using.

As I have described, the model will compile ok, and can be selected in FSX as a flyable aircraft as long as there are no animated components in the model.
Frrustrating indeed.

Regards
Brett
 
Back
Top