Understanding recolors #468
Replies: 4 comments 3 replies
|
If you check the overall sheet, type_name is there, too: type_name just tells the script that only one of that asset can exist at a time. Its also used to match recolors if you switch to another asset. For example, if you set a head asset with eyes, recolor set, if you then toggle another asset that has a secondary recolor with "eyes" as a type_name, it will color match by default. This even applies when switching to totally other assets. Heads mostly have skintone + eyes. Faces also have skintone + eyes, so if you choose a head and eye color, then choose a custom face, the eye color on the new facial expression will match the eye color you chose on the head asset. |
|
Thanks for this explanation - I understand. I searched and there's no color_3 in the complete data. But is this theoretical possible in this concept or does your concept limit to color_1 and color_2? So is there a reason why the assets with only one color not have always color_1 only instead of having the properties in the Json level above? |
|
Ok I got recolor now working with all normal material palettes. I've just some problems with "all.lpcr" as the logic is not really straight forward as the others. For e.g. body.json it should replace all colors from ulpc/light palette with what ever palette from body_lpcr.json or body_ulpc.json. |
|
Thank, I implemented some more cases and now found more special cases: arms_hands_ring_stud.json I thought all.lpcr is a "special case" now with metal.ulpc I understand this mechanism. or hair_pigtails.json Everytime I think that I understood one data concept I find more special rules. :-( Are those recolor case only historical and you plan to move this into the generic palette folder or is this a normal case? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I've rough implemented support for the new recolor possibility. I understand the format in body.json
"recolors": {
"material": "body",
"palettes": [
"ulpc",
"lpcr",
"all.lpcr"
]
},
But I've problems to understand the logic from heads_human_male.json
"recolors": {
"color_1": {
"material": "body",
"palettes": [
"ulpc",
"lpcr",
"all.lpcr"
]
},
"color_2": {
"type_name": "eyes",
"label": "Eye Color",
"material": "eye",
"palettes": [
"ulpc",
"lpcr"
]
}
I don't get the meaning of the parameter "type_name": "eyes" in this context and when to apply the color here. Could you explain this?
All reactions