Gun makers are quietly rewriting their playbooks as real-world shooters, new buyers and regulators push the industry toward ...