sorry if I am still a bit confused here, let me just explain exactly what I am trying to do. I have a sulfur element, I want that element to produce a flame that is blue when it burns. What would be the best way to do this? Please provide a detailed description.
You would probably have to change the fire code a little then. You could add this in pyro.c after line 56: if (rt == PT_SULF) parts[r>>8].ctype = PT_SULF; (fire uses ctype already, but I don't think it does anything with it, so it's okay to use) Then in fire.c, at line 9 do: if (cpart->ctype == PT_SULF) { *colr = xxx; *colg = xxx; *colb= xxx; } This will make the fire it produces turn blue, and you don't even need to create a new graphics/update function this way
since I don't have the most recent version of the code is it after the two brackets because that would be line 58? Either way I am going to give it a shot