Is it possible to use animated gif or something in SC2 ?
It seems that the ddr format can generate strange additionnal calcs but not for animating purpose.
@Kloupz: Go
In UI editor its possible to do sheet animation, Blizzard do bunch of things with animated images like cooldown display, auto cast for example.
Main way to get these setup is defining how many columns and the overall animation count in that sheet.
Then you need to define the texture coordinates that is displayed on the actual image in-game.
This looks for these scaled coordinates in your sheet image and displays each "frame" of the animation incrementally for each frame. This one starts from the top left and shows a 1/8 portion of the image, adjust these values to fit your animation frame size.
Here's bunch of tags directly related to animation images.
<Frametype="Image"name="NormalImage"><TextureTypeval="Normal"/><TextureCoordstop="0.0"left="0.0"bottom="0.125"right="0.0625"/><Textureval="@UI/ButtonCooldown"/><AnimColumnsval="16"/><AnimCountval="128"/><Animatingval="True"/><ManagedAnimval="False"/></Frame><!-- I scrapped the non-essentials from this by the way -->
Hopefully this made sense, i'm happy to help if you have troubles with this.
GL!
Hello,
Is it possible to use animated gif or something in SC2 ? It seems that the ddr format can generate strange additionnal calcs but not for animating purpose.
@Kloupz: Go In UI editor its possible to do sheet animation, Blizzard do bunch of things with animated images like cooldown display, auto cast for example.
Main way to get these setup is defining how many columns and the overall animation count in that sheet.
Then you need to define the texture coordinates that is displayed on the actual image in-game.
ex.
This looks for these scaled coordinates in your sheet image and displays each "frame" of the animation incrementally for each frame. This one starts from the top left and shows a 1/8 portion of the image, adjust these values to fit your animation frame size.
Here's bunch of tags directly related to animation images.
Here's an example of one cooldown animation.
Hopefully this made sense, i'm happy to help if you have troubles with this. GL!
-Knalle
Much thanks for your detailed answer, I will study it, and maybe come back to you if needed.
I don't know how to give reputation, not found how yet =/
just click on like
Go play Antioch Chronicles Remastered!
Also, coming soon, Antioch Episode 3: Thoughts in Chaos!
Dont like mapster's ugly white? Try Mapster's Classic Skin!
Oh ok thanks xD