Creating your own lesson_series, Lessons and Lesson Steps for the Lesson Strip is fairly straight forward and requires only a few steps. In this article we will explain those steps, so that you can begin creating your own content that helps users learn a concept, a new skill or how to use a robust product.
There is some structure to the folders and files that you need to consider when building for the Lesson Strip. To help you succeed quickly, we provide a template for you to follow: Lesson Strip Example. To make designing and editing your Popup Panels easy, DAZ Studio includes a visual development tool by the name of Qt Designer with each installation, which can be found in the folder that you installed to.
Lesson Strip content can be installed as part of any product, or as its own product. Once installed, the user will have access to lessons via widgets found in the Status Bar. Here they can view the Lesson Steps, one by one, directly within the DAZ Studio User Interface (UI) as they continue to work in real time. The user can repeat the lesson as often as necessary and they do not need to be online to access this helpful option.
IMPORTANT: It is important to understand that there are multiple components involved in making the creation of Lesson Strip content easy. One of those components is Qt Designer, which is used to edit the template files we provide. Additional components include the scripts that handle what gets loaded when, and where - among other things. If you would like to make Lesson Strip content that goes beyond the scope of this article, you will need to have an understanding of Scripting, the Lesson Strips sample and a deeper understanding of how to use the Qt Designer tool.
Your first priority should be planning out your Lesson Series and ultimately your Lessons. You have a limited number of Steps to work with, so it is important to decide ahead of time what the highlights of your Lesson will be, and how to best present them. The following is what you have to work with:
Using this information, layout each Popup Panel, making sure you can fit the information you need in one or more Lessons, that all belong to a Lesson Series.
Now it is time to make sure you have your folder/file structure set up correctly. The easiest way to do this is to download the template provided here: Lesson Strip Example. This template will give you all of the folder and file structure you need, making it easy to edit and create a new Lesson Series and/or Lesson. Simply extract the contents of the file to the same path you installed DAZ Studio 4.x to - the zip contains the proper structure to place the files in their appropriate locations.
Once extracted, you will find a “<%DS4_INSTALL%>/resources/Lesson Strips/general/” folder. Inside this folder you will see a folder named “Lesson Series Name” and inside of it you will see a “Lesson Name” folder. Inside the “Lesson Name” folder you will see a total of 10 folders, each with a matching DAZ Script (*.dsa) file, numbered from 0-9. Each folder contains 3 files.
The “Lesson Series Name” folder is reserved for generic topics. For example, if we have one named “DS4 Getting Started”, all Lessons pertaining to this general topic will go under this folder. Change the folder name to reflect your Lesson Series Name. Do not use “vanity” folder names, or anything too specific at this level - the purpose here is to help end users, not stroke your ego.
In the “Lesson Name” folder, again, try to keep this general and not based specifically on a particular product unless it will not pertain to any other product available. Change the name of this folder to reflect the Lesson Name like you did the previous folder. Loading Jane Doe Hair is an example of an unacceptable Lesson name, whereas Loading Hair onto your Figure is an example of a name that is acceptable.
Not all Lessons will need all 9 Steps - 10 if you are including the Overview Video. If you do not need this many, simply delete the unused numbered folder and matching script (*.dsa) file. A numbered button will still appear on the Lesson Strip for the removed folder/files, but they will appear in an inactive state. If you find that you have deleted too many and need one back, simply make a copy of one of the other sets and rename the folder/script to match the one you are replacing. The exception of course being the “0” folder/script, which you can copy from the template or another lesson.
Next, you will need to create your images. You can use a screenshot, a photo, a diagram, etc… but you will want to keep them within a reasonable size limit. The example window to the right is approximately 450 pixels wide (click to view full size), with a slightly smaller area inside it that is displayed within a Popup Panel. If you need a larger format, you may want to consider including a PDF file with your product or, where appropriate, writing an article for the Document Center instead. Remember, the goal is for this to be an unobtrusive Lesson, not a full screen tutorial.
Once you have created your image, drop it into the numbered folder that corresponds with the Lesson Step. The recommended format to use for saving images is PNG. This is what the rest of the DAZ Studio UI uses. PNGs are also higher quality than JPGs and will allow for transparent backgrounds. If you name your image “Popup.png”, not only will it be consistent with the template, it will also save you some work in the next step.
NOTE: By keeping the included images smaller, the user is still able to navigate inside the program. This lets them learn as they 'do' as opposed to trying to follow the lesson by switching between various windows or screens.
Now to the fun part! Its time to add your text and image to the Popup Panels. You do this using Qt Designer, which is included with each installation of DAZ Studio v4.x. You can review the Lesson Strips Scripting Samples section for information more advanced set up of your Lessons, but here are some quick changes you can make to set up a Lesson with little to no prior scripting knowledge.
If you are adding an Overview Video to your Lesson, continue on with this step. If not, skip down to Step 6.
For this part of the Lesson, you will be working in the “0” folder.
Go to Enabling the Lesson Strip if the Lesson Strip not already visible. Once you have the widget enabled, test your Lesson in all of the Layout and Style options to make sure they look correct. Make any changes or tweaks, and re-save and test until you are satisfied.
Congratulations! Your Lesson Strip is now ready to collect and distribute.
The Qt Designer tool used in this article is very powerful. There are several things you can customize for DAZ Studio using this tool. For more advanced help on Qt Designer and DAZ Studio, please see the Education/Assistance scripting samples.