Jump to content

Increment number in material style sheet string

Recommended Posts


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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...