PDA

View Full Version : ZScript Error



dfaris
08-28-02, 01:30 PM
Has anyone seen this.

I have copied my Default Zscript from 1.23 to 1.5 and it works fine but when I load a zscript from that zscript (its the default script that southern put out) zbrush add a seconed Zscript directory to the path. I have looked in the zscript and the path in there is the way it should be.

I have drawn red arrows pointing to the two Zscript paths that it adds to call the zscript.


Any help would be great
Thanks dave http://www2.zbrushcentral.com/zbc_uploads/user_image-1030566591hpy.jpg

WingedOne
08-28-02, 01:34 PM
Did you try changing your ZBrush folder name from its default name to ZBrush151? That might help.

banez
08-28-02, 01:57 PM
i dont know what script your trying but i do know this try and delete the word ZSCRIPTS.
there will only be one that you will see in the text file.
if i had the link or zscript i could tell you PC only

davey
08-28-02, 02:07 PM
Hi, DFaris -- there's been a change in the way ZScripts look for files (including other ZScripts).

You can probably remedy your situation by changing the ZScript path call, which says something like '\ZScripts\Scriptname.txt', to simply 'Scriptname.txt'. In other words, remove the first '\ZScripts\'.

Let me explain why:

It used to be, you'd have to start the path information with '\ZScripts' if you're running Windows. For Mac users, the path information was different.

Now, both Windows and Mac ZScripts can work the same way! The difference is, you must specify the path information starting with the folder in which the ZScript resides.

For example, if your Default script is in the main ZScripts folder, and you want to switch to a script inside a folder called "Tutorials", you can simply specify 'Tutorials\Scriptname.txt'.

Remember, you can now return to your previous ZScript by pressing the Left arrow key on your keyboard, or pressing the 'Previous' button in the ZScripts palette.

One thing to keep in mind when using this information in writing ZScripts -- you can't go higher than the path you're already in.

More load/save/import/export functions have been added to the ZScript command set, so for those of you who are authoring ZScripts, there's a lot more power at your disposal.

Let me know if this clears things up, okay?

Enjoy :)
dave

dfaris
08-28-02, 03:23 PM
Ok thanks for the help.

Getting rid of the ZScript in the path did fix the problem.

So the only way to get back to a zscript in a higher directory is with the buttons in the ZScript Menu