Do you have the character mesh selected when you run the script? The "$" sign means to operate on the selected object, so if nothing is selected it returns "undefined".
Okay, here's the new and improved uv mapping tool. It should save a lot of time for you. You don't even have to rotate the view around while you're mapping, it will align the uv gizmo to the average normal of the selected faces automatically. Use the "Gizmo Size" spinner to set the size you want for the gizmo. Then just…
Hi I've been trying to put together a small bit of maxscript but ran into a wall. I want to automate a simple process. Once some faces are selected, I need too : >add a UVmap modifier >apply Planar Map >perform a view align >set the UV plane size to a defined number >convert back to epoly >go to faces submode >hide the…
For the planar mapping part of your question, this should do if for you: <font class="small">Code:</font><hr /><pre>gizmoSize = 39.3701 obj = selection[1] if obj != undefined then ( uvMod = uvwmap() modPanel.addModToSelection uvMod uvMod.length = gizmoSize uvMod.width = gizmoSize uvTM = uvMod.gizmo.transform uvPos =…
as I said to pior, the bones are added the way maya handles hierarchy (so in maya you just add the skeleton with the origin selected and you are set) but max hadles the hierarchy a bit differently. the md5 assigns numbers to bones function of their position in the hierarchy, these numbers are used to assign vertex but also…
Unfortunately, there's no "press the View Align" button command. I ran into something similar a while ago. I don't have time right now to give you tha exact code, but I can tell you which two pieces of info you need. 1) Look up "How do I align the UVW_Modifier's Gizmo to a selected face?" in the FAQ. Bobo wrote this in…
Your _uvviewalign.mcr file is missing a closing parenthesis at the very bottom. Actually, I'll post a more user friendly version of the script with a rollout so that you can set the gizmo size without having to manually edit the file. Plus, I have a new version that uses a function similar to the "Best Align" button in Max…