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: BLP Sequenz  (Read 2684 times)

Blackplayer27

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 52
    • View Profile
    • http://home.pf-control.de/
BLP Sequenz
« on: December 28, 2012, 07:19:12 pm »
Hello,

every one know how i can create with lua in the Loginscreen a blp sequenz ?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: BLP Sequenz
« Reply #1 on: December 28, 2012, 07:42:36 pm »
BLPs are not animated, you can use lua to display different BLPs or use UI transformations though.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Sirenesusa

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 22
    • View Profile
Re: BLP Sequenz
« Reply #2 on: December 28, 2012, 10:33:24 pm »
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)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: BLP Sequenz
« Reply #3 on: December 28, 2012, 10:57:38 pm »
Yes works. Use it on login screen. Mordred did the lua for it.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

Blackplayer27

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 52
    • View Profile
    • http://home.pf-control.de/
Re: BLP Sequenz
« Reply #4 on: December 29, 2012, 01:12:48 am »
Thx, Steff i send him a pm :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Mordred

  • Contributors
  • Polygonshifter
  • *****
  • Posts: 57
    • View Profile
Re: BLP Sequenz
« Reply #5 on: December 29, 2012, 11:24:01 am »
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
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Burn in fire of righteousness!
Easy Loginscreen

Blackplayer27

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 52
    • View Profile
    • http://home.pf-control.de/
Re: BLP Sequenz
« Reply #6 on: December 29, 2012, 05:55:02 pm »
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 ;)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Blackplayer27

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 52
    • View Profile
    • http://home.pf-control.de/
Re: BLP Sequenz
« Reply #7 on: December 31, 2012, 07:10:51 pm »
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:
« Last Edit: January 01, 1970, 01:00:00 am by Admin »