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

MSFS20 Introduction to MSFS SDK (scenery)

Should the .shp, .dbf, and .shx files be being put into the scenery\world\scenery directory along with the .bgl file, or are they compiled into a .bgl file, too, normally, when the system is working?
 
I don't know if this means anything, or points to anything I've forgotten that's keeping the polygons from working. I created a new element in the project, thinking maybe one would have buildings and the other would have the polygons. Here's the result of that process, at the end I deleted one of the buildings, but it didn't bother to reprocess the bgl... or, at least, the bgl did not change date.

I tried both build package and build all commands. Is there another command to build layout.json? Is there an element I need to add for it do add the bgl to it?

PackageBuilder | Done, 6 asset groups registered.
PackageBuilder | No partial lister for asset type BGL
PackageBuilder | Partial build : nothing to do
PackageBuilder | Reading E:\Documents\MyFSProjects\TGP-airport-KASH\kash.xml...
PackageBuilder | Preparing asset groups...
Asset group is nested in another one or has already been added: 'kashbuildings', in directory: 'E:\Documents\MyFSProjects\TGP-airport-KASH\scene\'
PackageBuilder | Done, 5 asset groups registered.
PackageBuilder | Generating commands for package flyingscool-kashbuildings...
PackageBuilder | Preparing commands for asset group kashbuildings...
PackageBuilder | Preparing commands for asset group ContentInfo...
PackageBuilder | Ready, 4 commands added.
PackageBuilder | Starting the build...
Compiling BGL from file kashbuildings.xml...
Compiling BGL from file kashscenerynew.xml...
Compiling 1 SHP -> BGL (file kashscenerynew.shp )...
FlightSim element not present in metadata
Unable to process metadata E:\Documents\MyFSProjects\TGP-airport-KASH\scene\kashscenerynew.shp
PackageBuilder | Skip mirroring due to command failures.
PackageBuilder | Skip generation of package information due to command failures.
PackageBuilder | Building assets for the package flyingscool-kashbuildings...
Copying files from source folder E:\Documents\MyFSProjects\TGP-airport-KASH\PackageDefinitions\flyingscool-kashbuildings\ContentInfo\...
Compiling BGL from file kashbuildings.xml...
Compiling BGL from file kashscenerynew.xml...
PackageBuilder | Reloading assets for the package flyingscool-kashbuildings...
Copying files from source folder E:\Documents\MyFSProjects\TGP-airport-KASH\PackageDefinitions\flyingscool-kashbuildings\ContentInfo\...
PackageBuilder | Finished, 0 skipped, 3 done and 1 failed, took 0s128ms.
? false returned by Command=BuildPackages Comment=Rebuild the packages whose name correspond to the given filter, and for the given project (default fs-project.xml) NbParam=2 Line=BuildPackages flyingscool-kashbuildings * "E:\Documents\MyFSProjects\TGP-airport-KASH\kash.xml" "E:\Documents\MyFSProjects\TGP-airport-KASH" 1
PackageBuilder | Done, 6 asset groups registered.
Failed to find asset group where the given path is located
PackageBuilder | Couldn't find asset configuration during partial build for file E:\Documents\MyFSProjects\TGP-airport-KASH\PACKAGES\FLYINGSCOOL-KASHBUILDINGS\LAYOUT.JSON
Failed to find asset group where the given path is located
PackageBuilder | Couldn't find asset configuration during partial build for file E:\Documents\MyFSProjects\TGP-airport-KASH\KASH.XML
Failed to find asset group where the given path is located
PackageBuilder | Couldn't find asset configuration during partial build for file E:\Documents\MyFSProjects\TGP-airport-KASH\PACKAGES\SCENERY-NH-FLYINGSCOOL-KASH\SCENERY\WORLD\SCENERY\KASHSCENERYNEW.BGL
Failed to find asset group where the given path is located
PackageBuilder | Couldn't find asset configuration during partial build for file E:\Documents\MyFSProjects\TGP-airport-KASH\PACKAGEDEFINITIONS\SCENERY-NH-FLYINGSCOOL-KASH.XML
Failed to find asset group where the given path is located
PackageBuilder | Couldn't find asset configuration during partial build for file E:\Documents\MyFSProjects\TGP-airport-KASH\PACKAGES\FLYINGSCOOL-KASHBUILDINGS\MANIFEST.JSON
Failed to find asset group where the given path is located
PackageBuilder | Couldn't find asset configuration during partial build for file E:\Documents\MyFSProjects\TGP-airport-KASH\PACKAGES\FLYINGSCOOL-KASHBUILDINGS\CONTENTINFO\FLYINGSCOOL-KASHBUILDINGS\THUMBNAIL.JPG
PackageBuilder | No partial lister for asset type ContentInfo
Failed to find asset group where the given path is located
PackageBuilder | Couldn't find asset configuration during partial build for file E:\Documents\MyFSProjects\TGP-airport-KASH\PACKAGES\SCENERY-NH-FLYINGSCOOL-KASH\SCENERY\WORLD\SCENERY\KASHBUILDINGS.BGL
Failed to find asset group where the given path is located
PackageBuilder | Couldn't find asset configuration during partial build for file E:\Documents\MyFSProjects\TGP-airport-KASH\PACKAGEDEFINITIONS\FLYINGSCOOL-KASHBUILDINGS.XML
PackageBuilder | Partial build : nothing to do
[glTF] Model lod loaded: [LOD0] SimObjects\Boats\FishingShip02\model\FishingShip02_LOD0.gltf
[glTF] Model lod loaded: [LOD1] SimObjects\Boats\FishingShip02\model\FishingShip02_LOD1.gltf
[glTF] Model lod loaded: [LOD2] SimObjects\Boats\FishingShip02\model\FishingShip02_LOD2.gltf
[glTF] Model lod loaded: [LOD3] SimObjects\Boats\FishingShip02\model\FishingShip02_LOD3.gltf
[glTF] Model lod loaded: [LOD4] SimObjects\Boats\FishingShip02\model\FishingShip02_LOD4.gltf
PackageBuilder | Done, 6 asset groups registered.
PackageBuilder | No partial lister for asset type BGL
PackageBuilder | Partial build : nothing to do
PackageBuilder | Done, 6 asset groups registered.
PackageBuilder | No partial lister for asset type BGL
PackageBuilder | Partial build : nothing to do
 
