I don't know if this is helpful, but until the introduction of cartridge, a gun had very little chance of penetrating armour. Ranged touch attack should realistically be for revolver level tech and higher only.
Also, consider making a pistol a ranged weapon that doesn't attract an attack of...