If you've ever played PAYDAY 2, you'll know that this game involves a lot of shooting, when you shoot at surfaces or characters in this game, the game tends to play an effect (like a blood spurt or a puff of smoke) to indicate you've hit it with your bullets, however, in attempt to optimize the game's performance, it depends on a queue, in a file called "gameplaycentralmanager".
However, this queue only plays one effect per update, and, it's poorly optimized for something updated every frame, this can be the source of a lot of performance problems when there is a lot of bullet impact effects that need to play, and, depending on how intense the action was, can cause bullet impact effects to be delayed, with them appearing out of thin air even after the action is over.
THAT'S WHERE THIS MOD COMES IN!
Using revolutionary coding habits that I picked up from Hoxi every time she optimizes literally anything, and then I showed her it and she took over to optimize it even more, Not only have we been able to reduce the performance impact of the queues in gameplaycentralmanager by making them much more lightweight, we have given the user the ability to customize how many bullet impact effects the game can play per frame, letting them play up to 10 times the usual amount of effects per update!
Goes into the mods folder.
Many thanks to Offyerrocker for helping me set up the menu! And Hoxi for helping me further optimize the code!