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

Export issues 3DS Max 9

Messages
192
Country
germany
When ever I try to export something as simple as a box I get an error and it doesn't export. I hope you guys can help.

1. I created a box.
2. Convert to editable mesh.
3. Aces Tools>ExportLOD>File Properties
4. Create GUID> then click edit and assign Friendly Name(Box05)
5. File>Export: Name file=Box05
6. Save as type: Flightsim Model (*.MDL)
7. Save
8. Flight Simulator MDL Export
9. Cleanup Options (Delete Intermediate Files checked by default)
10.ERROR! (Exporter host is not valid!) Failed to export model.
11.Export module failure.

Does anyone know what is going wrong?
 
Last edited:
Doing a quick peek at the SDKs mentions to export as an .X, as the MDL function isn't implemented for 3DS. Then use XtoMdl to make the FSX model file.

Found under the Modeling File Format heading of the SDK.

I thought I saw that as well but when I saw the option for .mdl file output I thought it was a mistake or a carry over from RTM or SP1. So is using the XToMdl via command line the only way to create a .mdl file?
 
I thought I saw that as well but when I saw the option for .mdl file output I thought it was a mistake or a carry over from RTM or SP1. So is using the XToMdl via command line the only way to create a .mdl file?

You have the FSX SDK, right? Pay particular attention to the underlined paragraphs quoted below. ;)

Exporting a Model from 3ds Max

When exporting a 3ds Max model to be used in Flight Simulator X, go through the following steps:

Textures for the model should be converted to mip-maps, using Imagetool (found in the Environment Kit\Terrain SDK folder), and then converted to DDS files, also using Imagetool. To appear in the simulation the DDS files should be placed in the Add-on Scenery/texture folder.

If skinned animation is to be applied to the model, ensure that a Flight Simulator X material is applied (click the FlightSimX box of the Material Editor dialog), and that the Skinned Mesh box is checked in the enhanced parameters section of the Material Editor dialog.

To animate using skinned animation select the bones of the object, then bring up the Animation Manager. Set Start and End frames. Select a name for the animation, such as Ambient, and click Create.

To animate a piece of geometry without using skinned animation, select the geometry, then bring up the Animation Manager and set Start and End frames, and a name. If there are multiple animations, then select different names for each (such as Ambient, Ambient2, and so on). Click Create to create the animation.

Bring up the File Properties for the model. Select the Custom tab. For Name enter the word FriendlyName, and for Value enter a suitable name for the model. Then click Add. Enter another property called Guid and enter a GUID into the Value field. See the Overview documentation for a link to a GUID generating tool. After pasting in the GUID, remove the curly brackets at either end. Click OK. Alternatively use the LOD and Name Tool to enter the friendly name and GUID.

To export the model, make sure the format Flight Simulator Direct X File (*.X) is selected, no other model format will work. If the option Flightsim Model (*.MDL) is shown, do not use it, it has not been implemented in this release.

Click Save. Make sure that the options Export Skin and Export Animation are checked in the Flight Simulator Model Export Options dialog, if skinned animations or animations are included in the model.

If everything is correct, this process will create a .x file, and optionally a .xanim file. If there are any errors, fix them before proceeding any further.

Importing a Model to Flight Simulator X

To import a model created by 3ds Max and exported correctly, go through the following steps:

Convert the .x file and .xanim file to the correct model format (.mdl) using the XtoMdl tool. Make sure the /XANIM switch is set if there is a .xanim file, and the /XMLSAMPLE switch should also be set.

Follow the instructions for the XtoMdl tool to edit the placement xml sample appropriately. This will place the model near the main runway of Sea-Tac airport.

Copy the .mdl file output from the XtoMdl tool, and the edited .xml placement file to the BGL Compiler SDK folder.

Drag the xml placement file over the BGLComp icon, which should result in a bgl file. If it does not, open up a command window and run the BGL compiler from there, as the errors will then be readable. Refer to the Compiling BGL documentation for more details.

Copy the bgl file to the Add-on scenery/scenery folder.
Run Flight Simulator X. Change the airport to Sea-Tac International.

The new object should be visible from the user-aircraft at the start of the runway.

When you are satisfied with the model. If the object is a scenery object, create a new placement file placing the object exactly where it should be. If the object is an aircraft, refer to the Aircraft Configuration Files for all the other steps necessary.
 
Last edited:
Back
Top