I have tried this before, but all attempts failed. I am wondering if setting whether something is explosive or not in the .c file, dependant on temperature, is possible. Anyone got any ideas?
@PizzaPlatypus I tried that, I tried setting testexp as the explosiveness with that, and putting testexp where the explosiveness value should be (powder.h), but I need a way of linking the test.c and powder.h if I do it like that. I am a beginner at coding, so I have nooo idea. I basically self teach myself, but most things I do work.
Lazy way: Set the burnage to a high number, set Exp to 1, then scroll down in powder.h and set the properties to: {IPL, NT, IPH, NT, ITL, NT, 1000,PT_FIRE},
@Neospector Dude, please, read the topic title. I do not want it to burn when the temperature hits x, I want the Exp to be y when temperature hits x. Got it now?
PizzaPlatypus got half way, then stopped. I knew the part he said, but I need to actually set exp, and somehow carry that to powder.h.
Anyone got any ideas now?
@Jenn4 By setting the explosiveness to about 100 and burn to 5000
@cctvdude99(View Post) Instead of saying it explodes in powder.h program it in the .c file to create pressure and fire if touched by fire, if it's heat is whatever you want it to be.
@vanquish349 Hm, the wiki used to say: "Exp: Does it explode? 0 = no, higher numbers = higher pressure generated. " Now it says: "Exp: Does it explode? 0 = no, 1 = when touching fire, 2 = when touching fire or when pressure > 2.5" Which is kinda annoying.