plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.


Please take a moment to read the platform’s guidelines before you get started!


question

Caspajack avatar image
Caspajack asked Caspajack commented

How to add a single structure/building or object NOT at an ariport.

I would like to know how to add a single structure/building or object NOT at or near an airport.
While there are a few YouTube videos on this, they offer conflicting advice that in general do not seem to follow to correct folder structures.
As the SDK documents improve with more and more information these videos though well intentioned are a bit confusing.
A step by step tutorial would help those who just want to add some possibly local missing element to the FS world.

scenery
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Ironpot avatar image
Ironpot answered

You can do this in two ways:

1. Set up a project as if you were going to modify an existing airport. By that I mean copy your existing source folders and delete the scenery xml etc. and rename the files/folders. Start the sim and in Dev mode fly to a location near where you want change then go into Developer Camera. Now load the project. Add a polygon and that’s it from there. You don’t add an airport but you can add a POI. Be aware that not adding an airport limits you ability to use sim scenery options such as aprons and painted lines.

2. In Developer Camera open an existing airport scenery package you have created and simply add a polygon (or anything) to the environment. It can be “outside” the airport limit. I have done this to flatten terrain spikes 50km away. Have even added a POI Lighthouse so I didn’t need a whole new project. The Lighthouse was simply another folder in the ModelLib folder.

I am assuming you know your way around making and editing scenery projects with this answer.

Hope it helps

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Caspajack avatar image
Caspajack answered Caspajack commented

Thank you @Ironpot for your answer and yes I have created new airports but only using the existing MSFS assets. In this case I have created a building in Blender, (call it a POI) and the SDK says it should be placed in the 'scenery' folder, and the folder name should not be changed. I get it to appear quite happily in the scenery editor but when I build and exit the editor it disappears. I have copied the Package to the community folder as normal but it doesn't work (no building). I think it's the folder structure that's wrong.

What folder structure do you use?


2 comments
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Ironpot avatar image Ironpot commented ·
Contact me at ironpot@outlook.com.au and I can send you my layout and some more detailed steps
0 Likes 0 ·
Caspajack avatar image Caspajack Ironpot commented ·
Email Sent, Thanks very much!
0 Likes 0 ·
Nocturne avatar image
Nocturne answered Caspajack commented

This should be a relatively straightforward thing to do and doesn't require an airport at all. You'll need a ModelLib asset for the models, and a Scenery asset for the scenery XML. To find out how this is structured, I would suggest checking out the "SimpleScenery" example project, and seeing how the "PackageSources" folder in that project has been set up. You can find information on this sample project here: https://docs.flightsimulator.com/html/Samples_And_Tutorials/Samples/SimpleScenery.htm

1 comment
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Caspajack avatar image Caspajack commented ·
Thanks Nocturne, you were right. The problem was the folder structure I setup in Blender.

I used a product from flightsim.to, it will create a blank package folder automatically. I checked how that was structured and followed it. Now the building shows up and looks fine.
I now have to work out how to get the glass to look like it does in the default buildings.

1 Like 1 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 19.1 MiB each and 23.8 MiB total.