Can I write this script, or can someone?
Is it possible to write a script to change two lines in the .dsf for a clothing item's data files entry?
You can copy morphs or rigging between Genesis and G2F items easily with Transfer Utility, but the presentation settings must be changed in order for the clothing to ever fit to G2F again after that. This method will be of use in creating a facilitator for G2F--G2M conversions (and vice versa) as well, when there is a G2M.
Basically I want to automate changing
"colors" : [ [ 0.3529412, 0.3529412, 0.3529412 ], [ 1, 1, 1 ] ]
to:
"colors" : [ [ 0.3529412, 0.3529412, 0.3529412 ], [ 1, 1, 1 ] ],
"preferred_base" : "/Genesis 2/Female"
The comma is important.
If anyone can help me with this I would like to offer the script(s) as a freebie to help people out with their projects.
Comments
My Fix Dupliate IDs script loads a .dsf file as data and manipulates its contents, then outputs the results. In this case it looks as if you would just need to insert a new member in an array.
Thanks much,,SickleYield
for your topic,I can clear understand,, the atuo-fit process simply depend on the “preferred_base”
then,, after transfer morphs from gen1 clothing to gen2 F by transfer utiltiy
change Scine identification from top menu>Figure , none to gen2F,,
then save it as new figure,, it wrok,, I think @@;,, is it wrong ?
I set the Action as custome,, then append short cut eg Shift + I,
so that it is easy to change prefered_base.
if I do not save it as new figure,, it may work only about the current scene instances.
(or after save it as figure,, we can change prefered_base,, by top menu >edit>figure>scene identification,
then save modified assets,, it may change only about preferd_base of dsf in data.
With most conversions that don't use autofit (which they can't, when I want to keep custom bones) the scene identification dialogue does not show any options until the text is manually changed in the .dsf file.
mm,, look my pic please,,
I understand, I do not hope to auto fit simply because it change my rigs
Yep. Doesn't appear with what I'm doing.