DAZ: Applying multiple shapes to Genesis 8/9 with one single file
43A shape .duf file, be it for a figure or a wearable, it is written as:
{ "url" : "name://@selection#MORPH_HEAD:?value/value", "keys" : [ [ 0, 0.2440945 ] ] } for Genesis 8 Female.
{ "url" : "name://@selection#MORPH_HAT:?value/value", "keys" : [ [ 0, 0.2440945 ] ] } for Genesis 8 Female's Hat as a wearable.
Now, let's say you want a single Shape .duf which alters both genesis 8 and the Hat when selecting Genesis 8 (with the wearable hat):
change name://@selection to name://Object.
In this example,
{ "url" : "name://@selection#MORPH_HEAD:?value/value", "keys" : [ [ 0, 0.2440945 ] ] } for Genesis 8 Female.
{ "url" : "name://@selection#MORPH_HAT:?value/value", "keys" : [ [ 0, 0.2440945 ] ] } for Genesis 8 Female's Hat as a wearable.
becomes:
{ "url" : "name://@Genesis8Female#MORPH_HEAD:?value/value", "keys" : [ [ 0, 0.2440945 ] ] } for Genesis 8 Female.
{ "url" : "name://@MyHatWearable#MORPH_HAT:?value/value", "keys" : [ [ 0, 0.2440945 ] ] } for Genesis 8 Female's Hat as a wearable.
Make sure you use the proper name://@ which you can find under Scene Info panel.
Renaming your "MyHatWearable" to "my beautiful hat", this won't work, it has to target the name found in the .dsf file found in data/vendorename/productname/object.
That way, with one single duf file, you can change the shape of multiple objects/props/wearable which is always a good thing for your customers.
{ "url" : "name://@selection#MORPH_HEAD:?value/value", "keys" : [ [ 0, 0.2440945 ] ] } for Genesis 8 Female.
{ "url" : "name://@selection#MORPH_HAT:?value/value", "keys" : [ [ 0, 0.2440945 ] ] } for Genesis 8 Female's Hat as a wearable.
Now, let's say you want a single Shape .duf which alters both genesis 8 and the Hat when selecting Genesis 8 (with the wearable hat):
change name://@selection to name://Object.
In this example,
{ "url" : "name://@selection#MORPH_HEAD:?value/value", "keys" : [ [ 0, 0.2440945 ] ] } for Genesis 8 Female.
{ "url" : "name://@selection#MORPH_HAT:?value/value", "keys" : [ [ 0, 0.2440945 ] ] } for Genesis 8 Female's Hat as a wearable.
becomes:
{ "url" : "name://@Genesis8Female#MORPH_HEAD:?value/value", "keys" : [ [ 0, 0.2440945 ] ] } for Genesis 8 Female.
{ "url" : "name://@MyHatWearable#MORPH_HAT:?value/value", "keys" : [ [ 0, 0.2440945 ] ] } for Genesis 8 Female's Hat as a wearable.
Make sure you use the proper name://@ which you can find under Scene Info panel.
Renaming your "MyHatWearable" to "my beautiful hat", this won't work, it has to target the name found in the .dsf file found in data/vendorename/productname/object.
That way, with one single duf file, you can change the shape of multiple objects/props/wearable which is always a good thing for your customers.
! REPORT






