How RLV Finds Your Items

From (CTS) Wardrobe Wiki
Jump to: navigation, search

Disclaimer: I'm not a developer of the Wardrobe nor am I a developer of RLV. I can only tell you what works and does not work for me. -- QuietToday Burner

Oddly enough, the Wardrobe cannot address individual items in your inventory. That's because of the way that RLV works.

RLV only knows about three things: clothing layers, attachment points, and folders. It doesn't know about the individual items in the #RLV folder.So, it can only work with layers, attachments, and folders.

The Wardrobe's use of clothing layers and attachment points is straightforward. If you click on the Undress button at the top of the Wardrobe's web page, you will be presented with a graphical list of clothing layers and attachment points. You can click on any of them to remove the corresponding items from your body.The Wardrobe web page will send an RLV message to the HUD telling it to remove everything at the selected attachment point or layer.

The Wardrobe's treatment of folder names is richer and a bit confusing. When you try to pass a folder name to RLV, it breaks the name up into words. A word is a set of letters and digits with no spaces or other special characters between them. So consider this folder name: "Dress black-white M&M model17". RLV makes a list of these words: dress, black, white, M, M, model17. Note that the ampersand (&) and the hyphen (-) count as word separators; they are treated just like spaces. Then RLV looks for a folder--any folder--inside #RLV, that has those words in its name. This can cause confusion. For example, suppose you have three dresses in folders named as follows:

  • Tea dress white RaggedyAnn
  • Tea dress white with bows RaggedyAnn
  • Tea dress white with ruffles RaggedyAnn

If you pass to RLV the first folder name, it might find any one of those three folders, because all of them contain the words -- tea, dress, white, RaggedyAnn.

So, you have to be careful in naming folders or outfits. I would rename the folders as follows:

  • Tea dress white no bows no ruffles RaggedyAnn
  • Tea dress white with bows RaggedyAnn
  • Tea dress white with ruffles RaggedyAnn

One serious complication is that the possibilities for finding the wrong folder increase as you add folders. For example, when you have a small inventory, you might add a folder named "Pumps white". Months later, you might buy another pair of shoes and add a folder named "Pumps white low heels". Then a few weeks later, when you try to wear "Pumps white", you find yourself wearing the wrong shoes and wondering why.

There's really no way to completely avoid this possibility. My advice is to use long folder names that include lots of information, including, for example, the name of the store where you bought the outfit. Also, you can include the date in every folder that you create. For example, a folder that I create today, 23 October 2012, might be named, "Tea Dress white no bows no ruffles ZAndZ RaggedyAnn 121023".