If you SERIOUSLY want to have a "build your own" system for gun design spanning an incredibly wide swath of tech levels ... there is a singular go to source that will supply ALL of your gunbuilding needs.
Guns! Guns! Guns! published by BTRC (the Blacksburg Tactical Research Center).
I have an original edition version published in the 90s on my shelf, and that book taught me more about guns (how they work, how they are made, etc.) than almost anything else in the fiction and non-fiction book markets (s'truth!). 3G was simply THAT USEFUL for thinking about how to model guns and their performance.
I even have an electrical engineering friend of mine who built sonars for the USN ask me ... "what's the cartridge equivalent to electrical capacitors capable of holding 1200 joules? I need to explain the potential hazards of a short circuit in the wrong location to some students I'm training."
So I went to a handy copy of
Guns! Guns! Guns! on the shelf, consulted the tables in the back for standard ammo, found the nearest match and replied ... "a 12 gauge shotgun shell" ... to which my friend thanked me profusely and was able to tell their EE students that if they were careless around the board and it blew up in their faces, just ONE of the capacitors (and there was more than one on the board!) would explode with the explosive energy of a 12 gauge shotgun shell, at close range ... and there would be fragmentation effects involved in the rapid unscheduled disassembly involved (and a bad day would be had).
Apparently the warning focused the attention of those students EXTREMELY EFFECTIVELY on the potential hazards of carelessness around having that much potential energy stored in the capacitors on that specific circuit board design ... because I never heard of anyone shorting something out and having the capacitors blow up in their faces, ruining everyone's day, after the safety briefing had been given. For some reason, everyone who worked with that circuit board had the requisite amount of RESPECT for what they were handling (not quite sure why though, since
other boards would sometimes explode parts from time to time, but that's the EE defense contracting world for you).
So consider this a major shout out on the value of
Guns! Guns! Guns! by BTRC beyond the book's application to "mere" gaming situations.
If you don't have a copy ... you want one ... even if you didn't know it yet.