This is my first attempt at making an universal gibbing script. It -should- work with any monster, in any mod regardless of how it is coded(Except for boss monsters for obvious reasons).
At this time, the gibs are pretty bland, Duke Nukem-styled gibs for the sake of keeping the code clean and easy to edit, but in the future I plan on making it more messy, maybe inspired by Ketchup gore or something(I'm not actually going to use any code from it though).
There are some inherent problems with the current version, in that it relies on the A_Burst function, which destroys the actor, which means that they cannot be resurrected by archviles. And while I'm okay with that, I do realize that it kind of shits on balance, and some people might not like that. The reason I'm using A_Burst is because it spawns the amount gibs relative to the actor's size. That is, the bigger the actor, the more gibs it spawns when gibbed.
ZScript might be the solution for this conundrum, but alas, I started making this before ZScript was a thing, and I haven't quite gotten the hang of it yet.
Special thanks to Beed28 for letting me