Digital Art Zone

 
     
How to create a product in DAZ Studio?
Posted: 18 July 2013 03:28 PM   [ Ignore ]
Member
Avatar
Rank
Total Posts:  49
Joined  2012-02-08

Hello!
Luckily I managed to solve the problem with the CMS (metadata), thanks to the help of everyone here! With this, I intend to continue trying to create a product in DAZ Studio so that when adiquirido the freebie, the user can install it and spot him easily in the Smart Content Products. The problem is that I do not know how to save, textures, and whatever else it takes to load the DAZ Studio seamlessly entire scene or object that I created. Most of the products I purchased, has an installer and others have a script called “Manifest” and a folder with the name of support, which are icons and scripts that makes the the product is within the “Smart Content Products” correctly. I wish I could easily create this way. Could someone please point me to a tutorial on how to do it? I have many freebies and would like to post them soon!
Thanks again for the support!
Cheers!

Anderson - Gendragon

 Signature 

http://www.daz3d.com/media/3d/badges/images/badges/badge_15.png GendragonĀ“s Mystical World

Profile
 
 
Posted: 18 July 2013 11:57 PM   [ Ignore ]   [ # 1 ]
Addict
Avatar
RankRankRankRank
Total Posts:  7510
Joined  2012-09-10

http://www.daz3d.com/forums/viewthread/25199/

Check out this thread- Slosh mentioned having freebies and you can probably PM to get the answer if someone doesn’t post the answer. Then you can tell the rest of us, lol.

 Signature 

SILO Step By Step
The Art Studio: Thread #5   Product Discussions
Beginners Videos Thread-

Profile
 
 
Posted: 19 July 2013 01:26 AM   [ Ignore ]   [ # 2 ]
Addict
Avatar
RankRankRankRank
Total Posts:  2949
Joined  2009-02-24

The way I did it was to supply a ZIP file with the metadata to be installed into your AppData\Daz 3D folder. In there is a RunOnce folder which executes DSA scripts allowing you to process metadata in a queue (the user will get a dialogue box when they open Daz Studio asking them to confirm adding it to the Smart Content). It should be noted that this method also requires a copy of the DSX and DSA in the Runtime\Support folder.

It’s also possible to create a Manifest.dsx file and have it install automatically via the Daz Install Manager. This would require the user to place the file in their DIM downloads folder and install the content through it.

The DSX files are basically XML files, and are simple text documents you can edit. I’ll list the basics here.

<!-- The following line tells Daz that you want to install items into the Content database -->
<!-- 
Items enclosed within the block are the items you want to install -->
<!-- As 
with html and XMLyou can close a block by using the forward-slash in front of the command -->

<
ContentDBInstall VERSION="1.0">  

   <!-- 
Begin the products block -->
   <
Products>

      <!-- 
Name your product and begin the product block -->
      <
Product VALUE="Marvello's Magical Booties">

         <!-- 
Single line values terminated with a forward slash at the end of the line -->
         <
GlobalID VALUE="00000000-0000-0000-0000-000000000000"/>

         <!-- 
Optional Artist name -->
         <
Artist VALUE="Herald of Fire"/>

         <!-- 
An Asset is an individual objectwhether it iss a material preset or figure. -->
         <!-- 
This begins the list of individual assetseach one should be encased in asset tags -->
         <
Assets>

            <!-- 
The link to the actual file -->
            <
Asset VALUE ="People/Genesis/Clothes/MMB.duf">

               <!-- 
This line tells Daz to treat the item as a pair of shoes -->
               <
ContentType VALUE="Follower/Wardrobe/Footwear"/>

               <!-- 
Audience suitability. -->
               <
Audience VALUE="Children"/>

               <!-- List 
of the categories you want your item to be listed within in the Smart Content. -->
               <
Categories>
                  <
Category VALUE="/Default/Wardrobe/Footwear"/>
                  <
Category VALUE="/Default/Wardrobe/Shoes"/>

               <!-- 
Rememberclose blocks with a forward slash before command name -->
               </
Categories>
            </
Asset>
         </
Assets>
      </
Product>
   </
Products>

<!-- 
This is the closing line for the ContentDBInstall -->
</
ContentDBInstall

I hope that’s simplified enough to understand the basics.

 Signature 

Find me on DeviantArt
Download my free IBL presets for Luxus
Re-upload of Cresent’s awesome pwToon shaders
Create your own Smart Content

Profile
 
 
Posted: 19 July 2013 08:46 AM   [ Ignore ]   [ # 3 ]
Member
Avatar
Rank
Total Posts:  49
Joined  2012-02-08

Thank you all!
I will analyze and study this script to learn how to use it!
Thanks for the tips!
Cheers!

 Signature 

http://www.daz3d.com/media/3d/badges/images/badges/badge_15.png GendragonĀ“s Mystical World

Profile
 
 
Posted: 21 July 2013 04:34 AM   [ Ignore ]   [ # 4 ]
Addict
Avatar
RankRankRankRank
Total Posts:  7510
Joined  2012-09-10

HOF- is that script for using the DIM then? If so, can you tell me how to do it otherwise for folks who don’t use DIM?
Cathie

 Signature 

SILO Step By Step
The Art Studio: Thread #5   Product Discussions
Beginners Videos Thread-

Profile
 
 
Posted: 21 July 2013 07:30 AM   [ Ignore ]   [ # 5 ]
Addict
Avatar
RankRankRankRank
Total Posts:  2949
Joined  2009-02-24

Actually, that’s the XML format purely for the metadata alone. If you want to be able to install it via external means you’ll need a Daz script file (*.DSA) which plugs the XML into the queue for importing. To do this use the following code and ensure that the filename remains the same and copy them both to the same locations.

// Check the Daz version supports this insertion method.

if( App.version >= 67109158 )
{
 
var oFile = new DzFile( getScriptFileName() );
 var 
oAssetMgr App.getAssetMgr();
 if( 
oAssetMgr )
 
{
  
// Adds the XML of any file with the same name
  // as this script minus the extension
  
oAssetMgr.queueDBMetaFile( oFile.baseName() );
 
}
 Signature 

Find me on DeviantArt
Download my free IBL presets for Luxus
Re-upload of Cresent’s awesome pwToon shaders
Create your own Smart Content

Profile