View Single Post
  #2  
Old 06-21-2009, 07:30 PM
Shendare
Dragon
 
Join Date: Apr 2009
Location: California
Posts: 814
Default

Forgot to clarify. This is the order of priority for armor tints:

1. armortint_red, _green, and _blue in npc_types. If any of these values is non-zero, the tint is applied to all armor pieces, ignoring armortint_id and individual armor piece coloring.

2. armortint_id. If the RGB values in #1 are all 0 but armortint_id is specified, the values from the npc_types_tint table with the corresponding id are used.

3. armor piece tint. If the RGB values in 1 are zero and armortint_id is 0 (or a corresponding record in npc_types_tint cannot be found), or if the red/grn/blu values for a particular armor piece in npc_types_tint are all 0, the tint on the actual armor piece item is displayed.

Hope that clears up any potential confusion.
Reply With Quote