Unique Material ID 1.00
UniqueMaterialID is a small script for 3dsmax to assign unique material ID to each element inside an object.
This way the MultiTexture Map can be used with other objects then what comes out of the FloorGenerator, it can for example be used to randomize leaves on a tree as you can see on the right.
A word of caution, if your object has a lot of elements it can be quite slow to assign the ID's. In most cases it's faster to break up the object into several objects, run the script and attach the objects back together.