I don't think the color functions from the TriAPI are going to work with the
particle system. It really does look like the particles are using a fixed
palette from somewhere. These are the sample engine calls that supposedly
set the particle color:

// make a particle
  particle_t *p;
  p = gEngfuncs.pEfxAPI->R_AllocParticle( ParticleCallback );

// set its color
  p->color =  gEngfuncs.pEfxAPI->R_LookupColor( r, g, b );
  gEngfuncs.pEfxAPI->R_GetPackedColor( &p->packedColor, p->color );


You can try to set r,g,b to some desired color, but what comes out is
basically a crap shoot. There has to be a better way. (Anyone know where the
palette is stored or how to view it so that the colors might be set
directly?)

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to