Changing Textures of a Single Object
#5
"Like, remember how certain objects like the cars and Cataquacks have a specific Setting to change color??"

Very interesting hint, I saw the documentation of cataquack object and the color is indeed a KMP setting.

And like Ro said, this works with pattern animation. I guess it has one pattern with four different textures for the different colors, and the code is forcing to set a specific frame to load a specific texture.

However, I tried this too with the coin object, but it didn't work (The pattern won't show up). I think the problem is here that the coin model is not fully loaded from brres file, instead, only textures are loaded. Vertex data, uv data and also animation data is loaded from in game. Maybe I have done something wrong but it didn't work for me.
So if anyone wants to try it with texture patterns, please do so. Still, the main problem remains that it should only be applied for some coins, not for all, and for this someone should look into the cataquack settings for the color and try to figure out how that works.

Would appreciate if someone tries to figure it out. Smile
Reply


Messages In This Thread
Changing Textures of a Single Object - by Unnamed - 09-09-2024, 10:24 AM
RE: Changing Textures of a Single Object - by _Ro - 12-16-2024, 06:42 PM
RE: Changing Textures of a Single Object - by Unnamed - 12-17-2024, 11:31 AM
RE: Changing Textures of a Single Object - by _Ro - 12-17-2024, 05:53 PM
RE: Changing Textures of a Single Object - by _Ro - 12-17-2024, 06:01 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)