How do i create a momentum based movement system like titanfall 2?

How do i create a momentum based movement system like titanfall 2?