Blue Fire

  • Jack426
    30th Sep 2010 Member 0 Permalink
    Figured out how to change the color of fire.
    Image Link:
    http://www.flickr.com/photos/54410236@N07/5038700785


    Someone else probably already figured out, but anyway take a look at it.


    EDIT: The only code I changed was in graphics.c I went down to PT_FIRE and changed this

    cr = parts[i].life / 4;
    cg = parts[i].life / 16;
    cb = parts[i].life / 32;


    to this

    cr = parts[i].life / 32;
    cg = parts[i].life / 16
    cb = parts[i].life / 4;


    For anyone who didn't know.
    P.S. The line numbers were 1763 ,1764 ,1765.
  • jakester12345
    30th Sep 2010 Member 0 Permalink
    looks great looks a little like Plasma lol
  • Jack426
    30th Sep 2010 Member 0 Permalink
    jakester12345

    Thanks, It was easier than I thought. I think this would be very useful for Cold Fire and stuff.
    I figured out I was changing the wrong stuff when the fire turn into a bomb of red, green, and yellow. Lol
  • HK6
    30th Sep 2010 Former Staff 0 Permalink
    Very cool. Good job.
  • jakester12345
    30th Sep 2010 Member 0 Permalink
    awesome
  • Awesan
    30th Sep 2010 Member 0 Permalink
    Maybe blue fire = fire without smoke. Only some elements produce blue fire when burned (O2 and Insulator?).