Modcraft - The community dedicated to quality WoW modding!
Wrath of the Lich King Modding => Miscellaneous => Topic started by: Blackplayer27 on December 28, 2012, 07:19:12 pm
-
Hello,
every one know how i can create with lua in the Loginscreen a blp sequenz ?
-
BLPs are not animated, you can use lua to display different BLPs or use UI transformations though.
-
i think he will creat a BLP Sequenz with several blps lika a gif.
A Small Example:
i have 20 blps => 20 Frams and the lua call per sec 1 fram.
but now is the question: how i create a script in lua to call per sec a blp and after the 20 blp`s start from new (loop)
-
Yes works. Use it on login screen. Mordred did the lua for it.
-
Thx, Steff i send him a pm :)
-
Thanks for the PM, but I think I lost the code on reinstalling Windows, I guess it was on the wrong HDD.
But I can remember this much that I used an OnUpdate function on the AccountLogin frame (frame not model, you can use my changed AccountLogin.xml file for it).
This function gets called 60 times per second, so you can make a BLP sequence of 60fps or less.
I had some variables that can be set on how long the sequence is, what frame rate it will have and how many frames it has.
And like that it changed every BLP through, I used file names like this:
BLP_FILENAME_1.blp
...
BLP_FILENAME_120.blp
and changed them through with the how many frames variable.
You should be able to recreate the script with this,
or if you got luck Steff still has the script. :x
-
I try to remake the script, but if steff has the script and posting it here, it would be very nice of him.
---Edit
okeay i dont need more the script form Steff ;)
-
A small BLP Sequenz demo with a video form Dead Island MainMenu.
The Dead Island MainMenu Video use only for demonstration and not use for a Freeshard or other.
Special thanks go to Steff(for the idea) and Mordred(for the script)
Demo: http://www.youtube.com/watch?v=cKCDGrlc8IM (http://www.youtube.com/watch?v=cKCDGrlc8IM" onclick="window.open(this.href);return false;)