Developer Resources
Last updated
Last updated
All our liveries are using mesh decals and are not painted on any texture file. However, we provide a photoshop paintkit in layer format for all developers who want to continue working with texture liveries. Have fun!
Every person has different taste and fondness according to their personality. That's why, our Tecnam P2006t comes with a feature that allows user to add a unique object to the aircraft. The following sections will explain step by step on how you can do that.
Prerequisite
The following list are the things that you need to have in order to add unique object to the aircraft:
Blender (ver 3.0 or newer)
Blender file that contains your unique object
Asobo's official Blender exporter, which you can find it here : GitHub - AsoboStudio/glTF-Blender-IO-MSFS
Latest release of MSFSLayoutGenerator develop by HughesMDflyer4, which you can find it here : Releases · HughesMDflyer4/MSFSLayoutGenerator · GitHub
Latest MSFS with Dev Mode enabled
Basic knowledge to create and build MSFS project.
Object Preparation
The first thing that you need to do is to create your object in Blender.
After the object is ready, you will need to position your objects accordingly to where you want the object to appear in the aircraft. We have provided a blender file with 4 (four) nodes as position reference:
Aircraft Center
Left Door (Pilot Side Door)
Right Door (Passenger Side Door)
Yoke
Then you need to export the object using Asobo's official exporter. Don't forget to export it with glTF (gltf+bin) format.
After exporting, you will get some files such as in the sample folder:
Object Placement to MSFS
The exported object then needs to be imported to MSFS as SimObjects. It's necessary to have basic knowledge about MSFS SDK, and you can learn more on the SDK Documentation especially for the section regarding SimObjects in this link : SimObjects (flightsimulator.com).
After imported, the object will appear in the Packages folder also as .gltf and .bin but have different format than the one after exported from blender, so we need to use this one for the next step. The object will also appear in the package's Layout.json. We need to open the file with a text editor application to see it. If the object has textures, then it would appear in separate lines.
In order to make our object appears as part of the aircraft, the steps are as follows:
Copy the model files (.gltf and .bin) from the Package folder.
Find the model folder of the livery that you want the object would appears, then paste it inside the folder.
If your object has texture, copy the texture files (.DDS and .DSS.json) from the Package folder and paste it to the texture folder corresponding with the step 2.
Find the Layout.json file of the target livery that we will add our object into; it's usually placed in the root of each package.
Drag and drop the Layout.json file into the MSFSLayoutGenerator.exe that we have downloaded, it will automatically include the files that we copied in previous steps into the the Layout.json file structure.
Check the new Layout.json to see if it already included the copied objects with a text editor application (if you want to).
Load up the MSFS to see the result.
Troubleshooting
Above image may occur because of unsuccessful attempt to add the custom object. Some steps that you can do to troubleshoot it are:
Make sure that the object appears in the source project. If not, then you can check several things:
Make sure you use the latest ASOBO's exporter
Make sure the blender version is compatible with the exporter.
If the object did appear in the source project, what you can check are:
check whether the objects (and texture) already inside the new Layout.json.
check the directory path of the objects (and texture) are correct.