ZBrushCentral

Icon Widget

Someone asked in another thread on how to create Icons for Zlauncher. I updated an old script to work in 2.0.

[![ititle.JPG|256x50](upload://gMOpqV1HGNQYGToKRcxWPBZoq2x.jpeg)] To create an Icon load the script and press the above Image which will create a Menu. 1. Press "Create" this sizes the Document Space
  1. Either Draw your Icon on the Canvas or press “Import” to select an image from the disk (if you Import it is best to select the “Flat Material”
    3. To make a frame around the image, select an approprate draw size, Material and color and press “Frame”
    4. If needed set up the render parameters and lights
    5. Press “Export” to save the Image to disk
  2. The “Save” dialog will prompt you to select a filename. To work with Zlauncher select the Zscript Txt or ZSC file that you wish to create the Icon for. This will name the image “SelectedZscript.PSD” .
    7. If you haven’t already, load the desired zscript into Zlauncher and your new Icon should appear!

yes Thank You Digits I loved the versions for 1.5 and you just made this one, thank you!:lol:

Digit…you have a lot to convert from old ZBrush :smiley:
Thanks master.

cameyo

cool! Thanks Digits…

…this came at just the right time…was making a few icons for zlauncher this morning and had a couple that where zsc only and couldn’t get to work!

…return :+1:
Pilou

Thanks Digits, this is great! :slight_smile:

This won’t work though if you want an icon for a script in zsc form that doesn’t already have one (as Sven pointed out in the ZSwatch thread). The icon image is embedded in the zsc when it’s compiled and can’t be added later.

There is a workaround though:

Supposing the zscript you want an icon for is called ‘DoIt.zsc’, create a text file called something like ‘DoIt_load.txt’. Put this code in the file (changing the “DoIt.zsc” to the name of the zscript you want to load):

//***Beginning of script

[If,1,[FileNameSetNext,“DoIt.zsc”][IPress,ZScript:load]]

//***End of script

Save the file to the same location as the zscript “DoIt.zsc” (or whatever it’s called). Make your icon in Digit’s Icon Widget then Export it choosing the text file “DoIt_load.txt” that you’ve just written. Likewise choose the same “DoIt_load.txt” file from ZLauncher. Your new icon will appear and clicking on it will load the script you want.

Marcus

Thanks Digits! I was missing this the most! Still trying out some of your older scripts that I have… lol
Thanks again

wenna