PDA

View Full Version : A Question For The Script Wizards...You know who you are!



Stonecutter
12-10-01, 05:58 PM
I wanted to post a tutorial on how I got the reflection/transparency in my 'Spacemans'Despair' image...Here's the problem...
Rather than post a pile of screen shots, (I don't have a screen capture utility loaded right now anyway), I thought I'd do a script, showing the effects of altering Graph Settings for instance...This involves the loading of these two images...
http://www2.zbrushcentral.com/zbc_uploads/user_image-1008035729gkj.jpg
http://www2.zbrushcentral.com/zbc_uploads/user_image-1008035758tga.jpg
and a simple 'Lens Tool'
My question is how do I insert these tools, or do I just include the files when I post the script so people can put them in the same folder?
I KNOW one of you wiseguys out there can help, and then I can post what should be a fun and edifying ZScript!

aurick
12-10-01, 06:05 PM
Okay. I'll answer, even with the "wiseguy" crack. :)

You do need to include any files to be imported within the same folder as the script itself. Just put them all in the same folder and then zip the folder, to make it easy.

After you've recorded the script (and before zipping it), go into it and look for the two places where you load a file. Immediately before that line, enter the following:

[FileNameSetNext,FileName.extension] (for example, myneattexture.psd)

This tells ZBrush that the next time a file name is asked for, this is what you want it to get. Do that before each line that loads a file. Then save your document.

By the way, if you were wondering, all ZScript commands start with "[" and end with "]". This makes it really easy to tell where one leaves off and the next begins, so you don't accidentally stick one inside of another.

Enjoy! I'm looking forward to seeing that script!

drjjwow
12-10-01, 11:53 PM
im not a script guru but i am looking forward to your script... man what a treat..