Hey guy,
What would be the way to make the explosives create more pressure when ignited. Say make C4 give as much pressure as a particle of Thunder?
Thanks
In part of your update function, you'd put something like:
 
if((r&0xFF)==PT_FIRE) //if fire nearby 
{ 
 sim->pv[x/4][y/4]=50.0f; //pv[][] is the pressure array. Make 50 pressure 
 sim->part_change_type(i,x,y,PT_FIRE); //change particle to fire 
 ... //do some other cool stuff :) 
}