Character editor - logic between mask color and facesets

Hello everybody,


While I am making the extended character generator for MV, I am stumbling on the logic between the way the editor colors the pictures. Notably, some items have several colors, others have only one. If we look at the files of the generator, here is what I noticed:


For SideView, TileView, and TileViewDamage, every resource is associated to a mask file, whose filename contains an additional _c. These mask files contain a number of distinct colors equal to the number of changeable colors in the picture (excluding the pure white background). However, the logic does not apply for the Faceset pictures; Instead, the faceset pictures are separated in several subfiles with no masks. The names of the subfiles are _cX_mY.png. My question is related to the X and Y value. How are these values associated to the colors in the mask files of the other views ?


Here is an example of the association for a better understanding of what I said.


The first accessory of the Female characters;


Faceset items :





- FG_AccA_p01_c1_m013.png (Blue ribbon)





- FG_AccA_p01_c2_m014.png  (White strap)


Sideview items :





- SV_AccA_p01.png (Normal picture file, white strap and blue ribbon)





- SV_AccA_p01_c.png (Mask picture file, purple strap and light grey ribbon)


How will the coloring work in that case ? There is no mask information for the faceset. For any people having created new generator resources, do you have an idea ?


Thanks,


Schlangan
After a careful analysis, I found the answer to my question. I write it here, in order for people to see the answer if they ever need to, but maybe this should be added to the tutorial post to add new resources to the editor.


Each faceset element mX color is associated to a specific color in the mask files of other templates (SV, TV, TVD). The values also correspond to the type of elements. In the list below, I indicate the Red,Green and Blue values of the colors.


Body color:


m001 : 249,193,157


Eyes color:


m002 : 44,128,203


Hair, Eyebrows, Beard color


m003 : 252,203,10


m004 : 184,146,197


Facial Marks


m005 : 0,146,150


Beast Ears


m006 : 211,206,199


Clothing


m007 : 174,134,130


m008 : 254,157,30


m009 : 28,118,208


m010 : 217,164,4


Cloak


m011 : 216,172,0


Accessory A


m013 : 211,206,194


m014 : 218,52,110


m015 ; 164,201,17


Accessory B


m016 : 199,132,7


m017 : 192,211,210


m018 : 65,85,182


m019 : 186,59,69


Glasses


m020 : 153,153,153


m021 : 204,186,210


m022 : 96,126,75


Strangely enough, there is no file with the m012 suffix in the generator resources. Following the logic, it should be for cloak accessories, but I'm not sure.
Necro'd an old post, sorry.

Original thread: https://forums.rpgmakerweb.com/threads/character-editor-logic-between-mask-color-and-facesets.56933/