Hey guys! So my problem is that there are incremental keys for "Draw Size" in ZBrush but not for "Focal Shift" and "Z Intensity". I was hoping someone could help me out and baby me by scripting increments for these sliders.
I've searched around on the internet finding 2 sources both of which didn't work for me (for whatever reason) one would work after I pressed the keybind once but anytime after that it did nothing.
[ISubPalette,"Zplugin:Sliders"]
[IButton,"Zplugin:Sliders:Focal Shift UP","Increases Focal Shift by 1 units",
[IFreeze,
[ISet,Zscript:Show Actions,0]
[ISet,Draw: Focal Shift,[IGet,Draw: Focal Shift]+1]
]
,,, 'k']
[IButton,"Zplugin:Sliders:Focal Shift DOWN","Decreases Focal Shift by 1 units",
[IFreeze,
[ISet,Zscript:Show Actions,0]
[ISet,Draw: Focal Shift,[IGet,Draw: Focal Shift]-1]
]
,,, Alt+'k']
[IButton,"Zplugin:Slidersraw Size Up","Increases Draw Size by 1 units",
[IFreeze,
[ISet,Zscript:Show Actions,0]
[ISet,Draw: Draw Size,[IGet,Draw: Draw Size]+1]
]
,,, 'j']
[IButton,"Zplugin:Slidersraw Size Down","Decreases Draw Size by 1 units",
[IFreeze,
[ISet,Zscript:Show Actions,0]
[ISet,Draw: Draw Size,[IGet,Draw: Draw Size]-1]
]
,,, Alt+'j']
[IButton,"Zplugin:Sliders:Z Intensity Up","Increases Intensity by 1 units",
[IFreeze,
[ISet,Zscript:Show Actions,0]
[ISet,Draw: Z Intensity,[IGet,Draw: Z Intensity]+1]
]
,,, 'l']
[IButton,"Zplugin:Sliders:Z Intensity Down","Decreases Intensity by 1 units",
[IFreeze,
[ISet,Zscript:Show Actions,0]
[ISet,Draw: Z Intensity,[IGet,Draw: Z Intensity]-1]
]
,,, Alt+'l']
[IButton,"Zplugin:Sliders:RGB Intensity Up","Increases Intensity by 1 units",
[IFreeze,
[ISet,Zscript:Show Actions,0]
[ISet,Draw: RGB Intensity,[IGet,Draw: RGB Intensity]+1]
]
,,, 'u']
[IButton,"Zplugin:Sliders:RGB Intensity Down","Decreases Intensity by 1 units",
[IFreeze,
[ISet,Zscript:Show Actions,0]
[ISet,Draw: RGB Intensity,[IGet,Draw: RGB Intensity]-1]
]
,,, Alt+'u']
Replies
I have never gotten the hard-coded keybindings to work. Even the scripting guys on the ZBC forums say to not use them. Kinda is sucky but just make your own hotkeys with Ctrl+Alt clicking.
Thing is why I want to do this is because I want to link it to my intuos 4 scroll wheel. Though ctrl-alt clicking isn't possible for increments on intensity and focal size because zbrush never added code for it like they did for the Draw Size.
In the end I guess it isn't that big a deal to just press "u" etc. and click and use the slider but I guess it's just one of the "quality of life" type things :P.
I think he means to exclude them from your script. Zbrush will still create the buttons for those actions, and you can just hotkey those afterwards.
Run the script. Take the .zsc file it made. Put it into Zstartup>Zplugs. Restart Zbrush. Assign a hotkey to your new buttons.
Thanks so much! now I can lay on the couch zbrushing in more comfort! haha.