I had the idea of implementing various missiles with firework-like effects for a US Independence Day themed mod. These missiles would have randomly colored explosions, fragments, and particles in order to imitate the various fireworks I see on the 4th of July. However, I do not have much experience with EffectType.

primaryColor and secondaryColor can be set within the <GetParameters> event of some effects. Value might be in string form, and might need to concatenate strings. "#" <red hexadecimal value from 0-255, or 00-ff> <green hexadecimal value> <blue hexadecimal value>.

You may need some way to convert normal decimal values to hexadecimal.

I made some fireworks style weapons for Drake Technologies Alpha and Item Pack 912 years ago before I phased them out, but some of the code I used is still present.

Just simply picking random colors results in a pastel-like rainbow colors. You may want to select color based on a timestamp or some other criteria. Or it could be something fixed, simple, but bulky like having multiple <Fragments> that are the same except for color.

primaryColor and secondaryColor can be set within the <GetParameters> event of some effects. Value might be in string form, and might need to concatenate strings. "#" <red hexadecimal value from 0-255, or 00-ff> <green hexadecimal value> <blue hexadecimal value>.

You may need some way to convert normal decimal values to hexadecimal.

I made some fireworks style weapons for Drake Technologies Alpha and Item Pack 912 years ago before I phased them out, but some of the code I used is still present.

Just simply picking random colors results in a pastel-like rainbow colors. You may want to select color based on a timestamp or some other criteria. Or it could be something fixed, simple, but bulky like having multiple <Fragments> that are the same except for color.

I've been playing with <GetParameters> and effects for a while.
I do have random colored weapons, rainbow weapons and a number of supporting functions in WE6 such as:
- RGB to HSL converter.
- dec to hex to dec (taken from alterecco's DSF, and fixed because it has a bug)
- function that converts '(0xAA 0xBB 0xCC) to "#AABBCC" color formats
- colornamer function with over 1000 names of colors. (converted to transLisp from a javascript function)