Excellent sculpting Trurl, I enjoyed watching that
Thanks.
I edited your zscript recording to play properly and uploaded it below. Hope you don't mind.
The playback problems arose from your <b>Preferences > ImportExport</b> settings causing the model to be imported incorrectly on some machines and the size of the canvas set by your <b>StartupDocument.zbr</b>.
When recording a zscript the ImportExport settings can be gotten around by loading a <b>.ZTL</b> instead of importing a <b>.OBJ</b>, supplying your <b>.CFG</b> (preferences) file or by editing the recorded zscript afterwards. The failsafe and easiest methode is to load a .ZTL as the starting mesh.
If you are using a StartupDocument to automatically set the size of your document you should supply that with the zscript recording or edit the zscript recording to set the canvas size.
Editing the zscript recording might seem daunting but it can be quite easy and also useful for highlighting certain things. For example;
<b>1:</b> Instead of supplying a StartupDocument.zbr with your recording you can edit the zscript recording. Simply open the recording in a text editor and insert the following after the zscript command <b>[IReset,,2.0]</b>.
[ISet, Document:Pro, 0]
[ISet, Document:Width, 900]
[ISet, Document:Height, 675]
[IPress, Document:Resize]
[ISet, Document:Pro, 1]
You should of course edit the height and width to the canvas dimensions you used while recording.
<b>2:</b> If due to habit you often save your model while recording it can be slightly irritating to watch afterwards. Open the zscript recording in a text editor and do a search for [i]<b>save</b>[/i]. Delete all lines that say <b>[IPress, Tool:Save]</b>. If you need to save or export during your recording you can use tip #5.
3: Sometimes there are some areas you would like to highlight, either by inserting notes or by slowing down playback speed. Although you cannot do either of these while recording you can help yourself remember where to insert the commands into the recording by using a ZBrush function you do not normally use or which has no effect on the playback. For example, try pressing <b>Marker > On/Off</b> when you know you want to insert a note or change the speed of the playback. When done with the recording open it in a text editor and search for <b>Marker:On/Off</b>. Then you can delete that line and either insert
[Note, "This is where I refine the nose"]
to convey information, or..
[Iset, ZScript:Replay Delay, 1000]
[Iset, ZScript:Show Actions, 1]
to highlight the following actions.
This is also a good way to hide all your mistakes while modeling. Simply search for all <b>Tool:Undo</b> commands and delete that command and the one before it. Everyone will think you are a ZBrush wizard when they play your recording :D (remember a command is enclosed by <b>[</b>[i]command[/i],.....<b>]</b> and may span several lines in your text editor of choice)
4: If you must supply a model in .obj format you should start your ZScript recording session by holding the SHIFT key and pressing <b>Standard</b> on the title bar. This resets all ZBrush settings to what they would be on a fresh ZBrush install (you can still press <b>Custom </b>or restart ZBrush to regain your old settings later on). When you import the .obj you might then have to use the <b>Tool > Deformation</b> sliders to rotate your model but the playback of the zscript recording on other computers will be correct.
5: If you need to load or import a model/texture/alpha/material etc you can make it happen automatically when the recording is played back. After the Zscript recording is done open it in a text editor and search for <b>[i]Import[/i]</b> or <b>[i]Load[/i]</b>. You will need to remember what you imported or loaded but otherwise it is a simple matter of inserting the following before the import or load command.
[FileNameSetNext, "Head.obj"] //change head.obj to your file
As long as the file is in the same directory as your Zscript recording ZBrush will find it on all computers.
Again, thanks for your script. A pleasure to view.