Hi all

In SDK samples there are:
- SimpleScenery --> add scenery
- SimpleAirport --> add airport (runways, taxiways)

How to create a airport with customized buildings? How to put everyting in one project?
It's the join of both?

Should the mycompany-scene.xml be a mix ?

Best regards.
 
I'm working through that as we speak.

I think that depends on exactly what you're doing.

Are you creating an airport, or do you want to just replace buildings at an existing airport?

What is "everything"? We can't answer your questions unless you say exactly what you're trying to do.

In my case, I've spent 3 days trying to create exclusions on an existing airport and lay in default hangar buildings on those exclusions to replace the massive structures the AI put in at KASH. It's been a long haul, but it's extremely important to follow everything @DragoB wrote to the letter. And there are a couple of steps missing, and, for me, missing information.

Naming conventions are extremely important, as is where you put files, and a couple of those steps were not clear to me from the instructions (they may be to you). But, just now, I got it all working. Kind of. I don't know exactly what I did.

If you are creating a new airport, or completely replacing an airport, just follow the instructions attached. If you are going to use geometry you've created, unless you're an expert, that path is long and arduous, and I can't even begin to help on that.

The other thing I've learned, it could just be coincidental for me, but it seems like you need to create two sets of assets if you're doing what I'm doing, just replacing some buildings, one asset contains the exclusions, and one asset contains your buildings you're adding. I could be totally wrong on that, but my scenery finally worked when did that. It is all in one project, but I created two bgl's within the project. I'm not exactly sure how I assigned things to each. Hope that helps a little.

Read the document attached to the first post of the thread and follow it exactly.
And expect to have to start over a few times.

