Defining Item Categories

From The Foundry MODO SDK wiki
Revision as of 00:03, 1 May 2012 by Lightwolf (Talk | contribs) (Created page with "== Defining Categories for Items == The item list uses the "itemtype:locator" category, so you can add your items with with own category in your resource file. <atom typ...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Defining Categories for Items

The item list uses the "itemtype:locator" category, so you can add your items with with own category in your resource file.

   <atom type="Categories">
       <hash type="Category" key="itemtype:locator">
           <hash type="C" key="VTE.myitem">vte</hash>
       </hash>
   </atom>

This internal name is given a real name through the "itemtype:locator:category" message table:

   <atom type="Messages">
       <hash type="Table" key="itemtype:locator:category.en_US">
           <hash type="T" key="vte">Super VTE Thing</hash>
       </hash>
   </atom>