Accessory HUD Instructions

Clothing & Accessory HUD Instructions

Please note, this is for creators of Mesh Clothing and Accessories and has nothing to do with the Omega Applier System or any other appliers. 

Step 1: Read the Read the License Terms of Use!

By purchasing these scripts you agree to the following:

  1. These Scripts are full perm for your own personal use.
  2. You may distribute these scripts with your creations and only with your creations.
  3. You may modify these scripts however you like for your own use or in your creations. However the resulting script will still be bound by this License.
  4. They may not be given away or sold MODIFY for ANY REASON EVER.
  5. Because these scripts are full perm, you can see the scripting, if you copy portions or all the script into a new script, the new script is bound by this License.
  6. You may not use this script to create other full perm scripts.
  7. They may not be given away or sold copy/Trans. They must either be no-copy or no-trans.
  8. These Scripts do not come with scripting services. Quick questions will be answered, but if you want me to set them up for you however, you will pay my hourly rate.

Phew, think thats everything. Onto the instructions!

[collapse]
Step 2: Decide if you need the Simple or Advanced Script

The Simple Script textures the entire object, with no option to select specific faces for texturing.

The Advanced Script lets you assign prims and faces to groups to be textured separately. (So if you want to have separate options for say.. laces, metal, cloth…etc.)

Essentially, The advanced lets you do more, but requires more set up!

I suggest making a copy of the script you chose, and the HUD script and put them into their own folder to keep things straight!

[collapse]
Step 3: Picking a Propitiatory Channel

  1. Pick a number. Something hard to guess. Something in the 7+ digits and in the negatives.
  2. Open the HUD Script and find this:
    integer channel = -8569;
  3. Change the Number to the one you picked.
  4. Open up the Listener Script you chose (Simple or Advanced) and find this again:
    integer channel = -8569;
  5. Change the Number to the one you picked.

[collapse]
Step Three: Decide a hudID

The HudID is what ensures that HUDs only work with the item it is sold with and not your other items you sell. I recommend a Unique ID for each color pack you sell.

  1. Open up both the HUD Script and Listener Script and find this: string hudID = “testHUD”;
  2. Replace the value with your UniqueID. “Mesh Skirt – Reds” or similar is recommended. (do this for BOTH scripts)

[collapse]
Step 4: Creating your HUD

In this kit you will find a Example HUD to use as a Guide. You may use it if you like, but I recommend making your own.

  1. Make a Root Prim + 1 Button Prim for every texture option in the pack.
  2. Name the individual buttons “0”, “1”, “2”, “3”, etc, etc. (No quotes or spaces!)
  3. Link them together and ensure the Root Prim is the Root Prim. (it’ll be outlined in yellow!)
  4. Name your HUD
  5. Drop the HUD Script into the root prim.

[collapse]
Step 5: Setting up your Object (Advanced)

If you’re using the simple script, skip this step!

The script works by looking at the Description of the prims to decide which of the textures you provided go with that prim.

  1. Look at your texture options and group them by where you want them to apply, and come up with category names.  For example, if you have a shoe… you may have X shoe sole texture, X number of heels and X number of textures for the main part of the shoe. So  “sole”, “heel” and “cloth” may work well.
  2. In the description of each prim:
    • If the entire prim uses one texture, simply put the category name you selected for that texture.
    • If the prim has multiple faces you want to utilize, list the category for the prims separated by commas with no spaces. Ie, if Face 0,2,3 need “cloth” textures, but face 1 is the sole, put this in the description:  cloth,sole,cloth,cloth
Note, there is no limit to how many category you designate, or how many textures in each catagory, but there is no way to get more then one category to apply to a single face.

[collapse]
Step 6: Setting up your Listener (Simple)

This is for the Simple Listener Only, if using the Advanced Listener, use the other step 6!

1) Open up the Clothing Listener Script and look for these:  (may want to stretch the NC wide to see)

