Well, this was made for two things.
The first, irrelevant thing, is that I had to restart my thermite generator to make the BMTL sequence WAY more compact.
And the actual topic (:D) is this:
Is there a way to make the potential lag from EMP become less, besides using less EMP?
A fairly simple question, yes, but it is somthing that I seriously need some answers (Even in the negative) as to if this is possible or not.
Ever since I upped my BREL generation by about 1200%, I have been getting noticable FPS drops upon running through my THRM generator.
Any suggestions on how to reduce it?
It may be a hopeless struggle, but I want to at least give it a shot.
//chance being a float suggesting chance
chance = 0.05f * empc;
//rnd being a random number from 0 to 100 as percent
if(rnd / 100 < chance) {
to_brel(parts[r>>8]);
}