Weapon generator