Anyway.... good luck.
 
Hi @DragoB , as I noted above, I got my edits to work!

I don't know exactly what I did, but the editor finally automatically created my layout.json file (it turns out the manifest was also missing from the first renditions), and my exclusions are finally working.

What I did was screw up the files so that it wasn't reading my buildings in again. But it did read in my exclusions. So I saved the scenery file with just the exclusions, and this time it created a whole bunch of entries for a variety of airport and exclusion stuff that hadn't been in xml file before. Going with my thought of splitting up the exclusions and buildings, I created another asset in the project, this time getting your instructions mostly right I think. Then I added another hangar, saved this scenery to a different xml. Then I edited that xml while I was still in the editor and overwrote that data with my old building data, and it brought my original layout back.

Then, this time when I built the project, it created both bgl's (I have no real idea exactly what's in any of them), and it populated my layout.json properly! Point is, it's not perfect, I've got some edits to do to a few buildings. But it seems to be working.

There's still some weird stuff going on. I read somebody say their edits show up as they replace files in the Community directory as they copy new versions in. They only way I get mine to work is if I exit MSFS and get back in... twice to boot... I don't know what that's about. It seems to remember old buildings I deleted.
 
Ich habe das Problem, dass die Texturen auf meinem Objekt verzerrt erscheinen. Ich habe das Objekt aus Sketchup in Blender geladen und als glTF exportiert. Die Texturen sehen in Blender makellos aus.
Ich würde mich sehr über die Lösung freuen.

1.PNG
 
Last edited:
Ich habe das Problem, dass die Texturen auf meinem Objekt verzerrt erscheinen. Ich habe das Objekt aus Sketchup in Blender geladen und als glTF exportiert. Die Texturen sehen in Blender makellos aus.
Ich würde mich sehr über die Lösung freuen.

View attachment 62539

Hello:

Since this is a English speaking forum, you can use Google to translate; this is the result to be posted here: :)

[EDITED]


[END_EDIT]

"I have the problem that the textures appear distorted on my object.

I loaded the object from Sketchup into Blender and exported it as a glTF.

The textures look flawless in Blender.

I would be very happy about the solution."


GaryGB
 
Last edited:
Makes perfect sense! Thanks for the effort you went through for my reply, I really appreciate it. c:

Btw good luck with Bedford! I'm trying to model EGCJ (Sherburn Aerodrome), done about 20 hours of flying there and hope to complete my training one day, So I want to make a high quality scenery (I'm fine with blender modelling its just this new SDK thats taking some learning hehe) But yea thanks for your help again. Im sure you'll see more posts of mine soon around here. haha.

Hi there, I'm currently learning to fly at EGCJ and wondered if you'd got anywhere with this?
 
I just want to say, I finally got everything working and I uploaded my scenery to flightsim.to (KASH).

If I start again on another, I'll take notes on my process and send them along to you @DragoB

Thanks so much for putting this together.
 
Hello:

Since this is a English speaking forum, you can use Google to translate; this is the result to be posted here: :)


"I have the problem that the textures appear distorted on my object.

I loaded the object from Sketchup into Blender and exported it as a glTF.

The textures look flawless in Blender.

I would be very happy about the solution."


GaryGB

That's Spanish??

;)
 
That's Spanish??

;)

Thanks for the heads up on Google's failure to dynamically update the URL when one toggles the mode from Spanish to German on that same web page. :)


The page did come up in the search page originally in Spanish to English mode, then I toggled that linked web page to the German to English mode, and copied the URL.

Once I had toggled the mode from Spanish to German, I was immediately able to perform the translation that I posted above, but the web page URL did not update.


I have edited my post above to the correct URL that results from searching Google explicitly for "translate German to English". :pushpin:

GaryGB
 
Thanks for the heads up on Google's failure to dynamically update the URL when one toggles the mode from Spanish to German on that same web page. :)


The page did come up in the search page originally in Spanish to English mode, then I toggled that linked web page to the German to English mode, and copied the URL.

