PDA

View Full Version : HELP PLEASE . . . I need ZScript help ! ! !



Kruzr
09-23-01, 10:28 AM
'Morning all . . . :)

I hate to bother everybody or somebody, but I need some help with a "ZScript" I've been trying to create for over 4 hours this morning. :(

It's my "PolyMesh Glasses" ZScript. I'm trying to record it, while I'm doing the modeling of the Glasses. During the operation of ZBrush everything works fine, up to & til the end of the final rendering. When I attempt to replay the ZScript, as soon as the ZScript gets to the "Zoom In" function, everything goes wacky & none of the further editing shows up on the screen. Also, I just found out that after running the whole session & completing the model & saving the rendered image, it didn't save the image after all. I'll include my "ZScript" with this post, ( below ), & maybe someone can look at it to see what's wrong??? I HOPE. :confused:

I'm not trying to be lazy, but I've gone through this modeling session 4 times now, each one from scratch, & I'm kinda tired of repeating it over & over again, so I'm counting on someone to give me some help in solving this problem. :D

One more thing, after reading Kat's threat to me about posting the "PolyMesh Glasses" ZScript, & if nobody can help me in correcting the ZScript, no telling what she's liable to do to me. I sure don't need some violent women taking her anger out on me!!! :eek:

Thanks in advance for any help. I'll check back later & have a good one . . . :cool: Mark.

PolyMesh Glasses.txt (http://www2.zbrushcentral.com/zbc_uploads/user_file-1001265740mix.txt)

Muvlo
09-23-01, 10:42 AM
I'm afraid I can't really help you except to say that I don't think zooming in ZScripts works. Remember how that messed things up in Southern's hand Script? I've had similar expeirences. :(
Hope you can find away around this though, I'd love to see the Script! :)

Kruzr
09-23-01, 10:49 AM
Thanks Muvlo . . . :)

If that's the reason for the corrupt ZScript, then I guess I'll have to do it all over again, that'll make it 5 times. :(

I know that Southern had a problem with his, but I thought that Pixolator had solved the problem??? See what happens every time I try to THINK. :D

I'll give it another try a little later, I've got to take a break for a little while. ;)

Thanks again & have a good one my friend . . . :cool: Mark.

aurick
09-23-01, 11:56 AM
Hi, Mark.

Yep. You've hit on the least enjoyable part of ZScripts that I have yet to encounter. Scripts don't handle zooming and panning very well, at all. As far as I can tell, the zoom works fine, but scrolling afterwards is death. So far, the best solution that I've seen is to simply do everything in the original, unresized window.

At a guess, did you at any point scroll from one part of the view to another? (Spacebar-drag) If so, the script does not record that action, and this is why your script goes wonky. You've moved the stuff that it is working from, and suddenly your mouse clicks in the screen are no longer coinciding with where the script thinks they are.

Now, there is a way to get the script to scroll your window. You have to go to the Zoom palette, where you have your orange box that shows the visible canvas in relation to the total canvas. If you drag that box around, the ZScript will record the action and will scroll your view. The bad news here is that while the script records right-to-left scrolling, it doesn't record vertical scrolling. Don't ask me why. So if you choose to use this method, you have to be very careful. Look at the two numbers in the corner of that little window. The first is your horizontal location. The second is your vertical location. When you drag the box to scroll your window, take a look at the vertical value, first, so that you can keep it the same. Otherwise, everything will blow up again when you replay the script.

Bottom line: For this version of ZBrush, it's a good idea to work with the original document size (or people with the demo version can't run the script, anyway), and then not to zoom or scroll your view.

I unfortunately don't think that there is any way to fix the script that you uploaded, because in order for the script to run correctly, any scrolling must be exact. And if you scrolled even one pixel vertically, things will get weird no matter how the script is edited. :(

On a related note, my wish in the Make a Wish thread was for a fix for this exact problem.

Hope that helps, Mark. I hate being the bearer of bad news. But I know that we're all going to love you for this particular tutorial!