MEL
Please note: I don’t have access to a Mac, so it’s impossible for me to see how well (or badly) my scripts run over OSX. Sorry!
If you run into bugs and would like me to fix them, please provide me with detailed information (exact error messages and their line numbers). Thanks!
INSTALLATION:
To download a script, right-click on the link and choose “Save Link As”. To install a script follow these instructions:
- Put the script in a directory on your disk drive. e.g.: “c:\my_maya_scripts“.
- Use a “source” statement in Maya’s Script Editor’s MEL tab. Notice the “/” is used instead of “\“. Then call the procedure’s name (usually with the same name as the script, minus the “_numbers” at the end). So for “theScriptName_012a.mel” you would type:
source "c:/my_maya_scripts/theScriptName_012a.mel";
theScriptName;
INTERFACE:
Those scripts are probably better used as hotkeys (or shelf buttons).
- isolateSelected: Toggle isolate-selected on/off in the current view port.
- showOutliner: Calls the Outliner window.
- tempUntempSelected: Toggle template/untemplate in the current view port.
- toggleWireFrameOnShaded: Toggle wireframe-on-shaded on/off in the current view port.
- toggleXray.mel: Toggle Xray-mode on/off in the current view port.
ANIMATION:
- poseLib: Save and apply poses on your character (as a whole, or only to the selected controls).
- retimingTool: Allows you to easily retime your keys by clicking on the timeline and punching-in numbers, and also to quickly add breakdowns favoring one key or the other, and much, much more…
- poseTest: Load and save xSheets and do a key pose-test.
MODELING:
- polySmooth: Sculpt low-rez polygonal objects while the hi-rez copy updates in real time. (This is an old script, you’re better off using the excellent CPS Tools.)
RIGGING:
- matchPivot: Match pivot position and/or orientation between two objects.
- moveToSelected: Move the second selected object to the first (without constraining them).
- putIconOnJoint: Put a nurbs curve in a joint’s shape node, so that selecting the nurbs curve is the same as selecting the joint.
- renamingTool: Rename quickly entire hierarchies (e.g. from “left_” to “right_”).
- repositionJoint: Translate any joint in a chain without worrying about messing up its orientation.
- weightTools: Save and load smooth skin weights (heavily based on a script © by Big Idea Productions).
- zeroJointTans: Zero-out joint translation by inserting a null node above it.
PREVIS:
- shotCam: My camera rig and its GUI.
GAMES:
- MD5toMaya: Import Doom 3 models into Maya!
- applyCrysisShader: This is a script that allows you to import Crysis shaders into Maya. (See this page for the instructions)
- CryExportUserInterface: This is a modified version of Crytek’s original Far Cry script, tweaked to work with Crysis. It adds the creation of the model’s corresponding .mtl file. (See this page for the instructions)
- crysisCleanupObj: When you export a brush from the Sandbox2 editor the scale, pivot, orientation and UVs are all wrong. This procedure fixes all those problems automatically.