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

RoscoHead avatar image
RoscoHead asked FlyingsCool rolled back

Tail number paint info in texture.config?

Hey Asobo, any reason you can't move the tail number paint info from panel.cfg to texture.cfg? Seems like a more logical place for it, and seems to me it would alleviate a lot of mod / livery incompatibilities.

Pretty please????

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

FlyingRaccoon avatar image
FlyingRaccoon answered FlyingRaccoon edited

Hello Rosco.

The existing livery system actually already allows you to do that.
You just need to have your aircraft.cfg refence the base container and then you can redefine the content of the panel directory just like what you do for the texture directory.
Just make sure to copy whatever wasm modules you have in the original panel directory as inheriting those is not supported yet.

Hope this helps.
Regards,
Sylvain

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.

FlyingsCool avatar image
FlyingsCool answered FlyingsCool rolled back

@FlyingRaccoon So, what he's implying is that he'd prefer NOT to have to edit the panel.cfg file, because it causes problems later as panel.cfg files change. So, if you include a panel.cfg file in your livery, you then have to maintain the panel.cfg file as updates are made to the plane, and, if there's a relevant panel.xml file like there is in the C172 Classic, unless you know the <include relativefile=... trick, it causes all kinds of problems because the file is encrypted. There were tons of problems getting the C152 panel to work properly as 3rd parties improved that plane for just this very reason.

If the Registration text values were moved to the texture.cfg file, this would become MUCH less of a problem and we wouldn't need to worry about the panel.cfg file at all anymore.

In particular, he's talking about these sections

[VPainting01]
size_mm = 1024,256
texture = $RegistrationNumber
location = exterior
painting00=Registration/Registration.html?font_color=white, 0, 0, 1024, 256

[VPainting02]
size_mm = 256, 64
texture = $RegistrationNumber
location = interior
painting00=Registration/Registration.html?font_color=white, 0, 0, 256, 64

They don't really have anything to do with the gauges in the cockpit, and everything to do with how the plane is painted.

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.

RoscoHead avatar image
RoscoHead answered

Thanks for explaining it somewhat clearer than I did!

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.