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

vpilot avatar image
vpilot asked WombiiActual edited

Adding Simobject with different textures problem

Hello I am Trying to add a simobject (flag) to my airport project. I have made the following folder structure as suggested by the SDK documentation.

project-name

packagesources

icao-modellib

flag_custom

texture.xx1

texture.xx2

model

sim.cfg


sim.cfg texture configuration

[fltsim.0]
title=xx1
model=
texture=xx1
[fltsim.1]
title=xx2
model=
texture=xx2


When I load the project, only one object is shown in the scenery list. When I add it, no texture is shown.

What steps am I missing?

scenerymodeling
10 |10000 characters needed characters left characters exceeded

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

1 Answer

· Write an Answer
WombiiActual avatar image
WombiiActual answered WombiiActual edited

Folder structure for simobject like a flag: \*PROJECTNAME*\PackageSources\Simobjects\Landmarks\wXXXX_windsock_SO

What I did to get multiple texture folders to work:

Try adding a folder model.xx2 with a file called model.cfg. That file should point to the first model folder like this:

[models]
normal=..\model\flagmodel.xml

The xx2 model will now use the same model files as the first model but use the xx2 texture folder specified in the sim.cfg.

10 |10000 characters needed characters left characters exceeded

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

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 4.8 MiB each and 23.8 MiB total.