ZScript Examples
From ZBrush Info
Contents |
Introduction
This selection of zscripts is provided so that those new to zscripting may examine the various techniques in working examples. There are further code samples available in the ZScripting Help Forum, here and here.
A Tutorial Window Interface
The Tutorial Window is at the bottom of the ZBrush interface. You open it by clicking or dragging the handle, or pressing the hotkey 'H'. The 'Play' button for zscript recordings displays here and it is the default location for any zscript buttons and sliders. Attractive and functional interfaces can be designed for the Tutorial Window.
- See here for a ZScript Example: Tutorial Window interface.
A ZPlugin Interface
ZPlugin buttons can be added to nearly all of the default palettes of the ZBrush Interface. This has many advantages; for example, it is possible to use zplugin buttons in any custom interface arrangement. However, zplugin interfaces are somewhat limited from a design point of view.
- See here for a ZScript Example: ZPlugin interface.
A Note Interface
Note interfaces are an excellent way of displaying images and getting user input. As images can be used for the background and buttons, they can be made to look any way you want. Note interfaces don't exist on their own and must be called from a zscript or plugin button.
- See here for a ZScript Example: Note interface.
Material Pack 2
Material Pack 2 is another example of a Note Interface. This utility is a browser for selecting and loading materials from a selection of a hundred.
- See here for ZScript Example: Material Pack 2.
