looking for help with customising Weapons

i’m looking to customise weapons like call of duty ,battlefield, army of two. but i want to be able to switch attachments in game. so what ever the character has in there inventory cant be attached to a socket on the weapon

can anyone help

What have you done, so far?