This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: How do I make an items texture change every X amount of seconds?  (Read 1615 times)

Kobiesan

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 161
    • View Profile
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?

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: How do I make an items texture change every X amount of seconds?
« Reply #1 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.

IPEINA

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 17
    • View Profile
Re: How do I make an items texture change every X amount of seconds?
« Reply #2 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?

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: How do I make an items texture change every X amount of seconds?
« Reply #3 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.