maxscript experiments (for now)
- MAXScript 100%
| .vscode | ||
| image_blueprint.ms | ||
| LICENSE | ||
| nomad-toolbox.ms | ||
| README.md | ||
Max Scripts
Nothing serious for now (:
Environment setup
If you use other editor or work directly inside 3Ds Max's script editor, then you can skip this section.
This repo includes a .vscode folder which contains the following files:
tasks.jsonsettings.json
And it requires the following extensions to be installed:
Language MaxScriptby Atelier BumpTask Buttonsby spencerwmiles
This is required in order to use VSCode as an external editor for Max Scripts in Windows.
A third party tool is required to do the magic behind the scenes: MXSPyCOM by JeffHanna
For its setup, better follow the instructions they provide in their wiki.
For MXSPyCOM's to work, you need to:
- Move the MXSPyCOM exe file to the
C:\Program Files\MXSPyCOMfolder - Create a task for your text editor of choice. In our case since we are on Windows, VSCode is the one we chose.
{
"version": "2.0.0",
"tasks": [
{
"label": "exec_maxscript",
"type": "shell",
"command": "C:\\Program Files\\MXSPyCOM\\MXSPyCOM.exe",
"args": [
"-s",
"${file}"
],
"presentation": {
"echo": false,
"reveal": "never",
"focus": false,
"panel": "dedicated"
},
"problemMatcher": []
}
]
}
- Lastly if you want to avoid having to use the run task command all the time, you can add a button to your toolbar. Add the following code to your
.vscode/settings.jsonfile:
{
"VsCodeTaskButtons.showCounter": true,
"VsCodeTaskButtons.tasks": [
{
"label": "Run MaxScript",
"task": "exec_maxscript",
"tooltip": "Execute the current maxscript file into 3Ds Max"
},
]
}