Lorne Michaels is producing the Relativity project with John Goldwyn.

Jim Carrey is coming aboard to star in Loomis Fargo, an action-comedy about the real-life $17 million heist of an armored car that is in development at Relativity Media.

Jared Hess (Napoleon Dynamite) is directing, with Lorne Michaels and John Goldwin producing. The script was worked on by Danny McBride and Jody Hill, who started with an original draft by Up All Night creator Emily Spivey. The most recent version is by Chris Bowman and Hubbel Palmer, who worked on Fox's Napoleon Dynamite television show.

Carrey, who is still in negotiations, would play the ex-military leader of a band of Southern armored car guards who pull off a huge heist. The project is based on a 1997 theft in Charlotte, N.C.

Relativity hasn't greenlit the $30 million-or-so-budgeted feature. Megan Ellison's Annapurna Pictures could come aboard to back the project, and her international sales outfit Panorama likely will take foreign rights.