Change particle color type?

  • Merbo
    17th Feb 2011 Member 0 Permalink
    Hello, I understand you can change a particle's color, like in PHOT's case. I know it uses ctype. I don't know what to put before that to say that
    parts[i].ctype &= 0xRRGGBBAA
    means
    The current particles color is in hex, it is RED RED GREEN GREEN BLUE BLUE ALPHA ALPHA
    I don't understand if there is a 'ctype = PIXPACK 0x*" or something of the like.
  • Uberness
    17th Feb 2011 Member 0 Permalink
    @gamerboy8864
    I thought tmp sets colors.
  • Merbo
    17th Feb 2011 Member 0 Permalink
    @UBERNESS
    No, tmp is a temporary value that can be used for whatever the hell the dev wants to use it for.
  • ClaymoreTF2
    17th Feb 2011 Member 0 Permalink
    @gamerboy8864
    How to change it in console?

  • Merbo
    17th Feb 2011 Member 0 Permalink
    I figured it out. I can just use tmp and graphics.c. Please lock this topic.
    @marek11
    You can't.
Locked by cracker64: requested