Naturally different guns would have different tolerances, but most of these are known somewhere, documented, limitations printed in operations manuals and so forth.
It would be possible to take a P-51D for example, and if the gun setup is almost identical in the F6F, the P47, and the F4u, to say the same limitations exist in those airframes as well (same guns, same layout, same feed, same ammo box positions, orientation, etc).
As for the oil, just take the operating limit and when you're inverted or in negative Gs run the temps up very quickly as if there's no oil, until the engine dies.
So the oil leak code can be used, only without the time delay for the leak itself, just toggle the "heat engine til it dies" code and it's already in-game.