[Modding] Add color picker support for Custom Models #6100
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pr adds a way to make it possible to ingame make color changes for custom models.
The way it works is by going through materials for a prefix which is this following.
cosmetic_<option>_<suboption>#<hexcolor>orcosmetic_<option>#<hexcolor>Mod makers will set it up in blender for support
This will in turn add it to the cosmetics menu in a new tab for custom models. It will only show what it detects.
It will search
object_link_boy,object_link_child,object_custom_equipandgameplay_keepfolders for compatible materialsIn order for it to work properly when setting up for this. Use shaded texture preset and a black and white texture (like tunics env colors). Shaded color works aswell. This system will use prim color of the material to set the colors of what we want. Env color is still reserved for tunic colors.
I remind again. use greyscaled textures!
Video_2026-01-05_15-10-35.1.mp4
Build Artifacts