Skip to content

Conversation

@Jepvid
Copy link
Contributor

@Jepvid Jepvid commented Jan 5, 2026

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> or cosmetic_<option>#<hexcolor>

image

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_equip and gameplay_keep folders for compatible materials

In 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant