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

Messages
170
Country
unitedkingdom
all of a sudden i am getting an issue where i am unable to create a .mdl

normally i would drop both the .x and the .xanim on the the xtomdl.cmd EDIT CMD shortcut and get the.mdl but now nothing unless i just drop the .x on its own then ok but obviously no animations. this has happened for all three versions of 3dsmax i have installed. max 9 max2011 and max2012.

can only think its something else wrong that could affect them all like this at the same time


noob
 
Last edited:
It may be that one of your Materials has over 65,000 Polygons or Vertices attached to it.

To test this, if you have the neat 'select by Material' feature, click on the highest amount of parts 'Material', and select its parts that use 'that' material and then hide them. Select the plane and export 'Selected' and see if it goes through. Then unhide the hidden parts, and export again. If the plane then doesnt export the second time, but does on the first, then you need to make a duplicate (Copy) of the high part count Material, change one of its settings very slightly, and then take half of the parts that use that first high part Material and attach the new secondary Material to them, then save, and test export the model and see if that fixes it.

Remember 'first' to save up a new file, so that experimentation of Materials will not effect your project. You are experimenting here to find out if the issue is a Material 'over the limit' problem.

Bill
 
thanks but its definately not this as i have tried with numerous different models and even with a basic cube
 
man.. I wonder if it is was a Windows update, where the system uses some Windows resources to create the file(s).
 
Last edited:
yeah that what i was thinking some windows problem interfearing.

will have to try a few things

cheers

n
 
xtomdl.exe is a command line driven utility...

You can NOT simply drag-and-drop the .x file and expect it to work properly.

See: "XtoMdl Tool" in the FSX SDK.

For an aircraft you need to type this in a Command Box (assuming the SDK is installed to the default location).

XtoMdl /XANIM /DICT:..\..\bin\modeldef.xml filename.x

See the Wiki for a better method: http://www.fsdeveloper.com/wiki/index.php?title=XtoMDL
 
yes i know ive been succesfully doing this for some time i should have made this clearer in my origional post

C:\Windows\System32\cmd.exe /K c:\fstoolsmax2012\XToMdl.exe /XANIM /DICT:c:\fstoolsmax2012\modeldef.xml


using the cmd shortcut with above in the target

its been working perfectly up till now and i have not changed these parameters. and if they were wrong then even just dropping the .x on to it would not work. but it does. the problem is suddenly not working if i drop both on to it.

i am able to create a simple cube .mdl and export it in to fsx only if i just drop the.x no problem . but as soon as i try to drop both .x and .xanim then it wont work and will not create the .MDL. just weird and all of a sudden.

noob
 
Last edited:
Okay, but you don't need (or even want) to pass the .xanim file. All that's required is that both the .x and .xanim files be in the same folder, and share the same "root name."

The /XANIM switch is what tells XtoMDL.exe to "look for the companion .xanim file" and parse it against the modeldef.xml file.
 
Last edited:
You would only drop the .x file on it. If you have an animation (which is defined in the .xanim file) you would follow the instructions Bill has provided and the animation will be incorporated into the .mdl file by just using the .x file.

p.s.: Bill beat me to it!
 
Last edited:
this makes sanse


ive had a couple of months away and have just forgottten how to do it and got it in to my head to drop both files on to the cmd shortcut


thanks for refreshing my memory i put it down to old age!!!

cheers

n .
 
Last edited:
Back
Top