Jump to content

Increment number in material style sheet string

Recommended Posts

Posted (edited)


Hey all,

I'm trying to render out a crowd in mantra, and while my hair and hat styles are working, I'd like to add some variation to the crowd agent itself.  I've already baked out maps for each agent via COPs ( 8 each) and the idea is to create a style for each agent, in this case M_01_*.  I'm Trying to randomize the highlighted number in the img attached and fit it  00-07 based on @primnum or @ptnum if possible?  Or can you directly use an attribute value in Material style sheets?  I could just create an integer value per agent via vex then somehow use it in the style sheet?  


Thanks in advance!


Edited by forbidden14

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now