Use alternative layerConfigurations folder based on Body type #322
Unanswered
seilors
asked this question in
Help + Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm wondering if there is a simple way to do this:
I have 20 Body layers in my project, half of them have Mouth type A, the other half Mouth type B, what that means is that all the Mouth attributes were designed twice. Once to fit on Mouth_A, and again to fit Mouth_B. There are A LOT of Mouth traits.
So the thing is, with Branching, the solution would be to structure the layers like this:
BODY
|-- Normal#20
|---- Mouth_A (folder)
|-- Red#20
|---- Mouth_A (folder)
|-- Green#20
|---- Mouth_B (folder)
|-- Blue#20
|---- Mouth_B (folder)
[...]
Where every Body integrates a folder with all the compatible Mouth layers.
My problem with it is that, having 20 Body layers, that would require so many identical Mouth_A/Mouth_B folders, and every time I need to change the rarity of an item, I have to rename the file 20 times (and go through all the folders, one by one).
The solution that I have in mind and I think would work is to have two folders in the root directory:
LAYERS
[...]
|-- Mouth
|-- Mouth_Alt
[...]
And set it so that every Body normally gets their Mouth layer from the Mouth folder, then make an if statement for half of the Body layers, to pick from Mouth_Alt instead. Something like:
if Body is
Green
Blue
[...]
use Mouth_Alt folder as source
This way, I'd have only TWO Mouth folders, and all my problems would be solved. I'm just trying to make my life easier considering the unconvenient layer structure. Like, if you think about it, it's such a simple concept: use different Mouth folder based on Body.
I also tried using Incompatible/Forced combinations but that would make it as painful as Branching, if not more (because I'd have to write down a lot of exceptions manually for every Body)...
So, is there a way to do this? Thank you so much 🙏
Beta Was this translation helpful? Give feedback.
All reactions