HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

HELP NEEDED: Cloud of Fog

11-11-2003, 06:17 PM#1
Kolibri
I have changed the skin for the Cloud of Fog ability to change the pattern of the fog. But it doesn't change the colors of the fog. I would like it to look like a sandstorm so I need to change the colors. Do anybody know the relations between the colors in the blizzard scheme and the ordinary 255, 255, 255(red, green, blue) scheme.

The color values for blizzard are {0 to 1, 0 to 1, 0 to 1}
whereas the normal colorscheme is {red, green, blue} each color is 0 to 255.


The CloudOfFog.mdl has


ParticleEmitter2 "BlizParticle01" {

...

SegmentColor {
Color { 0.5686, 0.349, 0.2196 },
Color { 0.5686, 0.349, 0.2196 },
Color { 0.5686, 0.349, 0.2196 },
},

...

}
ParticleEmitter2 "BlizParticle08shockwaves" {

...

SegmentColor {
Color { 0.5686, 0.349, 0.2196 },
Color { 0.5686, 0.349, 0.2196 },
Color { 0.5686, 0.349, 0.2196 },
},

...

}


Any help is much appreciated.
11-11-2003, 06:50 PM#2
Kolibri
Okay, so I actually reaad the tutorials and stuff in the stickies and it turns out my intuition was right.

To get green/red/blue you just divide 1 with the number using the normal system, ie. {100, 200, 50} beomes {0.01, 0.05, 0.02}. The reason I couldn't get it to look right was that blizzard has flipped the colors so that they are ordered in

blue, green and then red (alphabetically).

Oops. :////
11-13-2003, 01:53 AM#3
st0rmreaver
thanks. i was actuall ydoing the same thing.