Livery.cfg required_tags using multiple tags does not work

Version: 1.4.12.0

Bug description: I am trying to tag a specific livery to only show on two of my variant models. I find this does not work. You can use a single tag and that does work. So not sure if this is just a bug right now and will get fixed.

Note on multiple attachment [TAGS]
Adding multiple tags… tag.0 and tag.1 on the same attached model would make no sense as the livery only needs a single tag to allow this livery to work for this specific attachment. I see this would be good for other types of reference. So, I am sure using multiple tags is not needed for livery required_tags. So I ruled this out for being my issue. Would love to see an example like the SDK shows using multiple required_tags since the SDK DA62 project does not even use the example seen in the image below. Why not?

Another issue is Liveries seems to only work for the exterior model. I have custom tail numbers placards on the interior model panel. How can I have the interior model also get tagged from each livery so it can look there first then fall back to the common textures. So with the issue above this is also an issue here. If 2020 can work I think 2024 should too or this would be downgraded in my book.

Looking forward to some help on the topic.

Hello @Flysimware

Can you give an example where this would be useful?

This system is designed so a livery can be matched with a specific set of attachments.
Let’s imagine we make variations based on the propeller variant (“3blade” & “4blade” tags) and type of landing gear (“wheels” & “skis” tags). The combination of those gives us 4 presets.
Now if you want to make a livery that’s available only for the wheeled variant with 3 blade propeller, you will set required_tags = wheels,3blade

If you are doing this through textures, please check the order used to do the merging.

Apart from that, I don’t really see what could prevent this from working.
If you can provide a demo project, I can investigate this further.

Regards,
Sylvain

I was only bringing this up since tags are good for multiple attachments and not a specific livery. So just ignore this.

This is my issue is I am trying to have a single livery work for two tags.
In my case I want required_tags = cargo,cargo_long_range
See images how I have my tags.
What ends up happening is the texture fails to show up for both of these attachments on a specific variant. But If I call a single tag then it only works for that attachment which is what it’s suppose to do. So Maybe I have my attachment tags in the wrong location? Why does it stop working once I call two tags?


I want all the interior model mesh to pass through the livery the user selected then passes to the common textures just like 2020. How can I do this as right now the problem above prevents me from adding multiple tags. Maybe share an example. There is basically only 1 part in the interior that must load the from the correct livery. The rest will just use the common textures.

All tags are required for the livery to show up, so in this case you would rather just use “cargo” and define it in both attachments.

How have you done it? Through a model.interior folder in your livery?

Regards,
Sylvain

I am an idiot. I forgot each livery folder has a unique model.interior folder inside. I deserve a slap in the face for this one. Should be easy to add any textures inside them for it to work. Thanks.

UPDATE: No reason to add the textures in the model.interior folder if they exist in the model.exterior. I just added the second callback.

fallback.1=..\..\..\..\common\texture
fallback.2=..\texture.exterior

Yes this suggestion works and I am aware that I can use use 1 tag. And in this case since my texture works for both attachments, I plan to call both cargo attachments. required_tags = “cargo”

But If I want to use this texture for the medevac and cargo it does not work. And the SDK shows this can be done by calling more than one required tag. Or am I not understanding when you would call two required tags? required_tags = “cargo, medevac”

Note: Most textures can’t share both attachments so that is why I use different tags.
One work around so far is to just make separate texture folders with different required_tags. But then what is the point of the SDK sample. I could be missing something where this would work if both attachments are in the same preset. In my case they are not.

Hi @FlyingRaccoon,

I seem to find a secret sauce where you control the liveries from the tags and not the required_tags. So I feel the SDK is wrong unless I am missing something where it’s good for another situation. For now, adding addition calls to the required_tags breaks the livery and will not show up anywhere.

If you look at the image below, I have 3 attachments. Pass, cargo and medevac. I added some extra tags for specific liveries that will call to both pass and cargo using the tag passenger_cargo and this works. And I can have another livery just call to passenger or cargo as they have these default tags.

I even have a livery that does not have the long tiptanks so I added the tag passenger_short to only the passenger attachment and not the passenger long range attachment. This is for the famous singer John Denver who owned the L35 with the tail number N31WS.

I found using this method allows me to not have any extra textures which was my original goal. I am very happy now. I still think it would be easier to have single tags for each attachment, and just call to the ones we want for that livery. I hope this info helps.