So I'm just going to assume that the specific parts of a randomly generated weapon can all add a special feature to a weapon, and with that assumption propose a trait granted by a certain part. The "DRONE" modifier would, in the simplest explanation, fire out an airborne automaton that attacks things using whatever projectiles the gun would have without this part. Generated a laser rifle, its a laser drone. On a Rocket Launcher, a Rocket drone, and so forth. Downsides can be plentiful and possibly include sharply reduced damage, prohibitively high energy cost, inability to change weaponry with active drones, and anything else under the sky. Yep, thats it.
I think having only one drone up at a time would be a big balancing thing. Also having the drone "run out of ammo" where it stops shooting and falls out of the sky would prevent people from just firing one and walking around the dungeon/castle/whatever without thinking of enemies.
We discuss many dones in the game, which we did discuss support drones, assault drones, defender drones, recon drones, scout drones, and I think a medic drones. Which we are trying find way to balance such a thing from the ages ago. I think the players leader deiced how many drones for both side players will have and also chose they want drones or not to be in pvp. Same thing with the NPC military, mercenaries, and also NPC adventure.