Modcraft - The community dedicated to quality WoW modding!

Content creation => Texturing and 2D Art => Topic started by: Kobiesan on March 15, 2018, 06:11:47 pm

Title: How do I make an items texture change every X amount of seconds?
Post by: Kobiesan on March 15, 2018, 06:11:47 pm
I want to make a tabard that flashes different things but it needs to be able to switch textures every X amount of seconds. How would I do this?
Title: Re: How do I make an items texture change every X amount of seconds?
Post by: schlumpf on March 15, 2018, 08:02:43 pm
Tabards? With the current tabard implementation? Nope. Not nicely.

You could have the tabard not actually be a tabard but apply an aura showing a tabard every few seconds, and cycle that server side. But client side, for tabards? No.
Title: Re: How do I make an items texture change every X amount of seconds?
Post by: IPEINA on March 24, 2018, 01:01:50 am
Tabards? With the current tabard implementation? Nope. Not nicely.

You could have the tabard not actually be a tabard but apply an aura showing a tabard every few seconds, and cycle that server side. But client side, for tabards? No.
How can you make a weapon display different textures every few seconds?
Title: Re: How do I make an items texture change every X amount of seconds?
Post by: schlumpf on March 24, 2018, 01:52:35 am
https://wowdev.wiki/M2#Texture_Transforms

Transition is a pain with that though.

https://wowdev.wiki/M2#Transparency

Is probably easier but only allows for fading (have multiple copies with different textures, fade between them.

If you don’t need transition and are trying to get a record entry for biggest hack, you can duplicate the item/display info and have the server cycle through ids, having the client thus change the texture. This would also be the only way to ensure color cycling be in sync for all players. Which is likely the most unimportant part.