PDA

View Full Version : System Initiation file or Zscript



Polaris
02-19-03, 12:02 AM
Hi all,

I am officialy a registered user today!!!
THanks all!

Ummmmm, here my question,

Is there a file for Zbrush simular to a Autoexec.bat, init.sys, config.sys ECT file for Zbrush that I can tweak?

The reason I am asking is I will never, ever, ever, ever, make any texture that is 640x480 and I am growing weary of changeing it every time I use Zbrush or re-init Zbrush. is there a way to make a symetrical demension, like 512x512, or 1024X1024, everytime I start up or re-initiate Zbrush?

also on startup I would like to have it set the smoothness to .001, I am textureing extreamly low poly models most of the time I use Zbrush,and I have never had a use for smoothing feature yet, and seting it every time I import a model is begining to be quite time consumeing. I make Map decorations for an unreal tournament MOD, and some days I can texture up to 20 diffrent meshes/models, and because I suck at UVmapping I have to reimport models alot, after I tweak the UV's.

If it is not possible to do this on startup maby I can use a Zscript for this. I have tried to record a script but it will do everything I want except it forgets that I set the texture/screen size to 1024x1024.is the texture/screen size scriptable?

Also about the splash screen, is there a way to disable it? It is a beutiful picture and I like it Very much,whome ever made it was very talented, and I hope to be as good someday, but I am very aware of what software that I just loaded and I realy dont need to be reminded that I am useing Zbrush after I load it.(6 years ago when I still smoked Marjuana this may have been very necissary.LOL :rolleyes: )

THis is the greatest software I have ever used. Zbrush is also the Fastest software purchase I have ever made. I had the demo for 3 days before I whipped out my wife's plastic to pay for it! (LOL, I payed for it, just jokeing)


Well to whome has read this all, I would like to say Thank-you. and I wish you all a good day/night!

And to those who respond or help me. I know Santa Clause and I can put in a good word for you... LOL

Good night everyone :)

cameyo
02-19-03, 02:16 AM
Hi Polaris,
you can do almost everything with ZScript, but there are some tricks to setup a personal configuration.
The DefaultZScript.zsc is the autoexec.bat of Z..you can write a script and rename it to DefaultZScript.txt (rename the original DefaultZScript.zsc first ;))
For canvas size i use some blank zbr saved with the dimension needed...ex. 800x800.zbr, 1280x1024, ecc.
You can't disable the splash scren...only Pixolator can ;)
Please don't tell my name to Santa Claus ... he already know me :)

Happy ZBrushing

cameyo

TVeyes
02-19-03, 02:37 AM
Hi Polaris,
As Cameyo said most things can be automated via Zscripts but I don't think you can make Zbrush startup with a specific canvas size of 1024*1024, or have the default smooth value set at 0.001.
These things can of course be automated via Zscripts to the extent that you only need to press 1 button to import an object and set its smooth value to 0.001 and so on.

Here is a Zscript I made to show you how simple it is to make your own scripts. It's nothing special but it does what you were asking for. Try adding more buttons, for example for creating a new texture at 1024*1024 in size. Otherwise just ask again.

Hers the script:
For polaris.zip (http://www2.zbrushcentral.com/zbc_uploads/user_file-1045650900xrk.zip)

"I am officialy a registered user today!!!"

Cheers ZBrother :D :tu:

dfaris
02-19-03, 10:28 AM
Hi Polaris,

Here is a script I made for you to resize the document. There is only 4 sizes in this script but you can add or change the sizes as you want. Its pretty simple if you open it in a text program and copy a set of commands and change the part after WIDTH and HEIGHT to what ever size you want.

[ISet,DOCUMENT:MODIFIERS:WIDTH,1500]
[ISet,DOCUMENT:MODIFIERS:HEIGHT,1500]

Hope it helps
Getthe script here:
DocSize.txt (http://www2.zbrushcentral.com/zbc_uploads/user_file-1045679389wzp.txt)

Muvlo
02-19-03, 05:07 PM
Actually, a default ZScript can be made to automaticly set the document size. Since ISet isn't a top level command, you need to put it in an if statement. Something like this:

[VarDef,init,0]

[If,init==0,
[IUnPress,Document:Pro]
[ISet,Document:Width,1024]
[ISet,Document:Height,1024]
[IPress,Document:Resize]
[VarSet,init,1]
]

TVeyes
02-20-03, 03:05 AM
Thanks Muvlo, I didn't know that. The Zscript code reference has the IF statement in white i.e must be placed inside a container :confused: But it works perfectly.

Polaris
02-23-03, 11:54 AM
Thank you all for your help :)

When I open zscripts in note pad it looks like machieen code....

Am I suposed to use an editor to open them with?

Thanks again

Muvlo
02-23-03, 02:08 PM
You are probably seeing this when you open compact ZScripts. (Extension .ZSC)
A .TXT script should open in NotePad correctly.
(Actually, NotePad is my most-used program thanks to its usefulness as a simple ZScript editor. ;) )