1. #1
    Senior Member Follow User Gallery
    Join Date
    Sep 2002
    Posts
    216

    Default Transparency script/what is wrong?

    Hi dear experts.
    I wrote the following script to ease the transparency:
    I put it into the ZPlugs of the ZData folder all right.
    _______________

    [ISubPalette,Zplugin:More Plugs]
    [IButton,"Zplugin:More Plugs:Transparent ","Hotkey for Transparent",
    [IReset,,2.0]
    [IFreeze,
    [ISet,Picker:Z,-1000]
    [IColorSet,5,4,4]
    [IPress,Color:FillLayer]
    ]
    [IFreeze,
    [IPress,Material:ToyPlastic]
    ]
    [IPress,Layer:Create]
    [IPress,Layer:Create]
    [IUnPress,Render:Flatten]
    [IColorSet,225,178,178]
    [ISet,Material:Modifiers:Transparency,100]
    [IPress,Tool:Import]
    ],,,SHIFT+'N']
    /*End of ZScript*/
    ____________________

    But it needs to be opened within the scripts menu, not automatically starting upon pressing "shift+N" as requested.

    Please correct me.
    I want it without initiating and the "play" button below the canvas.
    Just Shift+N to get as far as the importing window at the very end!

    Anatom.

  2. #2
    Moderator Follow User Gallery
    Join Date
    Jun 2004
    Location
    UK
    Posts
    11,462

    Default

    Hi Anatom,

    This should do it:

    [CODE][ISubPalette,Zplugin:More Plugs]
    [IButton,"Zplugin:More Plugs:Transparent ","Hotkey for Transparent",
    [IFreeze,
    [ISet,Picker:Z,-1000]
    [IColorSet,5,4,4]
    [IPress,Color:FillLayer]
    [IPress,Material:ToyPlastic]
    [IPress,Layer:Create]
    [IPress,Layer:Create]
    [IUnPress,Render:Flatten]
    [IColorSet,225,178,178]
    [ISet,Material:Modifiers:Transparency,100]
    ]
    [IPress,Tool:Import]
    ,,,SHIFT+'N'][/CODE]


    EDIT: You should put the text file in your ZStartup\ZPlugs and load it from there using the ZScript>Load button. Once that's done once - in order to create the .zsc file - , restart ZBrush and your hotkey will function.
    Last edited by marcus_civis; 09-13-05 at 05:25 AM.

  3. #3
    Senior Member Follow User Gallery
    Join Date
    Sep 2002
    Posts
    216

    Default

    You are great, Marcus!
    Your variant worked smart!


    Vanks so much!

    Anatom

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •