Countdown script for animations

Hi guys,

I need one to make some sort of a movie which shows a countdown clock for a duration of 4 minutes, showing minutes, seconds and hundreds of seconds. I’ve been searching for days now and I can’t find anything except scripts for game engines.

I should be able to change the font (so the object should be text) and to animate it while it counts down. I’d then make it disappear when it has reached 0.

Do you have any idea how to do this? I need it very soon for some event. It would make publicity for blender when I show it. And this thread could be transformed in some sort of howto. I’m sure I’m not the only one who needs something like this…

Can you please help me? Thanks
Keba

I didn’t go very far with the whole ‘time’ thing, but here is a script that can count down either on frame change, or in a loop.

coundown.blend

ooooh I know of a tut, gimme a sec to find it

its a blend file, courtesy of braveheart

if you need it again or the link doesn’t work, click on my link in my sig, and it will be there…

hope it helps

http://uploader.polorix.net/file.php?action=download&userid=72&file=timer.blend

@ spiffyandy: unfortunately, your script is for the game engine!!! It doesn’t work within animations

@ kitsu:

I can’t animate it twice.:frowning: I always need to save all settings before rendering the animation, then render it and if I try to “Anim” it after that, it doesn’t work and I have to open the saved file again… Isn’t that strange?

@ kitsu: I figured it our, thanks a lot!

Yeah, it’s a little crufty :smiley:

For the real thing you would want to have some better way to control it. Mine is just a quick demo of the parts needed to make it work…

oh yeah it is for the GE, sorry about that, glad you could figure it out :smiley:

This is a countdown which is timed for 4min showing hundreds of seconds. For any other setting, the script has to be modified. You’ll also want to take the logo out.
To make it run right, make sure you use 100fps and also check that the script “countdown” is run on frame change and the script for the registry is run on render:
http://www.mueller.ch.vu/files/countdown.blend

Have fun and thanks a lot to kitsu