Jump to content

POP "ruleTokens"


Stremik

Recommended Posts

In the Group POP section of help docs it says that user can copy "POPKillRules" file from $HFS/houdini directory in to $HOME/houdini6.1 directory

and than create and add his own predefined rules to that file so the next time Group POP is used, these rules would appear in the dropdown on the "Create" tab of the POP.

In that file mentioned, that rule formatting should look like this:

<ruleToken> <ruleLabelInDoubleQuotes><ruleStringInDoubleQuotes>

Now. While the second and the third parts of this definition is selfexplanatory, the first one is totally opaque to me!

What the heck is this "ruleToken"?

Where do I get it from? Should I come up with something of my own or there is some set of "ruleTokens"

to which I'm bound to stick?

Link to comment
Share on other sites

holy crap, nice find Stremik!

Ok, I think the file for grouping is actually POPGroupRules, not POPKillRules (those're for the kill pop).

I just added this line to my file:

boooya "Randomly select half the particles" "rand($ID) > 0.5"

and it worked just fine. I think that the token can be any one unique word, and is probably just something it uses to flag down the parameters.

Cheers,

Jens

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.

Guest
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...