As of today, creating a project is not convenient.
Either by starting from a sample project or by doing it from scratch with MSFS dev mode, you'll still have to edit these XML files manually and be careful keeping your references coherent between the various files involved.
What if I told you this madness stops now?
This script has several purposes:
- You can create an MSFS project with any of these assets (aircraft/scenery/materialLib/modelLib/visualLib) without starting Flight Sim and without searching in sample or previous projects.
- You'll just have to fill-in a few information that will be asked along the way.
Your answers will automatically be checked and formatted correctly if their syntax is bad.
- The paths that will be generated should prevent any conflict with any other mod from other developers.
Although this would require more testing, but it looks like this structure is better than the default (flat) one.
- You'll be proposed to have a subfolder "WORK" where you can store your various files, references, pictures, notes, etc.
So you store everything related to this add-on at the same root location (it took me so long to notice that I needed that in my own pipeline).
- There will be a script deployed with your project to help you compile it with fspackagetool.exe (without starting the sim) and directly from the project folder.
- Another script will copy all your objects textures from your modelLib to the correct /texture folder.
This way you can export your gltf with the textures in the same folder as the 3D file, so you can visualize them with the Windows 3D viewer or anything else (I check them with Visual Studio Code and "glTF Tools" add-on for my part).
How to configure:
Rename "conf.template.ps1" to "conf.ps1" and edit the file.
- The first group of variables is mandatory (comments explain what should be filled and how)
- The second group of variables can be left empty, it's just if you want to be asked fewer questions
Requirements:
- it works on Windows 10/11
- You need to be able to run unsigned PowerShell scripts
Vizipok
Thank you!
mauro.fst22
Hi ! Very good job ! The script can edit generic airports of Asobo ? I cant open SDK in the simulator and i cant delete the default airports
LordFrites author
You should be able to replace default airports, yes. But it's something to do in the dev mode. You need to create a polygon that removes all the buildings/trees/and other stuff from the area.
Now, is it possible to completely get rid of an airport (without replacing it by a custom one)? That, I don't know.
2 years ago