DB/ParticleColor: Difference between revisions

From wowdev
Jump to navigation Jump to search
(Added the whole file.)
No edit summary
Line 13: Line 13:
|1  || ID || Integer ||  
|1  || ID || Integer ||  
|-  
|-  
|2  || StartColor?  || Integer[3] || Not sure about if these are start/mid/end. Idk.
|2-4 || StartColor?  || Integer[3] || Not sure about if these are start/mid/end. Idk.
|-  
|-  
|2 || MidColor?  || Integer[3] || The integers are 0xAARRGGBB encoded colors.
|5-7 || MidColor?  || Integer[3] || The integers are 0xAARRGGBB encoded colors.
|-  
|-  
|2 || EndColor?  || Integer[3] || [0] is set with 0x2A being 11, [1] with 12 and [2] with 13.
|8-10 || EndColor?  || Integer[3] || [0] is set with 0x2A being 11, [1] with 12 and [2] with 13.
|}
|}




[[Category:DBC]]
[[Category:DBC]]

Revision as of 16:14, 16 September 2009

This dbc defines colors that are used in CreatureDisplayInfo.dbc to replace particle colors between instances of a model. This is used at imps for example. They normally have "normal" flames in red/orange and get new green/yellow ones assigned, when they are "felimps" with a green texture.

To have models that support this, you need to give the particles an ID at 0x2A in the emitters. This Id should be 0, 11, 12 or 13, depending on which color / behaviour you want.

Structure

Column Field Type Notes
1 ID Integer
2-4 StartColor? Integer[3] Not sure about if these are start/mid/end. Idk.
5-7 MidColor? Integer[3] The integers are 0xAARRGGBB encoded colors.
8-10 EndColor? Integer[3] [0] is set with 0x2A being 11, [1] with 12 and [2] with 13.