PDA

View Full Version : question: Macroscripts placement


gaggle
02-10-2003, 08:59 AM
Hey.

I can't figure out how to make MAX load macroscripts from another folder than the ui\macroscripts folder.
The helpfile says it only looks there, and offers no advice on how to change that.

The goal is just to be able to place .MCRs in another folder, and have MAX load it.

For the record, MAX doesn't seem to load .MCRs from the plugins-paths defined in the Configure Path dialogbox. It loads ordinary scripts (.ms, .mse, .mzp), and obviously plugins, but not macroscripts. For whatever reason..

Any solutions?

EricChadwick
02-10-2003, 02:02 PM
I would ask on the Discreet webboard.

http://support.discreet.com/webboard/wbpx.dll/~3dsmax

magicm
02-10-2003, 06:49 PM
AFAIK this can't be changed.. but.. why would you want that??

gaggle
02-10-2003, 07:30 PM
The intention is a single shared plugins-folder across a network of computers.

EricChadwick
02-10-2003, 07:36 PM
Here's some tips from someone else about how he sets up network plugin directories...


================
OK, just for fun... one more method that works great on a single machine or on a large render farm:

All of our max installations get the following 2 lines added to the end of the plugin.ini file:

[Include]
xtraplugins=m:\max\xtraplugin\xtraplugin.ini

Basically this keeps all standard shipping plugins isolated in case of trouble.

It also reads in a second plugin.ini file from a network directory, and max loads everything in that file too. This xtraplugin.ini file looks something like this:

[Directories]
Greeble=m:\max\xtraplugin\Greeble
Chaos Simcloth=m:\max\xtraplugin\Simcloth
colorcorrect=m:\max\xtraplugin\ColorCorrect
RealPeople and Trees=m:\max\xtraplugin\RPC
Blur Studio plugins=m:\max\xtraplugin\BlurStudio
Sticks and Balls=m:\max\xtraplugin\Sticks and Balls
;Doors and Windows=m:\max\xtraplugin\Doors and Windows
Optimize Spline=m:\max\xtraplugin\Optimize Spline
;cebas Plug-Ins=m:\max\xtraplugin\Cebas
Illustrate!=m:\max\xtraplugin\Illustrate!
Brazil plug-ins=m:\\max\xtraplugin\brazil
Forest Pro=m:\max\xtraplugin\ForestPro
Phoenix=m:\max\xtraplugin\Phoenix
Darktree=m:\max\xtraplugin\Darktree
ScatterVL=m:\max\xtraplugin\ScatterVL
;Ventriloquist=m:\max\xtraplugin\Ventriloquist
Sisyphus=m:\max\xtraplugin\Sisyphus
PolyGem people=m:\max\xtraplugin\PolyGems
Chase Gravity=m:\max\xtraplugin\chase gravity
render effects=m:\max\xtraplugin\render effects
essential textures=m:\max\xtraplugin\essential textures
particle studio=m:\max\xtraplugin\particle studio


This way, when you want to turn off any or all third party plugins, simple open up the xtraplugin.ini file and insert a semi-colon in front of the plugins you want to exclude.

Obviously the plugin .dll files and other supporting files are neatly stored in descriptive folders as defined in the paths above.

p.s. Max is very picky about the [Include] line... it must be like the one above including character spacing and case.
==================



Maybe you could use a startup.ms file to call the macroscripts? Stab in the dark...

LFShade
02-11-2003, 03:20 AM
stick a script into your startup scripts or stdscripts directory, with something like the following in it:

macros.load "H:\\somefolder\\"

jadedchron
02-11-2003, 04:09 AM
slim shad-e . the maxscript masta :applause:

CGTalk Moderation
01-14-2006, 09:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.