Once I had toggled the mode from Spanish to German, I was immediately able to perform the translation that I posted above, but the web page URL did not update.


I have edited my post above to the correct URL that results from searching Google explicitly for "translate German to English". :pushpin:

GaryGB

(I was just joking, I understood what happened :)
I just thought it was funny what Google did :) )
 
Ich habe das Problem, dass die Texturen auf meinem Objekt verzerrt erscheinen. Ich habe das Objekt aus Sketchup in Blender geladen und als glTF exportiert. Die Texturen sehen in Blender makellos aus.
Ich würde mich sehr über die Lösung freuen.

It kind of looks like that is cause by incorrectly mapped ngons. Just check your uv-unwrapping in blender to see how it looks or share a screenshot of the mesh in blender.
 
Hi Y'all, happy to see you are all using the documentation. Let me know if anything is missing and we will try our outmost to update it ASAP. I have been busy with real life uni studies so I really have not had the time to play with MSFS for a while now.
Thank you so much for the very detailed documentation!
I'm not really a modeler at all, but was able to add some objects to an unmarked airstrip, to make it more obvious for bush pilots, and it all worked on the very first try!
So, even though I wasn't making a new airport, but just adding items to random locations (several kilometers apart), the process worked pretty well.
 
Hi guy's,

I have the same problem, i solved it by changing the unwrap method to "conformal" from "angle based" :


Thomas
 
Hi DragoB,

I'm finally getting around in airport design. The biggest thing I think should be stated up front in the directions that I don't see in them is... When you hit "Save Scenery" it will likely ask you for the name of your .shp file and .xml file. Do NOT name them the same name.

You do allude to saving the "poly" file (which, unless you know what you're doing you won't know is the .shp file) as a particular name, but you don't explicitly say in one place...

"Make sure you name your .xml file different from your .shp file name when you select 'Save Scenery' the first time and it asks you for a filename for each".

The .shp file has its own .xml file, which overwrites the scenery object xml file if you name the two files the same in the dialog boxes, and it only gives you one chance when you first save the project to name the files. After that, you're up the creek without a paddle if you name them the same and you have to start over, because there's no option that I can find to open a specific file for a given asset.
 
Hello! Foremost, thank you to everyone for their time making tutorials and helping each other out here.

I was FINALLY able to get my custom object into FS2020, but only one. I followed the published tutorial here and multiple tutorials on Youtube, but they either import only one object or do multiple objects at one time. I'm looking to add each section as I build them, separately (ie: on different days). I've tried putting all objects and textures in the same folder within "modelLib" and also creating a new folder within "modelLIb" (one folder per object) with no luck. Although I see the object (and textures) process OK when I build the package, I don't see it under "objects" in dev mode, even after restarting the sim. I'm only able to see the first object I ported into the scenery, no subsequent ones. I am running the Steam version with the Blender workflow. Does someone know how to accomplish this? Any help would be much appreciated as I have spent almost two entire days trying to sort this out. Many thanks in advance!

-PEACE FARM

PS: I apologize for the cross post, but figured this would be a good place to ask as well. Thank you
 
Hello! Foremost, thank you to everyone for their time making tutorials and helping each other out here.

I was FINALLY able to get my custom object into FS2020, but only one. I followed the published tutorial here and multiple tutorials on Youtube, but they either import only one object or do multiple objects at one time. I'm looking to add each section as I build them, separately (ie: on different days). I've tried putting all objects and textures in the same folder within "modelLib" and also creating a new folder within "modelLIb" (one folder per object) with no luck. Although I see the object (and textures) process OK when I build the package, I don't see it under "objects" in dev mode, even after restarting the sim. I'm only able to see the first object I ported into the scenery, no subsequent ones. I am running the Steam version with the Blender workflow. Does someone know how to accomplish this? Any help would be much appreciated as I have spent almost two entire days trying to sort this out. Many thanks in advance!

-PEACE FARM

PS: I apologize for the cross post, but figured this would be a good place to ask as well. Thank you
I have the same issue. Perhaps seb can clarify
 
Back
Top