-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add two conditional rules of constructing layers to DNA #1053
base: main
Are you sure you want to change the base?
Conversation
for adding two conditional rules of constructing layers to DNA
for adding two conditional rules of constructing layers to DNA
Running the rarity command doesn't work when creating a collection that uses the subfolder layout. |
Pease check if your config.js file configured the layer with subfolder layout in the following way, Meanwhile, the following conventions must be complied:
e.g. if "Fur" layer has three image files: 'White.png', 'Yellow.png' and 'Golden.png', "Hair" layer must have and can only have three subfolders of 'White', 'Yellow' and 'Golden'. More explanations can be found in my comment in the PULL REQUEST. Your any further comments will be very welcomed. |
hi, can you make a quick how-to video , so this may help poor souls like me :) and thank you so much for your great contribution. |
What does “7th layer" mean? Which is the 1st layer? |
* create add_rarities * add None.png for set_rarities use * add set_rarities to scripts object * add content to Usage and Utils * add rarities to options object * modify for set_rarities
The layer index starts from 0. See README.md in Pull reqest #1024 for more detailed explanation. |
A new Pull request #1024 was created, where a full explanation of how-to-use the above two conditional rules of constructing layers to DNA is added to README.md. Hope it will help to understand the usage. |
Two conditional rules of constructing layers to DNA are implemented to adapt the situations as follows:
The src/main.js code was modified together with more 'options' added to layerConfigurations.layersOrder in src/config.js.
This modification does not affect any of the original functions of the main release, hopefully will be merged to the main release.