PDA

View Full Version : New Zscript : 5 button = 2 (keys)



proincm
03-14-06, 12:04 AM
hi.. newbie here

this is my second Zscript.. just to test it.
feature :
for ( move, scale, rotate button ) cycle in 1 key
for (Transform:Edit and draw button) cycle in 1 key

-------------------------------------------------

Just load the script, then play with the shortcut .


-------------------------------------------------
GyroToogle.zip (http://www.zbrushcentral.com/zbc/attachment.php?attachmentid=&stc=1) (2.5 KB)
-------------------------------------------------



-------------------------------------------------
Question
I was play with ZsphereAdd command.
When i test the script,
If the value of ( x or y or z ) reached to 16.00,
the node will stop adding size on it
Anyone have the solution related to this problem, or maybe this is the limitation inside Zbrush?

-------------------------------------------------
Script Sample here : (this is sample only , i dont remember the code)


[Vardef,Zlast,[zsphereget,8]]
[Vardef,Zradius,[zsphereget,4,Zlast]]
[Vardef,X,[zsphereget,1,Zlast]][Vardef,Y,[zsphereget,2,Zlast]]
[Vardef,Z,[zsphereget,3,Zlast]]

[ibutton,Zadd,"Zadd",
[varadd,zlast,1]
[zspheredit,[zsphereset,x+1,y+1,z+1,Zradius,Zlast]1]
,,,13]