# Guncrafting first: unify rp and main guns in general (update projectile code on rp to latest, charge element, etc) todo: falloff for projectiles todo: fix the 'grappler' energy projectile since it seems to be broken ## Intro - Modular ballistics as well as energy - Modular energy as it exists on RP can probably be ported to main as long as datumized firemodes are also ported - Modular weapons all have parts that slot into a frame ## Energy/Ballistic - Both are built off of a 'frame' that has parts added - Dictate caliber/damage (for ballistic) and firetype/damage for energy (stun, laser etc) - Caliber dictates base damage / recoil / spread (shotguns, mostly) - Frames have slots that can be filled with parts specific to that slot (e.g barrel in barrel slot) - Some parts are required to actually make a gun, however some are optional (scope, stock, etc) - Some frames have built-in parts for balance ## Ballistic - Have a few main parts- frame, barrel, trigger group etc and some optional ones - Frame dictates the 'type' of gun (pistol, rifle etc), what magazines it can accept (speedloader, magwell, shotgun tube etc) as well as size - potentially falloff too i.e pistols will have worse falloff than rifles - potentially allow for 'quality' var that affects overall stats of gun based on its frame (think underrail)- tie quality to overall research levels when printed etc allowing a gradual increase in power as well? - Barrel dictates caliber, accuracy and size - Trigger group dictates burst/full auto - Port bay full auto? Whatever server has a good system for it - Other slots are just ideas atm - Stock?- folding, regular, compensating? Smaller-normal-larger respectively - Scope? (not available on most frames, except maybe rifle?) ## Energy - Probably mostly the same parts from energy weapons on RP at the moment, some reworked - Frame will affect damage by a multiplier potentially? Might be useful for balancing things like AEG/compact/cannon frames - Faster firerate components split into two types: charge-inefficient and accuracy-reducing (i.e degree spread, not baymiss) - Charge reduction components need to be rebalanced - Some of the more specialized frames (cannon, AEG) might need to be rebalanced - One new part - 'battery well' - Will allow either internal battery (for main) or hotswappable ones (RP) - Should be an 'integral' part in most frames, only exist for cross-server compatibility - Maybe potentially allow hotswappable batteries on main balanced around the 40k cells/ hypercharged slime cores (traitor item?) - - Other parts - Potentially carry over scope? energy weapons shouldn't have recoil (so no stock), fluffwise inaccuracy should be due to heat buildup - Additional other slots? Need ideas, alternatively keep it simple and don't have them