ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

ColorList

From ModEnc
Jump to navigation Jump to search
Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: ColorList
File(s): Rules(md).ini
Values: Comma-separated list of colors.
Default: (0,0,0)
Applicable to: Particles


Specifies the color(s) available to this particle, expressed in 24-bit RGB-format. Only applicable to spark and railgun types.

Spark and railgun particles have no shape, instead they are drawn as a single pixel whose color depends on this list. The particle starts with the first1 color on this list, then smoothly transitions to the next color in the list at the rate specified by its ColorSpeed, then to the next, and so on. When the particle reaches the end of the list, it will retain that last color until the particle expires.

Configuration Example

ColorList=(200,200,200),(150,150,150)

Notes

Spark particles are subject to gravity. If the particle touches the ground, it will expire, even if it has not yet reached the end of its color list.

Footnotes

1 or the color specified in StartColor1 or StartColor2, if defined.

See Also