Script Trouble

[ad_1]

Greetings. I’m new to zbrush and scripting all together. I put this together to simplify all the subtools of a model. I recorded the commands and frankensteined some I found online. I’m sure there is some simple mistakes but I can’t quite figure them out. Any help would be appreicated. Here’s the script as-is now. Also, If anyone knows how to deal with popups during scripts I would appreciate that :slight_smile:

[RoutineDef,“Low Res”,
[If,[IsEnabled,“Tool:SubTool:SelectUp”],[SubToolSelect,0]]
[Loop,10000,
[Loop,10000,
[VarSet,activeSubT,[IGetTitle,Tool:Current Tool]] //set variable name for current subtool name
[IModSet,[StrMerge,“Tool:SubTool:”,#activeSubT],17] //show current tool

[IPress,Tool:SubTool:Duplicate]
[IPress,Tool:Geometry:Check Mesh Integrity]
[IPress,Tool:Geometry:Fix Mesh]
[IPress,Tool:Geometry:ZRemesher]


[IPress,Tool:Geometry:Divide]

[IPress,Tool:Geometry:Divide]

[IPress,Tool:SubTool:ProjectAll]

[IPress,Tool:Geometry:Lower Res]

[IPress,Tool:SubTool:ProjectAll]

[IPress,Tool:Geometry:Lower Res]

[IPress,Tool:SubTool:ProjectAll]



[IPress,ZPlugin:UV Master:Unwrap]

//NOTHING Happens after this


[IPress,Tool:Geometry:Higher Res]

[IPress,Tool:Geometry:Higher Res]


[IPress,Tool:Displacement Map:Create DispMap]

[IPress,Tool:Normal Map:Create NormalMap]

[IPress,Tool:Texture Map:New From Polypaint]

[VarSet,activeSubT,[IGetTitle,Tool:Current Tool]] //set variable name for current subtool name
[IModSet,[StrMerge,"Tool:SubTool:",#activeSubT],1] //hide current tool

[IPress,"Tool:SubTool:Selectup"]

[VarSet,activeSubT,[IGetTitle, Tool:Current Tool]] //set variable name for current subtool name
[IModSet,[StrMerge,"Tool:SubTool:",#activeSubT],1] //hide current tool
[IPress,"Tool:SubTool:SelectDown"]



  [If,[IsEnabled,"Tool:SubTool:SelectDown"],,[LoopExit]]
  [IPress,"Tool:SubTool:SelectDown"]
]
[If,[IsDisabled,"Tool:SubTool:SelectDown"],,[LoopExit]]

]
]

[ISubPalette,“ZPlugin:Ugly Low Res”]

[IButton,“ZPlugin:Ugly Low Res:Low Res”,“Hit it!”,
[RoutineCall,“Low Res”]
,1.0]

[ad_2]

Source link
[email-subscribers-form id=”1″]

Trả lời

Email của bạn sẽ không được hiển thị công khai.