| 11-08-2003, 08:29 PM | #1 |
If you find it annoying switching over all your bones to tcb controllers for the art tools manually run this script which converts everything that you currently have selected to have a tcb scale, position and rotation controller. Save your work before running this because max can be a little unpredictable in it's conversion to TCB. Just copy and paste this into a new script window, select your bones and push ctrl+e . Save it into a place where you can get it easy. I'll probably update this a little later and make it a short utility. Note: please no one post telling me that $*.rotation.controller=tcb_rotation() is faster because that doesn't always work, max will garble some skeletons when you do that. fn isselected sel nod = ( for e in sel do ( if nod == e then return true ) return false ) fn settcb node = ( node.rotation.controller = tcb_rotation() node.position.controller = tcb_position() node.scale.controller = tcb_scale() for e in node.children do ( settcb e ) ) rootnodes = #() for e in selection do ( if e.parent == undefined or isselected selection e.parent then append rootnodes e ) for e in rootnodes do ( settcb e ) |
| 11-08-2003, 08:33 PM | #2 |
?? wat? im confused |
| 11-08-2003, 08:40 PM | #3 |
As soon as you start animating with the art tools you'll know. ;) |
| 11-08-2003, 09:29 PM | #4 |
you know how incredibly useful this is? you are amazing in how quickly you manage to do this. |
| 11-08-2003, 10:01 PM | #5 |
I thought that bones needed Linear position controllers....I must have been wrong. |
| 11-08-2003, 10:05 PM | #6 |
The old exporters needed linear controllers. Of course that was only recommended though. They could handle other controllers but they would just end up exporting them as linear in the end. |
| 11-11-2003, 11:33 PM | #7 |
hey CitizenSnips will you continue working on dex secrit scince the new art tools are out. if you are not maybee you coulr work on script that would take a model who has bones and skin modfires on it to format that wc3 tools could export? I think This could be very handy. |
| 11-12-2003, 04:25 AM | #8 |
I won't be working on dex or my exporter(mdlExport) any more. I considered that as a possibility for a script since in some cases it can be easier to use vweights instead of this splitting technique that blizz requires. I think I might already have an algorithm I used in mdlExport and adapt it to make it work for breaking up meshes by vweights. If I write such a script I'll certainly post it here. However, I probably wouldn't start that script until I at least finish another one I'm working on at the moment. |
| 11-12-2003, 07:57 PM | #9 |
thank man that would be so much eayer for use all cause i have alot models that i would hate to redo just so the new art tools can export them. |
