• Started 30th Nov 2011 in The Powder Toy/Lua scripting
    I think it's a glitch. Just change it's color before you draw it and it will appear the color you want it to.
  • Started 28th Nov 2011 in Help
    Setting its tmp to 1 will filter photons, only letting photons with similar colors to pass through.  Making its tmp 2 will add that color to the photon's color, not overwriting it.  Se...
  • Started 27th Nov 2011 in Feedback
    I have gas virus in my mod, but it's kindof useless. I just added it because it's fun to use. It's hidden, so you'll have to create liquid virus, then heat it up a lot, and also h...
  • Started 23rd Nov 2011 in Development Assistance
    You should put '= rt' in line 59  Also, in line 58, it just says || PT_SLFS, you should change that to || rt == PT_SLFS
  • Started 23rd Nov 2011 in Development Assistance
    You would put that before the two brackets. I tested this code a while ago, and so i'm sure that it works now.
  • Started 23rd Nov 2011 in Development Assistance
    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 alre...
  • Started 23rd Nov 2011 in Development Assistance
    You probably need to make an update function then that changes its life/ctype/... to something whenever one of those happens. Then instead of checking the pmap in the graphics update functi...
  • Started 23rd Nov 2011 in Development Assistance
    @star400040 (View Post)  You don't need to make a new hex code for the fire color, it just ignores the old one in powder.h when drawing it if you change the colx variables. Just put in any ...
  • Started 23rd Nov 2011 in Development Assistance
    Did you create a graphics function in newgraphics.c? If you did, you can check the pmap like this:   if ((pmap[nx+1][ny]&0xFF) != 0) { *colr = xxx; *colg = ... }. You could also change the f...
  • Started 22nd Nov 2011 in Development Assistance
    @star400040 (View Post)  In powder.h, there are graphics drawing functions. Create one in the same way as the others, it should look like graphics_xxxx(something). In the ptypes table, find your...