Padded frame number math

   12505   3   2
User Avatar
Member
390 posts
Joined: Jan. 2012
Offline
Can't figure out how to change shift the frame number in an output file expression.

Id like
$HIP/file_`$F4 + 75`.bgeo to be file_0076.bgeo on frame 1, but it understandably cuts off the padding to be file_76.bgeo.


Any way quick way to fix this?
.
User Avatar
Member
145 posts
Joined: Feb. 2012
Offline
you can use the padezero expression like so:

$HIP/file_`padzero(4, $F + 75)`.bgeo
User Avatar
Member
1925 posts
Joined: Nov. 2006
Online
Hey Zack, you can use padzero().
$HIP/file_`padzero(4,$F+75)`.bgeo
Graham Thompson, Technical Artist @ Rockstar Games
User Avatar
Member
390 posts
Joined: Jan. 2012
Offline
Awesome, thank you both!
.
  • Quick Links