list clothingTextures = [“20db1f7f-ec15-c427-ebb2-371146eab13c”, “1ee86185-4cf1-f236-f190-270a551ae616”]; //list your UUIDs
list designName = [“Animal Prints”, “Camo”];  //name your designs

2) You’re going to list your UUIDs in the clothingTextures List, and the design names in the designName

3) Once you’ve finished editing the script, drop it into the mesh clothing. Assuming everything was done correctly, your HUD should work now ^.^

Note: In case it is not obvious, the numbers on the Buttons of the HUD correspond with the textures and names in your list! So the button labeled “3” will use the texture in the 4th slot!  (Scripts start counting from 0).

[collapse]
Step 6: Setting up your Listener (Advanced)

This is for the Advanced Listener Only, if using the Simple Listener, use the other step 6!

1) Open up the Advanced Listener Script and look for these:  (may want to stretch the script wide to see)

list Textures = [“20db1f7f-ec15-c427-ebb2-371146eab13c”, “1ee86185-4cf1-f236-f190-270a551ae616”, “dbf8a5bf-00fb-4c0c-5b95-e00fe535272e”, “53d76e16-1e9b-b8f6-84f8-28c3a26f30e3”, “287cb115-75e0-46f2-da44-ee22828eae6c”, “685fc855-b3f2-ee60-5528-bb695210552c”]; //list of your UUIDs
list category = [“heel”, “heel”, “cloth”, “cloth”, “sole”,”sole”]; //Category that Texture Belongs to.
list designName = [“Animal Prints”, “Camo”, “eyes”, “iunno”, “umm”]; //Name of the Design (This is visible to customers)

2) You’re going to list your UUIDs in the Textures List. All of them. While not strictly required, we advise ordering them by category so you’re less likely to mess up the next step ^.^;

3) You’re going to put the category name for each UUID in the category list. In order, for each texture. So if your prims are “heel”, “sole” and “cloth” it may look something like this:

list Textures = [<–heel texture–>, <–heel texture2–>,<–heel texture3–>, <—sole option 1–>,<—sole option 2–>, <—cloth option 1–>,<—cloth option 2–>,<—cloth option 3–>]; //list of your UUIDs
list category = [“heel”, “heel”,  “heel”,”sole”,”sole”,”cloth”,”cloth”,”cloth”]; //Category that Texture Belongs to.

4) Put a Name for each texture in the designName List. The Listener will use this to announce to the user what is being applied.

4) Once you’ve finished editing the script, drop it into the mesh to be textured. Assuming everything was done correctly, your HUD should work now ^.^

Note: In case it is not obvious, the numbers on the Buttons of the HUD correspond with the textures and names in your list! So the button labeled “3” will use the texture in the 4th slot!  (Scripts start counting from 0).

[collapse]

Helpful Hints:

  • All Lists start counting at zero. So the “0” button on your hud will use the first UUID on the list, “1” will use the 2nd, etc.
  • If the root of the HUD is responding to touch, make sure it has a name that is not blank or a number.
  • If the buttons are not working:
    • Make sure there are no trailing spaces before or after the number on the button
    • Make sure the channel and HUDID in the Listener and HUD scripts are identical.
    • (advanced only) Make sure the keywords you put are exact. No trailing spaces, no misspelling.

FAQ:
1. Can you set this up for me?
I can, but It’ll cost you my normal scripting rate. (7k hour, min 1hour + 5% dispersment) On the bright side, I knock what you paid for the kit off that price! ?

2. Can you modify it to do ______?
Probably. But again it’ll cost you my normal scripting rate.

3. Why so expensive? It looks rather simple!
Well the next cheapest on the market (that I’ve seen) is 7k. sooooo -skips off!-

4. Why is it full Perm?
Eh, it probably wasn’t wise of me, but I like people to be able to modify the things they buy from me if possible.

5. Is this for Omega…
NO

6. Does it have anything to do with Appliers?
NO

7. I bought this thinking this was for appliers… can I have a refund?
Unfortunately I cannot do refunds on full perm products