Maxscript extended editor
A script that adds some more functionality to the mxs editor.
(copy&pasted text from my site)
Started on this new script some time ago and i'm working on it on and off when I got time. At the moment it is still kinda rough around the edges and serves more like a proof of concept rather than a finished script. Anyway.
This script is meant to add some functionality to aid the scripting process in Max. The first thing you'll notice is that the scripting window and the listener is bundled into the same window. You can toggle to hide and show the listener by pressing the Listener button at the top button row.
The next thing I added is a simple outliner which shows a list with all your functions, UI elements, structs and event handlers in the currently opened maxscript. It works the same way as the ctrl + right click functionality in the editor; it will set focus where the selected element is in the script. You can toggle this feature on and off just like with the listener. Default is off.
The biggest feature of this script is an added scripting window where you can edit and compile c# and VB code. It has not very much functionality added to it, but you don't need an external IDE to compile assemblies to use in Max. You can compile your code to either an executable, an assembly or just straight to memory. There is syntax highlighting for c# only.
Before you can compile you need to configure the compile settings. If you are creating an executable or an assembly you need to specify the name and the path where you want to save the compiled results. When you are compiling to memory you just need to specify that you want to compile it there. If you need to refer to other .dlls or files add them to their respective text boxes (separated with a ',') See picture:
You can toggle this window on and off just like the others. Default is off.
The last feature is a stripped down (UI wise) version of the script explorer. Details can be seen here
http://forums.cgsociety.org/showthread.php?t=899696 Used this as a base to poll updates from the mxs editor.
http://www.mdxinfo.com/resources/scripting.php Used a heavily modified version of this for the new scripting window.
As mentioned, the script is still very unpolished. But do try it and give me some feedback! :)
Download for Max 2010 and above: Click to download
Download for Max 2009: Click to download Thanks to Alexander Kramer for making it work in Max 2009!
- If the maxscript editor turns all gray, just create a new script from the MAXScript dropdown menu inside max. This will refresh the window back to normal.
- If you have not set the compile options and press the compile button, the compile options are triggered but the script is not compiled. You need to press the compile script button again to compile.