I think laser weapons will replace guns, if they ever do so, through a similar process to guns replacing bows (which itself was a couple hundred year process in Europe, and an 800 year process in Asia). You will have steady, incremental improvements that steadily increase the number of roles...