Sunday, March 23, 2014

3ds max scripts to modify the timeline start and end values

I created a couple of scripts that allow me easily control the start and end of the timeline. They are fairly simple and will save you a couple of seconds each time you want to change your timeline.

I would normally use the CTRL + ALT + Mouse buttons to change the values or move the timeline (with the middle button), however, when working on long scenes, it can be a bit of a pain to a frame as start or end.

So this little scripts will do the job. Here's a brief description so you know what each script does:
  • UpdateStartZero: It will reset your timeline start value to Zero.
  • UpdateStartTime: It will update the start value of your timeline to the current position of the slider. So, let's say your timeline goes from 0f to 500f and you want it to start from 333f. Just place the timeline slider to frame 333 and run the script.
  • UpdateEndTime: Same as StartTime but for the end value.
I'm planning to create some other scripts to update the end value further from the current value (i.e., to change it to 500f if your timeline currently goes to 400f) and to offset the whole timeline by a certain value, but I'll see if I need them.

If you want more control, you can also try the timeline script that is part of the JJTools package. Actually, I recommend to install the package regardless, it has some REALLY useful tools, like the Clever Move and Rotate.


As with most of 3ds max scripts, just drag-n-drop the files into the viewport. I would recommend you put them in one of your Quad menus for easy access.



Cheers and have fun!

No comments: