When Buffalo Bill Cody learns that the Union Pacific railroad is making its way through Kansas, he and other heroes of the Wild West join forces to build a town along the route.