View Full Version : tool for replacing lots of objects with another...
12-21-2004, 04:16 PM
Hi guys. I have a problem. I made this level in maya, and I got like thousands of trees in the scene. Now the problem is, that the trees I used have three materials used for the texture. The game engine can usually handle this but in this case there are just too many trees.
What I need is some sort of script that will replace these trees with a tree that I made that only uses one texture. Does that make sense?
If anybody knows of a tool that does this for maya OR MAX, I would greatly appriciate it.
You guys have never let me down before.
12-21-2004, 04:49 PM
I could give it a shot for you if you don't mind it going through Max. I still haven't gotten around to learning Mel. So if nobody has a tool that will work directly in Maya, just make a zip containing a Maya file with the old trees that you want replaced, another file with the new tree, and the textures, and I'll see what I can do. The only thing I'm not sure about is if the rotation values for the trees will transfer over. I'm assuming you rotated each tree so they don't all look the same; and probably scaled them too, but I can get around that.
Anyway, if the zip file is less than 2 megs you can send it to my email: email@example.com . If it's bigger I can give you an ftp address to send it to, or you can just provide a link if you can post it somewhere.
I'd rather get the files on my end so that I can see if the script is working right away; as opposed to sending you a script and then going back and forth and trying to get to work for you.
12-21-2004, 08:58 PM
You can get pivot tool box for free personal use or buy it, it is a great tool for doing exactly what you want and preserving scale and rotation so your instances still work in game without baking down the transforsm.
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.