how do you make elements glow?

  • PizzaPlatypus
    20th Dec 2010 Member 0 Permalink
    I am making a mod for the powder toy and I've made burning magnesium. I stupidly assumed elements would glow at a certain temperature, but they don't so how do I make the element glow white? Also I am using older source code sine the new one didn't work sp how can I get rid of the "a new version is available" sign?
  • Felix
    20th Dec 2010 Member 0 Permalink
    You change the draw function to do that.
  • PizzaPlatypus
    20th Dec 2010 Member 0 Permalink
    where and how do I change the draw function
  • Felix
    20th Dec 2010 Member 0 Permalink
    How? I would imagine you open the file in a text editor and write code.
  • Xenocide
    20th Dec 2010 Former Staff 0 Permalink
    src/graphics.c

    Should find all you need in there. The function is blendpixel
  • PizzaPlatypus
    20th Dec 2010 Member 0 Permalink
    So I put:
    if (t==element){
    blendpixel
    }
    (element being PT_whatever it is)
    is that right?
  • Felix
    20th Dec 2010 Member 0 Permalink
    Try it, only way to be sure.
  • PizzaPlatypus
    20th Dec 2010 Member 0 Permalink
    It doesn't work, it says t is not defined.
  • Finalflash50
    20th Dec 2010 Banned 0 Permalink
    This post is hidden because the user is banned
  • PizzaPlatypus
    20th Dec 2010 Member 0 Permalink
    thanks, also do you know how to change the speed of conduction as I've made a new metal and want it to conduct more slowly than the normal metal.