Wilde will play a character named Ella who joins up with a mysterious gunslinger in an unlikely uprising against an alien invasion.

Craig is playing the gunslinger, taking over the role from Robert Downey Jr., who dropped out in January.

Alex Kurtzman and Roberto Orci are producing and wrote the script with “Lost” co-creator Damon Lindelof. Steven Spielberg, Ron Howard and Brian Grazer are also producing along with Scott Mitchell Rosenberg, who created the graphic novel upon which the movie is based.

Filming is expected to begin in June, and the sci-fi Western explores what would happen if the traditional Old West enemies — cowboys and Native Americans — found the prairie attacked by aliens in mid-1800s Arizona.