-
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...
-
Started 22nd Nov 2011 in Development Assistance
Are you making a graphics update function in newgraphics.c and defining it in powder.h? If you are, try copying a similar function, like the one for heat flame or fireworks, and just modifying the co...
-
Started 22nd Nov 2011 in Development Assistance
I though you had the latest code, but since you don't, get this one instead: powder.h Also, the latest source is always here: github source(zip)
-
Started 22nd Nov 2011 in Development Assistance
@star400040 (View Post) Maybe you should just redownload powder.h(right click, save target as), and copy those things you changed and put them at the end of the tables. You probably accidentall...
-
Started 22nd Nov 2011 in Development Assistance
One problem I noticed is that when you updated ptypes, you added your elements to the middle where it said /*free.*/ You shouldn't do that, add them to the end instead. Also, you need to add tra...
-
Started 21st Nov 2011 in The Powder Toy/Lua scripting
I made a script that does the same thing as the previous setwifi, but does it in a completely different way. To use it, you need to have the latest beta(at least 68.7) because it uses the new tpt.ele...
-
Started 21st Nov 2011 in The Powder Toy/Lua scripting
I figured out the problem, there are some errors in that script preventing it from working. I don't know why it was ever released like that. Change "mgl.setcliprect(x1,y1,x2,y2)"...