This was published somtime ago and it worked for me:
So, for those interested, here is the simple procedure to see Henrik's stunning boats in MSFS:
- We assume that everyone knows the location of their "community" folder
- We assume that everyone knows how to make a .py file (see this post). If this .py file is well done, no need to enter any command line: a double-click on it is enough.
- We will call it "build.py"
We will start by creating a working folder, on the desktop for example.
We will call it "KL-traffic-ships"
In this folder, we will create two folders, named "scenery" and "Simobjects"
In the "scenery" folder we will import all the traffic .bgls from Henrik's traffic_ships, coming from FSX or P3D. These .bgls start with "traffic_ships _....". There are 1,810 in my house.
Once done, we will put our "build.py" file in the "KL-traffic-ships" folder
Double-click on it, which will generate the very important "layout.json" file (a dos window will quickly open, showing the compilation).
Once done, we remove the "build.py" which is no longer used for anything.
To this, and still in this "KL-traffic-ships" folder, we can add a "ContentInfo" folder and a "manifest.json" file, both copied from another scene for example (They don't really have importance at this point).
We now tackle the "Simobjects" folder:
- in this folder, we will create a new folder named "boats" in which we will deposit the AI boats of Henrik's traffic_ships. These folders, containing the .mdl and textures, start with AI _....)
It's over for the "KL-traffic-ships" folder that we can now place in our "community" folder.
This is now the most delicate part since we will be dealing with a file specific to MSFS.
Go to the location: 😄 \ Users \ your_account \ AppData \ Roaming \ Microsoft Flight Simulator (this assumes that your hidden files are visible of course)
In this folder there is a file named "FlightSimulator.CFG"
we open it with the notepad and we look for the line [Main]
which looks like this:
[Main]
User Objects = Airplane, Helicopter
SimObjectPaths.0 = SimObjects \ Airplanes
SimObjectPaths.1 = SimObjects \ Rotorcraft
SimObjectPaths.2 = SimObjects \ GroundVehicles
SimObjectPaths.3 = SimObjects \ Boats
SimObjectPaths.4 = SimObjects \ Animals
SimObjectPaths.5 = SimObjects \ Misc
SimObjectPaths.6 = SimObjects \ Humans
SimObjectPaths.7 = SimObjects \ Landmarks
We will add to these lines the location of our boats so that the simulation can find them:
SimObjectPaths.8 = your location of the "community" \ KL-traffic-ships \ SimObjects \ boats folder
Which gives me, for example:
[Main]
User Objects = Airplane, Helicopter
SimObjectPaths.0 = SimObjects \ Airplanes
SimObjectPaths.1 = SimObjects \ Rotorcraft
SimObjectPaths.2 = SimObjects \ GroundVehicles
SimObjectPaths.3 = SimObjects \ Boats
SimObjectPaths.4 = SimObjects \ Animals
SimObjectPaths.5 = SimObjects \ Misc
SimObjectPaths.6 = SimObjects \ Humans
SimObjectPaths.7 = SimObjects \ Landmarks
SimObjectPaths.8 = P: \ Microsoft Flight Simulator \ Packages \ Community \ KL-traffic-ships \ SimObjects \ boats
do not forget to save the modification!