I know, I know, another thread from me about modifying CCEX.... 😛 But this is, hopefully, the very last thing I need assistance with to figure out!
When I change the color of a piece, I'd like the files in the selection screen to change to match the selected color. Say I select Skintone "Dark 02" -- I'd like the images in the file list on the left to reflect that color, not just the image in the preview window on the right. Players have to manually select and apply every body type or face etc. to see what it looks like in their desired skin color, and I'd like to avoid all those unnecessary, frustrating clicks.
The code for CCEX can be found here, by clicking on "View" if you're willing to help out with this! I believe the parts I need to modify are in Window_CharacterCreator_FileList.prototype.drawItem = function(index) and Window_CharacterCreator_FileList.prototype._createStuff = function(), but that's about as far as I've gotten... Underneath the drawItem function, I tried changing this:
to include the hue parameter, since _.loadImageWPath = function(path, filename, hue) includes that parameter -- but that did nothing, unfortunately, so I'm not sure if I'm on the wrong path with that idea or not.
Thanks in advance for any suggestions, you folks are great!!
When I change the color of a piece, I'd like the files in the selection screen to change to match the selected color. Say I select Skintone "Dark 02" -- I'd like the images in the file list on the left to reflect that color, not just the image in the preview window on the right. Players have to manually select and apply every body type or face etc. to see what it looks like in their desired skin color, and I'd like to avoid all those unnecessary, frustrating clicks.
The code for CCEX can be found here, by clicking on "View" if you're willing to help out with this! I believe the parts I need to modify are in Window_CharacterCreator_FileList.prototype.drawItem = function(index) and Window_CharacterCreator_FileList.prototype._createStuff = function(), but that's about as far as I've gotten... Underneath the drawItem function, I tried changing this:
Code:
const bit = _.loadImageWPath(this._allInfo[0], file);
this.contents.blt(bit, this._allInfo[1], this._allInfo[2] * this._allInfo[7], this._allInfo[3],
this._allInfo[4], rect.x + this._allInfo[5], rect.y + this._allInfo[6]);
to include the hue parameter, since _.loadImageWPath = function(path, filename, hue) includes that parameter -- but that did nothing, unfortunately, so I'm not sure if I'm on the wrong path with that idea or not.
Thanks in advance for any suggestions, you folks are great!!