|
DesignerInstructions
Instructions for those wanting to use the OpenCollar scripts in their own prim designs.
1 - CREATE A ROOT PRIM FOR THE COLLAR- This should be an invisible Sphere in the front of the collar, as this will make the source of the leash particles look the best, and is also required by the coloring and texturing scripts. To make it invisible apply a fully transparent texture, such as the one provided within the OpenCollar. 2 - NAME THE ELEMENTS OF THE COLLAR
NOTES
Examples:
The "~" symbols a new tag for this prim, remember ALL prims that belong to one kind of element of your collar need this. Most likely I can imagine to use for things like spikes a description as: spike~notexture —- so they can be hidden, colored but the texture you chose within reason cannot be changed Read also: Important Info for designers AND OCDesignPictures 3 - COPY THE CONTENTSCopy the OpenCollar scripts, anims, notecards, objects, and textures included in the contents of the basic OpenCollar -- from here on known as the OpenCollar guts -- into the root prim of your collar (ie, the invisible ball at the front). Do not forget to put the "OpenCollar - HoverText@FloatText - 3.007" script into the FloatText prim in the center of the collar! You can get this script from another OpenCollar's "FloatText" prim. 4 - RECORD THE SCRIPT VERSION AND DATABASE PREFIXSeveral OpenCollar features depend on the object's Description being properly formatted. It should look something like this: ToothCollar~3.027~tooth_ As you can see, the description is divided into 3 parts, separated by a tilde ("~") character. The first part (ToothCollar, in this example) is the product's name. It can be anything you want. The second part ("3.027") is the version of the scripts that you are using. You should use the same number as the collar version that you took the scripts from. If you got your scripts from OpenCollar 3.031, then you should put 3.031 in this part of the description. This is important; the updater script relies on it. One of OpenCollar's greatest strengths is the automated update system that allows users to get all the latest features and fixes. If you put the wrong version, your customers might not be able to get updates when a new version of the scripts comes out. The third part ("tooth_") is the database prefix. OpenCollar uses a web database to save its settings. This is useful because your settings move with you when you switch between OpenCollar designs, but it also means that we need a way for appearance-related settings from one design to be distinguised from those of another (eg, you don't want your color settings from the GlowCollar to be set on your LeatherCollar, do you?) In the Description field of the root prim, change "tooth_" to something that is likely to be unique. A good rule is to use your initials, plus the product initials. So if Nandana Singh made a "Super Fancy Collar", she might put "nssfc_" as the prefix. 6 - RESET THE SCRIPTSSelect your collar object using the Edit tools and click "Tools->Reset Scripts in Selection" in the SL menu. 7 - CHECK PERMISSIONSMake sure you have left all of the OpenCollar guts full perms. You can apply whatever permissions you want to the prims containing the OpenCollar system, but the scripts, notecards, textures, animations, etc, must always remain full perms. |